/* ============================================================
   Neville Tech Solutions — nevilletech.ca
   Coastal dusk: deep spruce, warm sand, amber light.
   ============================================================ */

:root {
  /* Palette */
  --spruce-950: #081713;
  --spruce-900: #0c211b;
  --spruce-800: #123227;
  --spruce-700: #1a4534;
  --spruce-600: #245a44;
  --spruce-500: #2e7057;
  --sea: #3d8a6c;
  --amber: #e8a33d;
  --amber-deep: #cf7f22;
  --amber-soft: #f4c476;
  --paper: #faf7f1;
  --sand: #f2ecdf;
  --sand-deep: #e7ddc9;
  --ink: #182420;
  --ink-soft: #45544d;
  --line: #dcd4c2;

  --font-display: "Fraunces", Georgia, serif;
  --font-text: "Outfit", system-ui, -apple-system, sans-serif;

  --shell: 76rem;
  --radius: 1.25rem;
  --shadow-soft: 0 1px 2px rgba(12, 33, 27, .05), 0 8px 28px rgba(12, 33, 27, .08);
  --shadow-lift: 0 2px 4px rgba(12, 33, 27, .07), 0 22px 48px rgba(12, 33, 27, .16);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-text);
  font-weight: 330;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.shell { max-width: var(--shell); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -3.5rem; z-index: 100;
  background: var(--amber); color: var(--spruce-950);
  padding: .6rem 1.1rem; border-radius: .5rem; font-weight: 600;
  text-decoration: none; transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

::selection { background: var(--amber); color: var(--spruce-950); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--spruce-600);
  margin-bottom: 1.1rem;
}
.eyebrow-pin {
  width: 2rem; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--amber), var(--amber-deep));
}
.eyebrow-light { color: var(--amber-soft); }

.section-title {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -.015em;
  color: var(--spruce-900);
  text-wrap: balance;
}
.section-title em {
  font-style: italic; font-weight: 420;
  color: var(--spruce-600);
}

.section-lede {
  max-width: 44rem; margin-top: 1.25rem;
  font-size: 1.125rem; color: var(--ink-soft);
}

.section-head { margin-bottom: clamp(2.5rem, 6vw, 4rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.75rem; border-radius: 999px;
  font-family: var(--font-text); font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out),
              background .25s var(--ease-out), color .25s var(--ease-out);
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn-amber {
  background: linear-gradient(160deg, var(--amber-soft), var(--amber) 45%, var(--amber-deep));
  color: var(--spruce-950);
  box-shadow: 0 2px 6px rgba(207, 127, 34, .35), 0 10px 26px rgba(207, 127, 34, .25);
}
.btn-amber:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(207, 127, 34, .4), 0 16px 36px rgba(207, 127, 34, .32); }

.btn-glass {
  background: rgba(250, 247, 241, .12); color: #fdfaf4;
  border: 1px solid rgba(250, 247, 241, .35);
  backdrop-filter: blur(6px);
}
.btn-glass:hover { background: rgba(250, 247, 241, .22); transform: translateY(-2px); }

.btn-line {
  background: transparent; color: var(--spruce-700);
  border: 1.5px solid var(--spruce-600);
}
.btn-line:hover { background: var(--spruce-700); color: var(--paper); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  padding-block: 1rem;
  transition: background .35s var(--ease-out), box-shadow .35s var(--ease-out), padding .35s var(--ease-out);
  color: #fdfaf4;
}
.site-header.scrolled {
  background: rgba(8, 23, 19, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(250, 247, 241, .08), 0 12px 30px rgba(8, 23, 19, .25);
  padding-block: .6rem;
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  text-decoration: none; color: inherit;
}
.brand-mark { color: #f6f1e7; flex: none; }
.brand-text {
  font-family: var(--font-display); font-weight: 560; font-size: 1.15rem;
  line-height: 1; display: flex; flex-direction: column; gap: .18rem;
}
.brand-text em {
  font-family: var(--font-text); font-style: normal; font-weight: 500;
  font-size: .62rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--amber-soft);
}

.nav-menu {
  display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem);
  list-style: none;
}
.nav-menu a {
  text-decoration: none; font-weight: 500; font-size: .95rem;
  color: rgba(253, 250, 244, .85);
  transition: color .2s;
}
.nav-menu a:hover { color: var(--amber-soft); }
.nav-cta {
  padding: .55rem 1.2rem; border-radius: 999px;
  background: linear-gradient(160deg, var(--amber-soft), var(--amber) 45%, var(--amber-deep));
  color: var(--spruce-950) !important; font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(207, 127, 34, .35);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(207, 127, 34, .45); }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: clip;
  background:
    radial-gradient(120% 90% at 78% 8%, #2c5a48 0%, transparent 55%),
    linear-gradient(178deg, #0e2820 0%, #103126 34%, #133a2c 55%, #0c211b 100%);
  color: #fdfaf4;
  padding-top: clamp(7.5rem, 14vh, 10rem);
}

.hero-sky { position: absolute; inset: 0; pointer-events: none; }

.hero-sun {
  position: absolute; top: 9%; right: 14%;
  width: clamp(180px, 24vw, 340px); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 196, 118, .55) 0%, rgba(232, 163, 61, .18) 42%, transparent 70%);
  filter: blur(2px);
  animation: sun-breathe 9s ease-in-out infinite;
}
@keyframes sun-breathe {
  0%, 100% { transform: scale(1); opacity: .9; }
  50% { transform: scale(1.08); opacity: 1; }
}

.hills { position: absolute; inset-inline: 0; width: 100%; }
.hills path { fill: currentColor; }
.hills-far  { bottom: 32%; height: 34%; color: #1c4936; opacity: .55; }
.hills-mid  { bottom: 26%; height: 30%; color: #143528; opacity: .85; }
.hills-near { bottom: 22%; height: 22%; color: #0d251d; }

.hero-water {
  position: absolute; inset-inline: 0; bottom: 0; height: 24%;
  background: linear-gradient(180deg, #10312a 0%, #0a1e19 100%);
}
.shimmer {
  position: absolute; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(244, 196, 118, .5), transparent);
  animation: shimmer-drift 7s ease-in-out infinite;
}
.shimmer.s1 { top: 18%; left: 58%; width: 16%; animation-delay: 0s; }
.shimmer.s2 { top: 34%; left: 64%; width: 10%; animation-delay: 1.4s; }
.shimmer.s3 { top: 52%; left: 55%; width: 20%; animation-delay: 2.8s; }
.shimmer.s4 { top: 70%; left: 66%; width: 8%;  animation-delay: 4.2s; }
.shimmer.s5 { top: 44%; left: 12%; width: 12%; animation-delay: 3.5s; opacity: .5; }
@keyframes shimmer-drift {
  0%, 100% { opacity: .15; transform: translateX(0) scaleX(.7); }
  50% { opacity: .8; transform: translateX(-14px) scaleX(1); }
}

.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-bottom: clamp(5rem, 12vh, 8.5rem);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 640;
  font-size: clamp(2.75rem, 6.4vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  text-wrap: balance;
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic; font-weight: 560;
  background: linear-gradient(120deg, var(--amber-soft) 20%, var(--amber) 55%, var(--amber-deep));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.hero-lede {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.55;
  color: rgba(253, 250, 244, .82);
  max-width: 34rem;
  margin-bottom: 2.1rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.1rem; }

.trust-line {
  display: flex; flex-wrap: wrap; gap: .4rem 1.4rem;
  font-size: .88rem; color: rgba(253, 250, 244, .6);
}
.trust-line span { display: inline-flex; align-items: center; gap: .5rem; }
.trust-line span::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--amber); flex: none;
}

/* --- Hero chat card --- */
.hero-chat { display: flex; flex-direction: column; gap: 1rem; }

.chat-card {
  background: rgba(250, 247, 241, .07);
  border: 1px solid rgba(250, 247, 241, .16);
  border-radius: 1.4rem;
  padding: 1.15rem 1.15rem 1.3rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(4, 14, 11, .45);
  transform: rotate(1.2deg);
}

.chat-head {
  display: flex; align-items: center; gap: .7rem;
  padding-bottom: .85rem; margin-bottom: .95rem;
  border-bottom: 1px solid rgba(250, 247, 241, .12);
}
.chat-avatar {
  width: 2.3rem; height: 2.3rem; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--amber-soft), var(--amber-deep));
  color: var(--spruce-950); font-weight: 700; font-size: .82rem;
}
.chat-who { display: flex; flex-direction: column; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.chat-who b { font-weight: 400; font-size: .76rem; color: rgba(253, 250, 244, .55); }

.chat-body { display: flex; flex-direction: column; gap: .55rem; min-height: 11.5rem; }

.chat-msg {
  max-width: 85%;
  padding: .55rem .95rem;
  border-radius: 1.1rem;
  font-size: .93rem; line-height: 1.45;
  opacity: 0; transform: translateY(10px) scale(.96);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.chat-msg.shown { opacity: 1; transform: none; }
.chat-msg.from-client {
  align-self: flex-start;
  background: rgba(250, 247, 241, .14);
  border-bottom-left-radius: .3rem;
  color: rgba(253, 250, 244, .95);
}
.chat-msg.from-don {
  align-self: flex-end;
  background: linear-gradient(150deg, var(--amber-soft), var(--amber) 60%, var(--amber-deep));
  color: var(--spruce-950); font-weight: 500;
  border-bottom-right-radius: .3rem;
}
.chat-typing {
  align-self: flex-end;
  display: inline-flex; gap: .28rem;
  padding: .7rem .95rem;
  border-radius: 1.1rem; border-bottom-right-radius: .3rem;
  background: rgba(232, 163, 61, .28);
}
.chat-typing i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber-soft);
  animation: typing-bounce 1.1s ease-in-out infinite;
}
.chat-typing i:nth-child(2) { animation-delay: .15s; }
.chat-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat-caption {
  text-align: center;
  font-family: var(--font-display); font-style: italic; font-weight: 420;
  font-size: 1.02rem; line-height: 1.5;
  color: rgba(253, 250, 244, .75);
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 7.5rem); }
.section-sand { background: linear-gradient(178deg, var(--sand) 0%, var(--paper) 100%); }

.section-night {
  position: relative;
  background:
    radial-gradient(100% 80% at 20% 0%, #16382b 0%, transparent 60%),
    linear-gradient(178deg, var(--spruce-900), var(--spruce-950));
  color: #f6f1e7;
}
.section-night .section-title { color: #f6f1e7; }
.section-night .section-title em { color: var(--amber-soft); }

.night-ridge { position: absolute; top: -1px; inset-inline: 0; width: 100%; height: clamp(30px, 5vw, 70px); transform: translateY(-99%); }
.section-night .night-ridge path { fill: var(--spruce-900); }
.site-footer .night-ridge path { fill: var(--spruce-950); }

/* ---------- Work ---------- */
.work-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.4vw, 2.5rem);
}

.work-card {
  display: block; text-decoration: none; color: inherit;
  border-radius: var(--radius);
  transition: transform .35s var(--ease-out);
}
.work-card:hover { transform: translateY(-6px); }

.frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  transition: box-shadow .35s var(--ease-out);
  background: #fff;
}
.work-card:hover .frame { box-shadow: var(--shadow-lift); }

.frame-bar {
  display: flex; align-items: center; gap: .4rem;
  padding: .55rem .9rem;
  background: linear-gradient(180deg, #f4f0e7, #ece6d8);
  border-bottom: 1px solid var(--line);
}
.frame-bar i { width: .55rem; height: .55rem; border-radius: 50%; background: #d3cab6; }
.frame-bar i:nth-child(1) { background: #e58f7e; }
.frame-bar i:nth-child(2) { background: #e8c063; }
.frame-bar i:nth-child(3) { background: #93bf8f; }
.frame-bar span {
  margin-left: .5rem; font-size: .74rem; color: var(--ink-soft);
  background: #fff; border-radius: 99px; padding: .12rem .8rem;
  border: 1px solid var(--line);
}

/* Placeholder site "screenshots" — replace with real captures when ready */
.shot { aspect-ratio: 16 / 10.5; padding: 8%; display: flex; flex-direction: column; gap: 6%; }
.sk { border-radius: 6px; }
.sk-nav { height: 7%; opacity: .55; }
.sk-hero { flex: 1; display: grid; place-items: center; }
.sk-row { display: flex; gap: 6%; height: 22%; }
.sk-tile { flex: 1; opacity: .5; }

.shot-cakes { background: linear-gradient(160deg, #fdf3f0, #f9e2dd); }
.shot-cakes .sk { background: #e7b1a8; }
.shot-cakes .sk-hero { background: linear-gradient(150deg, #f3c9c1, #eab3ab); }
.sk-script {
  font-family: var(--font-display); font-style: italic; font-weight: 560;
  color: #7c3f36; font-size: clamp(1rem, 2vw, 1.5rem);
}

.shot-sar { background: linear-gradient(160deg, #21312e, #17211f); }
.shot-sar .sk { background: #3c4f4a; }
.shot-sar .sk-hero { background: linear-gradient(150deg, #2c413c, #22332f); }
.sk-badge {
  font-weight: 700; letter-spacing: .1em; font-size: clamp(.9rem, 1.8vw, 1.3rem);
  color: #fff; background: #e2622f; padding: .3em .9em; border-radius: 99px;
}

.shot-karys { background: linear-gradient(160deg, #eef6f6, #d9ecec); }
.shot-karys .sk { background: #8fc2c4; }
.shot-karys .sk-hero { background: linear-gradient(150deg, #bcdcdd, #a4d0d2); }
.sk-circle {
  width: 26%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f0faf9, #64a9ac);
}

.shot-houston { background: linear-gradient(160deg, #2b2f36, #1d2026); }
.shot-houston .sk { background: #494f5b; }
.shot-houston .sk-hero { background: linear-gradient(150deg, #363b45, #2a2e37); position: relative; overflow: hidden; }
.sk-peak {
  width: 0; height: 0;
  border-left: 3.2em solid transparent;
  border-right: 3.2em solid transparent;
  border-bottom: 4.4em solid #c9a24b;
  opacity: .9;
}

.work-meta { padding: 1.4rem .4rem 0; }
.work-meta h3 {
  font-family: var(--font-display); font-weight: 560; font-size: 1.3rem;
  color: var(--spruce-900);
  display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap;
}
.work-url {
  font-family: var(--font-text); font-weight: 500; font-size: .8rem;
  color: var(--amber-deep); letter-spacing: .02em;
}
.work-meta p { margin-top: .5rem; color: var(--ink-soft); font-size: .98rem; max-width: 34rem; }

.work-footer {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 420;
  color: var(--spruce-800);
}
.work-footer em { color: var(--amber-deep); }

/* ---------- Plans ---------- */
.plans-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.6vw, 2rem);
  align-items: start;
}

.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }

.plan-star {
  background: linear-gradient(175deg, var(--spruce-800), var(--spruce-900));
  border: 1px solid var(--spruce-600);
  color: #f6f1e7;
  box-shadow: 0 8px 24px rgba(12, 33, 27, .22), 0 28px 64px rgba(12, 33, 27, .3);
  transform: scale(1.035);
  z-index: 2;
}
.plan-star:hover { transform: scale(1.035) translateY(-5px); }

.plan-flag {
  position: absolute; top: -0.85rem; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  background: linear-gradient(150deg, var(--amber-soft), var(--amber) 55%, var(--amber-deep));
  color: var(--spruce-950); font-weight: 700; font-size: .78rem;
  letter-spacing: .06em;
  padding: .35rem 1.1rem; border-radius: 99px;
  box-shadow: 0 4px 14px rgba(207, 127, 34, .4);
}

.plan-name {
  font-family: var(--font-display); font-weight: 560; font-size: 1.35rem;
}
.plan-price {
  font-family: var(--font-display); font-weight: 640;
  font-size: 2.7rem; line-height: 1.1; margin-top: .4rem;
  color: var(--spruce-800);
}
.plan-star .plan-price { color: var(--amber-soft); }
.plan-price span {
  font-family: var(--font-text); font-weight: 400; font-size: 1rem;
  color: var(--ink-soft); margin-left: .15rem;
}
.plan-star .plan-price span { color: rgba(246, 241, 231, .6); }

.plan-for { margin-top: .6rem; font-size: .95rem; color: var(--ink-soft); }
.plan-star .plan-for { color: rgba(246, 241, 231, .75); }

.plan-list { list-style: none; margin: 1.4rem 0 1.8rem; display: grid; gap: .65rem; flex: 1; }
.plan-list li {
  position: relative; padding-left: 1.6rem; font-size: .95rem; line-height: 1.5;
}
.plan-list li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: .85rem; height: .5rem;
  border-left: 2px solid var(--sea);
  border-bottom: 2px solid var(--sea);
  transform: rotate(-48deg);
}
.plan-star .plan-list li::before { border-color: var(--amber); }
.plan-plus { font-weight: 600; }
.plan-plus::before { border-color: var(--amber-deep) !important; }

.plan-btn { width: 100%; }

.plans-note {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
  display: grid; gap: .5rem;
  color: var(--ink-soft);
}
.plans-note strong { color: var(--ink); }
.plans-note a { color: var(--amber-deep); font-weight: 600; }

/* ---------- Steps ---------- */
.steps {
  list-style: none; counter-reset: step;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.5vw, 3rem);
}
.step { position: relative; padding-top: 1rem; }
.step-num {
  display: block;
  font-family: var(--font-display); font-style: italic; font-weight: 420;
  font-size: clamp(3.6rem, 7vw, 5.4rem); line-height: 1;
  background: linear-gradient(160deg, var(--amber-soft), var(--amber-deep));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: .6rem;
}
.step h3 {
  font-family: var(--font-display); font-weight: 560; font-size: 1.45rem;
  color: var(--spruce-900); margin-bottom: .55rem;
}
.step p { color: var(--ink-soft); font-size: .99rem; }

/* ---------- Testimonials ---------- */
.quotes {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.6vw, 2rem);
  align-items: start;
}
.quote {
  position: relative;
  background: rgba(250, 247, 241, .05);
  border: 1px solid rgba(250, 247, 241, .12);
  border-radius: var(--radius);
  padding: 2.4rem 1.75rem 1.75rem;
}
.quote::before {
  content: "“";
  position: absolute; top: .4rem; left: 1.2rem;
  font-family: var(--font-display); font-style: italic;
  font-size: 3.4rem; line-height: 1;
  color: var(--amber); opacity: .85;
}
.quote blockquote {
  font-size: .99rem; line-height: 1.65;
  color: rgba(246, 241, 231, .88);
}
.quote figcaption { margin-top: 1.2rem; display: flex; flex-direction: column; gap: .15rem; }
.quote b { font-weight: 600; color: var(--amber-soft); }
.quote span { font-size: .84rem; color: rgba(246, 241, 231, .55); }

/* ---------- About ---------- */
.about-grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-copy p { margin-top: 1.1rem; color: var(--ink-soft); max-width: 38rem; }
.about-copy p:first-of-type { margin-top: 1.4rem; }
.about-aside {
  font-family: var(--font-display); font-style: italic; font-weight: 420;
  font-size: 1.1rem; color: var(--spruce-600) !important;
  border-left: 3px solid var(--amber);
  padding-left: 1.1rem;
}

.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fact {
  background: linear-gradient(175deg, var(--spruce-800), var(--spruce-900));
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  color: #f6f1e7;
  display: flex; flex-direction: column; gap: .3rem;
  box-shadow: var(--shadow-soft);
}
.fact-wide { grid-column: 1 / -1; }
.fact b {
  font-family: var(--font-display); font-weight: 640;
  font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1;
  color: var(--amber-soft);
}
.fact span { font-size: .9rem; color: rgba(246, 241, 231, .7); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact-copy p { margin-top: 1.4rem; color: var(--ink-soft); max-width: 30rem; }

.contact-details { margin-top: 1.8rem; display: grid; gap: .6rem; justify-items: start; }
.contact-details a {
  font-family: var(--font-display); font-weight: 560;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  color: var(--spruce-800); text-decoration: none;
  border-bottom: 2px solid var(--amber);
  transition: color .2s, border-color .2s;
}
.contact-details a:hover { color: var(--amber-deep); }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
  box-shadow: var(--shadow-lift);
  display: grid; gap: 1.15rem;
}
.field { display: grid; gap: .4rem; }
.field label {
  font-weight: 600; font-size: .88rem; letter-spacing: .02em;
  color: var(--spruce-800);
}
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: .7rem;
  padding: .7rem .9rem;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(232, 163, 61, .22);
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-submit { justify-self: start; padding-inline: 2.4rem; }
.form-submit[disabled] { opacity: .6; cursor: wait; transform: none; }

.form-status { font-size: .93rem; min-height: 1.3em; font-weight: 500; }
.form-status.ok { color: var(--spruce-600); }
.form-status.err { color: #b3401f; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: linear-gradient(178deg, var(--spruce-950), #050f0c);
  color: rgba(246, 241, 231, .75);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  margin-top: clamp(3rem, 7vw, 5rem);
  text-align: center;
}
.footer-inner { display: grid; gap: 1rem; justify-items: center; }
.brand-footer { color: #f6f1e7; }
.footer-meta { font-size: .93rem; }
.footer-legal { font-size: .85rem; color: rgba(246, 241, 231, .5); }
.footer-legal a { color: var(--amber-soft); text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .chat-msg { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 62rem) {
  .hero-inner { grid-template-columns: 1fr; padding-bottom: clamp(4rem, 9vh, 6rem); }
  .hero-chat { max-width: 26rem; }
  .plans-grid { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; }
  .plan-star { transform: none; }
  .plan-star:hover { transform: translateY(-5px); }
  .steps, .quotes { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 44rem) {
  .work-grid, .steps, .quotes { grid-template-columns: 1fr; }

  /* Mobile nav */
  .nav-toggle {
    display: grid; gap: .34rem; place-content: center;
    width: 2.7rem; height: 2.7rem;
    background: rgba(250, 247, 241, .1);
    border: 1px solid rgba(250, 247, 241, .25);
    border-radius: .7rem; cursor: pointer;
  }
  .nav-toggle span:not(.sr-only) {
    display: block; width: 1.15rem; height: 2px; border-radius: 2px;
    background: #f6f1e7;
    transition: transform .3s var(--ease-out);
  }
  .nav-toggle[aria-expanded="true"] span:not(.sr-only):first-child { transform: translateY(.27rem) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:not(.sr-only):last-child { transform: translateY(-.27rem) rotate(-45deg); }

  .nav-menu {
    position: absolute; top: calc(100% + .6rem); right: clamp(1.25rem, 4vw, 2.5rem);
    flex-direction: column; align-items: stretch; gap: 0;
    min-width: 13rem;
    background: rgba(8, 23, 19, .96);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(250, 247, 241, .14);
    border-radius: 1rem;
    padding: .6rem;
    box-shadow: 0 24px 60px rgba(4, 14, 11, .5);
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
  }
  .nav-menu.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-menu a { display: block; padding: .7rem .9rem; border-radius: .6rem; }
  .nav-menu a:hover { background: rgba(250, 247, 241, .08); }
  .nav-cta { margin-top: .4rem; text-align: center; }
}
