/* Plinthscapes website. One visual world: lime-plaster paper, drawing ink, Athangudi green, dusk.
   Layout idea: a cinematic scroll. A house builds itself from the plinth up in the hero, then the page
   reads like a set of drawings: ruled schedules, level marks, and the plinth line closing sections. */
:root {
  --paper: #f1efe9;
  --paper-2: #e5e2d9;
  --ink: #161f27;
  --night: #10171d;
  --muted: #59626b;
  --line: #cdc9be;
  --green: #1f5448;
  --green-2: #2b6d5e;
  --brass: #b0813a;
  --ember: #e7976a;
  --accent-mark: #1f5448;

  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Public Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 48px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
::selection { background: var(--green); color: #fff; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-stretch: 112%;
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.9rem, 7.4vw, 6.6rem); font-weight: 800; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; font-stretch: 105%; line-height: 1.2; letter-spacing: 0; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 58ch; }
.eyebrow { color: var(--green); display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }

/* split text lines (masks) */
.line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.line > span { display: inline-block; will-change: transform; }
.word { display: inline-block; }

/* Buttons */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1;
  text-decoration: none; border: 1.5px solid currentColor; border-radius: 999px;
  cursor: pointer; background: transparent; color: var(--ink);
  transition: color .45s var(--ease-out), border-color .45s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--ink); transform: translateY(101%); transition: transform .5s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--paper); border-color: var(--ink); }
.btn-primary { background: var(--green); border-color: var(--green); color: #fff; }
.btn-primary::before { background: var(--ink); }
.btn-light { color: var(--ink); border-color: rgba(22,31,39,.35); background: rgba(241,239,233,.55); backdrop-filter: blur(6px); }
.btn-ghost { color: var(--ink); }
.btn-sm { padding: 11px 18px; font-size: .93rem; }
.btn .ico { width: 19px; height: 19px; flex: none; }

/* Loader and page curtain */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--night); color: var(--paper);
  display: grid; place-items: center;
}
.loader-inner { display: grid; justify-items: center; gap: 18px; }
.loader-mark { width: 64px; height: 64px; color: var(--paper); }
.loader-mark .lm-door { fill: var(--green-2); }
.loader-mark .lm-base { fill: var(--paper); }
.loader-word { font-family: var(--font-display); font-weight: 800; font-stretch: 125%; letter-spacing: .32em; font-size: clamp(1rem, 2.4vw, 1.4rem); padding-left: .32em; }
.loader-count { color: #8d979e; }
.loader-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: rgba(241,239,233,.1); }
.loader-bar span { display: block; height: 100%; width: 100%; background: var(--paper); transform-origin: left; transform: scaleX(0); }
html:not(.js) .loader { display: none; }

.curtain { position: fixed; inset: 0; z-index: 90; background: var(--night); pointer-events: none; visibility: hidden; }
.curtain.is-covering { visibility: visible; }
html:not(.js) .curtain { display: none; }

/* Cursor (desktop only) */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none;
  width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--ink); mix-blend-mode: difference; filter: invert(1);
  display: grid; place-items: center; opacity: 0;
  transition: width .4s var(--ease-out), height .4s var(--ease-out), margin .4s var(--ease-out), opacity .3s;
}
.cursor.on { opacity: 1; }
.cursor.big { width: 92px; height: 92px; margin: -46px 0 0 -46px; mix-blend-mode: normal; filter: none; background: var(--green); }
.cursor-label { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .2s; }
.cursor.big .cursor-label { opacity: 1; }
@media (hover: none), (max-width: 900px) { .cursor { display: none; } }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  color: var(--ink);
  transition: background .5s var(--ease-out), color .5s var(--ease-out), transform .6s var(--ease-out), box-shadow .5s;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.site-header.scrolled { background: rgba(16, 23, 29, .78); backdrop-filter: blur(14px) saturate(1.2); color: var(--paper); --accent-mark: #6fb3a0; }
.site-header.scrolled .btn-primary { border-color: var(--paper); }
.site-header.hidden { transform: translateY(-100%); }
.page-projects .site-header { background: rgba(241,239,233,.85); backdrop-filter: blur(12px); }
.page-projects .site-header.scrolled { background: rgba(16, 23, 29, .78); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { width: 32px; height: 32px; }
.logo-word { font-family: var(--font-display); font-weight: 800; font-stretch: 125%; font-size: 1.12rem; letter-spacing: 0.14em; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .96rem; position: relative; padding: 4px 0; overflow: hidden; display: inline-block; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; align-items: center; gap: 10px; background: none; border: 0; padding: 8px 0; font: inherit; font-weight: 600; cursor: pointer; color: inherit; }
.mt-lines { display: grid; gap: 6px; width: 26px; }
.mt-lines i { display: block; height: 2px; background: currentColor; transition: transform .4s var(--ease-out); }
.menu-toggle[aria-expanded="true"] .mt-lines i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .mt-lines i:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; position: relative; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px;
    padding: 90px var(--gutter) 40px; background: var(--night); color: var(--paper);
    clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io); visibility: hidden;
  }
  .nav.open { clip-path: inset(0 0 0 0); visibility: visible; }
  .nav a:not(.btn) { font-family: var(--font-display); font-stretch: 115%; font-weight: 800; font-size: clamp(2.2rem, 10vw, 3.4rem); line-height: 1.1; padding: 4px 0; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 24px; }
  .site-header:has(.nav.open) { color: var(--paper); background: transparent; backdrop-filter: none; }
}

/* ---------- HERO: the build ---------- */
.hero3d { position: relative; height: 800vh; background: #dcd7cb; }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-fallback { position: absolute; inset: 0; display: none; place-items: center; padding: 90px 6vw 40px 45vw; background: var(--paper-2); }
.hero-fallback svg { width: 100%; max-width: 620px; height: auto; }
.no-webgl .hero-fallback { display: grid; }
.no-webgl #hero-canvas { display: none; }
@media (max-width: 900px) { .hero-fallback { padding: 90px 8vw 50vh; } }
.hero-sticky::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(180deg, transparent, rgba(16,23,29,.6)); opacity: 0; transition: opacity 1s; pointer-events: none; }
.is-dusk .hero-sticky::after { opacity: 1; }
.hero-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(232,228,218,.82) 0%, rgba(232,228,218,.45) 32%, rgba(232,228,218,0) 58%); }
@media (max-width: 900px) { .hero-scrim { background: linear-gradient(180deg, rgba(232,228,218,0) 30%, rgba(232,228,218,.75) 62%, rgba(232,228,218,.92) 100%); } }

.hero-intro { position: absolute; left: 0; right: 0; top: 0; bottom: 0; padding-top: 118px; padding-bottom: clamp(40px, 9vh, 110px); display: grid; align-content: end; gap: 22px; justify-items: start; }
@media (max-height: 760px) { .hero-intro { padding-top: 104px; gap: 16px; } .hero-intro .hero-title { font-size: clamp(2.2rem, 7vh, 3.6rem); } .hero-intro .hero-lede { font-size: .98rem; } }
.hero-intro > * { max-width: 760px; }
.hero-eyebrow { color: var(--green); }
.hero-title em { font-style: normal; color: var(--green); }
.hero-lede { color: #3e4851; max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.stage-rail { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column-reverse; gap: 22px; opacity: 0; }
.stage-rail li { display: grid; grid-template-columns: 60px auto; align-items: center; gap: 12px; color: rgba(22,31,39,.4); transition: color .4s; position: relative; padding-left: 18px; }
.stage-rail li::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 10px; margin-top: -5px; border: 1.5px solid currentColor; transform: rotate(45deg) scale(.7); transition: background .4s, transform .4s var(--ease-out); }
.stage-rail li.done { color: rgba(22,31,39,.7); }
.stage-rail li.active { color: var(--ink); }
.stage-rail li.active::before { background: var(--green); border-color: var(--green); transform: rotate(45deg) scale(1); }
.stage-rail .nm { font-weight: 600; font-size: .95rem; }
.stage-rail .lvl { font-size: .7rem; text-align: right; }
.is-dusk .stage-rail li { color: rgba(241,239,233,.45); }
.is-dusk .stage-rail li.done { color: rgba(241,239,233,.75); }
.is-dusk .stage-rail li.active { color: #fff; }
@media (max-width: 900px) {
  .stage-rail { top: auto; bottom: 18px; left: var(--gutter); right: var(--gutter); transform: none; flex-direction: row; justify-content: space-between; gap: 4px; }
  .stage-rail li { grid-template-columns: 1fr; padding-left: 0; padding-top: 16px; gap: 0; }
  .stage-rail li::before { top: 0; left: 0; margin-top: 0; }
  .stage-rail .lvl { display: none; }
  .stage-rail .nm { font-size: .78rem; }
}

.stage-captions { position: absolute; left: var(--gutter); bottom: clamp(48px, 12vh, 130px); width: min(440px, calc(100% - 2 * var(--gutter))); pointer-events: none; }
.stage-caption { position: absolute; left: 0; bottom: 0; width: 100%; display: grid; gap: 12px; padding: 26px 28px; background: rgba(241,239,233,.9); backdrop-filter: blur(10px); border-left: 3px solid var(--green); opacity: 0; visibility: hidden; }
.stage-caption .mono { color: var(--green); }
.stage-caption h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.stage-caption p { color: var(--muted); }
@media (max-width: 900px) { .stage-captions { bottom: 70px; } .stage-caption { padding: 20px 22px; } }

.hero-outro { z-index: 2; position: absolute; left: 50%; bottom: clamp(56px, 12vh, 120px); transform: translateX(-50%); display: grid; justify-items: center; gap: 18px; color: #fff; text-align: center; opacity: 0; visibility: hidden; }
.hero-outro .mono { color: rgba(255,255,255,.8); }
.hero-outro .btn-primary { border-color: #fff; }
@media (max-width: 900px) { .hero-outro { bottom: 90px; width: calc(100% - 2 * var(--gutter)); } }

.scroll-hint { position: absolute; right: var(--gutter); bottom: 34px; display: flex; align-items: center; gap: 12px; color: var(--ink); }
.scroll-line { width: 1.5px; height: 46px; background: rgba(22,31,39,.2); position: relative; overflow: hidden; }
.scroll-line::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--ink); animation: scrollhint 1.8s var(--ease-io) infinite; }
@keyframes scrollhint { from { transform: translateY(-100%); } to { transform: translateY(260%); } }
@media (max-width: 900px) { .scroll-hint { display: none; } }
.hero-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(22,31,39,.08); }
.hero-progress span { display: block; height: 100%; background: var(--green); transform-origin: left; transform: scaleX(0); }

/* No-JS or reduced motion: hero collapses to one screen */
html:not(.js) .hero3d, .hero-static .hero3d { height: auto; }
html:not(.js) .hero-sticky, .hero-static .hero-sticky { position: relative; height: 92vh; min-height: 620px; }
html:not(.js) .stage-rail, html:not(.js) .stage-captions, html:not(.js) .scroll-hint, html:not(.js) .hero-outro { display: none; }

/* ---------- Sections ---------- */
section { position: relative; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(48px, 7vw, 88px); }
.section-head .eyebrow { grid-column: 1 / -1; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } }

.facts { background: var(--night); color: var(--paper); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts li { padding: 34px 28px; border-left: 1px solid rgba(241,239,233,.14); display: grid; gap: 6px; }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts strong { font-family: var(--font-display); font-stretch: 115%; font-size: 1.45rem; font-weight: 700; }
.facts span { color: #9aa4aa; font-size: .93rem; }
@media (max-width: 860px) {
  .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li { border-left: 0; border-top: 1px solid rgba(241,239,233,.14); padding-left: 0; }
  .facts li:nth-child(-n+2) { border-top: 0; }
}

.marquee { background: var(--green); color: #fff; overflow: hidden; padding: clamp(22px, 3vw, 34px) 0; border-bottom: 6px solid var(--night); }
.marquee-track { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); width: max-content; will-change: transform; }
.marquee span { font-family: var(--font-display); font-weight: 800; font-stretch: 125%; font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1; text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.85); }
.marquee i { width: 16px; height: 16px; background: var(--ember); transform: rotate(45deg); flex: none; }

/* Services: a ruled schedule with a sweep on hover */
.services { padding: clamp(80px, 11vw, 150px) 0; }
.schedule { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.schedule li {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.25fr) 40px; gap: 8px 36px; align-items: baseline;
  padding: 32px 0; border-bottom: 1px solid var(--line);
  transition: color .5s var(--ease-out), padding .5s var(--ease-out);
}
.schedule li::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--gutter)); z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease-out); }
.schedule .num { font-family: var(--font-mono); color: var(--brass); font-size: .85rem; }
.schedule h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); transition: transform .55s var(--ease-out); }
.schedule p { color: var(--muted); transition: color .5s; }
.schedule .arrow { font-size: 1.5rem; justify-self: end; transform: translateX(-12px); opacity: 0; transition: transform .5s var(--ease-out), opacity .4s; color: var(--ember); }
@media (hover: hover) {
  .schedule li:hover { color: var(--paper); }
  .schedule li:hover::before { transform: scaleY(1); transform-origin: top; }
  .schedule li:hover h3 { transform: translateX(10px); }
  .schedule li:hover p { color: #b7c0c5; }
  .schedule li:hover .arrow { transform: none; opacity: 1; }
}
@media (max-width: 800px) {
  .schedule li { grid-template-columns: 44px minmax(0, 1fr); }
  .schedule li p { grid-column: 2; }
  .schedule .arrow { display: none; }
}

.addon { margin-top: 56px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 28px 32px; background: var(--paper-2); border-left: 4px solid var(--green); color: var(--green); }
.addon h3 { font-size: 1.15rem; color: var(--ink); }
.addon p { color: var(--muted); font-size: .97rem; margin-top: 4px; }
.addon svg { width: 44px; height: 44px; }
@media (max-width: 800px) { .addon { grid-template-columns: 1fr; } }

/* Process: levels rising like floors */
.process { background: var(--paper-2); padding: clamp(80px, 11vw, 150px) 0; border-bottom: 6px solid var(--ink); }
.levels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; gap: 14px; }
.levels li { border-top: 2px solid var(--ink); padding-top: 18px; display: grid; gap: 10px; align-content: start; position: relative; }
.levels li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; background: var(--green); transform: rotate(45deg); }
.levels li:nth-child(2) { margin-bottom: 40px; }
.levels li:nth-child(3) { margin-bottom: 80px; }
.levels li:nth-child(4) { margin-bottom: 120px; }
.levels li:nth-child(5) { margin-bottom: 160px; }
.levels .mono { color: var(--brass); }
.levels p { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) {
  .levels { grid-template-columns: 1fr; gap: 0; }
  .levels li { margin: 0 !important; padding: 24px 0 24px 0; }
}

/* Projects: dark, horizontal scroll on desktop */
.projects-dark { background: var(--night); color: var(--paper); padding: clamp(80px, 11vw, 150px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.projects-dark .lede { color: #9aa4aa; }
.projects-dark .eyebrow { color: #6fb3a0; }
.h-scroll { overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; scrollbar-color: rgba(241,239,233,.35) transparent; -webkit-overflow-scrolling: touch; cursor: grab; padding-bottom: 18px; outline-offset: -4px; }
.h-scroll.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.h-scroll::-webkit-scrollbar { height: 6px; } .h-scroll::-webkit-scrollbar-thumb { background: rgba(241,239,233,.35); border-radius: 3px; }
.h-arrows { display: flex; gap: 10px; margin-top: 8px; }
.h-arrows button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(241,239,233,.35); background: transparent; color: var(--paper); font-size: 1.3rem; cursor: pointer; transition: background .3s, border-color .3s, opacity .3s; }
.h-arrows button:hover:not(:disabled) { background: var(--green); border-color: var(--green); }
.h-arrows button:disabled { opacity: .3; cursor: default; }
.h-track { display: flex; gap: clamp(20px, 2.5vw, 36px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.h-card { width: min(52vw, 100vh, 780px); display: grid; gap: 22px; align-content: start; text-decoration: none; color: inherit; }
.h-card .frame { aspect-ratio: 16 / 10; }
.h-meta { display: grid; gap: 8px; max-width: 60ch; }
.h-meta .mono { color: #8d979e; }
.h-meta h3 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); }
.h-meta p { color: #9aa4aa; }
.h-card-end { width: min(40vw, 460px); align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 40px; border: 1px solid rgba(241,239,233,.18); aspect-ratio: auto; transition: background .5s var(--ease-out); }
.h-card-end:hover { background: var(--green); }
.h-end-title { font-family: var(--font-display); font-weight: 800; font-stretch: 115%; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.05; }
@media (max-width: 900px) {
  .h-scroll { scroll-snap-type: x mandatory; scrollbar-width: none; cursor: auto; }
  .h-scroll::-webkit-scrollbar { display: none; }
  .h-card { width: 82vw; scroll-snap-align: center; }
  .h-card-end { width: 70vw; }
}

/* Frames: photo slots with drawn placeholders */
.frame { position: relative; overflow: hidden; background: #1b252d; border-radius: 2px; }
.frame-inner { position: absolute; inset: -8% 0; display: grid; place-items: center; will-change: transform; }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.frame .motif { width: 70%; height: auto; color: rgba(241,239,233,.38); }
.frame .placeholder { position: absolute; right: 14px; bottom: calc(8% + 14px); color: rgba(241,239,233,.55); border: 1px dashed rgba(241,239,233,.3); padding: 5px 9px; font-size: .66rem; }
.frame::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 70% 20%, rgba(231,151,106,.18), transparent 60%), linear-gradient(180deg, transparent 50%, rgba(0,0,0,.35)); pointer-events: none; }
[data-cursor]:hover .frame img { transform: scale(1.05); }
.frame .status { position: absolute; top: 16px; left: 16px; z-index: 2; }
.pill { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; padding: 6px 11px; background: var(--paper); color: var(--ink); border-radius: 999px; }
.pill.live { background: var(--ember); color: var(--night); }
.pill.live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--night); margin-right: 7px; vertical-align: 1px; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .2; } }

/* Why: statement that fills in as you scroll */
.why { padding: clamp(90px, 12vw, 170px) 0; }
.statement { font-size: clamp(1.9rem, 4.2vw, 3.6rem); line-height: 1.12; margin: 28px 0 clamp(56px, 8vw, 96px); max-width: 22ch; font-stretch: 108%; }
.statement .word { color: var(--ink); }
.js .statement[data-ready] .word { color: rgba(22,31,39,.14); }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.why-grid > div { padding: 30px 28px 30px 0; display: grid; gap: 12px; align-content: start; }
.why-grid > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.why-grid .mono { color: var(--brass); }
.why-grid p { color: var(--muted); font-size: .97rem; }
@media (max-width: 960px) { .why-grid { grid-template-columns: 1fr 1fr; } .why-grid > div:nth-child(3) { padding-left: 0; border-left: 0; } .why-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } .why-grid > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* Where we work */
.areas { background: var(--green); color: #eef3f1; padding: clamp(80px, 10vw, 140px) 0; }
.areas h2 { color: #fff; }
.areas .eyebrow { color: #bfd6cf; }
.areas .lede { color: #cfe0db; }
.area-list { display: flex; flex-wrap: wrap; gap: 10px; }
.area-list span { border: 1px solid rgba(255,255,255,.35); padding: 10px 18px; border-radius: 999px; font-size: .97rem; transition: background .3s, color .3s; }
.area-list span:hover { background: #fff; color: var(--green); }
.area-list span.base { background: #fff; color: var(--green); font-weight: 600; border-color: #fff; }
.area-list span.base::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); margin-right: 8px; vertical-align: 1px; }

/* FAQ */
.faq-section { padding: clamp(80px, 11vw, 150px) 0; border-bottom: 6px solid var(--ink); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 56px 26px 0; font-weight: 600; font-size: 1.12rem; position: relative; transition: color .3s; }
.faq summary:hover { color: var(--green); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 18px; height: 2px; background: currentColor; transition: transform .45s var(--ease-out); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq-body p { padding: 0 0 26px; color: var(--muted); max-width: 64ch; }

/* Contact */
.contact { padding: clamp(80px, 11vw, 150px) 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact h2 { margin-top: 18px; }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; border-top: 2px solid var(--ink); }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; }
.contact-list .mono { color: var(--brass); padding-top: 3px; }
.contact-list a { font-weight: 600; text-decoration-color: var(--line); text-underline-offset: 4px; }

.form { background: #fff; border: 1px solid var(--line); padding: clamp(24px, 4vw, 44px); display: grid; gap: 22px; box-shadow: 0 30px 60px -30px rgba(22,31,39,.25); }
.form h3 { font-size: 1.6rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field { position: relative; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1.5px solid var(--line); border-radius: 0; padding: 26px 0 10px; width: 100%;
  transition: border-color .3s;
}
.field select { appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23161f27' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 4px bottom 16px; padding-right: 24px; }
.field textarea { min-height: 96px; resize: vertical; }
.field label { position: absolute; left: 0; top: 24px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .35s var(--ease-out), color .3s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--green); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field.select label { transform: translateY(-20px) scale(.78); color: var(--green); }
.form .hint { font-size: .85rem; color: var(--muted); }
.form-result { display: none; padding: 16px; background: var(--paper-2); border-left: 4px solid var(--green); gap: 10px; }
.form-result.show { display: grid; }
.form-error { color: #9b2c1f; font-size: .9rem; font-weight: 600; min-height: 1em; }

/* Footer */
.site-footer { background: var(--night); color: #a9b2b7; padding: clamp(80px, 10vw, 130px) 0 28px; font-size: .95rem; overflow: hidden; }
.footer-cta { display: grid; gap: 14px; padding-bottom: clamp(56px, 8vw, 96px); border-bottom: 1px solid rgba(241,239,233,.14); }
.footer-cta .mono { color: #6fb3a0; }
.footer-big { font-family: var(--font-display); font-weight: 800; font-stretch: 120%; font-size: clamp(3rem, 10vw, 9rem); line-height: .95; color: var(--paper); text-decoration: none; letter-spacing: -.02em; display: inline-flex; align-items: center; gap: .25em; transition: color .4s; width: fit-content; }
.footer-big span { display: inline-block; transition: transform .6s var(--ease-out); color: var(--ember); }
.footer-big:hover { color: #fff; }
.footer-big:hover span { transform: translateX(.18em) rotate(-45deg); }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-top: 48px; }
.footer-cols h3 { color: var(--paper); font-size: .95rem; margin-bottom: 14px; font-family: var(--font-mono); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; font-stretch: 100%; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-cols a { color: #e3e7e9; text-decoration: none; }
.footer-cols a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .footer-cols { grid-template-columns: 1fr; } }
.footer-word { font-family: var(--font-display); font-weight: 800; font-stretch: 125%; font-size: 12.4vw; line-height: .8; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(241,239,233,.16); text-align: center; margin: clamp(48px, 7vw, 90px) 0 24px; white-space: nowrap; user-select: none; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .84rem; color: #7d878d; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  background: #1f8f4e; color: #fff; text-decoration: none; font-weight: 600;
  padding: 13px 18px 13px 14px; border-radius: 999px; box-shadow: 0 10px 30px rgba(16,23,29,.3);
  transform: translateY(140%); transition: transform .6s var(--ease-out);
}
.wa-float.show, html:not(.js) .wa-float { transform: none; }
.wa-float .ico { width: 24px; height: 24px; }
@media (max-width: 480px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

/* Projects page */
.page-hero { padding: clamp(140px, 18vw, 220px) 0 clamp(40px, 5vw, 64px); }
.page-hero .wrap { display: grid; gap: 24px; }
.page-title { font-size: clamp(3.4rem, 12vw, 10rem); }
.project-list { padding: 0 0 clamp(80px, 10vw, 140px); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.filters button { font: inherit; font-weight: 500; font-size: .95rem; padding: 10px 18px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); border-radius: 999px; cursor: pointer; transition: background .3s, color .3s; }
.filters button:hover { background: var(--paper-2); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 32px; }
.projects-grid .project:nth-child(4n+1), .projects-grid .project:nth-child(4n+4) { }
.projects-grid .project:nth-child(even) { margin-top: 96px; }
@media (max-width: 760px) { .projects-grid { grid-template-columns: 1fr; gap: 48px; } .projects-grid .project:nth-child(even) { margin-top: 0; } }
.project { display: grid; gap: 14px; align-content: start; }
.project[hidden] { display: none; }
.project .frame { aspect-ratio: 4 / 3; }
.project .meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); }
.project .meta span + span::before { content: "·"; margin-right: 16px; color: var(--line); }
.project h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.project p { color: var(--muted); }

/* Reduced motion: no smooth scroll, no hero scrub, everything visible */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- Drawn elevation (fallback hero and the planning visual) ---------- */
.dw { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; }
.dw-thin { fill: none; stroke: currentColor; stroke-width: 1; }
.dw-dim { fill: none; stroke: var(--brass); stroke-width: 1; }
.dw-dim path { fill: var(--brass); }
.dw-text { font-family: var(--font-mono); font-size: 11px; fill: var(--brass); letter-spacing: .04em; }
.dw-text-ink { font-family: var(--font-mono); font-size: 11px; fill: currentColor; opacity: .6; letter-spacing: .04em; }
.dw-ground { stroke: currentColor; stroke-width: 6; }
.dw-glass { fill: var(--green); opacity: .16; stroke: none; }
.dw-hatch { fill: url(#hatch); stroke: none; }
.hero-fallback { color: var(--ink); }

/* ---------- Services with a sticky visual ---------- */
.svc-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.svc-layout .schedule li { grid-template-columns: 56px minmax(0, 1fr) 32px; padding: 26px 0; }
.svc-layout .schedule li p { grid-column: 2; font-size: .97rem; }
.svc-layout .schedule .arrow { grid-row: 1; grid-column: 3; }
.svc-layout .schedule li.is-active h3 { color: var(--green); }
.svc-visual { position: sticky; top: 110px; }
.svc-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--night); border-radius: 2px; box-shadow: 0 40px 80px -40px rgba(16,23,29,.5); }
.svc-img { position: absolute; inset: 0; opacity: 0; transform: scale(1.08); transition: opacity .9s var(--ease-out), transform 1.6s var(--ease-out); }
.svc-img.is-active { opacity: 1; transform: none; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-blueprint { position: absolute; inset: 0; display: grid; place-items: center; padding: 10%; color: #cfe3dc;
  background: linear-gradient(rgba(207,227,220,.07) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgba(207,227,220,.07) 1px, transparent 1px) 0 0 / 24px 24px, #143a32; }
.svc-blueprint svg { width: 100%; height: auto; }
.svc-blueprint .dw-glass { fill: #cfe3dc; opacity: .08; }
.svc-blueprint .dw-text, .svc-blueprint .dw-dim { color: #e7b87a; }
.svc-tag, .svc-count { position: absolute; z-index: 2; color: rgba(255,255,255,.85); background: rgba(16,23,29,.45); backdrop-filter: blur(6px); padding: 6px 10px; border-radius: 999px; font-size: .66rem; }
.svc-tag { left: 14px; bottom: 14px; }
.svc-count { right: 14px; top: 14px; }
@media (max-width: 900px) { .svc-layout { grid-template-columns: 1fr; } .svc-visual { display: none; } }

/* ---------- Full-bleed image break ---------- */
.image-break { position: relative; height: 115vh; min-height: 640px; overflow: hidden; background: var(--night); color: #fff; }
.ib-media { position: absolute; inset: 0; will-change: transform, clip-path; }
.ib-media img { width: 100%; height: 100%; object-fit: cover; }
.ib-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,23,29,.35) 0%, rgba(16,23,29,0) 35%, rgba(16,23,29,.75) 100%); pointer-events: none; }
.ib-copy { position: absolute; left: 0; right: 0; bottom: clamp(56px, 10vh, 110px); display: grid; gap: 18px; }
.ib-copy .mono { color: rgba(255,255,255,.8); }
.ib-quote { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: clamp(2rem, 5vw, 4.4rem); line-height: 1.04; letter-spacing: -.015em; max-width: 18ch; text-wrap: balance; }
.ib-tag { position: absolute; right: var(--gutter); bottom: 0; font-size: .66rem; opacity: .7; }

/* ---------- Film grain ---------- */
.grain { position: fixed; inset: -50%; z-index: 80; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-5%, 3%); } 40% { transform: translate(3%, -4%); } 60% { transform: translate(-2%, 5%); } 80% { transform: translate(4%, 2%); } 100% { transform: translate(0, 0); } }
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } }

/* ---------- Footer with the dusk render behind ---------- */
.site-footer { position: relative; isolation: isolate; }
.footer-bg { position: absolute; inset: 0 0 auto 0; height: 70%; z-index: -1; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, transparent 100%); }
.footer-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: saturate(1.1); }
@media (max-width: 800px) { .svc-layout .schedule li { grid-template-columns: 44px minmax(0, 1fr); } }

/* ---------- How we work page ---------- */
.page-process .page-title { font-size: clamp(2.8rem, 8.4vw, 7.4rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.promises { background: var(--night); color: var(--paper); padding: clamp(48px, 6vw, 80px) 0; }
.promises-title { color: #6fb3a0; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 28px; font-weight: 500; }
.promise-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; }
.promise-list li { border-top: 1px solid rgba(241,239,233,.25); padding-top: 16px; display: grid; gap: 6px; }
.promise-list b { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.promise-list span { color: rgba(241,239,233,.75); font-size: .98rem; }
@media (max-width: 900px) { .promise-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .promise-list { grid-template-columns: 1fr; } }

.steps-section { padding: clamp(70px, 9vw, 130px) 0; }
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 38px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.step { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 28px; padding: 0 0 clamp(44px, 5vw, 64px); position: relative; }
.step-num { width: 78px; height: 78px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); display: grid; place-items: center; font-size: 1.15rem; font-weight: 500; position: relative; z-index: 1; transition: background .4s, color .4s, border-color .4s; }
.step:hover .step-num { background: var(--green); border-color: var(--green); color: #fff; }
.step-body h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 14px 0 10px; }
.step-body > p { max-width: 64ch; color: var(--muted); margin: 0 0 20px; }
.step-facts { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); background: rgba(255,255,255,.35); max-width: 900px; }
.step-facts div { padding: 14px 18px; border-right: 1px solid var(--line); }
.step-facts div:last-child { border-right: 0; }
.step-facts dt { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 4px; }
.step-facts dd { margin: 0; font-size: .96rem; }
@media (max-width: 760px) {
  .steps::before { left: 24px; }
  .step { grid-template-columns: 50px minmax(0, 1fr); gap: 16px; }
  .step-num { width: 50px; height: 50px; font-size: .95rem; }
  .step-body h2 { margin-top: 8px; }
  .step-facts { grid-template-columns: 1fr; }
  .step-facts div { border-right: 0; border-bottom: 1px solid var(--line); }
  .step-facts div:last-child { border-bottom: 0; }
}

.docs-section { background: var(--paper-2); padding: clamp(70px, 9vw, 120px) 0; }
.docs-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 72px; align-items: start; }
.docs-grid h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); margin: 14px 0 16px; }
.docs-grid .lede { margin-bottom: 28px; }
.doc-list { list-style: none; margin: 0; padding: 0; counter-reset: d; }
.doc-list li { counter-increment: d; display: grid; grid-template-columns: 44px 1fr; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.doc-list li::before { content: counter(d, decimal-leading-zero); font-family: var(--font-mono); font-size: .85rem; color: var(--green); }
@media (max-width: 860px) { .docs-grid { grid-template-columns: 1fr; } }

.pay-section { padding: clamp(70px, 9vw, 130px) 0; }
.pay-track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.pay-track li { position: relative; padding: 18px 16px 20px; background: #fff; border-bottom: 4px solid var(--green); display: grid; gap: 6px; font-size: .95rem; }
.pay-track li:nth-child(n) { border-bottom-color: color-mix(in srgb, var(--green) calc(40% + var(--i, 0) * 12%), var(--paper-2)); }
.pay-track li:nth-child(1) { --i: 0; } .pay-track li:nth-child(2) { --i: 1; } .pay-track li:nth-child(3) { --i: 2; }
.pay-track li:nth-child(4) { --i: 3; } .pay-track li:nth-child(5) { --i: 4; } .pay-track li:nth-child(6) { --i: 5; }
.pay-track .mono { color: var(--green); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 900px) { .pay-track { grid-template-columns: 1fr 1fr; } }

.cta-band { background: var(--green); color: #fff; padding: clamp(70px, 9vw, 120px) 0; }
.cta-inner { display: grid; gap: 18px; justify-items: start; }
.cta-band h2 { font-size: clamp(2.2rem, 5.6vw, 4.6rem); margin: 0; }
.cta-band .lede { color: rgba(255,255,255,.85); }
.cta-band .btn-primary { background: #fff; color: var(--green); border-color: #fff; }
.process-more { margin-top: 40px; }

/* ---------- Packages ---------- */
.packages { padding: clamp(80px, 10vw, 140px) 0; background: var(--paper-2); }
.pkg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.pkg { background: var(--paper); padding: 30px 28px 32px; border-top: 4px solid var(--ink); display: flex; flex-direction: column; gap: 10px; transition: transform .5s var(--ease-out), box-shadow .5s; }
.pkg:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -30px rgba(16,23,29,.45); }
.pkg-featured { background: var(--night); color: var(--paper); border-top-color: #6fb3a0; }
.pkg-tag { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin: 0; display: flex; justify-content: space-between; gap: 8px; }
.pkg-featured .pkg-tag { color: #6fb3a0; }
.pkg-tag span { font-size: .7rem; padding: 3px 9px; border: 1px solid currentColor; border-radius: 999px; letter-spacing: .08em; }
.pkg-rate { font-family: var(--font-display); font-size: clamp(2.2rem, 3.6vw, 3rem); font-weight: 800; margin: 4px 0 0; line-height: 1.1; }
.pkg-rate small { font-family: var(--font-body); font-size: .95rem; font-weight: 500; opacity: .7; }
.pkg-for { margin: 0 0 8px; color: var(--muted); }
.pkg-featured .pkg-for { color: rgba(241,239,233,.7); }
.pkg ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.pkg li { padding: 10px 0 10px 24px; border-top: 1px solid var(--line); position: relative; font-size: .95rem; }
.pkg-featured li { border-top-color: rgba(241,239,233,.15); }
.pkg li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 10px; height: 2px; background: var(--green); }
.pkg-featured li::before { background: #6fb3a0; }
.pkg-note { margin: 28px 0 24px; max-width: 90ch; font-size: .95rem; color: var(--muted); border-left: 3px solid var(--brass); padding: 4px 0 4px 16px; }
@media (max-width: 900px) { .pkg-grid { grid-template-columns: 1fr; } }
.promise-list li:last-child:nth-child(7) { grid-column: 1 / -1; }
.lang-switch { font-size: .92rem; padding: 6px 12px; border: 1px solid currentColor; border-radius: 999px; opacity: .85; }
.lang-switch:hover { opacity: 1; }
html[lang="ta-IN"] body { font-family: "Noto Sans Tamil", var(--font-body); }
html[lang="ta-IN"] h1, html[lang="ta-IN"] h2, html[lang="ta-IN"] h3, html[lang="ta-IN"] .hero-title, html[lang="ta-IN"] .page-title, html[lang="ta-IN"] .pkg-rate { font-family: "Noto Sans Tamil", var(--font-display); letter-spacing: 0; line-height: 1.25; }
html[lang="ta-IN"] .page-title, html[lang="ta-IN"] .hero-title { font-size: clamp(2.2rem, 6vw, 5.2rem); }
.nav a.lang-switch { display: inline-flex; align-items: center; white-space: nowrap; line-height: 1.2; padding: 7px 14px; border-radius: 999px; min-width: max-content; }
.nav a.lang-switch::after { display: none; }

/* ---------- Links on cards and service list ---------- */
.svc-link { color: inherit; text-decoration: none; }
.svc-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-link { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .5s var(--ease-out); }
.card-link:hover { background-size: 100% 1.5px; }
.project:has(.card-link), .h-card:has(.card-link) { position: relative; }
.project .card-link::after, .h-card .card-link::after { content: ""; position: absolute; inset: 0; }

/* ---------- Service pages ---------- */
.svc-hero { position: relative; min-height: min(100svh, 920px); display: grid; align-items: end; color: var(--paper); overflow: hidden; background: var(--night); }
.svc-hero-media { position: absolute; inset: 0; }
.svc-hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: svcZoom 14s var(--ease-out) forwards; }
.svc-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,23,29,.35) 0%, rgba(16,23,29,.25) 35%, rgba(16,23,29,.92) 100%), linear-gradient(90deg, rgba(16,23,29,.7), rgba(16,23,29,0) 70%); }
@keyframes svcZoom { to { transform: scale(1); } }
.svc-hero-tag { position: absolute; right: var(--gutter); top: 110px; z-index: 1; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.svc-hero-inner { position: relative; z-index: 1; padding-top: 160px; padding-bottom: clamp(48px, 7vw, 90px); display: grid; gap: 22px; }
.svc-title { font-size: clamp(2.6rem, 7.4vw, 6.4rem); line-height: .98; margin: 0; max-width: 16ch; }
.svc-hero .lede { color: rgba(241,239,233,.82); }
.svc-hero .btn-light { color: var(--paper); border-color: rgba(241,239,233,.45); background: rgba(16,23,29,.25); }
.crumbs { font-size: .8rem; letter-spacing: .08em; opacity: .8; }
.crumbs a { color: inherit; }
.page-hero .crumbs { color: var(--muted); }
.trust-strip { list-style: none; margin: 10px 0 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; border-top: 1px solid rgba(241,239,233,.2); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.trust-strip li::before { content: "✓"; color: #6fb3a0; margin-right: 8px; }

.incl-section, .mini-steps, .related, .values, .team, .visit, .about-split, .proj-story { padding: clamp(80px, 10vw, 140px) 0; }
.incl-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.incl-grid li { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.incl-grid li:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.incl-grid h3 { font-size: 1.3rem; margin: 0; }
.incl-grid p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .incl-grid { grid-template-columns: 1fr 1fr; } .incl-grid li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; } .incl-grid li:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); } }
@media (max-width: 560px) { .incl-grid { grid-template-columns: 1fr; } .incl-grid li:nth-child(even) { padding-left: 0; border-left: 0; } }

.mini-steps { background: var(--night); color: var(--paper); }
.mini-steps .lede { color: rgba(241,239,233,.75); }
.mini-steps .lede a { color: #6fb3a0; }
.mini-steps .eyebrow { color: #6fb3a0; }
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.mini-list li { border-top: 2px solid #6fb3a0; padding-top: 18px; display: grid; gap: 8px; align-content: start; }
.mini-list .mono { color: #6fb3a0; }
.mini-list h3 { margin: 0; font-size: 1.35rem; }
.mini-list p { margin: 0; color: rgba(241,239,233,.72); }
@media (max-width: 900px) { .mini-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .mini-list { grid-template-columns: 1fr; } }

.related .projects-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.related .projects-grid .project:nth-child(even) { margin-top: 0; }
@media (max-width: 900px) { .related .projects-grid { grid-template-columns: 1fr; } }
.other-svc { padding: clamp(50px, 6vw, 80px) 0; border-bottom: 1px solid var(--line); }
.other-title { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin: 0 0 20px; font-weight: 500; }
.other-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.other-list a { display: inline-block; padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; transition: background .3s, color .3s, border-color .3s; }
.other-list a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- About ---------- */
.about-title { font-size: clamp(2.6rem, 7.6vw, 6.6rem); }
.about-grid, .proj-grid, .visit-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px 72px; align-items: center; }
.about-media { margin: 0; position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--night); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media figcaption { position: absolute; left: 14px; bottom: 12px; color: var(--paper); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.about-copy h2, .proj-copy h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0 0 18px; }
.about-copy p { color: var(--muted); max-width: 58ch; }
.values { background: var(--paper-2); }
.values-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.values-list li { background: var(--paper); padding: 26px 24px 30px; border-top: 3px solid var(--green); display: grid; gap: 8px; align-content: start; }
.values-list .mono { color: var(--green); }
.values-list h3 { margin: 0; font-size: 1.3rem; }
.values-list p { margin: 0; color: var(--muted); }
@media (max-width: 1000px) { .values-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values-list { grid-template-columns: 1fr; } }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.team-card h3 { margin: 16px 0 2px; font-size: 1.3rem; }
.team-card p { margin: 0; color: var(--muted); }
.team-ph { aspect-ratio: 4 / 5; background: var(--paper-2); display: grid; place-items: center; align-content: center; gap: 12px; color: var(--muted); border: 1px solid var(--line); }
.team-ph svg { width: 64px; height: 64px; }
.team-ph .mono { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 760px) { .team-grid { grid-template-columns: 1fr 1fr; } }
.visit { background: var(--night); color: var(--paper); }
.visit .eyebrow { color: #6fb3a0; }
.visit h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); margin: 14px 0 18px; }
.visit p { color: rgba(241,239,233,.8); max-width: 48ch; }
.visit .btn-ghost { color: var(--paper); border-color: rgba(241,239,233,.45); }
.map-frame { aspect-ratio: 4 / 3; background: #1b252d; overflow: hidden; }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
@media (max-width: 860px) { .about-grid, .proj-grid, .visit-grid { grid-template-columns: 1fr; } }

/* ---------- Project page ---------- */
.proj-title { font-size: clamp(3rem, 10vw, 8.6rem); }
.page-project .page-hero .status { justify-self: start; position: static; }
.proj-facts { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.facts-grid { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts-grid div { padding: 24px 20px 26px 0; }
.facts-grid div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.facts-grid dt { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 6px; }
.facts-grid dd { margin: 0; font-size: 1.1rem; font-weight: 500; }
@media (max-width: 760px) { .facts-grid { grid-template-columns: 1fr 1fr; } .facts-grid div:nth-child(3) { padding-left: 0; border-left: 0; } }
.proj-media { margin: 0; position: relative; aspect-ratio: 4 / 3; background: #1b252d; overflow: hidden; }
.proj-ph { inset: 0; color: var(--paper); }
.proj-list { list-style: none; margin: 0 0 18px; padding: 0; }
.proj-list li { padding: 12px 0 12px 26px; border-top: 1px solid var(--line); position: relative; }
.proj-list li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 12px; height: 2px; background: var(--green); }

/* ---------- Phone quick-contact bar ---------- */
.m-bar { display: none; }
@media (max-width: 760px) {
  .m-bar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--night); box-shadow: 0 -10px 30px -12px rgba(0,0,0,.5); padding-bottom: env(safe-area-inset-bottom); }
  .m-bar a { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 10px; color: var(--paper); text-decoration: none; font-weight: 600; }
  .m-bar svg { width: 20px; height: 20px; }
  .m-bar .m-wa { background: #1f8a4c; }
  .wa-float { display: none; }
  body { padding-bottom: 56px; }
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.svc-hero-inner { width: 100%; }
.page-service .site-header:not(.scrolled) { color: var(--paper); --accent-mark: #6fb3a0; }
.page-service .site-header:not(.scrolled) .btn-primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
@media (max-width: 760px) { .svc-hero-tag { top: 74px; } .svc-hero-inner { padding-top: 120px; } }
.proj-copy p + h2 { margin-top: 48px; }
@media (max-width: 760px) {
  .team-grid { grid-template-columns: 1fr; gap: 14px; }
  .team-card { display: grid; grid-template-columns: 96px 1fr; gap: 4px 16px; align-items: center; }
  .team-card .team-ph { grid-row: span 2; aspect-ratio: 1; }
  .team-card .team-ph .mono { display: none; }
  .team-card .team-ph svg { width: 40px; height: 40px; }
  .team-card h3 { margin: 0; align-self: end; }
  .team-card p { align-self: start; }
}

.footer-logo { display: block; width: 150px; height: auto; margin: 0 0 18px; }

/* Looping clips (videos fill their frame) */
.frame video, .ib-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ib-media video { position: absolute; }

/* Contact page and quick contact */
.quick-contact { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.quick-contact .qc { display: grid; gap: 6px; padding: 20px 22px; border: 1px solid rgba(18,26,33,.16); border-radius: 4px; text-decoration: none; color: inherit; background: rgba(255,255,255,.5); transition: border-color .3s, transform .3s; }
.quick-contact .qc:hover { border-color: currentColor; transform: translateY(-2px); }
.quick-contact .qc .mono { font-size: .7rem; opacity: .65; }
.quick-contact .qc strong { font-size: 1.05rem; overflow-wrap: anywhere; }
.quick-contact .qc-wa { background: #1f8a4c; color: #fff; border-color: #1f8a4c; }
.page-contact .contact { padding-top: clamp(30px, 5vw, 60px); }
@media (max-width: 760px) { .quick-contact { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .m-bar { grid-template-columns: 1fr 1fr 1.3fr; } .m-bar .m-enq { background: #2c3a45; } .m-bar a { gap: 7px; padding: 15px 6px; } }
.contact-hero .page-title { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
.contact-hero { padding-bottom: 10px; }

/* ===== Visual polish, 31 Oct 2026 ===== */

/* Loader: the Plinthscapes logo */
.loader { background: radial-gradient(120% 90% at 50% 40%, #1a2630 0%, #0e151b 70%); }
.loader-inner { gap: 22px; }
.loader-logo { width: clamp(150px, 22vw, 230px); height: auto; filter: drop-shadow(0 8px 40px rgba(111,179,160,.25)); }
.loader-tag { color: #8fa3ad; letter-spacing: .24em; text-transform: uppercase; font-size: .72rem; }
.loader-bar { height: 3px; }
.loader-bar span { background: linear-gradient(90deg, #6fb3a0, var(--paper)); }

/* Hero: full-screen photographs of our own work */
.hero-photo { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: #0e151b; color: #fff; }
.hp-slides, .hp-slide { position: absolute; inset: 0; }
.hp-slide { opacity: 0; transition: opacity 1.8s ease; }
.hp-slide.is-on { opacity: 1; z-index: 1; }
.hp-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transform: scale(1.04); }
.hp-slide.is-on img { animation: hp-drift 14s ease-out forwards; }
@keyframes hp-drift { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.13) translate3d(-1.2%, -.8%, 0); } }
.hp-scrim { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(9,14,18,.82) 0%, rgba(9,14,18,.55) 36%, rgba(9,14,18,.08) 68%, rgba(9,14,18,0) 100%),
              linear-gradient(0deg, rgba(9,14,18,.7) 0%, rgba(9,14,18,0) 38%),
              linear-gradient(180deg, rgba(9,14,18,.55) 0%, rgba(9,14,18,0) 22%); }
.hero-photo .hero-intro { z-index: 3; bottom: clamp(70px, 13vh, 150px); }
.hero-photo .hero-title { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero-photo .hero-title em { color: #8fd8bd; }
.hero-photo .hero-eyebrow { color: #8fd8bd; }
.hero-photo .hero-lede { color: rgba(255,255,255,.86); }
.hero-photo .btn-light { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.1); }
.hero-photo .btn-light:hover { color: var(--ink); }
.hero-photo .scroll-hint { z-index: 3; color: rgba(255,255,255,.85); }
.hp-meta { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; pointer-events: none; }
.hp-label { color: rgba(255,255,255,.75); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.hp-dots { display: flex; gap: 8px; pointer-events: auto; }
.hp-dots i { width: 26px; height: 3px; background: rgba(255,255,255,.3); cursor: pointer; transition: background .4s, width .4s; }
.hp-dots i.is-on { background: #fff; width: 44px; }
@media (max-width: 900px) {
  .hp-scrim { background: linear-gradient(0deg, rgba(9,14,18,.92) 0%, rgba(9,14,18,.62) 45%, rgba(9,14,18,.05) 75%), linear-gradient(180deg, rgba(9,14,18,.5) 0%, rgba(9,14,18,0) 18%); }
  .hero-photo .hero-intro { bottom: 64px; }
  .hp-slide img { object-position: 42% 50%; }
  .hero-photo .scroll-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hp-slide.is-on img { animation: none; } }

/* Header over the dark hero */

/* Stage by stage */
.stages { padding: clamp(80px, 10vw, 140px) 0; background: var(--paper); }
.stage-grid { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(22,31,39,.18); counter-reset: st; }
.stage-grid li { padding: 28px 24px 8px 0; position: relative; display: grid; gap: 12px; align-content: start; }
.stage-grid li::before { content: ""; position: absolute; left: 0; top: -6px; width: 11px; height: 11px; background: var(--green); transform: rotate(45deg); }
.stage-grid li .mono { color: var(--green); padding-top: 10px; }
.stage-grid li h3 { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.2; }
.stage-grid li p { color: var(--muted); font-size: .95rem; }
@media (max-width: 1000px) { .stage-grid { grid-template-columns: 1fr 1fr; gap: 0 28px; } .stage-grid li { padding-bottom: 28px; } }
@media (max-width: 600px) { .stage-grid { grid-template-columns: 1fr; } }

/* Finer details across the site */
::selection { background: var(--green); color: #fff; }
.project .frame img, .h-card .frame img { transition: transform 1.2s var(--ease-out), filter .6s; }
.project:hover .frame img, .h-card:hover .frame img { transform: scale(1.05); }
.btn { letter-spacing: .01em; }
img { image-rendering: auto; }
.hero-photo .hero-intro > * { max-width: 880px; }
.hero-photo .hero-title { font-size: clamp(2.6rem, 6.2vw, 5.6rem); line-height: .98; }
.hero-photo .hero-title .line { white-space: nowrap; }
@keyframes hp-drift { from { transform: scale(1.03) translate3d(0, 0, 0); } to { transform: scale(1.085) translate3d(-.8%, -.5%, 0); } }
@media (max-width: 900px) {
  .hero-photo .hero-intro { bottom: 128px; }
  .hp-meta { bottom: 82px; }
  .hero-photo .hero-title { font-size: clamp(2.2rem, 10vw, 3.2rem); }
}

/* ---- 3D build -> finished render dissolve ---- */
.hero-render { position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none; overflow: hidden; background: #0e151b; }
.hero-render img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; transform-origin: 55% 60%; will-change: transform, filter, opacity; }
.hero-render::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9,14,18,.78) 0%, rgba(9,14,18,.15) 42%, rgba(9,14,18,0) 70%), radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(9,14,18,.35) 100%); }
.hr-sheen { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.14) 50%, transparent 60%); mix-blend-mode: soft-light; animation: hr-sheen 7s ease-in-out infinite; }
@keyframes hr-sheen { 0%, 100% { transform: translateX(-30%); } 50% { transform: translateX(30%); } }
.hero3d .hero-scrim, .hero3d .hero-intro, .hero3d .stage-rail, .hero3d .stage-captions, .hero3d .hero-outro, .hero3d .scroll-hint, .hero3d .hero-progress { z-index: 3; }
.hero3d .hero-outro .btn-primary { background: var(--green); }
@media (max-width: 900px) { .hero-render img { object-position: 42% 50%; } }
@media (prefers-reduced-motion: reduce) { .hr-sheen { animation: none; } }

/* ---- Header: the real logo ---- */
.logo-img { height: 56px; width: auto; display: block; }
.logo-img-light { display: none; }
.site-header.scrolled .logo-img-dark, .page-service .site-header:not(.scrolled) .logo-img-dark { display: none; }
.site-header.scrolled .logo-img-light, .page-service .site-header:not(.scrolled) .logo-img-light { display: block; }
.site-header .logo { gap: 0; }
@media (max-width: 700px) { .logo-img { height: 46px; } }

/* ---- Service cards with images ---- */
.svc-layout { display: block; }
.svc-layout .schedule { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: clamp(20px, 2.4vw, 34px); }
.svc-layout .schedule li { display: grid; grid-template-columns: 1fr 32px; grid-template-rows: auto; align-content: start; gap: 8px 12px; padding: 0 0 24px; border: 0; border-bottom: 1px solid var(--line); position: relative; }
.svc-layout .schedule li .svc-thumb { grid-column: 1 / -1; aspect-ratio: 4 / 3; overflow: hidden; background: var(--night); margin-bottom: 14px; }
.svc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.svc-layout .schedule li:hover .svc-thumb img { transform: scale(1.06); }
.svc-layout .schedule li .num { grid-column: 1 / -1; font-size: .78rem; color: var(--green); order: 0; }
.svc-layout .schedule li h3 { grid-column: 1; grid-row: auto; }
.svc-layout .schedule li p { grid-column: 1 / -1; }
.svc-layout .schedule .arrow { grid-column: 2; grid-row: auto; align-self: start; }
@media (max-width: 800px) { .svc-layout .schedule li { grid-template-columns: 1fr 32px; } }
.addon { grid-template-columns: minmax(0, 240px) minmax(0, 1fr) auto; padding: 0 32px 0 0; overflow: hidden; }
.addon-img { align-self: stretch; min-height: 150px; }
.addon-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 800px) { .addon { grid-template-columns: 1fr; padding: 0 0 24px; gap: 16px; } .addon > div:not(.addon-img), .addon .btn { margin: 0 24px; } .addon-img { aspect-ratio: 16 / 9; } }

/* ---- Package cards with images ---- */
.pkg { padding-top: 0; overflow: hidden; }
.pkg-img { margin: 0 -28px 18px; aspect-ratio: 16 / 9; overflow: hidden; }
.pkg-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.pkg:hover .pkg-img img { transform: scale(1.06); }

/* ---- Budget calculator ---- */
.estimate { padding: clamp(80px, 10vw, 140px) 0; background: var(--paper); border-top: 1px solid var(--line); }
.est { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; margin-top: 12px; }
.est-main { display: grid; gap: 22px; min-width: 0; }

/* scope cards */
.est-scope { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.est-card { position: relative; display: grid; gap: 4px; align-content: center; padding: 16px 18px 16px 52px; min-height: 68px; background: #fff; border: 1.5px solid rgba(22,31,39,.16); border-radius: 6px; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s, transform .2s; }
.est-card:hover { border-color: rgba(31,84,72,.55); transform: translateY(-1px); }
.est-card input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.est-card::before { content: ""; position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border: 1.5px solid rgba(22,31,39,.35); border-radius: 50%; background: #fff; transition: all .2s; }
.est-scope-card::before { border-radius: 50%; }
.est-card:has(input:checked) { border-color: var(--green); background: rgba(31,84,72,.07); box-shadow: 0 0 0 1px var(--green) inset; }
.est-card:has(input:checked)::before { background: var(--green); border-color: var(--green); box-shadow: inset 0 0 0 4px #fff; }
.est-scope-card:has(input:checked)::before { box-shadow: none; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 6.8' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.est-card:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }
.ec-t { font-weight: 600; font-size: 1rem; line-height: 1.25; color: var(--ink); }
.ec-s { font-size: .82rem; color: var(--muted); line-height: 1.3; }

/* progress */
.est-progress { height: 4px; background: rgba(22,31,39,.1); border-radius: 4px; overflow: hidden; }
.est-progress span { display: block; height: 100%; width: 25%; background: var(--green); border-radius: 4px; transition: width .4s var(--ease-out); }
.est-stepname { margin: -10px 0 0; color: var(--green); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }

/* form */
.est-form { display: grid; gap: 24px; }
.est-step { border: 0; margin: 0; padding: 30px clamp(20px, 3vw, 34px) 34px; background: #fff; border-radius: 8px; border-top: 4px solid var(--green); box-shadow: 0 24px 50px -36px rgba(16,23,29,.35); display: grid; gap: 24px; min-width: 0; }
.est-step[hidden] { display: none; }
.est-step legend { float: left; width: 100%; padding: 0 0 4px; margin: 0 0 -8px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.15; color: var(--ink); }
.est-step legend + * { clear: both; }
.est-help { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; max-width: 62ch; }
.est-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px 22px; }
.est-group { display: grid; gap: 10px; }
.est-label { margin: 0; font-size: .92rem; font-weight: 600; color: var(--ink); }
.est-f { display: grid; gap: 8px; align-content: start; font-size: .92rem; font-weight: 600; color: var(--ink); min-width: 0; }
.est-f[hidden] { display: none; }
.est-f small { font-weight: 400; font-size: .8rem; color: var(--muted); line-height: 1.4; }
.est-f select, .est-f input { font: inherit; font-weight: 500; color: var(--ink); background: var(--paper); border: 1.5px solid rgba(22,31,39,.18); padding: 0 14px; border-radius: 6px; width: 100%; height: 52px; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
.est-f select { background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23161f27' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center / 12px no-repeat; padding-right: 40px; cursor: pointer; }
.est-f input::placeholder { color: rgba(22,31,39,.4); font-weight: 400; }
.est-f select:focus, .est-f input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,84,72,.18); background-color: #fff; }
.est-f input.invalid { border-color: #b3402e; box-shadow: 0 0 0 3px rgba(179,64,46,.15); }
.est-cards { display: grid; gap: 12px; }
.est-cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.est-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.est-cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.est-chips { display: grid; gap: 12px; }
.est-chips-1 { align-self: end; }
.est-chip { display: flex; align-items: center; gap: 12px; padding: 0 16px; min-height: 52px; border: 1.5px solid rgba(22,31,39,.18); border-radius: 6px; background: var(--paper); cursor: pointer; font-size: .95rem; transition: border-color .2s, background .2s; }
.est-chip input { width: 20px; height: 20px; accent-color: var(--green); flex: none; margin: 0; }
.est-chip:has(input:checked) { border-color: var(--green); background: rgba(31,84,72,.07); }
.est-gst { justify-self: start; background: transparent; }
.est-adv { border-top: 1px solid var(--line); padding-top: 18px; }
.est-adv summary { cursor: pointer; font-weight: 600; font-size: .95rem; color: var(--green); list-style: none; display: flex; align-items: center; gap: 8px; }
.est-adv summary::before { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1.5px solid currentColor; border-radius: 50%; font-size: 1rem; line-height: 1; }
.est-adv[open] summary::before { content: "−"; }
.est-adv summary::-webkit-details-marker { display: none; }
.est-adv .est-row { margin-top: 18px; }

/* nav buttons */
.est-nav { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.est-nav .btn { min-height: 52px; padding-inline: 28px; }
.est-nav #est-next { margin-left: auto; }
.est-nav [hidden] { display: none; }
.est-nav button:disabled { opacity: .45; cursor: not-allowed; }

/* result panel */
.est-out { position: sticky; top: 92px; max-height: calc(100vh - 112px); overflow-y: auto; overscroll-behavior: contain; background: var(--night); color: var(--paper); padding: 32px 30px 34px; border-radius: 8px; display: grid; gap: 16px; box-shadow: 0 30px 60px -34px rgba(16,23,29,.7); }
.est-eyebrow { color: #6fb3a0; margin: 0; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.est-total { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.08; margin: 0; letter-spacing: -.01em; }
.est-gstnote { margin: -6px 0 0; opacity: .65; font-size: .84rem; }
.est-plot { display: grid; gap: 12px; padding: 18px 0 2px; border-top: 1px solid rgba(241,239,233,.14); }
.est-plot[hidden] { display: none; }
.est-facts, .est-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .88rem; line-height: 1.45; }
.est-facts li { padding-left: 18px; position: relative; color: rgba(241,239,233,.92); }
.est-facts li::before { content: ""; position: absolute; left: 1px; top: .55em; width: 6px; height: 6px; background: #6fb3a0; transform: rotate(45deg); }
.est-notes li { padding: 10px 12px; background: rgba(201,161,91,.14); border-left: 3px solid #c9a15b; border-radius: 0 4px 4px 0; color: rgba(241,239,233,.94); }
.est-notes:empty { display: none; }
.est-lines { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid rgba(241,239,233,.14); }
.est-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(241,239,233,.1); font-size: .9rem; line-height: 1.4; }
.est-lines li span { color: rgba(241,239,233,.85); min-width: 0; }
.est-lines li b { font-weight: 600; text-align: right; white-space: nowrap; }
.est-warn { margin: 2px 0 2px; padding: 14px 16px; border-left: 3px solid #c9a15b; background: rgba(241,239,233,.07); border-radius: 0 4px 4px 0; font-size: .86rem; line-height: 1.55; color: rgba(241,239,233,.92); }
.est-out .btn-primary { background: var(--green); border-color: #6fb3a0; justify-self: stretch; justify-content: center; min-height: 54px; }
.est-call { text-align: center; color: rgba(241,239,233,.8); font-size: .9rem; }
.est-out.flash { animation: est-flash 1.2s ease-out; }
@keyframes est-flash { 0% { box-shadow: 0 0 0 0 rgba(111,179,160,.9); } 100% { box-shadow: 0 0 0 24px rgba(111,179,160,0); } }

/* phone live strip */
.est-mini { display: none; }
@media (max-width: 960px) {
  .est { grid-template-columns: 1fr; }
  .est-out { position: static; max-height: none; overflow: visible; }
  .est-mini { position: fixed; left: 10px; right: 10px; bottom: 66px; z-index: 40; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; background: var(--night); color: var(--paper); border-radius: 8px; box-shadow: 0 10px 30px -8px rgba(0,0,0,.55); font-size: .85rem; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s; }
  .est-mini.show { opacity: 1; transform: none; pointer-events: auto; }
  .est-mini b { font-family: var(--font-display); font-size: 1rem; flex: 1; text-align: right; }
  .est-mini a { color: #6fb3a0; font-weight: 600; }
}
@media (max-width: 700px) {
  .est-cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .est-cards-3 { grid-template-columns: 1fr; }
  .est-cards-3 .est-card { padding-top: 14px; padding-bottom: 14px; }
  .est-step { padding: 24px 18px 26px; }
  .est-row { grid-template-columns: 1fr; }
  .est-card { padding: 14px 12px 14px 44px; }
  .est-card::before { left: 14px; }
  .est-out { padding: 26px 20px 28px; }
  .est-lines li { flex-direction: column; gap: 3px; }
  .est-lines li b { text-align: left; white-space: normal; }
}
@media (max-width: 420px) { .est-scope { grid-template-columns: 1fr; } .est-cards-2 { grid-template-columns: 1fr; } }

/* Package rate explainer and specification table */
.pkg-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0 0 28px; border: 1px solid var(--line); background: var(--paper); }
.pkg-how > div { padding: 22px 24px; border-left: 1px solid var(--line); }
.pkg-how > div:first-child { border-left: 0; }
.pkg-how .mono { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.pkg-how p { margin: 0; font-size: .95rem; color: var(--muted); }
.pkg-how b { color: var(--ink); }
@media (max-width: 900px) { .pkg-how { grid-template-columns: 1fr; } .pkg-how > div { border-left: 0; border-top: 1px solid var(--line); } .pkg-how > div:first-child { border-top: 0; } }
.pkg-spec { margin-top: 30px; border: 1px solid var(--line); background: var(--paper); }
.pkg-spec summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 20px; padding: 20px 24px; font-weight: 600; color: var(--ink); }
.pkg-spec summary::-webkit-details-marker { display: none; }
.pkg-spec summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--green); margin-left: auto; transition: transform .3s; }
.pkg-spec[open] summary::after { transform: rotate(45deg); }
.pkg-spec-hint { font-weight: 400; color: var(--muted); font-size: .92rem; }
.pkg-spec-body { padding: 0 24px 24px; }
.pkg-table { overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--line); }
.pkg-table table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .93rem; }
.pkg-table th, .pkg-table td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.pkg-table thead th { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green); position: sticky; top: 0; background: var(--paper); }
.pkg-table tbody th { width: 20%; font-weight: 600; color: var(--ink); }
.pkg-table td { width: 26.6%; color: var(--muted); }
.pkg-spec-note { margin: 18px 0 0; font-size: .92rem; color: var(--muted); border-left: 3px solid var(--brass); padding-left: 14px; }

/* Process page: journey at a glance */
.steps-glance { padding: 8px 0 24px; }
.glance { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); background: var(--paper); counter-reset: g; }
.glance li { padding: 26px 28px; border-left: 1px solid var(--line); position: relative; }
.glance li:first-child { border-left: 0; }
.glance .mono { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.glance b { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); margin-bottom: 6px; }
.glance p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 800px) { .glance { grid-template-columns: 1fr; } .glance li { border-left: 0; border-top: 1px solid var(--line); } .glance li:first-child { border-top: 0; } }
