/* =========================================================
   Windline Web Studio — styles.css
   Mobile-first. Palette pulled from the logo (blue → cyan → green).
   ========================================================= */

:root {
  --bg: #05080c;
  --bg-2: #0a1017;
  --surface: #0e161f;
  --surface-2: #121c27;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #e8edf3;
  --muted: #8d9bad;
  --dim: #5f6c7c;

  --blue: #2b7ff2;
  --cyan: #1fbcd6;
  --green: #2fd98a;
  --mint: #b6f2d4;

  --grad: linear-gradient(115deg, #2b7ff2 0%, #1fbcd6 48%, #2fd98a 100%);
  --grad-soft: linear-gradient(115deg, rgba(43,127,242,.18), rgba(47,217,138,.14));

  --paper: #f1efe9;
  --paper-2: #e7e4dc;
  --ink: #0b1118;
  --ink-muted: #4c5866;

  --radius: 16px;
  --radius-sm: 10px;
  --nav-h: 80px;
  --container: 1200px;

  --ff-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --ff-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-tray: cubic-bezier(0.77, 0, 0.18, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--ff-head);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--green); color: var(--ink); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--green); color: var(--ink); padding: .6rem 1rem; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --pad-y: .95rem; --pad-x: 1.5rem;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; line-height: 1;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, border-color .3s, color .3s;
  isolation: isolate;
  overflow: hidden;
  white-space: nowrap;
}
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn-primary { background: var(--grad); color: #04110b; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, #4b97ff, #39d6ea 50%, #57f0a6);
  opacity: 0; transition: opacity .35s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(47, 217, 138, .55); }
.btn-primary:hover::after { opacity: 1; }

.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.07); transform: translateY(-2px); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(11,17,24,.6); background: #16212d; }

.btn-block { width: 100%; }
.btn-sm { --pad-y: .7rem; --pad-x: 1.1rem; font-size: .9rem; }

.text-link {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; color: var(--text);
  border-bottom: 1px solid var(--line-strong); padding-bottom: 2px;
  transition: border-color .3s, gap .3s var(--ease), color .3s;
}
.text-link:hover { border-color: var(--green); gap: .7rem; color: var(--mint); }

/* ---------- Navigation ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  transition: background-color .4s var(--ease), border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(5, 8, 12, 0.62);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--line);
}
/* While the mobile tray is open, lift the header above it so the X stays tappable */
body.menu-open .site-header {
  z-index: 115;
  background: transparent;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.site-header .brand { transition: opacity .35s var(--ease); }
body.menu-open .site-header .brand { opacity: 0; pointer-events: none; }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; }
/* Windline wordmark — assets/logo.png is the original logo (assets/logo.webp),
   cropped with the black background made transparent. */
.logo {
  display: block;
  width: 136px;
  aspect-ratio: 900 / 449;
  background: url("../assets/logo.png") center / contain no-repeat;
  transition: transform .4s var(--ease), filter .4s;
}
.brand:hover .logo { transform: translateY(-1px); filter: brightness(1.15); }
.footer-brand .logo { width: 190px; }
@media (min-width: 768px) {
  :root { --nav-h: 96px; }
  .site-header .logo { width: 180px; }
}

.nav-links { display: none; }
.nav-cta { display: none; }

.burger {
  position: relative; z-index: 120;
  width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.03);
  display: grid; place-items: center; cursor: pointer;
  transition: background-color .3s, border-color .3s;
}
.burger:hover { background: rgba(255,255,255,.08); }
.burger-lines { position: relative; width: 20px; height: 14px; }
.burger-lines span {
  position: absolute; left: 0; height: 2px; width: 100%; border-radius: 2px; background: var(--text);
  transition: transform .45s var(--ease), opacity .3s, top .45s var(--ease), width .3s;
}
.burger-lines span:nth-child(1) { top: 0; }
.burger-lines span:nth-child(2) { top: 6px; width: 70%; }
.burger-lines span:nth-child(3) { top: 12px; }
.burger[aria-expanded="true"] .burger-lines span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger-lines span:nth-child(2) { opacity: 0; transform: translateX(8px); }
.burger[aria-expanded="true"] .burger-lines span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Mobile tray */
.tray-overlay {
  position: fixed; inset: 0; z-index: 105;
  background: rgba(2, 4, 7, .6);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease), visibility .5s;
}
.tray-overlay.open { opacity: 1; visibility: visible; }

.tray {
  position: fixed; top: 0; right: 0; z-index: 110;
  height: 100vh; height: 100dvh;
  width: min(88vw, 400px);
  background: linear-gradient(180deg, #0b121a 0%, #070b10 100%);
  border-left: 1px solid var(--line);
  padding: calc(var(--nav-h) + 1.5rem) 1.75rem 2rem;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .6s var(--ease-tray);
  overflow-y: auto;
  visibility: hidden;
}
.tray.open { transform: translateX(0); visibility: visible; }
.tray::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad);
}
.tray-label { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); margin-bottom: 1rem; }
.tray-links { display: flex; flex-direction: column; }
.tray-links li {
  opacity: 0; transform: translateY(-22px);
  transition: opacity .45s var(--ease), transform .55s var(--ease);
  transition-delay: 0s;
}
.tray.open .tray-links li {
  opacity: 1; transform: translateY(0);
  transition-delay: calc(.18s + var(--i) * .06s);
}
.tray-links a {
  display: flex; align-items: baseline; gap: .9rem;
  padding: .85rem 0;
  font-family: var(--ff-head); font-size: 1.85rem; font-weight: 600; letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line);
  transition: color .3s, padding-left .35s var(--ease);
}
.tray-links a small { font-family: var(--ff-body); font-size: .75rem; color: var(--dim); font-weight: 500; letter-spacing: .05em; }
.tray-links a:hover, .tray-links a.active { color: var(--green); padding-left: .4rem; }
.tray-foot {
  margin-top: auto; padding-top: 2rem; display: grid; gap: .9rem;
  opacity: 0; transform: translateY(-14px);
  transition: opacity .45s var(--ease), transform .5s var(--ease);
}
.tray.open .tray-foot { opacity: 1; transform: none; transition-delay: .6s; }
.tray-foot a.contact-line { color: var(--muted); font-size: .95rem; }
.tray-foot a.contact-line:hover { color: var(--text); }

@media (min-width: 1024px) {
  .burger, .tray, .tray-overlay { display: none; }
  .nav-links { display: flex; align-items: center; gap: .25rem; }
  .nav-links a {
    position: relative; padding: .55rem .85rem; border-radius: 999px;
    font-size: .93rem; font-weight: 500; color: var(--muted);
    transition: color .3s, background-color .3s;
  }
  .nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
  .nav-links a.active { color: var(--text); }
  .nav-links a.active::after {
    content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; border-radius: 50%;
    background: var(--green); transform: translateX(-50%);
  }
  .nav-cta { display: inline-flex; }
}

/* ---------- Load + scroll animations ---------- */
.load-up { opacity: 0; transform: translateY(28px); }
body.is-loaded .load-up {
  opacity: 1; transform: none;
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--d, 0) * 110ms + 80ms);
}
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .load-up, .reveal, .tray-links li, .tray-foot { opacity: 1 !important; transform: none !important; transition: none !important; }
  .tray, .tray-overlay { transition: none; }
}

/* ---------- Sections (shared) ---------- */
.section { position: relative; padding: 5.5rem 0; }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--green); margin-bottom: 1.1rem;
}
.eyebrow .num { color: var(--dim); font-variant-numeric: tabular-nums; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.section-head.center .eyebrow::before { display: none; }
.h2 { font-size: clamp(2rem, 5.4vw, 3.4rem); }
.lead { color: var(--muted); font-size: 1.08rem; margin-top: 1.1rem; max-width: 60ch; }
.section-head.center .lead { margin-inline: auto; }
.section-foot { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.section-foot.center { justify-content: center; }

@media (min-width: 768px) {
  .section { padding: 7.5rem 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--nav-h) + 2.5rem) 0 4rem;
  display: flex; align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("../assets/hero-bg.svg") center / cover no-repeat;
  transform: scale(1.06);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(5,8,12,.92) 0%, rgba(5,8,12,.7) 45%, rgba(5,8,12,.45) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 30%);
}
.hero-grid { display: grid; gap: 3rem; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .45rem .9rem .45rem .5rem;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(255,255,255,.04);
  font-size: .82rem; color: var(--muted);
}
/* Status dot: grey when closed, green when open (8 AM – 5 PM Mountain, set in main.js).
   While open it pulses once every 60 seconds. */
.pill .dot {
  position: relative; width: 8px; height: 8px; border-radius: 50%; margin-left: .35rem;
  background: #5f6c7c; transition: background-color .4s;
}
.pill.is-open .dot { background: var(--green); box-shadow: 0 0 8px rgba(47, 217, 138, .6); }
.pill.is-open .dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--green);
  opacity: 0;
  animation: ping 60s linear infinite;
}
.pill.is-open .status-text { color: var(--text); }
@keyframes ping {
  0%   { transform: scale(.6); opacity: 1; }
  3%   { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}

.hero h1 {
  font-size: clamp(2.5rem, 7.4vw, 4.6rem);
  margin: 1.4rem 0 1.3rem;
  letter-spacing: -0.035em;
}
.hero h1 em { font-style: normal; }
.hero-sub { color: #b4c0ce; font-size: clamp(1.02rem, 2.2vw, 1.18rem); max-width: 54ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

.proof { margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.proof-label { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); margin-bottom: 1rem; }
.proof-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.proof-item strong { display: block; font-family: var(--ff-head); font-size: clamp(1.35rem, 3vw, 1.75rem); font-weight: 600; letter-spacing: -0.02em; }
.proof-item span { font-size: .82rem; color: var(--muted); line-height: 1.35; display: block; margin-top: .2rem; }

/* Glass form — bg-white/5 + backdrop-blur-md */
.glass {
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.06);
}
.form-card { padding: 1.6rem; position: relative; }
.form-card-head { margin-bottom: 1.4rem; }
.form-card-head h2 { font-size: 1.55rem; }
.form-card-head p { color: var(--muted); font-size: .92rem; margin-top: .4rem; }
.badge-time {
  position: absolute; top: 1.25rem; right: 1.25rem;
  font-size: .72rem; font-weight: 600; color: var(--mint);
  background: rgba(47,217,138,.1); border: 1px solid rgba(47,217,138,.25);
  padding: .3rem .6rem; border-radius: 999px;
}

.panel-actions { display: grid; gap: .8rem; }
.panel-actions .contact-card { background: rgba(5, 8, 12, .5); padding: 1.1rem 1.2rem; }
.panel-actions .contact-card:hover { background: rgba(5, 8, 12, .75); }
@media (max-width: 559px) {
  .form-card { padding: 1.4rem 1.15rem; }
  .badge-time { position: static; display: inline-block; margin-bottom: 1rem; }
  .panel-actions .contact-card { gap: .8rem; padding: 1rem; }
  .panel-actions .contact-card .icon-box { width: 42px; height: 42px; border-radius: 12px; }
  .panel-actions .contact-card .go { display: none; }
  .panel-actions .contact-card strong { font-size: .9rem; letter-spacing: -0.01em; }
}
@media (max-width: 420px) {
  .panel-actions .contact-card .icon-box { display: none; }
  .site-header .logo { width: 118px; }
}
.panel-tips { margin: 1.6rem 0; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.mini-checks { display: grid; gap: .55rem; }
.mini-checks li { display: flex; gap: .6rem; font-size: .93rem; color: #c3cdd8; }
.mini-checks li::before {
  content: ""; flex: 0 0 16px; height: 16px; margin-top: .2rem; border-radius: 50%;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 100 16A8 8 0 008 0zm3.6 5.6L7 10.2 4.4 7.6l1-1L7 8.2l3.6-3.6z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 100 16A8 8 0 008 0zm3.6 5.6L7 10.2 4.4 7.6l1-1L7 8.2l3.6-3.6z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.form-grid { display: grid; gap: .9rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .8rem; font-weight: 600; color: #c3cdd8; letter-spacing: .01em; }
.field label .opt { color: var(--dim); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .85rem 1rem;
  background: rgba(5, 8, 12, .55);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 1rem; /* 16px prevents iOS zoom */
  transition: border-color .25s, box-shadow .25s, background-color .25s;
  appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%238d9bad' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  padding-right: 2.5rem; cursor: pointer;
}
.field select option { background: var(--surface); color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255,255,255,.26); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan); background: rgba(5,8,12,.75);
  box-shadow: 0 0 0 4px rgba(31,188,214,.15);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #f0727a; box-shadow: 0 0 0 4px rgba(240,114,122,.12); }
.field .err { font-size: .78rem; color: #f59aa0; min-height: 0; display: none; }
.field.invalid .err { display: block; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-note { margin-top: 1rem; font-size: .82rem; color: var(--muted); text-align: center; }
.form-note a { color: var(--text); border-bottom: 1px solid var(--line-strong); }
.form-note a:hover { border-color: var(--green); }

.form-success {
  display: none; text-align: center; padding: 1.5rem .5rem;
}
.form-success .check {
  width: 60px; height: 60px; margin: 0 auto 1.2rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--grad); color: #04110b;
  animation: pop .6s var(--ease);
}
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.form-success h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.form-success p { color: var(--muted); font-size: .95rem; }
.form-success .mini-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.3rem; }
form.sent .form-body { display: none; }
form.sent .form-success { display: block; }

@media (min-width: 560px) {
  .form-grid.two { grid-template-columns: 1fr 1fr; }
  .form-grid .span-2 { grid-column: 1 / -1; }
  .form-card { padding: 2rem; }
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 4rem; }
}

/* ---------- Services ---------- */
.services { background: var(--bg); }
.pillars { display: grid; gap: 1.1rem; }
.pillar {
  position: relative;
  padding: 2rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), border-color .4s, background-color .4s;
  overflow: hidden;
}
.pillar::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.pillar:hover { transform: translateY(-6px); border-color: var(--line-strong); background: var(--surface-2); }
.pillar:hover::before { transform: scaleX(1); }
.pillar-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 2rem; }
.icon-box {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid rgba(47,217,138,.2); color: var(--mint);
}
.icon-box svg { width: 26px; height: 26px; }
.pillar-num { font-family: var(--ff-head); font-size: .95rem; color: var(--dim); }
.pillar h3 { font-size: 1.5rem; margin-bottom: .75rem; }
.pillar p { color: var(--muted); }
.pillar ul { margin: 1.25rem 0 1.75rem; display: grid; gap: .5rem; }
.pillar li { display: flex; gap: .6rem; font-size: .93rem; color: #c3cdd8; }
.pillar li::before { content: ""; flex: 0 0 6px; height: 6px; margin-top: .55rem; border-radius: 50%; background: var(--green); }
.pillar .text-link { margin-top: auto; align-self: flex-start; }

.process { margin-top: 4.5rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.process-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 2.5rem; }
.process-head h3 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); max-width: 20ch; }
.steps { display: grid; gap: 1rem; counter-reset: step; }
.step { padding: 1.5rem; border-radius: var(--radius); border: 1px dashed var(--line-strong); position: relative; }
.step-num {
  font-family: var(--ff-head); font-size: 2.6rem; font-weight: 600; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 1rem; display: block;
}
.step h4 { font-size: 1.15rem; margin-bottom: .45rem; }
.step p { color: var(--muted); font-size: .93rem; }
.step .when { display: inline-block; margin-top: .9rem; font-size: .75rem; color: var(--mint); letter-spacing: .06em; text-transform: uppercase; }

@media (min-width: 768px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Work / Portfolio ---------- */
.work { background: var(--bg-2); border-block: 1px solid var(--line); }
.work-grid { display: grid; gap: 1.25rem; }
.work-card { display: block; }
.work-card .frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease);
}
.work-card:hover .frame { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.work-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1rem; }
.work-meta h3 { font-size: 1.2rem; }
.work-meta span { font-size: .82rem; color: var(--muted); }
.tag {
  position: absolute; top: .9rem; left: .9rem; z-index: 3;
  font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: .35rem .65rem; border-radius: 999px;
  background: rgba(5,8,12,.75); border: 1px solid var(--line-strong); color: var(--text);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

/* CSS-built website mockups (placeholders for real screenshots) */
.mock { aspect-ratio: 16 / 11; display: flex; flex-direction: column; background: var(--m-bg, #fff); }
.mock-bar { height: 26px; flex: 0 0 26px; display: flex; align-items: center; gap: 5px; padding: 0 10px; background: rgba(0,0,0,.08); }
.mock-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(0,0,0,.22); }
.mock-bar b { margin-left: 10px; height: 9px; width: 38%; border-radius: 6px; background: rgba(0,0,0,.1); }
.mock-body { flex: 1; padding: 6% 7%; display: flex; flex-direction: column; gap: 5%; position: relative; overflow: hidden; transition: transform .8s var(--ease); }
.work-card:hover .mock-body { transform: scale(1.03); }
.mock-nav { display: flex; justify-content: space-between; align-items: center; }
.mock-nav .lg { width: 22%; height: 9px; border-radius: 4px; background: var(--m-ink); }
.mock-nav .lk { display: flex; gap: 6px; }
.mock-nav .lk i { width: 22px; height: 5px; border-radius: 3px; background: var(--m-ink); opacity: .35; }
.mock-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 6%; flex: 1; align-items: center; }
.mock-h { height: 13px; border-radius: 4px; background: var(--m-ink); margin-bottom: 7px; }
.mock-h.s { width: 70%; }
.mock-p { height: 5px; border-radius: 3px; background: var(--m-ink); opacity: .25; margin-bottom: 5px; }
.mock-p.s { width: 60%; }
.mock-btn { margin-top: 10px; width: 42%; height: 15px; border-radius: 999px; background: var(--m-accent); }
.mock-img { height: 100%; min-height: 70px; border-radius: 8px; background: var(--m-img); }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5%; }
.mock-cards i { height: 34px; border-radius: 6px; background: var(--m-card); }

.m-landscape { --m-bg: #f3f1e8; --m-ink: #1f3a2b; --m-accent: #6aa84f; --m-card: #e2dfd1; --m-img: linear-gradient(160deg, #8bbf6a, #2f5d3a); }
.m-coffee    { --m-bg: #1d1512; --m-ink: #f2e6d8; --m-accent: #d08b4c; --m-card: #2c211c; --m-img: linear-gradient(160deg, #a0673a, #3b2519); }
.m-plumb     { --m-bg: #ffffff; --m-ink: #0e2a47; --m-accent: #ff8a1f; --m-card: #e8eef5; --m-img: linear-gradient(160deg, #3d8bd9, #0e2a47); }
.m-salon     { --m-bg: #f6ecea; --m-ink: #3a2430; --m-accent: #c46d86; --m-card: #ead8d5; --m-img: linear-gradient(160deg, #e8b5b9, #7b4a5d); }
/* "Coming soon" placeholder cards: a faint wireframe site with a slow shimmer */
.soon {
  --m-bg: #0d151e; --m-ink: rgba(255,255,255,.16); --m-accent: rgba(47,217,138,.35);
  --m-card: rgba(255,255,255,.05); --m-img: linear-gradient(160deg, rgba(43,127,242,.28), rgba(47,217,138,.18));
}
.soon .mock-bar, .soon .mock-bar i, .soon .mock-bar b { background-color: rgba(255,255,255,.06); }
.soon .mock-body::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.07) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shimmer 3.2s ease-in-out infinite;
}
.soon-card:nth-child(2) .mock-body::after { animation-delay: .5s; }
.soon-card:nth-child(3) .mock-body::after { animation-delay: 1s; }
@keyframes shimmer { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
.soon-card .tag { color: var(--mint); border-color: rgba(47,217,138,.3); }
.soon-card .work-meta span { color: var(--mint); }
@media (prefers-reduced-motion: reduce) { .soon .mock-body::after { animation: none; } }

@media (min-width: 768px) {
  .work-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem 1.5rem; }
  .work-grid .work-card:nth-child(2) { transform: translateY(2.5rem); }
  .work-grid .work-card.reveal:nth-child(2) { transform: translateY(calc(2.5rem + 36px)); }
  .work-grid .work-card.reveal.in:nth-child(2) { transform: translateY(2.5rem); }
  .work .section-foot { margin-top: 5rem; }
}

/* ---------- Why us (light section) ---------- */
.why { background: var(--paper); color: var(--ink); }
.why .eyebrow { color: #138a55; }
.why .eyebrow .num { color: #8b9198; }
.why .lead { color: var(--ink-muted); }
.why-grid { display: grid; gap: 3rem; align-items: center; }
.why-media { position: relative; }
.why-media .img-wrap {
  border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5;
  background: #0b1118;
  box-shadow: 0 40px 80px -40px rgba(11,17,24,.5);
}
.why-media .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.why-media:hover .img-wrap img { transform: scale(1.04); }
.why-stamp {
  position: absolute; right: -0.5rem; bottom: 1.5rem;
  background: var(--ink); color: #fff;
  padding: 1rem 1.2rem; border-radius: 14px; max-width: 220px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
}
.why-stamp strong { font-family: var(--ff-head); font-size: 1.8rem; display: block; line-height: 1; }
.why-stamp span { font-size: .8rem; color: #a9b4c1; }
.diffs { display: grid; gap: 0; margin-top: 2.2rem; border-top: 1px solid rgba(11,17,24,.12); }
.diff { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding: 1.4rem 0; border-bottom: 1px solid rgba(11,17,24,.12); }
.diff-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--green); }
.diff-icon svg { width: 22px; height: 22px; }
.diff h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.diff p { color: var(--ink-muted); font-size: .95rem; }
.why .text-link { color: var(--ink); border-color: rgba(11,17,24,.25); }
.why .text-link:hover { color: #138a55; border-color: #138a55; }

@media (min-width: 1024px) {
  .why-grid { grid-template-columns: .9fr 1.1fr; gap: 5rem; }
  .why-stamp { right: -2rem; }
}

/* ---------- Reviews ---------- */
.reviews { background: var(--bg); }
.review-grid { display: grid; gap: 1.1rem; }
.promise {
  padding: 1.8rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .4s;
}
.promise:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.stars { display: flex; gap: 3px; color: var(--green); margin-bottom: 1.1rem; }
.stars svg { width: 16px; height: 16px; }
.promise h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.promise p { color: var(--muted); font-size: .95rem; }
.founding {
  margin-top: 1.25rem;
  display: grid; gap: 1.5rem; align-items: center;
  padding: 2rem; border-radius: 20px;
  background: var(--grad-soft);
  border: 1px solid rgba(47,217,138,.22);
}
.founding h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.founding p { color: #b4c0ce; margin-top: .5rem; max-width: 58ch; }
@media (min-width: 768px) {
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .founding { grid-template-columns: 1fr auto; padding: 2.5rem; }
}

/* ---------- Contact band ---------- */
.contact { background: var(--bg-2); border-top: 1px solid var(--line); }
.contact-grid { display: grid; gap: 2.5rem; }
.contact-cards { display: grid; gap: 1rem; }
.contact-card {
  display: flex; align-items: center; gap: 1.1rem;
  padding: 1.4rem 1.5rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .45s var(--ease), border-color .35s, background-color .35s;
}
.contact-card:hover { transform: translateX(6px); border-color: rgba(47,217,138,.4); background: var(--surface-2); }
.contact-card .icon-box { flex: 0 0 auto; width: 50px; height: 50px; }
.contact-card small { display: block; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.contact-card strong { font-size: clamp(1rem, 3.6vw, 1.2rem); font-weight: 600; word-break: break-word; }
.contact-card .go { margin-left: auto; color: var(--muted); transition: transform .35s var(--ease), color .3s; }
.contact-card:hover .go { transform: translateX(4px); color: var(--green); }
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
}

/* ---------- Final CTA ---------- */
.final-cta { padding: 5rem 0; }
.cta-box {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 28px;
  padding: 3.5rem 1.75rem;
  text-align: center;
  background: #07131a;
  border: 1px solid var(--line);
}
.cta-box::before {
  content: ""; position: absolute; inset: -40%; z-index: -1;
  background: conic-gradient(from 180deg at 50% 50%, rgba(43,127,242,.35), rgba(31,188,214,.15), rgba(47,217,138,.35), rgba(43,127,242,.35));
  filter: blur(60px);
  animation: spin 18s linear infinite;
}
.cta-box::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}
@keyframes spin { to { transform: rotate(360deg); } }
.cta-box h2 { font-size: clamp(2.1rem, 6.4vw, 4rem); max-width: 16ch; margin: 0 auto; letter-spacing: -0.035em; }
.cta-box p { color: #c3cdd8; margin: 1.3rem auto 2.2rem; max-width: 52ch; font-size: 1.08rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem; }
@media (min-width: 768px) { .cta-box { padding: 5.5rem 3rem; } .final-cta { padding: 7rem 0; } }

/* ---------- Footer ---------- */
.site-footer { background: #030508; border-top: 1px solid var(--line); padding: 4.5rem 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-brand p { color: var(--muted); margin-top: 1rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--ff-body); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); font-weight: 600; margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: .65rem; }
.footer-col a, .footer-col li { color: #b4c0ce; }
.footer-col a { transition: color .25s; }
.footer-col a:hover { color: var(--green); }
.footer-bottom {
  margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  color: var(--dim); font-size: .85rem;
}
.footer-bottom a:hover { color: var(--text); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

/* ---------- Inner pages ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../assets/hero-bg.svg") center / cover no-repeat;
  opacity: .55;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5,8,12,.5), var(--bg));
}
.breadcrumb { display: flex; gap: .5rem; font-size: .85rem; color: var(--dim); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--green); }
.page-hero h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); max-width: 18ch; letter-spacing: -0.035em; }
.page-hero .lead { font-size: 1.15rem; }
.page-hero .hero-ctas { margin-top: 2rem; }

.detail { display: grid; gap: 2rem; padding: 3rem 0; border-bottom: 1px solid var(--line); }
.detail:last-child { border-bottom: 0; }
.detail-head .icon-box { margin-bottom: 1.25rem; }
.detail-head h2 { font-size: clamp(1.8rem, 4.4vw, 2.6rem); }
.detail-head .price { margin-top: 1rem; color: var(--mint); font-weight: 600; font-size: .95rem; }
.detail-body > p { color: #b4c0ce; font-size: 1.05rem; }
.checks { display: grid; gap: .8rem; margin-top: 1.6rem; }
.checks li { display: flex; gap: .8rem; align-items: flex-start; color: #c9d2dc; }
.checks svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--green); margin-top: 2px; }
.detail-body .btn, .detail-body .text-link { margin-top: 1.8rem; }
@media (min-width: 900px) {
  .detail { grid-template-columns: .85fr 1.15fr; gap: 4rem; padding: 4.5rem 0; }
  .checks.two { grid-template-columns: 1fr 1fr; gap: .8rem 1.5rem; }
}

.faq { display: grid; gap: .75rem; max-width: 820px; margin-inline: auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .3s, background-color .3s;
}
.faq details[open] { border-color: var(--line-strong); background: var(--surface-2); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.2rem 1.4rem;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  font-weight: 600; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { position: relative; flex: 0 0 14px; height: 14px; }
.faq summary .plus::before, .faq summary .plus::after {
  content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: var(--green); transition: transform .35s var(--ease);
}
.faq summary .plus::after { transform: rotate(90deg); }
.faq details[open] .plus::after { transform: rotate(0); }
.faq .answer { padding: 0 1.4rem 1.3rem; color: var(--muted); }

.split-contact { display: grid; gap: 2.5rem; }
.info-list { display: grid; gap: 1.5rem; margin-top: 2rem; }
.info-list .label { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.info-list a, .info-list p { font-size: 1.1rem; font-weight: 500; }
.info-list a { border-bottom: 1px solid var(--line-strong); transition: border-color .3s, color .3s; }
.info-list a:hover { color: var(--green); border-color: var(--green); }
@media (min-width: 1024px) { .split-contact { grid-template-columns: .8fr 1.2fr; gap: 5rem; align-items: start; } .split-contact .sticky { position: sticky; top: calc(var(--nav-h) + 2rem); } }

/* Privacy */
.legal { max-width: 820px; margin-inline: auto; }
.legal .updated {
  display: inline-block; font-size: .85rem; color: var(--mint);
  border: 1px solid rgba(47,217,138,.25); background: rgba(47,217,138,.08);
  padding: .35rem .8rem; border-radius: 999px; margin-top: 1.5rem;
}
.legal-toc {
  display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 3rem;
}
.legal-toc a {
  font-size: .85rem; padding: .45rem .85rem; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--muted); transition: all .3s;
}
.legal-toc a:hover { color: var(--text); border-color: var(--green); }
.legal section { padding: 2.2rem 0; border-top: 1px solid var(--line); }
.legal h2 { font-size: 1.5rem; margin-bottom: 1.1rem; display: flex; gap: .8rem; align-items: baseline; }
.legal h2 span { font-size: .9rem; color: var(--dim); font-family: var(--ff-body); font-weight: 500; }
.legal ul { display: grid; gap: .7rem; }
.legal li { position: relative; padding-left: 1.4rem; color: #c3cdd8; }
.legal li::before { content: ""; position: absolute; left: 0; top: .6rem; width: 7px; height: 7px; border-radius: 2px; background: var(--grad); }
.legal li strong { color: var(--text); }
.legal p { color: var(--muted); margin-bottom: 1rem; }
.legal a { color: var(--mint); border-bottom: 1px solid rgba(182,242,212,.3); }

/* Utility */
.mt-0 { margin-top: 0 !important; }
.center { text-align: center; }
