/* Resolva design mockup. Black and white with one restrained accent (sage). */
:root {
  --ink: #151515;
  --ink-2: #3a3a3a;
  --muted: #6b6b68;
  --line: #dcdbd6;
  --paper: #fafaf7;
  --paper-2: #f1f0eb;
  --white: #ffffff;
  --accent: #4f7a67;
  --accent-soft: #e4ece7;
  --tbc: #fff3c4;
  --radius: 14px;
  --max: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: "Jost", "Futura", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; font-weight: 500; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.narrow { max-width: 720px; }
.eyebrow {
  font: 500 .78rem/1 var(--display);
  letter-spacing: .28em; text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: .7em; margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--ink-2); max-width: 46ch; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

/* Preview marker for unresolved values */
.tbc {
  background: var(--tbc); border: 1px dashed #b89b2c; color: #5c4a00;
  padding: .05em .45em; border-radius: 6px; font-size: .88em; white-space: nowrap;
}
.preview-bar {
  position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%);
  background: var(--ink); color: #fff; font-size: .78rem; letter-spacing: .02em;
  padding: 8px 16px; border-radius: 999px; z-index: 60; box-shadow: 0 6px 24px rgba(0,0,0,.18);
  white-space: nowrap; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s, padding .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; transition: height .3s var(--ease); }
.scrolled .nav { height: 62px; }
.brand img { height: 18px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; font-size: .93rem; padding: 8px 14px; border-radius: 999px;
  position: relative; transition: background .25s, color .25s;
}
.nav-links a:hover { background: var(--paper-2); }
.nav-links a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav-links .sep { width: 1px; height: 20px; background: var(--line); margin: 0 6px; }

@media (max-width: 760px) {
  .nav { height: auto; padding: 14px 0 10px; flex-wrap: wrap; gap: 10px; }
  .scrolled .nav { height: auto; }
  .brand img { height: 15px; }
  .nav-links { width: 100%; overflow-x: auto; gap: 4px; }
  .nav-links a { font-size: .86rem; padding: 7px 12px; white-space: nowrap; }
  .nav-links .sep { display: none; }
}

/* Buttons */
.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; gap: .65em;
  font: 500 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  padding: 16px 24px; border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: #fff;
  transform: translate(var(--mx), var(--my));
  transition: transform .35s var(--ease), background .25s, color .25s, box-shadow .3s;
}
.btn:hover { box-shadow: 0 10px 28px rgba(0,0,0,.16); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

/* Placeholder imagery: greyed, clearly swappable, no people */
.ph {
  position: relative; overflow: hidden; background: #cfcfca;
  background-image:
    radial-gradient(60% 80% at 20% 30%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(50% 60% at 80% 70%, rgba(0,0,0,.18), transparent 70%),
    linear-gradient(135deg, #d9d8d3, #a9a9a4);
}
.ph::after {
  content: ""; position: absolute; inset: 0; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}
.ph-label {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  font: 500 .72rem/1.3 var(--body); letter-spacing: .04em; color: #333;
  background: rgba(255,255,255,.8); padding: 6px 10px; border-radius: 6px;
}

/* Reveal motion (only when JS is on and motion allowed) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .1s; }
.js .reveal[data-delay="2"] { transition-delay: .2s; }
.js .reveal[data-delay="3"] { transition-delay: .3s; }
.js .split .w { display: inline-block; opacity: 0; transform: translateY(.5em); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .split.in .w { opacity: 1; transform: none; }

/* Sections */
section { padding: clamp(64px, 9vw, 120px) 0; scroll-margin-top: 64px; }
.band { background: var(--paper-2); }
.dark { background: var(--ink); color: #f3f3ef; }
.dark .eyebrow, .dark .muted { color: #a9a9a3; }

/* ---------- Home ---------- */
.home-hero { padding: clamp(48px, 8vw, 96px) 0 40px; text-align: center; }
.home-hero .mark { width: min(560px, 82%); margin: 0 auto 2.2rem; }
.home-hero h1 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); color: var(--ink-2); }
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 72px; }
@media (max-width: 820px) { .doors { grid-template-columns: 1fr; } }
.door {
  --px: 50%; --py: 50%;
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 460px; padding: clamp(26px, 4vw, 44px); border-radius: var(--radius);
  text-decoration: none; color: #fff; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.door .ph { position: absolute; inset: 0; z-index: -2; filter: grayscale(1) brightness(.62); transition: transform 1.2s var(--ease), filter .6s; }
.door::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(420px circle at var(--px) var(--py), rgba(255,255,255,.18), transparent 60%),
              linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,.12) 65%);
}
.door:hover { transform: translateY(-4px); box-shadow: 0 30px 60px rgba(0,0,0,.18); }
.door:hover .ph { transform: scale(1.05); filter: grayscale(1) brightness(.55); }
.door .num { font: 500 .78rem/1 var(--display); letter-spacing: .28em; opacity: .75; margin-bottom: auto; }
.door h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: .35em; max-width: 14ch; }
.door p { color: rgba(255,255,255,.85); max-width: 34ch; margin-bottom: 1.6rem; }
.door .go { display: inline-flex; align-items: center; gap: .6em; font-weight: 500; }
.door .go span { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); transition: background .3s, color .3s, transform .4s var(--ease); }
.door:hover .go span { background: #fff; color: var(--ink); transform: translateX(6px); }
.door .ph-label { top: 14px; bottom: auto; left: auto; right: 14px; }

/* Moving text over greyed image */
.marquee { position: relative; overflow: hidden; padding: 0; height: clamp(180px, 26vw, 300px); display: grid; align-items: center; }
.marquee .ph { position: absolute; inset: 0; filter: grayscale(1) brightness(1.05) contrast(.85); opacity: .7; }
.marquee-track { position: relative; display: flex; gap: 3rem; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track span {
  font: 400 clamp(2.6rem, 7vw, 5.6rem)/1 var(--display); letter-spacing: -.01em; white-space: nowrap; color: var(--ink);
}
.marquee-track span.o { color: transparent; -webkit-text-stroke: 1px var(--ink); }
.marquee-track span.dot { color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Service hero ---------- */
.svc-hero { position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(56px, 8vw, 100px); overflow: hidden; }
.svc-hero .grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .svc-hero .grid { grid-template-columns: 1fr; } }
.svc-hero .ph { aspect-ratio: 4 / 5; border-radius: var(--radius); filter: grayscale(1); transform: translateY(var(--parallax, 0)); }
@media (max-width: 900px) { .svc-hero .ph { aspect-ratio: 16 / 10; } }
.svc-hero h1 { max-width: 16ch; }
.svc-hero .lead { margin-top: 1.2rem; }

/* Problems */
.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 2.6rem; }
@media (max-width: 860px) { .problems { grid-template-columns: 1fr; } }
.card {
  --px: 50%; --py: 50%;
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; overflow: hidden; transition: border-color .3s, transform .4s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(300px circle at var(--px) var(--py), var(--accent-soft), transparent 65%);
}
.card:hover { border-color: #bdbcb5; transform: translateY(-3px); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card .q { font: 400 1.35rem/1.3 var(--display); }
.card .n { font: 500 .78rem/1 var(--display); letter-spacing: .2em; color: var(--muted); display: block; margin-bottom: 1.4rem; }

/* Big statement */
.statement { font: 300 clamp(1.7rem, 3.8vw, 3rem)/1.22 var(--display); max-width: 26ch; letter-spacing: -.01em; }
.statement em { font-style: normal; color: var(--accent); }
.dark .statement em { color: #9cc3b1; }

/* Two column */
.cols { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: 110px; }
@media (max-width: 860px) { .sticky { position: static; } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.steps::after { content: ""; position: absolute; left: 21px; top: 8px; width: 1px; height: var(--progress, 0%); background: var(--ink); transition: height .2s linear; }
.steps li { position: relative; padding: 0 0 2.6rem 72px; counter-increment: step; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -4px; width: 43px; height: 43px; border-radius: 50%;
  display: grid; place-items: center; background: var(--paper); border: 1px solid var(--ink);
  font: 500 1rem/1 var(--display); z-index: 1; transition: background .4s, color .4s;
}
.band .steps li::before { background: var(--paper-2); }
.steps li.done::before { background: var(--ink); color: #fff; }
.steps h3 { margin-bottom: .4em; }
.steps p { color: var(--ink-2); margin: 0; }
.tag { display: inline-block; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; margin-left: .5em; vertical-align: middle; color: var(--muted); font-family: var(--body); }

/* Credibility */
.cred { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 760px) { .cred { grid-template-columns: 1fr; } }
.cred .ph { aspect-ratio: 1; border-radius: 50%; filter: grayscale(1); max-width: 220px; }
.cred .ph-label { left: 50%; transform: translateX(-50%); bottom: 22px; white-space: nowrap; }
.proof { list-style: none; padding: 0; margin: 1.4rem 0 1.6rem; display: grid; gap: 14px; }
.proof li { padding-left: 22px; position: relative; color: #e2e2dc; }
.proof li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: #9cc3b1; }
.textlink { display: inline-flex; gap: .5em; align-items: center; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.textlink:hover .arrow { transform: translateX(4px); }
.textlink .arrow { transition: transform .3s var(--ease); }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 2.4rem; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }
.price {
  --px: 50%; --py: 50%;
  position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  padding: 32px 28px; display: flex; flex-direction: column; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s;
}
.price:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.07); }
.price.feature { background: var(--ink); color: #fff; border-color: var(--ink); }
.price .label { font: 500 .78rem/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.price.feature .label { color: #a9a9a3; }
.price .amount { font: 400 clamp(2rem, 3.4vw, 2.7rem)/1.1 var(--display); margin: 1rem 0 .3rem; }
.price .amount small { font-size: .42em; letter-spacing: .02em; color: var(--muted); }
.price.feature .amount small { color: #bdbdb7; }
.price p { font-size: .95rem; color: var(--ink-2); margin-top: .6rem; }
.price.feature p { color: #d6d6d0; }
.price .btn { margin-top: auto; align-self: flex-start; }
.fee-notes { margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .fee-notes { grid-template-columns: 1fr; } }
.fee-notes h3 { font-size: 1.1rem; }
.fee-notes ul { padding-left: 1.1em; margin: 0; color: var(--ink-2); }
.fee-notes li { margin-bottom: .4em; }
.callout { border-left: 2px solid var(--accent); padding: 4px 0 4px 18px; color: var(--ink-2); margin-top: 2rem; max-width: 70ch; }

/* Ticks */
.ticks { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
@media (max-width: 760px) { .ticks { grid-template-columns: 1fr; } }
.ticks li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line); font-size: 1.05rem; }
.ticks svg { flex: none; width: 28px; height: 28px; margin-top: -1px; }
.ticks circle { fill: none; stroke: var(--accent); stroke-width: 1.5; }
.ticks path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .7s var(--ease) .25s; }
.no-js .ticks path, .ticks li.in path, .reduce .ticks path { stroke-dashoffset: 0; }

/* FAQ */
.faq { border-top: 1px solid var(--line); margin-top: 2rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font: 400 1.2rem/1.35 var(--display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 300 1.8rem/1 var(--display); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq .a { padding: 0 0 22px; color: var(--ink-2); max-width: 66ch; }

/* Download */
.download { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .download { grid-template-columns: 1fr; } }
.paper-doc {
  aspect-ratio: 1 / 1.3; max-width: 340px; margin-inline: auto; background: #fff; border-radius: 6px;
  box-shadow: 0 30px 60px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.06); padding: 34px 30px;
  transform: rotate(-3deg); transition: transform .6s var(--ease);
}
.paper-doc:hover { transform: rotate(0deg) translateY(-6px); }
.paper-doc img { height: 9px; width: auto; margin-bottom: 26px; }
.paper-doc .t { font: 500 1.05rem/1.25 var(--display); margin-bottom: 18px; }
.paper-doc .l { height: 6px; background: #e9e8e3; border-radius: 3px; margin-bottom: 9px; }
.paper-doc .l.s { width: 60%; }
.paper-doc .l.h { background: #cfcfca; width: 40%; margin-top: 18px; }

/* Forms */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1px solid #b9b8b2; border-radius: 10px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s;
}
.dark .field input, .dark .field textarea { background: #222; border-color: #555; color: #fff; }
.field input:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79,122,103,.25); }
.field textarea { min-height: 130px; resize: vertical; }
.consent { font-size: .85rem; color: var(--muted); }
.dark .consent { color: #a9a9a3; }
.form-msg { display: none; padding: 14px 16px; border-radius: 10px; background: var(--accent-soft); color: #23463a; font-size: .95rem; }
.form-msg.show { display: block; }

/* Contact */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 6vw, 96px); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact-meta { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 16px; }
.contact-meta li { display: flex; gap: 14px; align-items: baseline; }
.contact-meta b { font: 500 .74rem/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: #a9a9a3; width: 80px; flex: none; }
.contact-meta a { text-decoration: none; border-bottom: 1px solid #555; }
.contact-meta a:hover { border-color: #fff; }

/* Cross-link to other service */
.cross { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 34px 0; }
.cross a { font: 400 clamp(1.3rem, 2.6vw, 1.9rem)/1.2 var(--display); text-decoration: none; display: inline-flex; gap: .5em; align-items: center; }
.cross a:hover .arrow { transform: translateX(6px); }
.cross .arrow { transition: transform .3s var(--ease); }

/* About */
.about-hero .grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 88px); align-items: end; }
@media (max-width: 860px) { .about-hero .grid { grid-template-columns: 1fr; } }
.about-hero .ph { aspect-ratio: 4 / 5; border-radius: var(--radius); filter: grayscale(1); }
.split-svc { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .split-svc { grid-template-columns: 1fr; } }
.split-svc .card { padding: 36px 32px; }
.split-svc ul { padding-left: 1.1em; color: var(--ink-2); }
.split-svc li { margin-bottom: .5em; }

/* Footer */
.site-footer { background: var(--ink); color: #cfcfca; padding: 72px 0 90px; font-size: .93rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.site-footer img { height: 16px; width: auto; margin-bottom: 1.2rem; }
.site-footer h4 { font: 500 .74rem/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: #8d8d88; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { text-decoration: none; color: #ecece7; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .later { color: #77776f; }
.site-footer .later::after { content: " (soon)"; font-size: .8em; }
.foot-base { border-top: 1px solid #333; margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: #8d8d88; font-size: .85rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .split .w { opacity: 1 !important; transform: none !important; }
  .ticks path { stroke-dashoffset: 0; }
}

/* ===================== v2 additions ===================== */

/* Full-bleed hero: greyed image behind clear, moving text */
.hero-bleed { position: relative; min-height: min(88vh, 820px); display: grid; align-items: end; padding: 140px 0 72px; overflow: hidden; color: #fff; isolation: isolate; }
.hero-bleed > .ph { position: absolute; inset: -40px 0 0; z-index: -3; filter: grayscale(1) brightness(.5) contrast(1.05); transform: translateY(var(--parallax, 0)) scale(1.06); }
.hero-bleed::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(to top, rgba(10,10,10,.85) 0%, rgba(10,10,10,.35) 55%, rgba(10,10,10,.2) 100%); }
.hero-bleed .ghost-words { position: absolute; top: 16%; left: 0; z-index: -1; display: flex; gap: 4rem; width: max-content; animation: marquee 70s linear infinite; pointer-events: none; }
.hero-bleed .ghost-words span { font: 300 clamp(4rem, 13vw, 11rem)/1 var(--display); color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.22); white-space: nowrap; }
.hero-bleed h1 { max-width: 17ch; font-size: clamp(2.5rem, 6.4vw, 5.2rem); }
.hero-bleed .lead { color: rgba(255,255,255,.86); max-width: 52ch; }
.hero-bleed .eyebrow { color: rgba(255,255,255,.75); }
.hero-bleed .btn.ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.hero-bleed .btn.ghost:hover { background: #fff; color: var(--ink); }
.hero-bleed .ph-label { left: auto; right: 16px; bottom: 56px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.22); font-size: .92rem; color: rgba(255,255,255,.8); }
.hero-meta span::before { content: "\2713"; color: #9cc3b1; margin-right: .5em; }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; width: 1px; height: 46px; background: rgba(255,255,255,.25); overflow: hidden; }
.scroll-cue::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: #fff; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

/* Home hero variant */
.home-bleed { min-height: auto; padding: clamp(90px, 12vw, 150px) 0 clamp(100px, 12vw, 150px); text-align: center; align-items: center; }
.home-bleed .mark { width: min(620px, 84%); margin: 0 auto 2rem; }
.home-bleed h1 { margin-inline: auto; font-size: clamp(1.7rem, 3.6vw, 2.7rem); font-weight: 300; max-width: none; }
.home-bleed p.lead { margin: 1rem auto 0; text-align: center; }
.doors.lift { margin-top: -72px; position: relative; z-index: 2; }
.door .points { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: 6px; font-size: .95rem; color: rgba(255,255,255,.88); }
.door .points li::before { content: "\2713"; color: #9cc3b1; margin-right: .6em; }

/* Stats with counters */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dark .stats { border-color: #333; }
.stat { padding: 34px 26px 30px; border-left: 1px solid var(--line); }
.dark .stat { border-color: #333; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .big { font: 300 clamp(2.6rem, 5vw, 4rem)/1 var(--display); letter-spacing: -.02em; display: block; margin-bottom: .7rem; }
.stat p { font-size: .93rem; color: var(--muted); margin: 0; max-width: 30ch; }
.dark .stat p { color: #b4b4ae; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; padding-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } .dark .stat:nth-child(n+3) { border-top-color: #333; } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } .stat:first-child { border-top: 0; } .dark .stat { border-top-color: #333; } }

/* Section heads */
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head h2 { margin: 0; }
.sec-head p { color: var(--ink-2); margin: 0; max-width: 52ch; }
.dark .sec-head p { color: #c9c9c3; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* What I look at: four lenses */
.lenses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #333; border: 1px solid #333; border-radius: var(--radius); overflow: hidden; }
@media (max-width: 900px) { .lenses { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .lenses { grid-template-columns: 1fr; } }
.lens { --px: 50%; --py: 50%; background: var(--ink); padding: 34px 26px 38px; position: relative; overflow: hidden; }
.lens::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s; background: radial-gradient(260px circle at var(--px) var(--py), rgba(156,195,177,.2), transparent 70%); }
.lens:hover::before { opacity: 1; }
.lens > * { position: relative; }
.lens .ico { width: 40px; height: 40px; margin-bottom: 1.6rem; stroke: #9cc3b1; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.lens h3 { color: #fff; }
.lens p { color: #b4b4ae; font-size: .95rem; margin: 0; }

.lenses.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .lenses.three { grid-template-columns: 1fr; } }

/* Before and after */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .compare { grid-template-columns: 1fr; } }
.compare > div { border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); }
.compare .before { background: var(--white); border: 1px solid var(--line); }
.compare .after { background: var(--ink); color: #fff; }
.compare h3 { font: 500 .8rem/1 var(--display); letter-spacing: .24em; text-transform: uppercase; margin-bottom: 1.6rem; }
.compare .before h3 { color: var(--muted); }
.compare .after h3 { color: #9cc3b1; }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.compare li { padding-left: 30px; position: relative; font-size: 1.05rem; }
.compare .before li { color: var(--ink-2); }
.compare .before li::before { content: "\2715"; position: absolute; left: 0; color: #a3a39d; font-size: .85em; top: .15em; }
.compare .after li::before { content: "\2713"; position: absolute; left: 0; color: #9cc3b1; }

/* Feature split with image */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 90px); align-items: center; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }
.feature .ph { aspect-ratio: 5 / 4; border-radius: var(--radius); filter: grayscale(1); }
.feature.flip > :first-child { order: 2; }
@media (max-width: 860px) { .feature.flip > :first-child { order: 0; } }
.checklist { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 12px; }
.checklist li { padding-left: 30px; position: relative; color: var(--ink-2); }
.checklist li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 600; }
.dark .checklist li { color: #d6d6d0; }
.dark .checklist li::before { color: #9cc3b1; }

/* Story card */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 48px); padding: clamp(26px, 4vw, 40px); border: 1px solid #333; border-radius: var(--radius); margin-top: 18px; align-items: center; }
.story .from-to { font: 300 clamp(1.6rem, 3vw, 2.3rem)/1.15 var(--display); }
.story .from-to b { font-weight: 400; color: #9cc3b1; }
.story p { color: #d6d6d0; margin: 0; }
.story .k { font: 500 .74rem/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: #8d8d88; display: block; margin-bottom: .8rem; }
@media (max-width: 700px) { .story { grid-template-columns: 1fr; } }

/* Pull quote */
.pull { font: 300 clamp(1.5rem, 3.2vw, 2.4rem)/1.3 var(--display); max-width: 30ch; margin: 0; padding-left: 28px; border-left: 2px solid var(--accent); }

/* Verbatim block (checklist text, do not edit) */
.verbatim { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); }
.verbatim h3 { margin-top: 1.2rem; }
.verbatim h3:first-child { margin-top: 0; }
.verbatim ul { margin: .6rem 0 1rem; padding-left: 1.2em; color: var(--ink-2); }
.verbatim li { margin-bottom: .5em; }

/* Values row */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }
.values .card h3 { margin-bottom: .4em; }
.values .card p { color: var(--ink-2); font-size: .97rem; margin: 0; }

/* Service summary rows on home */
.svc-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 5vw, 80px); padding: clamp(40px, 6vw, 64px) 0; border-top: 1px solid var(--line); }
.svc-row:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 860px) { .svc-row { grid-template-columns: 1fr; } }
.svc-row .n { font: 500 .78rem/1 var(--display); letter-spacing: .28em; color: var(--muted); display: block; margin-bottom: 1rem; }

/* Closing CTA band */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 22ch; margin-inline: auto; }
.cta-band .lead { margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* Long-form prose */
.prose p { font-size: 1.08rem; color: var(--ink-2); }
.prose p.first { font-size: clamp(1.2rem, 2vw, 1.4rem); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .hero-bleed .ghost-words, .scroll-cue::after { animation: none !important; }
}

/* Dropdown menus listing every site map page */
.has-menu { position: relative; }
.has-menu .menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 290px; z-index: 70;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 8px;
  box-shadow: 0 18px 40px rgba(0,0,0,.1); display: grid;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.has-menu::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.has-menu:hover .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: none; }
.nav-links .menu a { border-radius: 8px; padding: 9px 12px; font-size: .9rem; color: var(--ink); background: none; }
.nav-links .menu a:hover { background: var(--paper-2); }
.nav-links .menu a.soon { color: var(--muted); }
.nav-links .menu a.soon::after { content: "Later"; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: 1px 7px; margin-left: 8px; }
.menu-k { font: 500 .68rem/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); padding: 12px 12px 6px; border-top: 1px solid var(--line); margin-top: 6px; }
@media (max-width: 760px) { .has-menu .menu { display: none; } }
.site-footer a.later { color: #77776f; }
.site-footer a.later::after { content: " (later)"; font-size: .8em; }

/* What sets me apart row on dark */
.apart { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.apart > div { border: 1px solid #333; border-radius: var(--radius); padding: 26px 24px; }
.apart h3 { color: #fff; }
.apart p { color: #b4b4ae; margin: 0; font-size: .95rem; }
@media (max-width: 860px) { .apart { grid-template-columns: 1fr; } }
