/* Lookrise — design system
   Direction: "Good light". Light moves, things settle.
   ------------------------------------------------------------------ */

/* Fonts: loaded from Google Fonts in preview. For production, self-host the
   same two variable families (woff2) from /assets/fonts and swap the <link>. */

:root {
  /* Colour */
  --snow: #eef0ee;
  --snow-deep: #e4e8e7;
  --ink: #182233;
  --slate: #5a6472;
  --frost: #d5dadb;
  --blue-hour: #1f2c42;
  --blue-hour-2: #2a3a55;
  --sun: #f2b15c;
  --sun-pale: #fff1d6;

  /* Type */
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.3rem + 0.75vw, 1.95rem);
  --step-3: clamp(1.8rem, 1.5rem + 1.5vw, 2.85rem);
  --step-4: clamp(2.3rem, 1.7rem + 3vw, 4.4rem);
  --step-hero: clamp(3.1rem, 1.2rem + 9.4vw, 11.5rem);

  /* Space: 4px base */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 72px; --s-9: 112px; --s-10: 160px;
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1400px;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .1, 1);
  --t-ui: 200ms;
  --t-reveal: 800ms;

  /* Radii: only two, used by meaning. Devices are objects (round), UI is flat-ish. */
  --r-ui: 6px;
  --r-device: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--snow);
  color: var(--ink);
  font: 400 var(--step-0)/1.55 var(--sans);
  font-feature-settings: "ss01", "kern";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px rgba(242,177,92,.45); border-radius: 2px; }
.dark :focus-visible { outline-color: var(--sun-pale); }

.skip { position: absolute; left: var(--s-4); top: -100px; z-index: 100; background: var(--ink); color: var(--snow); padding: var(--s-3) var(--s-4); border-radius: var(--r-ui); }
.skip:focus { top: var(--s-4); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background var(--t-ui) var(--ease), box-shadow var(--t-ui) var(--ease), transform 400ms var(--ease);
}
.site-header.is-solid { background: rgba(238,240,238,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--frost); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { display: flex; align-items: center; gap: var(--s-5); height: 72px; }
.logo { font-weight: 700; letter-spacing: -.02em; font-size: 1.05rem; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--sun-pale), var(--sun) 55%, #d98f3a); box-shadow: 0 0 18px rgba(242,177,92,.55); }
.nav { margin-left: auto; display: flex; align-items: center; gap: var(--s-5); }
.nav ul { display: flex; gap: var(--s-5); list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: .95rem; position: relative; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--t-ui) var(--ease); }
.nav ul a:hover::after, .nav ul a[aria-current="true"]::after { transform: scaleX(1); }
.lang { display: inline-flex; border: 1px solid var(--frost); border-radius: 999px; padding: 3px; font-size: .85rem; }
.lang a, .lang span { padding: 4px 10px; border-radius: 999px; text-decoration: none; line-height: 1.2; }
.lang [aria-current="page"] { background: var(--ink); color: var(--snow); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--frost); border-radius: 999px; padding: 8px 16px; cursor: pointer; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--ink); color: var(--snow); text-decoration: none; font-weight: 500;
  border: 1px solid var(--ink); cursor: pointer;
  transition: background var(--t-ui) var(--ease), color var(--t-ui) var(--ease), transform var(--t-ui) var(--ease);
}
.btn:hover { background: var(--blue-hour-2); text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--snow); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.dark .btn { background: var(--snow); color: var(--ink); border-color: var(--snow); }
.dark .btn.ghost { background: transparent; color: var(--snow); }
.dark .btn.ghost:hover { background: var(--snow); color: var(--ink); }

/* ---------- Hero: the lit wall ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden; isolation: isolate;
  background: var(--snow-deep);
  display: flex; align-items: flex-end;
  padding: 120px 0 var(--s-8);
}
.hero-wall { position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(90% 70% at 85% 0%, #e6eaea 0%, transparent 60%),
    linear-gradient(180deg, #d9dfe0 0%, #c9d0d3 100%);
}
.hero-wall::after { /* lime-plaster grain */
  content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .55  0 0 0 0 .58  0 0 0 0 .6  0 0 0 .22 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hero-light { /* window light: four panes, cast obliquely */
  position: absolute; z-index: -2; pointer-events: none;
  width: 72vw; height: 92vh; right: -6vw; top: 2vh;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.3fr 1fr; gap: 2.2vw;
  transform: translate3d(calc(var(--drift, 0) * 1vw + var(--scroll-light, 0) * -14vw + var(--px, 0) * 6vw), calc(var(--scroll-light, 0) * 10vh + var(--py, 0) * 4vh), 0) skewX(calc(-24deg + var(--px, 0) * 6deg)) rotate(-7deg);
  filter: blur(18px);
  mix-blend-mode: normal;
  opacity: .72;
  animation: drift 38s var(--ease) infinite alternate;
}
.hero-light span { background: linear-gradient(160deg, #fff7e8 0%, rgba(255,222,168,.95) 45%, rgba(242,177,92,.55) 100%); border-radius: 2px; }
.hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(31,44,66,.10) 0%, transparent 40%), linear-gradient(0deg, rgba(31,44,66,.12) 0%, transparent 35%);
}
@keyframes drift { from { --drift: 0; } to { --drift: -6; } }
@property --drift { syntax: "<number>"; inherits: true; initial-value: 0; }

.hero-media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero.has-media .hero-light, .hero.has-media .hero-wall::after { display: none; }

.hero-inner { position: relative; }
.hero h1 {
  font-size: clamp(3rem, 0.8rem + 8.4vw, 10.4rem); line-height: .9; letter-spacing: -.055em; font-weight: 650;
  margin: 0 0 var(--s-7);
  font-variation-settings: "wght" 620;
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 34rem) auto; align-items: end; gap: var(--s-6); justify-content: space-between; }
.hero-foot p { margin: 0; font-size: var(--step-1); line-height: 1.45; color: var(--ink); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.hero-where { position: absolute; right: var(--gutter); top: 104px; font-size: var(--step--1); color: var(--slate); text-align: right; }

/* load sequence (the one orchestrated moment) */
.js .hero h1 .line > span { transform: translateY(105%); }
.js .hero-foot, .js .hero-where { opacity: 0; transform: translateY(12px); }
.js .hero-light { opacity: 0; }
.is-loaded .hero h1 .line > span { transform: none; transition: transform 1100ms var(--ease); }
.is-loaded .hero h1 .line:nth-child(2) > span { transition-delay: 90ms; }
.is-loaded .hero h1 .line:nth-child(3) > span { transition-delay: 180ms; }
.is-loaded .hero-foot, .is-loaded .hero-where { opacity: 1; transform: none; transition: opacity 900ms var(--ease) 500ms, transform 900ms var(--ease) 500ms; }
.is-loaded .hero-light { opacity: .72; transition: opacity 2400ms ease 200ms; }

/* ---------- Statement (scroll-scrubbed) ---------- */
.statement { padding: var(--s-10) 0; }
.statement p {
  font-size: var(--step-3); line-height: 1.18; letter-spacing: -.025em; font-weight: 500;
  max-width: 24ch; margin: 0; max-width: 26ch;
}
.statement .w { color: #b4bcc2; transition: color 300ms linear; }
.statement .w.on { color: var(--ink); }
.no-js .statement .w { color: var(--ink); }

/* ---------- Section scaffolding ---------- */
.section { padding: var(--s-9) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); gap: var(--s-6); align-items: end; margin-bottom: var(--s-8); }
.section-head h2 { font-size: var(--step-4); line-height: 1; letter-spacing: -.04em; font-weight: 600; margin: 0; max-width: 14ch; }
.section-head p { margin: 0; color: var(--slate); max-width: 34rem; }

/* ---------- Work ---------- */
.project { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: var(--s-7); align-items: center; padding: var(--s-8) 0; border-top: 1px solid var(--frost); }
.project:nth-of-type(even) { grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); }
.project:nth-of-type(even) .stage { order: 2; }
.stage { position: relative; padding: 0 9% 20% 0; }
.project:nth-of-type(even) .stage { padding: 0 0 20% 9%; }

.browser { position: relative; border-radius: 12px; background: #fff; box-shadow: 0 1px 0 rgba(24,34,51,.06), 0 30px 60px -30px rgba(24,34,51,.35); overflow: hidden; }
.browser-bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #f6f7f7; border-bottom: 1px solid #e6e9ea; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6dadc; }
.browser-bar .url { margin-left: 12px; flex: 1; max-width: 340px; height: 20px; border-radius: 6px; background: #eceff0; font: 500 11px/20px var(--sans); color: var(--slate); padding: 0 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.viewport { position: relative; overflow: hidden; background: var(--snow-deep); }
.viewport.desk { aspect-ratio: 1440 / 880; }
.viewport.mob { aspect-ratio: 390 / 800; }
.viewport iframe { position: absolute; left: 0; top: 0; border: 0; max-width: none; transform-origin: 0 0; background: #fff; }
.viewport.desk iframe { width: 1440px; height: 880px; transform: scale(var(--k, .5)); }
.viewport.mob iframe { width: 390px; height: 800px; transform: scale(var(--k, .5)); }
.viewport .loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--slate); font-size: var(--step--1); }

.phone { position: absolute; right: 0; bottom: 0; width: 22%; min-width: 150px; padding: 7px; border-radius: 28px; background: var(--ink); box-shadow: 0 40px 70px -30px rgba(24,34,51,.6); transform: translateY(calc(var(--lift, 0) * 1px)); }
.project:nth-of-type(even) .phone { right: auto; left: 0; }
.phone .viewport { border-radius: 22px; }

.project-meta .tag { display: inline-block; font-size: var(--step--1); color: var(--slate); border: 1px dashed #aab2b8; border-radius: 999px; padding: 3px 12px; margin-bottom: var(--s-5); }
.project-meta h3 { font-size: var(--step-3); letter-spacing: -.035em; line-height: 1; margin: 0 0 var(--s-3); font-weight: 600; }
.project-meta .what { font-size: var(--step-1); margin: 0 0 var(--s-4); line-height: 1.3; }
.project-meta .why { font-family: var(--serif); font-size: 1.12rem; line-height: 1.6; color: #2f3a4b; margin: 0 0 var(--s-5); max-width: 36ch; }
.project-meta ul { list-style: none; padding: 0; margin: 0 0 var(--s-6); display: flex; flex-wrap: wrap; gap: 6px; }
.project-meta li { font-size: var(--step--1); background: var(--snow-deep); border-radius: var(--r-ui); padding: 4px 10px; }
.try { display: block; font-size: var(--step--1); color: var(--slate); margin-top: var(--s-3); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--s-5); }
.svc { border-radius: var(--r-ui); padding: clamp(24px, 3.5vw, 48px); }
.svc h3 { margin: 0 0 var(--s-4); font-size: var(--step-2); letter-spacing: -.03em; line-height: 1.1; font-weight: 600; }
.svc p { margin: 0 0 var(--s-5); max-width: 40ch; }
.svc-main { grid-row: span 2; background: var(--ink); color: var(--snow); display: flex; flex-direction: column; }
.svc-main h3 { font-size: var(--step-3); }
.svc-main p { color: #c9d0d6; font-size: var(--step-1); line-height: 1.45; }
.svc-main ul { list-style: none; padding: 0; margin: var(--s-5) 0 var(--s-6); border-top: 1px solid rgba(238,240,238,.16); }
.svc-main li { padding: 14px 0; border-bottom: 1px solid rgba(238,240,238,.16); display: flex; gap: var(--s-4); }
.svc-main li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .55em; border-radius: 50%; background: var(--sun); box-shadow: 0 0 10px var(--sun); }
.svc-side { background: #fff; border: 1px solid var(--frost); }
.svc-side p { color: var(--slate); }
.svc-side ul { list-style: none; padding: 0; margin: 0 0 var(--s-5); display: grid; gap: 8px; }
.svc-side li { display: flex; gap: 10px; font-size: .98rem; }
.svc-side li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .6em; border-radius: 50%; background: var(--ink); }
.svc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); margin-top: auto; }
.svc-actions > a:not(.btn) { font-weight: 500; }
.svc-side { display: flex; flex-direction: column; }
.kicker { display: inline-block; align-self: flex-start; font-size: var(--step--1); color: var(--ink); background: var(--sun); border-radius: 999px; padding: 3px 12px; margin-bottom: var(--s-5); }

/* CTA band: closes each service section with one clear action */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-5); margin-top: var(--s-8); padding: var(--s-6) clamp(20px, 3vw, 40px); border-radius: var(--r-ui); background: #fff; border: 1px solid var(--frost); }
.cta-band p { margin: 0; font-size: var(--step-2); letter-spacing: -.025em; font-weight: 500; line-height: 1.15; max-width: 26ch; }
.dark .cta-band { background: rgba(238,240,238,.06); border-color: rgba(238,240,238,.16); }
.gets { margin-top: var(--s-7); }
.gets h3 { font-size: var(--step-1); font-weight: 600; margin: 0 0 var(--s-4); }
.gets ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3) var(--s-6); }
.gets li { padding: var(--s-3) 0; border-top: 1px solid var(--frost); }
.dark .gets li, .ba-edits li { border-top-color: rgba(238,240,238,.16); }

/* ---------- Before / after ---------- */
.ba-section { background: var(--blue-hour); color: var(--snow); }
.ba-section .section-head p { color: #b9c3cf; }
.ba { position: relative; border-radius: var(--r-ui); overflow: hidden; aspect-ratio: 16 / 9; user-select: none; touch-action: pan-y; background: #111a28; --pos: 50%; }
.ba-before, .ba-after, .ba-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ba-img[hidden] { display: none; }
.ba-range:focus-visible ~ .ba-handle .ba-knob { outline: 2px solid var(--sun); outline-offset: 4px; }
.ba-img svg, .ba-img img { width: 100%; height: 100%; object-fit: cover; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; }
.ba-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--snow); box-shadow: 0 0 20px rgba(0,0,0,.35); }
.ba-knob { position: absolute; top: 50%; left: 0; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--snow); color: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); cursor: ew-resize; border: 0; }
.ba-knob svg { width: 26px; height: 26px; }
.ba-label { position: absolute; top: var(--s-4); padding: 5px 12px; border-radius: 999px; font-size: var(--step--1); background: rgba(17,26,40,.7); color: var(--snow); backdrop-filter: blur(6px); pointer-events: none; }
.ba-label.l { left: var(--s-4); }
.ba-label.r { right: var(--s-4); background: rgba(238,240,238,.85); color: var(--ink); }
.ba-range { position: absolute; inset: 0; opacity: 0; cursor: ew-resize; width: 100%; margin: 0; }
.ba-tabs { display: flex; gap: var(--s-2); margin-top: var(--s-5); flex-wrap: wrap; align-items: center; }
.ba-tabs button { background: transparent; border: 1px solid rgba(238,240,238,.3); color: var(--snow); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.ba-tabs button[aria-pressed="true"] { background: var(--snow); color: var(--ink); }
.ba-note { margin-left: auto; font-size: var(--step--1); color: #8d9aab; }
.re-lede { font-size: var(--step-2); color: var(--snow) !important; letter-spacing: -.02em; margin: 0 0 var(--s-3) !important; }
.ba-info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--s-7); margin-top: var(--s-6); }
.ba-info .gets { margin-top: 0; }
.ba-edits h3 { font-size: var(--step-1); font-weight: 600; margin: 0 0 var(--s-4); }
.ba-edits ul { list-style: none; margin: 0; padding: 0; }
.ba-edits li { padding: var(--s-3) 0; border-top: 1px solid; display: flex; gap: 10px; }
.ba-edits li::before { content: ""; width: 8px; height: 8px; margin-top: .55em; border-radius: 50%; background: var(--sun); flex: none; }
.ba-edits [hidden] { display: none; }

/* ---------- Creative content ---------- */
.frames { display: grid; grid-template-columns: 1.2fr 1fr 0.8fr; gap: var(--s-4); align-items: end; }
.frame { position: relative; border-radius: var(--r-ui); overflow: hidden; margin: 0; }
.frame .slot { aspect-ratio: 4 / 5; }
.frames .frame:nth-child(1) .slot { aspect-ratio: 4 / 5; }
.frames .frame:nth-child(2) .slot { aspect-ratio: 1 / 1; }
.frames .frame:nth-child(3) .slot { aspect-ratio: 9 / 16; }
.frame figcaption { padding: var(--s-3) 0 0; font-size: var(--step--1); color: var(--slate); display: grid; gap: 2px; }
.frame figcaption b { color: var(--ink); font-size: var(--step-0); font-weight: 600; }
.slot { position: relative; width: 100%; background: var(--snow-deep); overflow: hidden; }
.slot img, .slot video { width: 100%; height: 100%; object-fit: cover; }
.slot-study { position: absolute; inset: 0; }
.slot-tag { position: absolute; left: 10px; bottom: 10px; font-size: 12px; padding: 3px 9px; border-radius: 999px; background: rgba(238,240,238,.85); color: var(--slate); }
.study-a { background: radial-gradient(60% 50% at 70% 30%, #fff3dc 0%, transparent 70%), linear-gradient(160deg, #cfd6d8, #9aa6ae 70%, #6f7d88); }
.study-a::after { content:""; position:absolute; left: 22%; bottom: 14%; width: 26%; height: 46%; border-radius: 40% 40% 8px 8px; background: linear-gradient(90deg,#e9e3d8,#fdf9f2 40%,#cfc6b8); box-shadow: 30px 30px 40px -10px rgba(31,44,66,.35); }
.study-b { background: radial-gradient(50% 60% at 30% 35%, #ffe6bd 0%, transparent 70%), linear-gradient(200deg, #e5d8c6, #b99c7c 80%); }
.study-b::after { content:""; position:absolute; left: 30%; top: 35%; width: 40%; height: 40%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #f4efe7, #d7cdbf 60%, #a79680); box-shadow: 20px 30px 40px -10px rgba(60,40,20,.35); }
.study-c { background: linear-gradient(180deg, #24344d 0%, #44597a 55%, #f2b15c 100%); }
.study-c::after { content:""; position:absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(180deg, transparent, #182233); }

/* ---------- Process ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-5); }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: var(--s-4); }
.steps li::before { content: counter(step); display: block; font-size: var(--step-3); font-weight: 600; letter-spacing: -.04em; line-height: 1; margin-bottom: var(--s-4); color: var(--ink); font-variant-numeric: tabular-nums; }
.steps h3 { margin: 0 0 var(--s-2); font-size: var(--step-1); font-weight: 600; }
.steps p { margin: 0; color: var(--slate); font-size: .98rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--s-8); }
.faq h2 { font-size: var(--step-4); line-height: 1; letter-spacing: -.04em; margin: 0; font-weight: 600; }
.faq details { border-bottom: 1px solid var(--frost); }
.faq details:first-child { border-top: 1px solid var(--frost); }
.faq summary { list-style: none; cursor: pointer; padding: var(--s-5) 0; font-size: var(--step-1); font-weight: 500; display: flex; justify-content: space-between; gap: var(--s-4); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; margin-top: .4em; background: linear-gradient(var(--ink),var(--ink)) center/100% 2px no-repeat, linear-gradient(var(--ink),var(--ink)) center/2px 100% no-repeat; transition: transform var(--t-ui) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 var(--s-5); color: var(--slate); max-width: 60ch; font-family: var(--serif); font-size: 1.1rem; line-height: 1.6; }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--snow); position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 60vw; height: 60vw; right: -20vw; top: -25vw; background: radial-gradient(closest-side, rgba(242,177,92,.28), transparent); pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--s-8); }
.contact h2 { font-size: var(--step-4); line-height: 1; letter-spacing: -.04em; margin: 0 0 var(--s-5); font-weight: 600; max-width: 12ch; }
.contact .lede { color: #c9d0d6; font-size: var(--step-1); margin: 0 0 var(--s-7); }
.contact-alt { display: grid; gap: var(--s-4); }
.contact-alt a { font-size: var(--step-1); }
.contact-alt span { display: block; color: #8d9aab; font-size: var(--step--1); }
.form { display: grid; gap: var(--s-5); }
.field { display: grid; gap: var(--s-2); }
.field label, .field legend { font-size: .92rem; color: #c9d0d6; }
.field input, .field textarea { width: 100%; background: rgba(238,240,238,.06); border: 1px solid rgba(238,240,238,.22); border-radius: var(--r-ui); padding: 14px 16px; color: var(--snow); transition: border-color var(--t-ui), background var(--t-ui); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sun); background: rgba(238,240,238,.1); }
.field textarea { min-height: 140px; resize: vertical; }
.field .err { color: #ffc6a8; font-size: .88rem; min-height: 1.2em; margin: 0; }
.field [aria-invalid="true"] { border-color: #ff9d73; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-2); }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 9px 16px; border: 1px solid rgba(238,240,238,.3); border-radius: 999px; color: var(--snow); font-size: .95rem; transition: background var(--t-ui), color var(--t-ui); }
.chips input:checked + span { background: var(--snow); color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--sun); outline-offset: 2px; }
.form-status { margin: 0; padding: var(--s-4); border-radius: var(--r-ui); background: rgba(242,177,92,.14); border: 1px solid rgba(242,177,92,.4); }
.form-status[hidden] { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #8d9aab; padding: var(--s-7) 0; border-top: 1px solid rgba(238,240,238,.1); font-size: var(--step--1); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: var(--s-5); justify-content: space-between; }
.site-footer a { color: #c9d0d6; }

/* ---------- Reveal (user scroll, used sparingly on large blocks only) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s-7); }
  .project, .project:nth-of-type(even) { grid-template-columns: minmax(0, 1fr); }
  .project:nth-of-type(even) .stage { order: 0; }
  .project-meta { max-width: 40rem; }
}
@media (max-width: 860px) {
  .nav { display: none; position: fixed; inset: 72px 0 auto 0; background: var(--snow); padding: var(--s-6) var(--gutter) var(--s-7); flex-direction: column; align-items: flex-start; gap: var(--s-6); box-shadow: 0 20px 40px -20px rgba(24,34,51,.3); }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: var(--s-4); }
  .nav ul a { font-size: var(--step-2); font-weight: 500; letter-spacing: -.02em; }
  .menu-btn { display: inline-flex; }
  .site-header .header-cta { display: none; }
  .nav .header-cta { display: inline-flex; }
  .hero-foot { grid-template-columns: 1fr; }
  .hero-where { display: none; }
  .hero-light { width: 140vw; right: -50vw; height: 80vh; }
  .section-head, .faq, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .services-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-main { grid-row: auto; }
  .ba { aspect-ratio: 4 / 5; }
  .ba-info, .gets ul { grid-template-columns: minmax(0, 1fr); }
  .cta-band p { font-size: var(--step-1); }
  .ba-note { margin-left: 0; width: 100%; }
  .frames { grid-template-columns: 1fr 1fr; }
  .frames .frame:nth-child(1) { grid-column: span 2; }
  .stage, .project:nth-of-type(even) .stage { padding: 0 0 26% 0; }
  .statement { padding: var(--s-9) 0; }
  .section { padding: var(--s-8) 0; }
  .section-head { margin-bottom: var(--s-7); }
  .project { padding: var(--s-7) 0; }
  .phone, .project:nth-of-type(even) .phone { width: 34%; right: 4%; left: auto; }
}
@media (min-width: 861px) { .nav .header-cta-mobile { display: none; } }
@media (max-width: 560px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .stage .browser { display: none; }
  .stage, .project:nth-of-type(even) .stage { padding: 0; display: flex; justify-content: center; }
  .phone, .project:nth-of-type(even) .phone { position: relative; width: min(78%, 320px); right: auto; left: auto; transform: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero-light { transform: skewX(-24deg) rotate(-7deg); }
  .statement .w { color: var(--ink); }
  .phone { transform: none; }
}


/* =================== v3 additions =================== */
.hero h1 .line:nth-child(2) { padding-left: 1.05em; }
.hero h1 .line:nth-child(3) { padding-left: .35em; }
.hero { padding-bottom: var(--s-6); }
.hero-foot { margin-bottom: var(--s-7); }

/* Concept reel: four identities above the fold */
.reel { display: flex; flex-wrap: wrap; align-items: stretch; gap: var(--s-2); }
.reel-label { width: 100%; font-size: var(--step--1); color: var(--slate); margin-bottom: 2px; }
.chip { flex: 1 1 0; min-width: 150px; display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-4); padding: 14px 16px; border-radius: var(--r-ui); background: var(--p-bg); color: var(--p-fg); text-decoration: none; transition: transform 350ms var(--ease), box-shadow 350ms var(--ease); box-shadow: 0 1px 0 rgba(24,34,51,.08); }
.chip b { font-family: var(--p-font); font-stretch: var(--p-stretch, 100%); font-weight: 800; font-size: 1.45rem; line-height: 1; letter-spacing: 0; }
.chip span { font-size: var(--step--1); color: var(--p-muted); }
.chip::after { content: ""; display: block; height: 3px; width: 32px; background: var(--p-accent); border-radius: 2px; order: -1; }
.chip:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -22px rgba(24,34,51,.5); text-decoration: none; }

/* Work: every case lives in its own brand world */
.work { padding-top: var(--s-9); }
.work > .wrap .section-head { margin-bottom: var(--s-8); }
.case { background: var(--p-bg); color: var(--p-fg); padding: clamp(56px, 8vw, 128px) 0; overflow: hidden; }
.case-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.case.flip .case-meta { order: 2; }
.case .tag { display: inline-block; font-size: var(--step--1); color: var(--p-muted); border: 1px dashed currentColor; border-radius: 999px; padding: 3px 12px; margin-bottom: var(--s-5); }
.case .industry { margin: 0 0 var(--s-2); font-size: var(--step--1); color: var(--p-muted); }
.case h3 { font-family: var(--p-font); font-stretch: var(--p-stretch, 100%); font-weight: 800; font-size: clamp(3rem, 2rem + 4vw, 6.4rem); line-height: .92; letter-spacing: -.01em; margin: 0 0 var(--s-4); }
.case[style*="Bodoni"] h3 { font-weight: 400; }
.case .what { font-size: var(--step-1); margin: 0 0 var(--s-4); line-height: 1.3; }
.case .why { font-family: var(--serif); font-size: 1.12rem; line-height: 1.6; margin: 0 0 var(--s-6); max-width: 40ch; opacity: .86; }
.ident { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0 0 var(--s-6); padding-top: var(--s-4); border-top: 1px solid color-mix(in srgb, var(--p-fg) 20%, transparent); font-size: var(--step--1); }
.ident dt { color: var(--p-muted); }
.ident dd { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sw { display: inline-flex; }
.sw i { width: 18px; height: 18px; border-radius: 50%; box-shadow: 0 0 0 1px color-mix(in srgb, var(--p-fg) 25%, transparent); margin-right: -4px; }
.case-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-5); }
.case .btn { background: var(--p-fg); color: var(--p-bg); border-color: var(--p-fg); }
.case .btn:hover { background: var(--p-accent); border-color: var(--p-accent); color: var(--p-bg); }
.case[style*="Atkinson"] .btn:hover, .case[style*="Bodoni"] .btn:hover { color: var(--p-fg); }
.case .link { color: var(--p-fg); font-size: var(--step--1); }
.case .stage { position: relative; padding: 0 9% 16% 0; }
.case.flip .stage { padding: 0 0 16% 9%; }
.case.flip .phone { right: auto; left: 0; }
.case .browser { box-shadow: 0 50px 100px -40px rgba(0,0,0,.55); }
.case .viewport iframe { pointer-events: none; }
.stage-open:focus-visible { outline: 3px solid var(--p-accent); outline-offset: 6px; }
.case .stage .browser, .case .stage .phone { transition: transform 900ms var(--ease); }
.stage:hover .browser { transform: translateY(-6px); }

/* Live demo viewer */
.viewer { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0e1420; color: var(--snow); }
.viewer::backdrop { background: rgba(14,20,32,.7); }
.viewer[open] { display: flex; flex-direction: column; animation: vin 380ms var(--ease); }
@keyframes vin { from { opacity: 0; transform: translateY(16px); } }
.viewer-bar { display: flex; align-items: center; gap: var(--s-4); padding: 12px var(--gutter); border-bottom: 1px solid rgba(238,240,238,.12); flex-wrap: wrap; }
.viewer-bar b { font-size: var(--step-1); }
.viewer-tag { font-size: var(--step--1); color: #8d9aab; margin-right: auto; }
.seg { display: inline-flex; border: 1px solid rgba(238,240,238,.25); border-radius: 999px; padding: 3px; }
.seg button { background: none; border: 0; color: var(--snow); padding: 6px 14px; border-radius: 999px; cursor: pointer; font-size: .9rem; }
.seg button[aria-pressed="true"] { background: var(--snow); color: var(--ink); }
.viewer .link { color: var(--snow); font-size: var(--step--1); }
.viewer .btn { background: var(--snow); color: var(--ink); border-color: var(--snow); }
.viewer-stage { flex: 1; display: grid; place-items: center; padding: var(--s-4); min-height: 0; }
.viewer-stage iframe { width: 100%; height: 100%; border: 0; border-radius: 10px; background: #fff; transition: width 500ms var(--ease); }
.viewer.mobile .viewer-stage iframe { width: 390px; max-width: 100%; height: min(844px, 100%); border-radius: 28px; box-shadow: 0 0 0 8px #000, 0 40px 80px rgba(0,0,0,.5); }

/* Contact: email first */
.contact .mail { display: inline-block; font-size: clamp(1.6rem, 1rem + 2.6vw, 3.4rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; text-decoration-thickness: 2px; text-underline-offset: .15em; margin-bottom: var(--s-4); word-break: break-word; }
.copy { display: block; background: none; border: 1px solid rgba(238,240,238,.3); color: var(--snow); border-radius: 999px; padding: 8px 16px; cursor: pointer; font-size: .92rem; }
.copy:hover { background: rgba(238,240,238,.1); }
.form-title { font-size: var(--step-1); font-weight: 600; margin: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.ba-credit { margin: var(--s-4) 0 0; font-size: var(--step--1); color: #8d9aab; }
.ba-after::after { content: ""; }

/* Magnetic buttons (fine pointers only) */
.magnetic { transform: translate(var(--mx, 0), var(--my, 0)); }

@media (max-width: 860px) {
  .case-grid { grid-template-columns: minmax(0, 1fr); }
  .case.flip .case-meta { order: 0; }
  .case .stage, .case.flip .stage { padding: 0 0 26% 0; }
  .case.flip .phone { left: auto; right: 4%; }
  .hero h1 .line:nth-child(n) { padding-left: 0; }
  .field-row { grid-template-columns: 1fr; }
  .chip { min-width: calc(50% - 4px); }
  .viewer-tag { display: none; }
}
@media (max-width: 560px) {
  .case .stage .browser { display: none; }
  .case .stage, .case.flip .stage { padding: 0; display: flex; justify-content: center; }
  .case .phone, .case.flip .phone { position: relative; width: min(78%, 320px); right: auto; left: auto; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .magnetic { transform: none !important; }
  .viewer[open] { animation: none; }
}
.case.flip .case-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
@media (max-width: 860px) { .case.flip .case-grid { grid-template-columns: minmax(0, 1fr); } }

/* =================== v4: real imagery =================== */
/* Hero showcase: the four concept sites, visible immediately */
.reel { gap: 10px; }
.chip { position: relative; overflow: hidden; min-height: clamp(150px, 22vh, 230px); padding: 0; justify-content: flex-end; color: #fff; isolation: isolate; }
.chip::after { display: none; }
.chip picture, .chip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.chip::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,12,18,.78) 0%, rgba(10,12,18,.15) 55%, rgba(10,12,18,0) 100%); }
.chip:hover img { transform: scale(1.06); }
.chip-text { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; }
.chip-text b { color: #fff; font-size: 1.6rem; }
.chip-text span { color: rgba(255,255,255,.8); font-size: var(--step--1); }
.chip-text b::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--p-accent); margin-bottom: 10px; }

/* Creative content: campaigns */
.campaigns { display: grid; gap: clamp(48px, 7vw, 104px); }
.camp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.camp:nth-child(2) { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.camp:nth-child(2) .camp-meta { order: -1; }
.camp-media { display: grid; gap: 10px; }
.camp-media img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.camp-lux .camp-media { grid-template-columns: 3fr 1fr; }
.camp-lux .c-main img { aspect-ratio: 4 / 5; }
.camp-lux .c-strip { display: grid; gap: 10px; grid-template-rows: repeat(3, 1fr); }
.camp-lux .c-strip img { aspect-ratio: auto; }
.camp-food .camp-media { grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; }
.camp-food .c-main { grid-row: span 2; }
.camp-food .c-main img { aspect-ratio: 4 / 5; }
.camp-food .c-side img { aspect-ratio: 1; }
.camp-food .c-wide img { aspect-ratio: 16 / 10; }
.camp-film .camp-media { grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); align-items: end; }
.film { position: relative; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 0 0 6px var(--ink), 0 40px 80px -30px rgba(24,34,51,.6); }
.film video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.camp-film .c-wide img { aspect-ratio: 16 / 11; }
.camp-meta .tag { display: inline-block; font-size: var(--step--1); color: var(--slate); border: 1px dashed #aab2b8; border-radius: 999px; padding: 3px 12px; margin-bottom: var(--s-4); }
.camp-meta .industry { margin: 0 0 var(--s-2); color: var(--slate); font-size: var(--step--1); }
.camp-meta h3 { font-size: var(--step-3); letter-spacing: -.035em; line-height: 1; margin: 0 0 var(--s-4); font-weight: 600; }
.camp-meta p { margin: 0 0 var(--s-5); max-width: 40ch; }
.camp-meta ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--frost); }
.camp-meta li { padding: 10px 0; border-bottom: 1px solid var(--frost); font-size: .98rem; }
.c-note { margin: var(--s-7) 0 0; font-size: var(--step--1); color: var(--slate); max-width: 70ch; }

/* Real estate photos */
.ba-img picture, .ba-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ba { aspect-ratio: 3 / 2; }

@media (max-width: 860px) {
  .camp, .camp:nth-child(2) { grid-template-columns: minmax(0, 1fr); }
  .camp:nth-child(2) .camp-meta { order: 0; }
  .camp-film .camp-media { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .chip { min-height: 170px; }
  .ba { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .camp-lux .camp-media { grid-template-columns: 1fr; }
  .camp-lux .c-strip { grid-template-columns: repeat(3, 1fr); grid-template-rows: none; }
  .camp-lux .c-strip img { aspect-ratio: 4 / 5; }
  .camp-film .camp-media { grid-template-columns: 1fr; }
  .camp-film .c-wide { display: none; }
  .film { max-width: 300px; margin: 0 auto; }
}
.hero { padding-top: 104px; }
.hero h1 { font-size: clamp(2.8rem, 0.4rem + 6.5vw, 8.6rem); margin-bottom: var(--s-6); }
.hero-foot { margin-bottom: var(--s-6); }
.chip { min-height: clamp(140px, 19vh, 210px); }
@media (min-width: 861px) and (max-height: 820px) { .hero h1 { font-size: clamp(2.8rem, 0.4rem + 5.6vw, 7.4rem); } }
@media (max-width: 860px) { .reel { display: grid; grid-template-columns: 1fr 1fr; } .reel-label { grid-column: 1 / -1; } .chip { min-width: 0; min-height: 150px; } .chip-text b { font-size: 1.25rem; } }

/* =================== v5: static previews, lightbox, launch polish =================== */
.case { padding: clamp(48px, 6.5vw, 104px) 0; }
.shot-link { display: block; text-decoration: none; color: inherit; cursor: pointer; }
.shot-link picture, .shot-link img { display: block; width: 100%; height: auto; }
.shot-link .browser-bar { display: flex; }
.phone picture, .phone img { display: block; width: 100%; height: auto; border-radius: 22px; }
.phone { pointer-events: none; }
.shot-link:focus-visible { outline: 3px solid var(--p-accent); outline-offset: 6px; }
.btn .ico { width: 18px; height: 18px; flex: none; transition: transform var(--t-ui) var(--ease); }
.btn:hover .ico { transform: translate(2px, -2px); }
.link-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; font-size: var(--step--1); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.case .link-btn { color: var(--p-fg); }
.statement { padding: var(--s-9) 0; }

/* Lightbox */
.lb-item { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 4px; overflow: hidden; position: relative; }
.lb-item img { transition: transform 900ms var(--ease); }
.lb-item:hover img { transform: scale(1.025); }
.lb-item:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.lb-item::after { content: ""; position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(238,240,238,.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23182233' stroke-width='2'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center/16px no-repeat; opacity: 0; transform: scale(.8); transition: opacity var(--t-ui), transform var(--t-ui) var(--ease); }
.lb-item:hover::after, .lb-item:focus-visible::after { opacity: 1; transform: none; }
@media (hover: none) { .lb-item::after { opacity: .9; transform: none; width: 28px; height: 28px; background-size: 14px; } }
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10,13,20,.96); color: var(--snow); }
.lightbox::backdrop { background: rgba(10,13,20,.9); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: vin 300ms var(--ease); }
.lb-top { display: flex; align-items: center; gap: var(--s-4); padding: 14px var(--gutter); }
.lb-count { font-size: var(--step--1); color: #aab4c2; font-variant-numeric: tabular-nums; margin-right: auto; }
.lb-close { background: var(--snow); color: var(--ink); border: 0; border-radius: 999px; padding: 8px 16px; font: 500 .92rem var(--sans); cursor: pointer; }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 clamp(8px, 6vw, 96px); touch-action: pan-y; user-select: none; }
.lb-stage img { max-width: 100%; max-height: calc(100dvh - 150px); object-fit: contain; border-radius: 4px; box-shadow: 0 40px 100px rgba(0,0,0,.5); transition: opacity 220ms ease, transform 220ms var(--ease); }
.lb-stage img.swap { opacity: 0; transform: scale(.985); }
.lb-nav { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; border: 1px solid rgba(238,240,238,.3); background: rgba(10,13,20,.5); color: var(--snow); display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); }
.lb-nav svg { width: 22px; height: 22px; }
.lb-nav:hover { background: rgba(238,240,238,.14); }
.lb-prev { left: clamp(8px, 2vw, 28px); } .lb-next { right: clamp(8px, 2vw, 28px); }
.lb-cap { padding: 12px var(--gutter) 18px; font-size: var(--step--1); color: #c9d0d6; text-align: center; min-height: 3em; }
.lb-nav:focus-visible, .lb-close:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; }
@media (max-width: 560px) { .lb-nav { top: auto; bottom: 8px; margin: 0; width: 46px; height: 46px; } .lb-stage { padding-bottom: 64px; } }
@media (prefers-reduced-motion: reduce) { .lightbox[open] { animation: none; } .lb-stage img { transition: none; } }

/* Contact additions */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; font-size: var(--step--1); color: #aab4c2; }
.form-note a { color: var(--snow); }

/* Privacy page */
.legal { padding: 140px 0 var(--s-9); }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: var(--step-4); letter-spacing: -.04em; line-height: 1; margin: 0 0 var(--s-5); font-weight: 600; }
.legal h2 { font-size: var(--step-1); margin: var(--s-7) 0 var(--s-3); font-weight: 600; }
.legal p, .legal li { color: #2f3a4b; }
.legal .updated { color: var(--slate); font-size: var(--step--1); }
.legal .todo { background: #fff3d6; padding: 0 4px; border-radius: 3px; }

/* ---- v8 Lookrise brand + form states ---- */
.logo .wordmark { display: block; height: 23px; width: auto; }
.logo:focus-visible { outline: 2px solid var(--sun); outline-offset: 6px; border-radius: 4px; }
.form-actions { display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap; }
.form-status.is-ok { background: rgba(120,190,150,.16); border-color: rgba(120,190,150,.55); }
.form-status.is-error { background: rgba(230,110,90,.14); border-color: rgba(230,110,90,.55); }
.form button[disabled] { opacity: .65; cursor: progress; }
.plain .site-header .wrap { justify-content: space-between; }
.plain .site-header .lang { margin-left: auto; }
mark.todo { background: #fff3d6; color: #182233; padding: 0 4px; border-radius: 3px; }
