/* ==========================================================================
   Estate Vision — master template stylesheet
   Editorial / production-slate system: hairline rules, small-caps labels,
   figure captions, mixed crops. Re-skin by editing :root only.
   ========================================================================== */
:root {
  /* colour */
  --c-bg: #06080a;
  --c-bg-2: #0b0e11;
  --c-surface: #101418;
  --c-text: #e9edef;
  --c-text-2: rgba(233, 237, 239, 0.78);
  --c-muted: #879198;
  --c-dim: #4f585e;
  --c-line: rgba(233, 237, 239, 0.12);
  --c-line-2: rgba(233, 237, 239, 0.24);
  --c-accent: #0096c7;
  --c-accent-ink: #021017;              /* text on accent */
  --c-accent-soft: rgba(0, 150, 199, 0.12);
  --c-accent-glow: rgba(0, 150, 199, 0.38);
  --c-error: #ff7a7a;

  /* type */
  --f-display: "DM Serif Display", "Times New Roman", serif;
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-hero: clamp(3.1rem, 9.2vw, 9.8rem);
  --fs-h1: clamp(3rem, 8vw, 8rem);
  --fs-h2: clamp(2.4rem, 5.4vw, 5.4rem);
  --fs-h3: clamp(1.5rem, 2.1vw, 2rem);
  --fs-lead: clamp(1.05rem, 1.3vw, 1.22rem);
  --fs-small: 0.84rem;
  --fs-label: 0.7rem;
  --track-display: -0.022em;
  --track-label: 0.16em;

  /* shape + space */
  --r: 2px;
  --r-pill: 999px;
  --gutter: clamp(16px, 3.6vw, 52px);
  --maxw: 1360px;
  --section: clamp(96px, 12vw, 180px);
  --nav-h: 60px;

  /* motion */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { 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(--c-bg); color: var(--c-text);
  font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--c-accent); color: var(--c-accent-ink); }
:focus-visible { outline: 1.5px solid var(--c-accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 9999; background: var(--c-accent); color: var(--c-accent-ink); padding: 10px 16px; font-weight: 600; transition: top .3s; }
.skip:focus { top: 16px; }

/* ---------- type system ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.label {
  font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase;
  font-weight: 500; color: var(--c-muted); font-variant-numeric: tabular-nums;
}
.label b { color: var(--c-accent); font-weight: 500; }
.display { font-family: var(--f-display); font-weight: 400; line-height: 0.95; letter-spacing: var(--track-display); }
.display em { font-style: italic; color: var(--c-accent); }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-family: var(--f-display); font-weight: 400; font-size: var(--fs-h3); line-height: 1.08; letter-spacing: -0.01em; }
.lead { font-size: var(--fs-lead); color: var(--c-text-2); line-height: 1.55; max-width: 36ch; }
.muted { color: var(--c-muted); }
.small { font-size: var(--fs-small); }
.rule { height: 1px; background: var(--c-line); border: 0; margin: 0; }
.fig { margin-top: 12px; display: flex; justify-content: space-between; gap: 16px; font-size: var(--fs-label); letter-spacing: 0.08em; color: var(--c-muted); }
.fig b { color: var(--c-text); font-weight: 500; }
.split-line { padding-bottom: 0.06em; margin-bottom: -0.06em; }

/* section head: label column + headline column on a 12-col grid */
.head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 20px; row-gap: 24px; align-items: end; margin-bottom: clamp(48px, 6vw, 96px); }
.head__label { grid-column: 1 / span 3; align-self: start; display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--c-line-2); }
.head__title { grid-column: 4 / -1; }
.head__side { grid-column: 4 / span 5; }
.head__aside { grid-column: 9 / -1; justify-self: end; }
.head--right .head__title { text-align: right; }
@media (max-width: 860px) {
  .head { grid-template-columns: 1fr; }
  .head__label, .head__title, .head__side, .head__aside { grid-column: 1; justify-self: start; }
  .head--right .head__title { text-align: left; }
}

/* ---------- preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 1000; background: var(--c-bg); display: grid; place-items: end start; padding: var(--gutter); }
.preloader__inner { display: grid; gap: 14px; width: 100%; }
.preloader__mark { width: 44px; height: 44px; }
.preloader__mark path { stroke: var(--c-text); stroke-width: 1.2; fill: none; stroke-dasharray: 1; }
.preloader__mark .ac { stroke: var(--c-accent); }
.preloader__word { font-family: var(--f-display); font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1; letter-spacing: var(--track-display); overflow: hidden; }
.preloader__row { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.preloader__bar { flex: 1; height: 1px; background: var(--c-line-2); position: relative; overflow: hidden; }
.preloader__bar i { position: absolute; inset: 0; background: var(--c-accent); transform-origin: left; transform: scaleX(0); }
.preloader__count { font-size: var(--fs-label); letter-spacing: var(--track-label); color: var(--c-muted); font-variant-numeric: tabular-nums; }
.no-js .preloader { display: none; }

/* ---------- page transition ---------- */
.pt { position: fixed; inset: 0; z-index: 990; pointer-events: none; display: grid; }
.pt i { background: var(--c-bg-2); transform: scaleY(0); transform-origin: bottom; display: grid; place-items: center; border-top: 1px solid var(--c-accent); }
.pt span { font-family: var(--f-display); font-size: 1.6rem; color: var(--c-muted); font-style: normal; }

/* ---------- progress, grain, cursor ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 950; background: #fff; mix-blend-mode: difference; transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
.grain-wrap { position: fixed; inset: 0; z-index: 940; pointer-events: none; overflow: hidden; mix-blend-mode: overlay; opacity: 0.045; }
.grain { position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background-repeat: repeat; background-size: 180px 180px; will-change: transform; }
.grain.is-live { animation: grain 1s steps(1) infinite; }
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); }
}
/* ---------- viewfinder cursor (built by JS on hover+fine pointers only) ----------
   Re-skin: --vf-color (brackets), --vf-accent (REC dot / focus), --vf-arm (bracket length). */
.vf, .vf-dot { --vf-color: #fff; --vf-accent: var(--c-accent); --vf-arm: 13px; position: fixed; top: 0; left: 0; z-index: 960; pointer-events: none; will-change: transform; opacity: 0; transition: opacity .25s; }
.vf.is-on, .vf-dot.is-on { opacity: 1; }
.vf.is-hidden, .vf-dot.is-hidden { opacity: 0; }
.vf { width: 0; height: 0; }
.vf__c { position: absolute; top: 0; left: 0; width: var(--vf-arm); height: var(--vf-arm); border: 0 solid var(--vf-color); will-change: transform; filter: drop-shadow(0 0 1px rgba(0,0,0,.55)); }
.vf__tl { border-top-width: 2px; border-left-width: 2px; }
.vf__tr { border-top-width: 2px; border-right-width: 2px; }
.vf__bl { border-bottom-width: 2px; border-left-width: 2px; }
.vf__br { border-bottom-width: 2px; border-right-width: 2px; }
.vf__read { position: absolute; top: 0; left: 0; display: flex; gap: 8px; align-items: center; white-space: nowrap; font: 500 10px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--vf-color); opacity: 0; transition: opacity .2s; text-shadow: 0 0 4px rgba(0,0,0,.7); font-variant-numeric: tabular-nums; }
.vf__read i { width: 6px; height: 6px; border-radius: 50%; background: var(--vf-accent); display: none; }
.vf.has-label .vf__read { opacity: 1; }
.vf.is-view .vf__read i { display: block; animation: blink 1s steps(2) infinite; }
.vf.is-view .vf__c { border-color: var(--vf-accent); }
.vf.is-focus .vf__c { animation: focuspull .5s var(--ease); }
@keyframes focuspull { 0% { opacity: 1; } 20% { opacity: .15; } 40% { opacity: 1; } 60% { opacity: .35; } 100% { opacity: 1; } }
@keyframes blink { 50% { opacity: 0; } }
.vf-dot { width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: var(--vf-accent); }
.vf-dot.is-snap { opacity: 0; }
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor label, html.has-cursor summary { cursor: none; }
html.has-cursor input, html.has-cursor textarea, html.has-cursor select { cursor: auto; }
html.has-cursor input[type="radio"] + span, html.has-cursor input[type="checkbox"] { cursor: none; }

/* ---------- nav (floating glass pill) ---------- */
.nav { position: fixed; top: 12px; left: 0; right: 0; z-index: 900; padding-inline: var(--gutter); pointer-events: none; transition: transform .6s var(--ease); }
.nav.is-hidden { transform: translateY(calc(-100% - 20px)); }
.nav__pill {
  pointer-events: auto; max-width: 1240px; margin-inline: auto; height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  padding: 0 8px 0 20px; border-radius: var(--r-pill);
  background: rgba(10, 13, 16, 0.5); border: 1px solid var(--c-line);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 1.2rem; letter-spacing: 0; white-space: nowrap; justify-self: start; }
.logo svg { width: 22px; height: 22px; }
.logo svg path { stroke: currentColor; stroke-width: 1.4; fill: none; }
.logo svg .ac { stroke: var(--c-accent); }
.nav__links { display: flex; gap: 2px; }
.nav__links a { position: relative; padding: 8px 14px; font-size: 0.84rem; color: var(--c-muted); transition: color .25s; }
.nav__links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--c-accent); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover { color: var(--c-text); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__links a[aria-current="page"] { color: var(--c-text); }
.nav__right { display: flex; align-items: center; gap: 14px; justify-self: end; }
.nav__phone { font-size: 0.82rem; color: var(--c-muted); white-space: nowrap; font-variant-numeric: tabular-nums; transition: color .25s; }
.nav__phone:hover { color: var(--c-text); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--c-line-2); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--c-text); transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
@media (max-width: 1100px) { .nav__phone { display: none; } }
@media (max-width: 900px) {
  .nav__pill { grid-template-columns: 1fr auto; padding-left: 18px; padding-right: 7px; }
  .nav__links { display: none; }
  .burger { display: block; }
  .nav__right .btn { display: none; }
}

.menu {
  position: fixed; inset: 0; z-index: 890; background: var(--c-bg-2);
  clip-path: inset(0 0 100% 0); visibility: hidden;
  display: flex; flex-direction: column; justify-content: space-between; padding: 100px var(--gutter) 28px;
}
.menu__links { display: grid; border-top: 1px solid var(--c-line); }
.menu__links a { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--c-line); font-family: var(--f-display); font-size: clamp(2.2rem, 10vw, 3.6rem); line-height: 1.05; letter-spacing: var(--track-display); overflow: hidden; }
.menu__links a small { font-family: var(--f-body); font-size: var(--fs-label); letter-spacing: var(--track-label); color: var(--c-muted); }
.menu__links a span { display: inline-block; }
.menu__foot { display: grid; gap: 6px; font-size: var(--fs-small); color: var(--c-muted); }
.menu__foot a { color: var(--c-text); }
.menu__foot .menu__phone { font-family: var(--f-display); font-size: 2rem; color: var(--c-accent); }

/* ---------- buttons + links ---------- */
.btn {
  --bg: transparent; --fg: var(--c-text); --bd: var(--c-line-2);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 50px; padding: 0 22px; border-radius: var(--r-pill);
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-size: 0.86rem; font-weight: 500; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .3s, box-shadow .4s var(--ease);
  will-change: transform;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c-text); transform: translateY(101%); transition: transform .5s var(--ease); border-radius: inherit; }
.btn:hover::before { transform: none; }
.btn:hover { color: var(--c-bg); border-color: var(--c-text); }
.btn svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 1.6; fill: none; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { --bg: var(--c-accent); --fg: var(--c-accent-ink); --bd: var(--c-accent); font-weight: 600; }
.btn--primary::before { background: #33b3dc; }
.btn--primary:hover { color: var(--c-accent-ink); border-color: #33b3dc; box-shadow: 0 10px 40px -10px var(--c-accent-glow); }
.btn--dark { --bg: var(--c-accent-ink); --fg: #fff; --bd: var(--c-accent-ink); }
.btn--dark::before { background: var(--c-bg); }
.btn--dark:hover { color: #fff; border-color: var(--c-bg); }
.btn--sm { height: 44px; padding: 0 18px; font-size: 0.82rem; }
.btn--lg { height: 56px; padding: 0 28px; font-size: 0.92rem; }
.btn--block { width: 100%; }

.link { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 500; padding-bottom: 5px; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--c-line-2); }
.link::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--c-accent); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); z-index: 1; }
.link:hover::before { transform: scaleX(1); transform-origin: left; }
.link svg { width: 13px; height: 13px; stroke: currentColor; stroke-width: 1.6; fill: none; transition: transform .45s var(--ease); }
.link:hover svg { transform: translate(3px, -3px); }

.status { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-small); color: var(--c-text-2); }
.dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--c-accent); flex: none; }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--c-accent); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(2.3); opacity: 0; } }
.status--chip { padding: 8px 14px 8px 12px; border: 1px solid var(--c-line-2); border-radius: var(--r-pill); background: rgba(6, 8, 10, 0.35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

.ico { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.4; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- media slot (graceful fallback) ---------- */
.media {
  position: relative; overflow: hidden; background-color: #0d1216;
  background-image:
    linear-gradient(180deg, rgba(0, 150, 199, 0.10), transparent 60%),
    linear-gradient(115deg, #121a20 0%, #0a0e11 55%, #0e151a 100%);
}
.media::before { /* quiet architectural hairlines, visible only when the image is missing */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(90deg, rgba(233,237,239,.06) 1px, transparent 1px), linear-gradient(0deg, rgba(233,237,239,.05) 1px, transparent 1px);
  background-size: 25% 100%, 100% 33.33%;
}
.media img, .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.media.is-missing img, .media.is-missing video, img.is-missing, video.is-missing { display: none; }
.media--parallax img, .media[data-speed] img { top: -10%; height: 120%; }
/* crop variations so the same five frames read as different shoots */
.crop-l img { object-position: 18% 50%; }
.crop-r img { object-position: 82% 50%; }
.crop-t img { object-position: 50% 15%; }
.crop-b img { object-position: 50% 85%; }
.zoom img { transform: scale(1.35); }
.bw img { filter: grayscale(1) contrast(1.08); }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: var(--c-bg); }
.hero__media { position: absolute; inset: 0; will-change: transform; transform-origin: 50% 46%; }
.hero__media video, .hero__media img { filter: contrast(1.04) saturate(0.96); }
.hero__shade { position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    linear-gradient(0deg, rgba(6,8,10,.88) 0%, rgba(6,8,10,.55) 26%, rgba(6,8,10,0) 58%),
    linear-gradient(180deg, rgba(6,8,10,.45) 0%, rgba(6,8,10,0) 18%),
    radial-gradient(130% 100% at 50% 40%, transparent 60%, rgba(6,8,10,.45) 100%);
}
.hero__top { position: absolute; z-index: 2; top: calc(12px + var(--nav-h) + 22px); left: 0; right: 0; }
.hero__top .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.hero__content { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding-bottom: clamp(28px, 5vh, 52px); }
.hero__title { font-size: var(--fs-hero); line-height: 0.9; max-width: 10.5ch; margin-bottom: clamp(26px, 4vh, 44px); }
.hero__title em { color: var(--c-text); }
.hero__title { max-width: none; }
.hero__title .ht { display: block; will-change: transform; }
@media (min-width: 561px) { .hero__title .ht { white-space: nowrap; } }
.hero__title .ht--b { padding-left: 1.2ch; }
.hero__title .ht > div, .page-hero h1 > div { padding: 0 .06em .14em 0; margin: 0 -.06em -.14em 0; }
.hero__rule { display: block; height: 1px; background: var(--c-line-2); transform-origin: left; }
.hero__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; align-items: end; padding-top: 22px; }
.hero__endcap { position: absolute; z-index: 2; left: 0; right: 0; bottom: 9vh; text-align: center; opacity: 0; font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--c-muted); pointer-events: none; }
.hero__endcap b { color: var(--c-text); font-weight: 500; }
.hero__lens { position: absolute; inset: 0; will-change: transform; }
.hero__media video { will-change: transform; transform-origin: 50% 78%; }
@media (max-width: 560px) { .hero__title .ht--b { padding-left: 0; } }
.hero__sub { grid-column: 1 / span 4; color: var(--c-text-2); font-size: 1rem; max-width: 34ch; min-width: 0; padding-right: 12px; }
.hero__ctas { grid-column: 5 / span 4; display: flex; gap: 10px; flex-wrap: wrap; }
.hero__cap { grid-column: 9 / -1; justify-self: end; text-align: right; font-size: var(--fs-label); letter-spacing: 0.1em; color: var(--c-muted); line-height: 1.7; font-variant-numeric: tabular-nums; }
.hero__cap b { color: var(--c-text); font-weight: 500; }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 18px; }
  .hero__sub, .hero__ctas, .hero__cap { grid-column: 1; justify-self: start; text-align: left; }
  .hero__cap { display: none; }
}
@media (max-width: 560px) {
  .hero__top .label { display: none; }
  .hero__ctas .btn { flex: 1 1 auto; }
}

/* ---------- area ticker (marquee) ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--c-line); padding: 22px 0; }
.ticker__track { display: flex; width: max-content; will-change: transform; }
.ticker__group { display: flex; align-items: center; flex: none; }
.ticker__item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--f-display); font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1; white-space: nowrap; color: var(--c-text-2); }
.ticker__item i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); }
.ticker__item span { font-family: var(--f-body); font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--c-muted); }

/* ---------- intro (statement + layered frames) ---------- */
.intro__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 20px; }
.intro__label { grid-column: 1 / span 3; padding-top: 14px; border-top: 1px solid var(--c-line-2); align-self: start; display: grid; gap: 10px; }
.statement { grid-column: 4 / -1; font-family: var(--f-display); font-size: clamp(2rem, 4.3vw, 4.2rem); line-height: 1.04; letter-spacing: -0.018em; }
.statement em { font-style: italic; color: var(--c-accent); }
.statement .w { opacity: 0.16; }
.frames { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 20px; margin-top: clamp(64px, 9vw, 130px); align-items: start; }
.frames__big { grid-column: 1 / span 8; margin-left: calc(var(--gutter) * -1); }
.frames__big .media { aspect-ratio: 16 / 10; }
.frames__big .fig { padding-left: var(--gutter); }
.frames__side { grid-column: 9 / -1; display: grid; gap: 28px; padding-top: 8px; }
.frames__side p { color: var(--c-text-2); }
.frames__small { width: 78%; margin-left: auto; margin-top: clamp(24px, 6vw, 90px); }
.frames__small .media { aspect-ratio: 4 / 5; }
@media (max-width: 860px) {
  .intro__grid, .frames { grid-template-columns: 1fr; row-gap: 28px; }
  .intro__label, .statement, .frames__big, .frames__side { grid-column: 1; }
  .frames__big { margin-right: calc(var(--gutter) * -1); margin-left: calc(var(--gutter) * -1); }
  .frames__big .fig { padding-inline: var(--gutter); }
  .frames__small { width: 62%; margin-top: -18%; position: relative; z-index: 2; border: 6px solid var(--c-bg); }
}

/* ---------- services: ruled masonry ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; border-top: 1px solid var(--c-line-2); border-left: 1px solid var(--c-line); }
.svc { position: relative; display: flex; flex-direction: column; gap: 22px; padding: clamp(22px, 2.4vw, 34px); border-right: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); transition: background .5s var(--ease); min-height: 300px; }
.svc:hover { background: rgba(233, 237, 239, 0.025); }
.svc--tall { grid-row: span 2; }
.svc--wide { grid-column: span 2; }
.svc__no { display: flex; justify-content: space-between; align-items: baseline; }
.svc__no span:first-child { font-family: var(--f-display); font-size: 1.05rem; color: var(--c-muted); transition: color .4s; }
.svc:hover .svc__no span:first-child { color: var(--c-accent); }
.svc__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.8rem, 2.6vw, 2.6rem); line-height: 1; letter-spacing: -0.015em; }
.svc__text { color: var(--c-text-2); font-size: 0.95rem; max-width: 36ch; }
.svc__spec { font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-muted); line-height: 1.9; }
.svc__price { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; border-top: 1px solid var(--c-line); font-size: var(--fs-small); color: var(--c-muted); }
.svc__price b { font-family: var(--f-display); font-weight: 400; font-size: 1.7rem; color: var(--c-text); letter-spacing: -0.01em; }
.svc__media { margin-inline: calc(clamp(22px, 2.4vw, 34px) * -1); }
.svc__media:first-child { margin-top: calc(clamp(22px, 2.4vw, 34px) * -1); }
.svc__media--end { margin-top: auto; margin-bottom: calc(clamp(22px, 2.4vw, 34px) * -1); }
.svc__media .media { aspect-ratio: 4 / 3; }
.svc--tall .svc__media .media { aspect-ratio: 5 / 4; }
.svc__media img { transition: transform 1.4s var(--ease); }
.svc:hover .svc__media img { transform: scale(1.04); }
.svc--bundle { background: var(--c-accent); color: var(--c-accent-ink); display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px 40px; align-items: end; }
.svc--bundle:hover { background: #079fd0; }
.svc--bundle .svc__no span { color: var(--c-accent-ink) !important; }
.svc--bundle .svc__text, .svc--bundle .svc__spec { color: rgba(2, 16, 23, 0.74); }
.svc--bundle .svc__title { font-size: clamp(2.2rem, 3.6vw, 3.6rem); max-width: 12ch; }
.bundle__price { font-family: var(--f-display); font-size: clamp(3.4rem, 6vw, 5.6rem); line-height: .9; letter-spacing: -0.03em; }
.bundle__price s { font-family: var(--f-body); font-size: 1rem; letter-spacing: 0; opacity: .6; margin-left: 10px; }
@media (max-width: 1024px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc--tall { grid-row: auto; }
  .svc--wide { grid-column: auto; }
  .svc--bundle { grid-template-columns: 1fr; }
  .svc { min-height: 0; }
}

/* ---------- develop: scroll-scrubbed raw -> delivered edit (wow moment) ---------- */
.develop { position: relative; background: var(--c-bg); }
.develop__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.develop__img { position: absolute; inset: 0; z-index: 0; }
.develop__done { z-index: 1; }
.develop__shade { z-index: 2; }
.develop__head, .develop__read { z-index: 3; }
.develop__raw img { filter: brightness(.62) saturate(.45) contrast(.85) sepia(.18); transform: rotate(-1.6deg) scale(1.08); }
.develop__done { position: absolute; inset: 0; overflow: hidden; transform: translateX(50%); will-change: transform; }
.develop__done .develop__img { transform: translateX(-50%); will-change: transform; }
.develop__line { position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: var(--c-accent); box-shadow: 0 0 18px var(--c-accent-glow); }
.develop__line::after { content: "DELIVERED"; position: absolute; top: 50%; left: 0; transform: translate(0, -50%); padding: 7px 12px; background: var(--c-accent); color: var(--c-accent-ink); font: 600 10px/1 var(--f-body); letter-spacing: .18em; white-space: pre; }
.develop__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(6,8,10,.85) 0%, rgba(6,8,10,0) 42%), linear-gradient(180deg, rgba(6,8,10,.6) 0%, rgba(6,8,10,0) 26%); }
.develop__head { position: absolute; top: calc(var(--nav-h) + 40px); left: 0; right: 0; }
.develop__head .wrap { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.develop__head h2 { max-width: 12ch; }
.develop__read { position: absolute; left: 0; right: 0; bottom: clamp(24px, 5vh, 48px); }
.develop__read .wrap { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--c-line-2); }
.develop__read .wrap > div { padding: 16px 16px 0 0; }
.develop__read .wrap > div + div { padding-left: 16px; border-left: 1px solid var(--c-line); }
.develop__read b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 2.2rem); line-height: 1; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .develop__read .wrap { grid-template-columns: 1fr 1fr; row-gap: 14px; }
  .develop__read .wrap > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .develop__head .label { display: none; }
}

/* ---------- process: pinned film strip ---------- */
.strip { position: relative; background: var(--c-bg-2); border-block: 1px solid var(--c-line); overflow: hidden; }
.strip__pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(30px, 5vh, 60px); padding-block: 100px 40px; }
.strip__track { display: flex; align-items: flex-start; gap: 0; padding-inline: var(--gutter); width: max-content; will-change: transform; }
.frame { width: clamp(280px, 31vw, 440px); flex: none; padding-right: 22px; }
.frame__film { background: #030405; padding: 18px 10px; position: relative; }
.frame__film::before, .frame__film::after {
  content: ""; position: absolute; left: 0; right: 0; height: 8px;
  background: repeating-linear-gradient(90deg, transparent 0 9px, rgba(233,237,239,.22) 9px 17px, transparent 17px 22px);
}
.frame__film::before { top: 5px; }
.frame__film::after { bottom: 5px; }
.frame__edge { position: absolute; left: 14px; right: 14px; bottom: -1px; transform: translateY(100%); padding-top: 6px; display: flex; justify-content: space-between; font-size: 10px; letter-spacing: 0.14em; color: #c99a3b; font-variant-numeric: tabular-nums; }
.frame .media { aspect-ratio: 3 / 2; }
.frame--tall .media { aspect-ratio: 4 / 5; }
.frame__num { aspect-ratio: 3 / 2; display: grid; place-items: center; background: #0b0f12; font-family: var(--f-display); font-size: clamp(6rem, 11vw, 9rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--c-accent); }
.frame__body { padding-top: 34px; display: grid; gap: 8px; max-width: 34ch; }
.frame__body h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.7rem; line-height: 1.05; }
.frame__body p { color: var(--c-text-2); font-size: 0.94rem; }
.frame--end { align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 0 40px; border-left: 1px solid var(--c-line-2); width: clamp(280px, 30vw, 420px); }
.strip__bar { height: 1px; background: var(--c-line); position: relative; }
.strip__bar i { position: absolute; inset: 0; background: var(--c-accent); transform-origin: left; transform: scaleX(0); }
.no-hscroll .strip__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; }
.no-hscroll .frame { scroll-snap-align: start; }

/* ---------- portfolio: staggered columns ---------- */
.pf { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); align-items: start; }
.pf__col { display: grid; gap: clamp(36px, 5vw, 72px); }
.pf__col:nth-child(2) { padding-top: clamp(80px, 14vw, 220px); }
.pf__col:nth-child(3) { padding-top: clamp(30px, 5vw, 80px); }
.shot { display: block; position: relative; }
.shot .media { aspect-ratio: var(--ar, 4 / 5); }
.shot .media img { transition: transform 1.4s var(--ease); }
.shot:hover .media img { transform: scale(1.05); }
.shot__over { position: absolute; inset: 0 0 auto 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-start; padding: 18px; background: linear-gradient(180deg, rgba(6,8,10,.82), rgba(6,8,10,0)); opacity: 0; transition: opacity .5s var(--ease); }
.shot__over dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; font-size: var(--fs-label); letter-spacing: 0.08em; transform: translateY(12px); transition: transform .6s var(--ease); }
.shot__over dt { color: var(--c-muted); text-transform: uppercase; }
.shot__over dd { color: var(--c-text); }
.shot:hover .shot__over, .shot:focus-visible .shot__over { opacity: 1; }
.shot:hover .shot__over dl { transform: none; }
.shot__cap { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: baseline; padding-top: 14px; }
.shot__cap .n { font-size: var(--fs-label); color: var(--c-muted); font-variant-numeric: tabular-nums; }
.shot__cap h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.32rem; line-height: 1.1; }
.shot__cap .t { font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--c-accent); }
.shot__cap p { grid-column: 2 / -1; font-size: var(--fs-small); color: var(--c-muted); }
.shot.is-hidden { display: none; }
@media (max-width: 900px) {
  .pf { grid-template-columns: 1fr 1fr; }
  .pf__col:nth-child(3) { display: contents; }
  .pf__col:nth-child(2) { padding-top: 90px; }
}
@media (max-width: 560px) {
  .pf { grid-template-columns: 1fr; gap: 40px; }
  .pf__col { gap: 40px; }
  .pf__col:nth-child(2) { padding-top: 0; }
  .pf .shot:nth-child(even) { width: 82%; margin-left: auto; }
  .shot__over { opacity: 1; background: none; }
  .shot__over dl { display: none; }
}

/* ---------- why us: ruled bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--c-line-2); border-left: 1px solid var(--c-line); }
.tile { position: relative; padding: clamp(22px, 2.4vw, 32px); border-right: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); display: flex; flex-direction: column; justify-content: space-between; gap: 30px; min-height: 260px; transition: background .5s; }
.tile:hover { background: rgba(233, 237, 239, 0.025); }
.tile__head { display: flex; align-items: center; gap: 12px; color: var(--c-accent); }
.tile__head .label { color: var(--c-muted); }
.tile__stat { font-family: var(--f-display); font-size: clamp(4rem, 7vw, 6.6rem); line-height: .82; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.tile__stat sup { font-size: .34em; letter-spacing: 0; color: var(--c-accent); vertical-align: top; position: relative; top: .3em; margin-left: 4px; }
.tile h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.55rem; line-height: 1.05; margin-bottom: 8px; }
.tile p { color: var(--c-text-2); font-size: 0.93rem; max-width: 38ch; }
.tile--photo { grid-column: span 2; grid-row: span 2; padding: 0; min-height: 560px; justify-content: flex-end; }
.tile--photo .media { position: absolute; inset: 0; }
.tile--photo .tile__over { position: relative; z-index: 2; padding: clamp(22px, 2.6vw, 36px); background: linear-gradient(0deg, rgba(6,8,10,.9) 10%, rgba(6,8,10,0)); }
.tile--photo h3 { font-size: clamp(2rem, 3.2vw, 3rem); max-width: 14ch; }
.tile--wide { grid-column: span 2; }
.meter { display: grid; gap: 14px; }
.meter__row { display: grid; grid-template-columns: 96px 1fr 52px; align-items: center; gap: 14px; font-size: var(--fs-small); color: var(--c-muted); }
.meter__row b { font-weight: 500; color: var(--c-text); text-align: right; font-variant-numeric: tabular-nums; }
.meter__bar { height: 2px; background: var(--c-line); }
.meter__bar i { display: block; height: 100%; background: var(--c-accent); transform-origin: left; width: var(--w); }
@media (max-width: 1024px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .tile--photo, .tile--wide { grid-column: auto; }
  .tile--photo { grid-row: auto; min-height: 440px; }
  .tile { min-height: 0; }
}

/* ---------- testimonials + stats ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--c-line-2); }
.quote { padding: 34px clamp(20px, 2.6vw, 40px) 34px 0; display: flex; flex-direction: column; gap: 26px; }
.quote + .quote { padding-left: clamp(20px, 2.6vw, 40px); border-left: 1px solid var(--c-line); }
.stars { display: flex; gap: 3px; color: var(--c-accent); }
.stars svg { width: 13px; height: 13px; fill: currentColor; }
.quote blockquote { font-family: var(--f-display); font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.22; letter-spacing: -0.01em; flex: 1; }
.quote figcaption { font-size: var(--fs-small); color: var(--c-muted); }
.quote figcaption b { display: block; color: var(--c-text); font-weight: 500; }
.quote--lead blockquote { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--c-line-2); }
.stat { padding: 26px 20px 0 0; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--c-line); }
.stat__n { font-family: var(--f-display); font-size: clamp(3rem, 5.6vw, 5.4rem); line-height: .9; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.stat__n small { font-size: .45em; color: var(--c-accent); letter-spacing: 0; margin-left: 3px; }
.stat__l { margin-top: 14px; color: var(--c-text-2); font-size: var(--fs-small); max-width: 24ch; }
.stat__l span { display: block; color: var(--c-muted); font-size: var(--fs-label); letter-spacing: .08em; margin-top: 4px; }
.footnote { margin-top: 26px; font-size: var(--fs-label); letter-spacing: 0.06em; color: var(--c-dim); }
@media (max-width: 960px) {
  .quotes { grid-template-columns: 1fr; }
  .quote, .quote + .quote { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--c-line); }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* ---------- pricing ---------- */
.toggle { display: inline-flex; padding: 3px; border-radius: var(--r-pill); border: 1px solid var(--c-line-2); }
.toggle button { height: 38px; padding: 0 16px; border-radius: var(--r-pill); font-size: 0.82rem; color: var(--c-muted); transition: background .3s, color .3s; }
.toggle button:hover { color: var(--c-text); }
.toggle button[aria-pressed="true"] { background: var(--c-text); color: var(--c-bg); font-weight: 500; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--c-line-2); border-bottom: 1px solid var(--c-line); }
.tier { position: relative; padding: clamp(26px, 3vw, 44px) clamp(20px, 2.6vw, 40px); display: flex; flex-direction: column; gap: 26px; }
.tier + .tier { border-left: 1px solid var(--c-line); }
.tier--featured { background: linear-gradient(180deg, rgba(0,150,199,.10), rgba(0,150,199,0) 60%), var(--c-surface); }
.tier--featured::before { content: ""; position: absolute; left: -1px; right: 0; top: -1px; height: 3px; background: var(--c-accent); }
.tier__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tier__flag { font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--c-accent); }
.tier__name { font-family: var(--f-display); font-weight: 400; font-size: 2.1rem; line-height: 1; }
.tier__for { color: var(--c-text-2); font-size: 0.93rem; margin-top: 8px; }
.tier__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tier__price b { font-family: var(--f-display); font-weight: 400; font-size: clamp(3.4rem, 5vw, 4.8rem); line-height: .9; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.tier__price span { color: var(--c-muted); font-size: var(--fs-small); }
.tier__list { display: grid; gap: 0; font-size: 0.93rem; flex: 1; border-top: 1px solid var(--c-line); }
.tier__list li { display: grid; grid-template-columns: 16px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--c-line); color: var(--c-text-2); }
.tier__list svg { width: 16px; height: 16px; stroke: var(--c-accent); stroke-width: 1.6; fill: none; margin-top: 3px; }
.tier__list li.off { color: var(--c-dim); }
.tier__list li.off svg { stroke: var(--c-dim); }
.tier__meta { font-size: var(--fs-label); letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); }
.price-note { margin-top: 26px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--c-muted); font-size: var(--fs-small); }
@media (max-width: 960px) {
  .tiers { grid-template-columns: 1fr; }
  .tier + .tier { border-left: 0; border-top: 1px solid var(--c-line); }
  .tier--featured { order: -1; }
}

/* add-ons, compare, faq */
.addons { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(28px, 5vw, 80px); border-top: 1px solid var(--c-line-2); }
.addon { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; padding: 22px 0; border-bottom: 1px solid var(--c-line); transition: padding .5s var(--ease); }
.addon:hover { padding-left: 8px; }
.addon h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.4rem; line-height: 1.1; }
.addon p { grid-column: 1; color: var(--c-muted); font-size: 0.9rem; }
.addon b { font-weight: 500; color: var(--c-text); grid-row: 1 / span 2; grid-column: 2; align-self: center; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .addons { grid-template-columns: 1fr; } }
.compare-wrap { overflow-x: auto; border-top: 1px solid var(--c-line-2); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.92rem; }
.compare th, .compare td { padding: 15px 16px; text-align: left; border-bottom: 1px solid var(--c-line); }
.compare th:first-child, .compare td:first-child { padding-left: 0; color: var(--c-text-2); }
.compare thead th { font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; }
.compare thead th.is-feat { color: var(--c-accent); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; font-variant-numeric: tabular-nums; }
.compare td.is-feat { background: rgba(0,150,199,.06); }
.compare .y { color: var(--c-accent); }
.compare .n { color: var(--c-dim); }
.faq { border-top: 1px solid var(--c-line-2); }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 48px 1fr 28px; gap: 16px; align-items: baseline; padding: 24px 0; font-family: var(--f-display); font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.15; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary small { font-family: var(--f-body); font-size: var(--fs-label); color: var(--c-muted); letter-spacing: .1em; }
.faq summary:hover { color: var(--c-accent); }
.faq summary i { width: 14px; height: 14px; position: relative; justify-self: end; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1.5px; background: currentColor; }
.faq summary i::after { transform: rotate(90deg); transition: transform .45s var(--ease); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq__a { padding: 0 0 26px 64px; color: var(--c-text-2); max-width: 64ch; }
@media (max-width: 600px) { .faq summary { grid-template-columns: 32px 1fr 20px; } .faq__a { padding-left: 48px; } }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 20px; row-gap: 48px; }
.form-card { grid-column: 1 / span 7; position: relative; }
.aside { grid-column: 9 / -1; display: flex; flex-direction: column; gap: 34px; padding-top: 14px; border-top: 1px solid var(--c-line-2); }
.form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 28px; }
.field { display: grid; gap: 4px; position: relative; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--c-muted); }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--c-line-2); border-radius: 0;
  padding: 10px 0 12px; font-size: 1.12rem; color: var(--c-text); outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .3s;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23879198' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; padding-right: 24px; }
.field select option { background: var(--c-bg-2); color: var(--c-text); }
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--c-dim); }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--c-accent); }
.field input[type="date"] { color-scheme: dark; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-bottom-color: var(--c-error); }
.field__err { font-size: var(--fs-small); color: var(--c-error); display: none; }
.field.is-invalid .field__err { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--c-line-2); font-size: 0.86rem; color: var(--c-text-2); cursor: pointer; transition: all .3s; }
.opt span:hover { border-color: var(--c-text); color: var(--c-text); }
.opt input:checked + span { background: var(--c-text); border-color: var(--c-text); color: var(--c-bg); }
.opt input:focus-visible + span { outline: 1.5px solid var(--c-accent); outline-offset: 2px; }
.field .check { display: flex; gap: 12px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-size: var(--fs-small); color: var(--c-text-2); cursor: pointer; }
.field .check input { padding: 0; background: transparent; }
.check input { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; flex: none; margin: 2px 0 0; border: 1px solid var(--c-line-2); display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.check input:checked { background: var(--c-accent); border-color: var(--c-accent); }
.check input:checked::after { content: ""; width: 9px; height: 5px; border-left: 1.6px solid var(--c-accent-ink); border-bottom: 1.6px solid var(--c-accent-ink); transform: rotate(-45deg) translate(1px, -1px); }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.form__note { font-size: var(--fs-small); color: var(--c-muted); max-width: 34ch; }
.hp { position: absolute; left: -9999px; }
.form.is-sending .btn { opacity: .6; pointer-events: none; }
.success { display: none; }
.form-card.is-done .form { display: none; }
.form-card.is-done .success { display: grid; gap: 20px; padding-top: 14px; border-top: 1px solid var(--c-accent); }
.success__k { font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--c-accent); }
.success h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -0.02em; max-width: 16ch; }
.success p { color: var(--c-text-2); max-width: 44ch; }
.success__ref b { color: var(--c-text); font-weight: 500; letter-spacing: .1em; }
.success__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.aside__phone { font-family: var(--f-display); font-size: clamp(2.3rem, 3.8vw, 3.5rem); line-height: 1; letter-spacing: -0.02em; display: inline-block; margin-top: 10px; transition: color .3s, text-shadow .4s; font-variant-numeric: tabular-nums; }
.aside__phone:hover { color: var(--c-accent); text-shadow: 0 0 34px var(--c-accent-glow); }
.aside dl { display: grid; gap: 0; border-top: 1px solid var(--c-line); }
.aside dl > div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.aside dt { font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--c-muted); padding-top: 3px; }
.aside dd { font-size: 0.95rem; }
.aside dd a:hover { color: var(--c-accent); }
.aside .hours div { display: flex; justify-content: space-between; gap: 12px; }
.aside .hours span:last-child { color: var(--c-muted); }
@media (max-width: 960px) {
  .contact { grid-template-columns: 1fr; }
  .form-card, .aside { grid-column: 1; }
}
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } .form__foot .btn { width: 100%; } }

/* ---------- closing band + footer ---------- */
.closer { position: relative; min-height: 86vh; display: grid; align-items: end; overflow: hidden; }
.closer .media { position: absolute; inset: 0; }
.closer .media::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(0deg, rgba(6,8,10,.92) 8%, rgba(6,8,10,.2) 60%, rgba(6,8,10,.45)); }
.closer__in { position: relative; z-index: 3; padding-bottom: clamp(40px, 7vw, 90px); }
.closer__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; align-items: end; }
.closer h2 { grid-column: 1 / span 9; }
.closer__cta { grid-column: 10 / -1; justify-self: end; display: grid; gap: 14px; justify-items: end; text-align: right; }
@media (max-width: 860px) { .closer__grid { grid-template-columns: 1fr; } .closer h2, .closer__cta { grid-column: 1; justify-self: start; justify-items: start; text-align: left; } }

.footer { padding: clamp(70px, 9vw, 120px) 0 24px; border-top: 1px solid var(--c-line); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px 20px; }
.footer__brand { grid-column: 1 / span 5; }
.footer__col { grid-column: span 2; }
.footer__col:last-child { grid-column: span 3; }
.footer h4 { font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--c-muted); font-weight: 500; margin-bottom: 16px; }
.footer ul { display: grid; gap: 8px; }
.footer ul a { color: var(--c-text-2); transition: color .3s; }
.footer ul a:hover { color: var(--c-accent); }
.news { display: flex; align-items: center; gap: 10px; margin-top: 24px; max-width: 400px; border-bottom: 1px solid var(--c-line-2); }
.news input { flex: 1; min-width: 0; height: 48px; background: transparent; border: 0; outline: none; }
.news button { font-size: var(--fs-small); color: var(--c-accent); font-weight: 500; padding: 8px 0; }
.news button:hover { color: var(--c-text); }
.footer__word { font-family: var(--f-display); font-size: clamp(3rem, 14vw, 15rem); line-height: .78; letter-spacing: -0.045em; margin-top: clamp(56px, 8vw, 110px); white-space: nowrap; }
.footer__word em { font-style: italic; color: var(--c-accent); }
.footer__bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--c-line); font-size: var(--fs-label); letter-spacing: .08em; color: var(--c-muted); }
.footer__bar a:hover { color: var(--c-text); }
@media (max-width: 900px) {
  .footer__brand { grid-column: 1 / -1; }
  .footer__col, .footer__col:last-child { grid-column: span 6; }
}
@media (max-width: 480px) { .footer__col, .footer__col:last-child { grid-column: 1 / -1; } }

/* ---------- inner pages ---------- */
.page-hero { padding: calc(var(--nav-h) + clamp(100px, 13vw, 170px)) 0 clamp(48px, 6vw, 80px); }
.page-hero__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px 20px; align-items: end; }
.page-hero__label { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; border-top: 1px solid var(--c-line-2); }
.page-hero h1 { grid-column: 1 / span 9; }
.page-hero__side { grid-column: 10 / -1; display: grid; gap: 18px; }
.crumbs a:hover { color: var(--c-accent); }
@media (max-width: 860px) { .page-hero__grid { grid-template-columns: 1fr; } .page-hero h1, .page-hero__side { grid-column: 1; } }

.filters { display: flex; gap: 6px 26px; flex-wrap: wrap; padding: 18px 0; margin-bottom: clamp(40px, 5vw, 70px); border-block: 1px solid var(--c-line); }
.chip { position: relative; padding: 6px 0; font-size: 0.92rem; color: var(--c-muted); transition: color .3s; }
.chip sup { font-size: .68em; margin-left: 3px; color: var(--c-dim); }
.chip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--c-accent); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.chip:hover { color: var(--c-text); }
.chip.is-active { color: var(--c-text); }
.chip.is-active::after { transform: scaleX(1); transform-origin: left; }

/* project index (portfolio page) */
.index { border-top: 1px solid var(--c-line-2); }
.index__row { display: grid; grid-template-columns: 60px 1.4fr 1fr 1fr 120px; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--c-line); position: relative; transition: padding .5s var(--ease), color .3s; }
.index__row:hover { padding-left: 10px; color: var(--c-accent); }
.index__row h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 2.2rem); line-height: 1; }
.index__row span { font-size: var(--fs-small); color: var(--c-muted); }
.index__row span:last-child { text-align: right; }
.index__peek { position: fixed; top: 0; left: 0; width: 280px; aspect-ratio: 4 / 3; z-index: 50; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease); }
.index__peek.is-on { opacity: 1; }
@media (hover: none) { .index__peek { display: none; } }
@media (max-width: 760px) { .index__row { grid-template-columns: 36px 1fr; } .index__row span:not(:first-child) { display: none; } .index__peek { display: none; } }

/* sticky case study */
.case { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 20px; }
.case__sticky { grid-column: 1 / span 7; position: sticky; top: 90px; height: calc(100vh - 120px); }
.case__sticky .media { position: absolute; inset: 0; }
.case__sticky .media img { opacity: 0; transform: scale(1.05); transition: opacity .9s var(--ease), transform 1.6s var(--ease); }
.case__sticky .media img.is-on { opacity: 1; transform: none; }
.case__count { position: absolute; z-index: 3; left: 16px; bottom: 14px; font-size: var(--fs-label); letter-spacing: var(--track-label); color: var(--c-text); }
.case__steps { grid-column: 9 / -1; display: grid; gap: 34vh; padding-block: 18vh 30vh; }
.case__step { opacity: .28; transition: opacity .6s; }
.case__step.is-active { opacity: 1; }
.case__step h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1.02; letter-spacing: -0.015em; margin: 14px 0; }
.case__step p { color: var(--c-text-2); }
.case__kpi { display: flex; gap: 30px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--c-line); }
.case__kpi b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 2.4rem; color: var(--c-accent); line-height: 1; }
.case__kpi span { font-size: var(--fs-small); color: var(--c-muted); }
@media (max-width: 860px) {
  .case { grid-template-columns: 1fr; }
  .case__sticky { grid-column: 1; top: 80px; height: 44vh; z-index: 1; }
  .case__steps { grid-column: 1; gap: 26vh; padding-block: 8vh 22vh; position: relative; z-index: 2; }
  .case__step { background: rgba(6,8,10,.94); padding: 22px; border-top: 1px solid var(--c-accent); }
}

/* reel band */
.reel { position: relative; width: 100%; aspect-ratio: 21 / 9; overflow: hidden; }
@media (max-width: 860px) { .reel { aspect-ratio: 4 / 5; } }
.reel .media { position: absolute; inset: 0; }
.reel__ov { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(18px, 3vw, 36px); background: linear-gradient(0deg, rgba(6,8,10,.75), rgba(6,8,10,0) 50%); }
.reel__ov .row { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }

/* steps list (contact page) */
.next { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--c-line-2); }
.next li { padding: 26px clamp(16px, 2.4vw, 34px) 0 0; display: grid; gap: 10px; align-content: start; }
.next li + li { padding-left: clamp(16px, 2.4vw, 34px); border-left: 1px solid var(--c-line); }
.next b { font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; line-height: 1.05; }
.next p { color: var(--c-text-2); font-size: .94rem; }
@media (max-width: 860px) { .next { grid-template-columns: 1fr; } .next li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--c-line); margin-top: 26px; } }

.areas { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 20px; row-gap: 32px; }
.map { grid-column: 1 / span 7; position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--c-line); background: var(--c-bg-2); overflow: hidden; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .pin { fill: var(--c-accent); }
.map .ring { fill: none; stroke: var(--c-accent); transform-box: fill-box; transform-origin: center; animation: ring 2.6s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }
.map text { fill: var(--c-text-2); font-family: var(--f-body); font-size: 11px; letter-spacing: .08em; }
.area-list { grid-column: 9 / -1; border-top: 1px solid var(--c-line-2); align-self: start; }
.area-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--c-line); font-family: var(--f-display); font-size: 1.45rem; line-height: 1.1; }
.area-list li span { font-family: var(--f-body); font-size: var(--fs-small); color: var(--c-muted); white-space: nowrap; }
@media (max-width: 860px) { .areas { grid-template-columns: 1fr; } .map, .area-list { grid-column: 1; } }

/* ---------- initial animation states (JS + motion only) ---------- */
.js-anim [data-anim="reveal"] { opacity: 0; transform: translateY(28px); }
.js-anim [data-anim="stagger"] > * { opacity: 0; transform: translateY(28px); }
.js-anim [data-anim="wipe"] { clip-path: inset(0 0 100% 0); }
.js-anim [data-anim="split"], .js-anim [data-anim="hero-split"] { visibility: hidden; }
.js-anim [data-intro] { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .grain { display: none; }
}
