/* ============================================================
   Designed Structures & Construction (DSC) - Homepage Concept
   Design language: Studio Creative (type/spacing/composition/motion)
   Palette: DSC's real brand colors (logo navy + gold, site CSS)
   ============================================================ */

:root {
  /* Brand colors, extracted from dscboise.com (logo + Elementor CSS) */
  --navy:       #002142;   /* their section background + logo field */
  --navy-2:     #0b3157;   /* navy family, lifted for cards */
  --deep:       #05151f;   /* their darkest navy, footer/deep sections */
  --paper:      #fefdfa;   /* their off-white */
  --tan:        #f3eee1;   /* warm neutral in the paper family */
  --gold:       #fcbb29;   /* their logo/SVG gold */
  --gold-deep:  #ca9724;   /* their deep gold (site CSS) */
  --gold-ink:   #8a6613;   /* their gold deepened for small text on light */
  --ink:        #002142;
  --body:       #3d4654;
  --line:       rgba(0, 33, 66, 0.14);
  --line-light: rgba(255, 255, 255, 0.16);
  --text-light: rgba(255, 255, 255, 0.86);
  --text-light-muted: rgba(255, 255, 255, 0.62);

  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--body);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.container { max-width: min(90%, 1160px); margin-inline: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  font-weight: 700;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow svg { flex: none; }
.on-dark .eyebrow { color: var(--gold); }

.section-head { max-width: 46rem; }
.section-head h2 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  margin: 0.9rem 0 1rem;
}
.on-dark h2, .on-dark h3 { color: #fff; }
.on-dark p { color: var(--text-light-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.9rem 1.7rem;
  cursor: pointer;
  transition: transform 0.45s var(--ease-spring), background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  border: none;
}
.btn .btn-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: currentColor; flex: none;
  transition: transform 0.45s var(--ease-spring);
}
.btn:hover { transform: translateY(-3px); }
.btn:hover .btn-dot { transform: scale(1.5); }
.btn-gold { background: var(--gold); color: var(--deep); }
.btn-gold:hover { background: #ffc94d; box-shadow: 0 12px 28px rgba(252, 187, 41, 0.35); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.on-dark .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px var(--line-light); }
.on-dark .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--gold); color: var(--gold); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  transition: background 0.35s ease, box-shadow 0.35s ease;
  background: transparent;
}
.nav.scrolled {
  background: rgba(254, 253, 250, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  max-width: min(94%, 1240px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 0;
}
.nav-logo { display: inline-flex; align-items: center; }
.nav-logo img { width: auto; height: 44px; max-width: 150px; object-fit: contain; border-radius: 6px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-spring);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { flex: none; }

/* burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  background: var(--navy);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  z-index: 340;               /* above the mobile menu overlay */
  transition: transform 0.4s var(--ease-spring);
}
.burger:hover { transform: scale(1.06); }
.burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--gold);
  transition: transform 0.35s var(--ease-smooth), opacity 0.25s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 320;
  background: var(--deep);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem var(--gutter) 3rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu ul { list-style: none; }
.mobile-menu li + li { margin-top: 0.4rem; }
.mobile-menu a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 7vw, 2.6rem);
  color: #fff;
  text-decoration: none;
  display: inline-block;
  padding-block: 0.35rem;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .mm-divider {
  height: 1px; background: var(--line-light);
  margin: 1.6rem 0;
}
.mobile-menu .mm-phone {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--gold);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--paper);
  position: relative;
  overflow: hidden;
  padding: clamp(6.5rem, 12vh, 9rem) 0 clamp(3rem, 6vw, 5rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: center;
  width: 100%;
}
.hero-copy { grid-column: 1 / 8; position: relative; z-index: 2; }
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.5rem 1.05rem;
  transform: rotate(-2deg);
}
.hero h1 {
  font-size: clamp(2.6rem, 6.6vw, 5.1rem);
  margin: 1.4rem 0 1.3rem;
  letter-spacing: -0.01em;
}
.hero h1 .h1-accent {
  position: relative;
  white-space: nowrap;
}
.hero h1 .h1-accent .h1-stroke {
  position: absolute;
  left: 0; bottom: -0.08em;
  width: 100%; height: 0.22em;
  overflow: visible;
}
.hero h1 .h1-accent .h1-stroke path {
  stroke: var(--gold);
  stroke-width: 7;
  fill: none;
  stroke-linecap: round;
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 34rem;
  color: var(--body);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}
.hero-cred {
  margin-top: 2.2rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-ink);
  font-weight: 500;
}
.hero-visual { grid-column: 8 / 13; position: relative; }
.hero-arch {
  position: relative;
  border-radius: 999px 999px 22px 22px;
  overflow: hidden;
  aspect-ratio: 3 / 4.1;
  transform: rotate(1.5deg);
}
.hero-arch img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-arch-outline {
  position: absolute;
  inset: -14px auto auto -18px;
  width: 100%; height: 100%;
  border: 2px solid var(--gold-deep);
  border-radius: 999px 999px 22px 22px;
  transform: rotate(-1deg);
  pointer-events: none;
}
.hero-tag {
  position: absolute;
  bottom: 8%;
  left: -12%;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(0, 33, 66, 0.14);
  border-radius: 14px;
  padding: 0.8rem 1.1rem;
  transform: rotate(-3deg);
  font-size: 0.82rem;
  color: var(--ink);
  line-height: 1.45;
}
.hero-tag strong { font-family: var(--font-display); font-weight: 700; display: block; }
.hero-pine {
  position: absolute;
  top: 12%;
  left: 55%;
  opacity: 0.6;
}

/* ---------- Stats band ---------- */
.stats {
  background: var(--navy);
  padding: clamp(2.6rem, 5vw, 4rem) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.stat { text-align: left; position: relative; padding-left: 1.4rem; }
.stat::before {
  content: "";
  position: absolute;
  left: 0; top: 0.4rem; bottom: 0.4rem;
  width: 3px;
  background: var(--gold);
  border-radius: 2px;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  color: #fff;
  line-height: 1;
}
.stat-label {
  margin-top: 0.5rem;
  color: var(--text-light-muted);
  font-size: 0.95rem;
}

/* ---------- Story ---------- */
.story { background: var(--tan); padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.story-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: center;
}
.story-visual { grid-column: 1 / 6; position: relative; }
.story-arch {
  border-radius: 999px 999px 22px 22px;
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  transform: rotate(-1.5deg);
}
.story-arch img { width: 100%; height: 100%; object-fit: cover; }
.story-badge {
  position: absolute;
  top: -1.2rem;
  right: -0.6rem;
  background: var(--gold);
  color: var(--deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  transform: rotate(3deg);
  box-shadow: 0 10px 26px rgba(0, 33, 66, 0.18);
}
.story-copy { grid-column: 6 / 13; }
.story-copy p { margin-top: 1.1rem; max-width: 36rem; }
.values { list-style: none; margin-top: 1.9rem; display: grid; gap: 0.9rem; }
.values li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem 1.15rem;
  transition: transform 0.45s var(--ease-spring), box-shadow 0.35s ease;
}
.values li:hover {
  transform: translateX(6px) rotate(-0.4deg);
  box-shadow: 0 12px 30px rgba(0, 33, 66, 0.09);
}
.values .v-dot {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: grid;
  place-items: center;
}
.values strong {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  display: block;
  font-size: 0.98rem;
}
.values span.v-text { font-size: 0.92rem; color: var(--body); }

/* ---------- Services ---------- */
.services { background: var(--paper); padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.services .section-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2.2rem, 5vw, 3.6rem);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.1rem, 2.4vw, 1.8rem);
}
.svc {
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.5s var(--ease-spring), box-shadow 0.4s ease, border-color 0.3s ease;
}
.svc:nth-child(2) { transform: translateY(1.6rem); }
.svc:nth-child(4) { transform: translateY(1.6rem); }
.svc:hover {
  transform: translateY(-8px) rotate(-0.6deg);
  box-shadow: 0 22px 50px rgba(0, 33, 66, 0.13);
  border-color: var(--gold-deep);
}
.svc:nth-child(2):hover, .svc:nth-child(4):hover { transform: translateY(calc(1.6rem - 8px)) rotate(0.6deg); }
.svc-img {
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  aspect-ratio: 1 / 1.05;
  margin: 0.7rem 0.7rem 0;
}
.svc-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-smooth);
}
.svc:hover .svc-img img { transform: scale(1.06); }
.svc-body { padding: 1.15rem 1.25rem 1.5rem; }
.svc-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--gold-ink);
  letter-spacing: 0.12em;
}
.svc h3 { font-size: 1.22rem; margin: 0.35rem 0 0.5rem; }
.svc p { font-size: 0.9rem; }

/* ---------- Project Files (signature) ---------- */
.projects {
  background: var(--deep);
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  position: relative;
  overflow: hidden;
}
.projects .section-head { margin-bottom: clamp(2rem, 4.5vw, 3rem); }
.projects-note {
  color: var(--text-light-muted);
  font-size: 0.95rem;
  max-width: 40rem;
}
.pfile {
  border: 1px solid var(--line-light);
  border-radius: 18px;
  margin-top: 1.1rem;
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
  transition: border-color 0.35s ease, background 0.35s ease;
}
.pfile.open { border-color: var(--gold-deep); background: rgba(252, 187, 41, 0.05); }
.pfile-tab {
  width: 100%;
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2.5vw, 1.6rem);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 1.3rem clamp(1.1rem, 3vw, 1.9rem);
  color: #fff;
}
.pfile-index {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  flex: none;
}
.pfile-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  flex: 1;
  transition: color 0.3s ease;
}
.pfile-tab:hover .pfile-title { color: var(--gold); }
.pfile-kind {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  flex: none;
}
.pfile-toggle {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--line-light);
  display: grid;
  place-items: center;
  transition: transform 0.5s var(--ease-spring), border-color 0.3s ease, background 0.3s ease;
}
.pfile-toggle svg { display: block; }
.pfile-toggle svg line { stroke: var(--gold); stroke-width: 2; stroke-linecap: round; transition: opacity 0.25s ease; }
.pfile.open .pfile-toggle {
  transform: rotate(135deg);
  border-color: var(--gold);
  background: rgba(252, 187, 41, 0.12);
}
.pfile-panel {
  height: 0;
  overflow: hidden;
}
.pfile-panel-inner {
  padding: 0 clamp(1.1rem, 3vw, 1.9rem) 1.9rem;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.4rem, 3.5vw, 2.6rem);
  align-items: start;
}
.pfile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
}
.pfile-meta span {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(252, 187, 41, 0.4);
  border-radius: 999px;
  padding: 0.32rem 0.8rem;
}
.pfile-story h4 { color: var(--gold); font-size: 0.95rem; margin: 1.1rem 0 0.35rem; }
.pfile-story h4:first-of-type { margin-top: 0; }
.pfile-story p { color: var(--text-light); font-size: 0.95rem; }
.pfile-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.pfile-photos figure { position: relative; border-radius: 14px; overflow: hidden; }
.pfile-photos figure.tall { border-radius: 999px 999px 14px 14px; grid-row: span 2; }
.pfile-photos img { width: 100%; height: 100%; object-fit: cover; }
.pfile-photos figure { aspect-ratio: 4 / 3; }
.pfile-photos figure.tall { aspect-ratio: 3 / 4.4; }
.pfile-photos figcaption {
  position: absolute;
  left: 0.7rem; bottom: 0.7rem;
  background: rgba(5, 21, 31, 0.78);
  color: var(--text-light);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
}

/* ---------- Process ---------- */
.process { background: var(--paper); padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.process .section-head { margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.steps { position: relative; max-width: 54rem; margin-inline: auto; }
.steps::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(var(--gold-deep), rgba(202, 151, 36, 0.15));
  transform: translateX(-50%);
}
.step {
  position: relative;
  width: calc(50% - 2.4rem);
  background: var(--tan);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.4rem;
  margin-bottom: 1.4rem;
  transition: transform 0.5s var(--ease-spring), box-shadow 0.35s ease;
}
.step:hover { transform: scale(1.025) rotate(-0.4deg); box-shadow: 0 14px 34px rgba(0, 33, 66, 0.1); }
.step:nth-child(even) { margin-left: auto; }
.step:nth-child(even):hover { transform: scale(1.025) rotate(0.4deg); }
.step-num {
  position: absolute;
  top: 1.15rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  box-shadow: 0 0 0 5px var(--paper);
}
.step:nth-child(odd) .step-num { right: -4.9rem; }
.step:nth-child(even) .step-num { left: -4.9rem; }
.step h3 { font-size: 1.08rem; margin-bottom: 0.3rem; }
.step p { font-size: 0.92rem; }

/* ---------- Reviews ---------- */
.reviews { background: var(--tan); padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.reviews .section-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2.2rem, 5vw, 3.4rem);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.2rem, 2.6vw, 1.9rem);
}
.review {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.7rem 1.8rem 1.5rem;
  position: relative;
  transition: transform 0.5s var(--ease-spring), box-shadow 0.35s ease;
}
.review:hover { transform: translateY(-6px) rotate(-0.4deg); box-shadow: 0 18px 42px rgba(0, 33, 66, 0.1); }
.review:nth-child(even):hover { transform: translateY(-6px) rotate(0.4deg); }
.review-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3rem;
  line-height: 0.6;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 0.9rem;
}
.review blockquote { font-size: 0.98rem; color: var(--body); }
.review footer {
  margin-top: 1.1rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.review cite {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
}
.review .review-src {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

/* ---------- Team ---------- */
.team { background: var(--paper); padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.team .section-head { margin-bottom: clamp(2.2rem, 5vw, 3.2rem); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.1rem, 2.4vw, 1.7rem);
}
.member { position: relative; }
.member-photo {
  border-radius: 999px 999px 16px 16px;
  overflow: hidden;
  aspect-ratio: 3 / 3.6;
  background: var(--tan);
}
.member-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-smooth);
}
.member:hover .member-photo img { transform: scale(1.05); }
.member h3 { font-size: 1.05rem; margin-top: 1rem; }
.member .role {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-ink);
  font-weight: 500;
  margin-top: 0.15rem;
}
.member .bio { font-size: 0.88rem; margin-top: 0.55rem; }

/* ---------- CTA ---------- */
.cta {
  background: var(--navy);
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  position: relative;
  overflow: hidden;
}
.cta-pine {
  position: absolute;
  right: -3rem;
  bottom: -4rem;
  opacity: 0.07;
  pointer-events: none;
}
.cta-inner { text-align: center; max-width: 46rem; margin-inline: auto; position: relative; z-index: 1; }
.cta h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); color: #fff; margin: 0.9rem 0 1rem; }
.cta p { color: var(--text-light-muted); max-width: 36rem; margin-inline: auto; }
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2.1rem;
}
.cta-area {
  margin-top: 2rem;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Footer ---------- */
.footer { background: var(--deep); color: var(--text-light-muted); padding: clamp(3.2rem, 6vw, 4.5rem) 0 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
}
.footer-brand img { width: auto; height: 52px; max-width: 170px; object-fit: contain; border-radius: 6px; }
.footer-brand p { font-size: 0.9rem; margin-top: 1rem; max-width: 20rem; }
.footer h4 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer ul { list-style: none; }
.footer ul a {
  color: var(--text-light-muted);
  text-decoration: none;
  font-size: 0.92rem;
  display: inline-block;
  padding-block: 0.3rem;
  transition: color 0.25s ease;
}
.footer ul a:hover { color: var(--gold); }
.footer address { font-style: normal; font-size: 0.92rem; line-height: 1.8; }
.footer address a { color: var(--text-light-muted); text-decoration: none; }
.footer address a:hover { color: var(--gold); }
.footer-socials { display: flex; gap: 0.7rem; margin-top: 1.1rem; }
.footer-socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  display: grid;
  place-items: center;
  color: var(--text-light-muted);
  transition: transform 0.4s var(--ease-spring), color 0.25s ease, border-color 0.25s ease;
}
.footer-socials a:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-3px); }
.footer-bottom {
  margin-top: clamp(2.2rem, 4vw, 3rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-light);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.8rem;
}

/* ---------- 404 ---------- */
.error-section {
  min-height: 100svh;
  background: var(--deep);
  display: flex;
  align-items: center;
  text-align: center;
  padding: 7rem 0 4rem;
}
.error-inner { max-width: 36rem; margin-inline: auto; }
.error-code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(6rem, 20vw, 11rem);
  color: rgba(252, 187, 41, 0.16);
  line-height: 1;
}
.error-section h1 { color: #fff; font-size: clamp(1.7rem, 4.5vw, 2.6rem); margin: 0.6rem 0 0.9rem; }
.error-section p { color: var(--text-light-muted); margin-bottom: 2rem; }

/* ---------- Reveal helper ---------- */
.reveal { opacity: 0; transform: translateY(28px); }
html.no-js .reveal, html.gsap-failed .reveal { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .svc:nth-child(2), .svc:nth-child(4) { transform: none; }
  .svc:nth-child(2):hover, .svc:nth-child(4):hover { transform: translateY(-8px) rotate(0.6deg); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .pfile-panel-inner { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .hero { padding-top: 6rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { grid-column: 1 / -1; }
  .hero-visual { grid-column: 1 / -1; max-width: 26rem; }
  .hero-tag { left: auto; right: -0.4rem; }
  .story-grid { grid-template-columns: 1fr; }
  .story-visual { grid-column: 1 / -1; max-width: 24rem; }
  .story-copy { grid-column: 1 / -1; }
  .steps::before { left: 1.35rem; transform: none; }
  .step { width: auto; margin-left: 3.6rem !important; }
  .step .step-num { left: -3.6rem !important; right: auto !important; width: 40px; height: 40px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero-chip { font-size: 0.68rem; }
  .stats-grid { grid-template-columns: 1fr; gap: 1.3rem; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .pfile-photos { grid-template-columns: 1fr; }
  .pfile-photos figure.tall { grid-row: auto; aspect-ratio: 4 / 3; border-radius: 14px; }
  .pfile-kind { display: none; }
  .footer ul a { padding-block: 0.65rem; }
  .footer address { line-height: 2.1; }
  .footer address a { display: inline-block; padding-block: 0.65rem; }
}
