/* Cloudlight Creative Studio. Warm editorial: studio desk in window light. */

:root {
  --paper: #EEE9E3;
  --paper-2: #E3DACF;
  --paper-3: #D5C8B8;
  --ink: #241A14;
  --ink-soft: #5A4C42;
  --dusk: #2C4864;
  --dusk-deep: #1F364D;
  --on-dusk: #F7F2EB;
  --brass: #86571A;
  --rule: rgba(36, 26, 20, .17);
  --pattern-ink: rgba(134, 87, 26, .32);
  --photo-line: #F6EBDA;
  --shadow: 0 18px 40px -22px rgba(36, 26, 20, .55);

  --f-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --f-text: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(22px, 5vw, 76px);
  --hdr: 84px;
  --hdr-c: 60px;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M32 25v14M25 32h14' stroke='black' stroke-width='1.2' fill='none'/%3E%3Cpath d='M3 11V3h8M61 53v8h-8' stroke='black' stroke-width='1.2' fill='none'/%3E%3C/svg%3E");

  --chatbot-color: #2C4864;
  --chatbot-on-color: #F7F2EB;
  --chatbot-background: #EEE9E3;
  --chatbot-surface: #E3DACF;
  --chatbot-text: #241A14;
  --chatbot-font: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --chatbot-radius: 4px;
}

[data-theme="dark"] {
  --paper: #17120E;
  --paper-2: #221A14;
  --paper-3: #30251C;
  --ink: #EFE6DA;
  --ink-soft: #BCAD9D;
  --dusk: #A9C3DE;
  --dusk-deep: #C4D6EA;
  --on-dusk: #13202C;
  --brass: #D7A85C;
  --rule: rgba(239, 230, 218, .18);
  --pattern-ink: rgba(215, 168, 92, .3);
  --shadow: 0 18px 40px -20px rgba(0, 0, 0, .8);

  --chatbot-color: #A9C3DE;
  --chatbot-on-color: #13202C;
  --chatbot-background: #17120E;
  --chatbot-surface: #221A14;
  --chatbot-text: #EFE6DA;
}

@media (max-width: 720px) {
  :root { --hdr: 68px; --hdr-c: 56px; }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  overflow-x: clip;
  background: var(--paper);
  color-scheme: light;
  scroll-padding-top: calc(var(--hdr) + 20px);
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--brass) var(--paper-2);
  scrollbar-width: thin;
}
[data-theme="dark"] { color-scheme: dark; }
html::-webkit-scrollbar { width: 12px; }
html::-webkit-scrollbar-track { background: var(--paper-2); }
html::-webkit-scrollbar-thumb { background: var(--brass); border: 3px solid var(--paper-2); border-radius: 8px; }

body {
  margin: 0;
  padding-top: var(--hdr);
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.62 var(--f-text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s, color .3s;
}
html.nav-open body { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-color: var(--brass); }
:focus-visible { outline: 2px solid var(--dusk); outline-offset: 3px; }
main:focus { outline: none; }
::selection { background: var(--brass); color: var(--paper); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: .75rem 1rem; text-decoration: none;
}
.skip:focus { top: 12px; }

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

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.012em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.8rem, 7.2vw, 6.9rem); font-variation-settings: "opsz" 96; }
h2 { font-size: clamp(2.1rem, 4.4vw, 4rem); font-variation-settings: "opsz" 72; }
h3 { font-size: clamp(1.45rem, 2.1vw, 1.95rem); line-height: 1.14; }
p { margin: 0 0 1em; max-width: 64ch; }
.lede { font-size: clamp(1.18rem, 1.55vw, 1.36rem); line-height: 1.55; color: var(--ink-soft); max-width: 50ch; }
.small { font-size: .95rem; color: var(--ink-soft); }
.section { padding-block: clamp(80px, 11vw, 168px); }

/* Pattern: crop-mark field, reusable at different scales */
.pattern {
  background: var(--pattern-ink);
  -webkit-mask-image: var(--pat); mask-image: var(--pat);
  -webkit-mask-size: var(--ps, 64px) var(--ps, 64px); mask-size: var(--ps, 64px) var(--ps, 64px);
  -webkit-mask-repeat: repeat; mask-repeat: repeat;
  pointer-events: none;
}

/* Crop-corner utility, the studio's framing mark */
.corners {
  --c: var(--brass); --len: 18px; --w: 1.5px;
  background:
    linear-gradient(var(--c) 0 0) top left / var(--len) var(--w),
    linear-gradient(var(--c) 0 0) top left / var(--w) var(--len),
    linear-gradient(var(--c) 0 0) top right / var(--len) var(--w),
    linear-gradient(var(--c) 0 0) top right / var(--w) var(--len),
    linear-gradient(var(--c) 0 0) bottom left / var(--len) var(--w),
    linear-gradient(var(--c) 0 0) bottom left / var(--w) var(--len),
    linear-gradient(var(--c) 0 0) bottom right / var(--len) var(--w),
    linear-gradient(var(--c) 0 0) bottom right / var(--w) var(--len);
  background-repeat: no-repeat;
  pointer-events: none;
}

/* Buttons and links */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .72rem 1.4rem;
  font: 600 1rem/1.1 var(--f-text);
  text-decoration: none; border-radius: 2px; border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .22s, color .22s, border-color .22s, transform .22s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: -6px;
  --c: var(--brass); --len: 10px; --w: 1.5px;
  background:
    linear-gradient(var(--c) 0 0) top left / var(--len) var(--w),
    linear-gradient(var(--c) 0 0) top left / var(--w) var(--len),
    linear-gradient(var(--c) 0 0) bottom right / var(--len) var(--w),
    linear-gradient(var(--c) 0 0) bottom right / var(--w) var(--len);
  background-repeat: no-repeat;
  opacity: 0; transform: scale(1.08);
  transition: opacity .22s, transform .28s var(--ease);
  pointer-events: none;
}
.btn:hover::before, .btn:focus-visible::before { opacity: 1; transform: scale(1); }
.btn:active { transform: translateY(1px); }
.btn-cta { background: var(--dusk); color: var(--on-dusk); }
.btn-cta:hover { background: var(--dusk-deep); }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--paper-2); }
.btn[disabled], .btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; margin-top: 2rem; }

.text-link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 600; text-decoration: underline; text-decoration-color: var(--brass);
  text-decoration-thickness: 1.5px;
}
.text-link:hover { text-decoration-thickness: 3px; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--rule); border-radius: 2px;
  background: transparent; color: var(--ink); cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.icon-btn:hover { border-color: var(--brass); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-btn[aria-pressed="true"] svg { transform: rotate(180deg); }
.theme-btn svg { transition: transform .35s var(--ease); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  height: var(--hdr);
  background: var(--paper);
  transition: height .28s var(--ease), background-color .28s, box-shadow .28s;
}
.site-header.is-compact {
  height: var(--hdr-c);
  background: color-mix(in srgb, var(--paper) 93%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px -20px rgba(0, 0, 0, .55);
}
.hdr-inner {
  height: 100%;
  width: min(1360px, 100% - 2 * var(--gutter)); margin-inline: auto;
  display: flex; align-items: center; gap: clamp(14px, 2.2vw, 36px);
}
.brand {
  display: flex; align-items: center; gap: .7rem;
  min-height: 44px; flex: none; text-decoration: none;
  transform-origin: left center;
  transition: transform .28s var(--ease);
}
.is-compact .brand { transform: scale(.9); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.bm-frame { fill: none; stroke: var(--ink); stroke-width: 2; }
.bm-sun { fill: var(--brass); }
.bm-cloud { fill: var(--ink); }
.brand-name {
  display: flex; flex-direction: column;
  font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; line-height: 1;
  font-variation-settings: "opsz" 40;
}
.brand-sub {
  font-family: var(--f-text); font-size: .74rem; font-weight: 500;
  letter-spacing: .03em; color: var(--ink-soft); margin-top: .28rem;
}
.hdr-note {
  display: none; margin: 0; padding-left: 1rem; border-left: 1px solid var(--rule);
  font-family: var(--f-display); font-style: italic; font-size: .95rem;
  color: var(--ink-soft); white-space: nowrap;
}
.nav-desktop { display: none; margin-left: auto; }
.nav-desktop ul { display: flex; gap: clamp(.4rem, 1.4vw, 1.4rem); list-style: none; margin: 0; padding: 0; }
.nav-desktop a {
  position: relative; display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 .3rem; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.nav-desktop a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 6px;
  border: 1.5px solid var(--brass); border-top: 0;
  transform: scaleX(0); transform-origin: center;
  transition: transform .26s var(--ease);
}
.nav-desktop a:hover::after, .nav-desktop a[aria-current="page"]::after { transform: scaleX(1); }
.nav-desktop a[aria-current="page"] { color: var(--brass); }
.hdr-actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.hdr-cta { display: none; white-space: nowrap; }
.hdr-cta::before { opacity: .9; transform: scale(1); }
.hdr-rule {
  position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background:
    repeating-linear-gradient(90deg, var(--brass) 0 1px, transparent 1px 14px) bottom / 100% 5px no-repeat,
    linear-gradient(var(--rule), var(--rule)) bottom / 100% 1px no-repeat;
  opacity: 0; transition: opacity .28s;
}
.is-compact .hdr-rule { opacity: .85; }

.menu-btn { display: inline-grid; }
.menu-lines, .menu-lines::before, .menu-lines::after {
  display: block; width: 20px; height: 1.6px; background: currentColor;
  transition: transform .25s var(--ease), opacity .2s;
}
.menu-lines { position: relative; background: transparent; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
.menu-lines::before { top: -4px; }
.menu-lines::after { top: 4px; }
.menu-btn[aria-expanded="true"] .menu-lines::before { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-lines::after { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column;
  padding: calc(var(--hdr) + 24px) var(--gutter) 36px;
  background: var(--paper); overflow-y: auto;
}
.mobile-menu ul { list-style: none; margin: 0 0 28px; padding: 0; }
.mobile-menu li a {
  display: flex; align-items: center; min-height: 60px;
  font-family: var(--f-display); font-size: clamp(2rem, 8vw, 2.6rem); line-height: 1.1;
  text-decoration: none; border-bottom: 1px solid var(--rule);
}
.mobile-menu li a[aria-current="page"] { color: var(--brass); }
.mobile-menu .btn { align-self: flex-start; }
.menu-note { margin-top: 24px; font-size: .95rem; color: var(--ink-soft); }
html[data-motion="ready"] .mobile-menu:not([hidden]) li { animation: menu-in .42s var(--ease) both; }
html[data-motion="ready"] .mobile-menu li:nth-child(2) { animation-delay: 40ms; }
html[data-motion="ready"] .mobile-menu li:nth-child(3) { animation-delay: 80ms; }
html[data-motion="ready"] .mobile-menu li:nth-child(4) { animation-delay: 120ms; }
html[data-motion="ready"] .mobile-menu li:nth-child(5) { animation-delay: 160ms; }
@keyframes menu-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (min-width: 520px) { .hdr-cta { display: inline-flex; } }
@media (min-width: 1000px) {
  .nav-desktop { display: block; }
  .hdr-actions { margin-left: 0; }
  .menu-btn { display: none; }
  .mobile-menu { display: none !important; }
}
@media (min-width: 1320px) { .hdr-note { display: block; } }

/* Hero */
.hero { position: relative; padding: clamp(24px, 4vw, 56px) 0 clamp(64px, 8vw, 120px); }
.hero-grid {
  width: min(1360px, 100% - 2 * var(--gutter)); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 5vw, 56px);
}
.hero h1 { position: relative; z-index: 2; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .ln > span { display: inline-block; }
.hero h1 .ln:nth-child(2) { padding-left: clamp(0px, 5vw, 92px); }
.hero h1 .ln:nth-child(3) { padding-left: clamp(0px, 10vw, 184px); }
.hero .lede { margin-top: 1.6rem; }
.preview-note {
  margin-top: 1.6rem; padding: .8rem 1rem; max-width: 52ch;
  border-left: 2px solid var(--brass); background: var(--paper-2);
  font-size: .95rem; color: var(--ink-soft);
}
.hero-visual { position: relative; isolation: isolate; }
.hero-media {
  position: relative; overflow: hidden; aspect-ratio: 4 / 3;
  background: var(--paper-3); border-radius: 2px;
}
.hero-media .bg-depth { position: absolute; inset: -10% 0; }
.hero-media .bg-depth img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 62%; }
.hero-pattern {
  position: absolute; z-index: -1; --ps: 40px;
  width: 46%; height: 52%; right: -4%; top: -7%;
}
.hero-inset {
  position: absolute; z-index: 3;
  width: 40%; right: 4%; bottom: -12%;
}
.hero-inset .inset-frame {
  aspect-ratio: 1; overflow: hidden;
  border: 6px solid var(--paper); box-shadow: var(--shadow);
  background: var(--paper-3);
}
.hero-inset img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 55%; }
.hero-marks { position: absolute; inset: -16px; z-index: 4; }
.hero-marks .corners { position: absolute; inset: 0; --len: 46px; --w: 2px; }
.hero-cap { margin: 1.4rem 0 0; font-size: .85rem; color: var(--ink-soft); }

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 6.2fr) minmax(0, 5.8fr);
    align-items: center;
    min-height: calc(min(100svh, 960px) - var(--hdr) - 80px);
  }
  .hero-media { aspect-ratio: 5 / 6; }
  .hero-inset { width: 42%; right: auto; left: -8%; bottom: 6%; }
  .hero-pattern { right: -8%; top: -6%; }
}
@media (min-width: 900px) and (max-width: 1180px) {
  .hero h1 { font-size: clamp(2.8rem, 6.2vw, 5rem); }
}

/* Hero entrance: CSS animations always end visible, so they fail open. */
@keyframes ln-rise { from { transform: translateY(108%); } to { transform: none; } }
@keyframes media-crop { from { clip-path: inset(9% 14% 9% 14%); } to { clip-path: inset(0 0 0 0); } }
@keyframes media-push { from { transform: scale(1.1); } to { transform: scale(1); } }
@keyframes marks-in { from { opacity: 0; transform: scale(1.1); } to { opacity: 1; transform: none; } }
@keyframes inset-in { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
html.hero-anim .hero h1 .ln > span { animation: ln-rise .95s var(--ease) both; animation-delay: calc(120ms + var(--i, 0) * 120ms); }
html.hero-anim .hero .lede { animation: fade-up .8s var(--ease) .5s both; }
html.hero-anim .hero-media { animation: media-crop 1.25s var(--ease) both; }
html.hero-anim .hero-media .bg-depth img { animation: media-push 1.8s var(--ease) both; }
html.hero-anim .hero-marks .corners { animation: marks-in 1s var(--ease) .55s both; }
html.hero-anim .hero-inset .inset-frame { animation: inset-in 1s var(--ease) .75s both; }

/* Scroll reveals (only armed once the motion engine reports ready) */
html[data-motion="ready"] [data-reveal] {
  transition: opacity .75s var(--ease), transform .8s var(--ease), clip-path .9s var(--ease);
  transition-delay: calc(var(--i, 0) * 110ms);
}
[data-reveal="mask"] { clip-path: inset(-12% -4% -16% -4%); }
html[data-motion="ready"] [data-reveal="mask"]:not(.is-visible) { clip-path: inset(-12% -4% 100% -4%); transform: translateY(34px); }
html[data-motion="ready"] [data-reveal="rise"]:not(.is-visible) { opacity: 0; transform: translateY(32px); }
[data-reveal="crop"] { clip-path: inset(0 0 0 0); }
[data-reveal="crop"] img { transition: transform 1.2s var(--ease); }
html[data-motion="ready"] [data-reveal="crop"]:not(.is-visible) { clip-path: inset(14% 10% 14% 10%); opacity: .2; }
html[data-motion="ready"] [data-reveal="crop"]:not(.is-visible) img { transform: scale(1.14); }
[data-reveal="rule"] { position: relative; }
[data-reveal="rule"]::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--ink); opacity: .35; transform-origin: left;
  transition: transform 1s var(--ease); transition-delay: inherit;
}
html[data-motion="ready"] [data-reveal="rule"]:not(.is-visible) { opacity: 0; transform: translateX(-40px); }
html[data-motion="ready"] [data-reveal="rule"]:not(.is-visible)::before { transform: scaleX(0); }
@media (max-width: 720px) {
  html[data-motion="ready"] [data-reveal="rule"]:not(.is-visible) { transform: translateY(26px); }
  html[data-motion="ready"] [data-reveal="crop"]:not(.is-visible) { clip-path: inset(0 0 100% 0); opacity: 1; }
}

/* Follow-Me: Section Signal on the home page */
.signal-scope { position: relative; }
.signal {
  --lane: max(calc(var(--gutter) * .45), calc((100% - 1240px) / 2 - 44px));
  position: absolute; top: 0; bottom: 0; left: var(--lane); width: 0;
  z-index: 4; pointer-events: none; opacity: 0; transition: opacity .4s;
}
.signal.is-ready { opacity: 1; }
.signal-track, .signal-fill { position: absolute; left: 0; top: var(--start, 0); height: var(--len, 0); }
.signal-track { width: 1px; background: var(--rule); }
.signal-fill {
  width: 2px; margin-left: -.5px; background: var(--brass);
  transform-origin: top; transform: scaleY(0);
}
.signal-marker {
  position: absolute; left: 0; top: 0; width: 15px; height: 15px; margin: -7.5px 0 0 -7.5px;
  border: 1.5px solid var(--brass); border-radius: 50%; background: var(--paper);
  will-change: transform;
}
.signal-marker::after {
  content: ""; position: absolute; inset: 3.5px; border-radius: 50%; background: var(--brass);
}
.signal-branch {
  position: absolute; left: 0; height: 1px; width: 24px;
  background: var(--rule); color: var(--rule);
  transition: background-color .35s, color .35s;
}
.signal-branch::after {
  content: ""; position: absolute; right: 0; top: -6px; width: 1.5px; height: 13px; background: currentColor;
}
.signal-branch.is-on { background: var(--brass); color: var(--brass); }
html[data-motion="off"] .signal-marker { display: none; }
@media (max-width: 720px) {
  .signal { --lane: 9px; }
  .signal-marker { width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; }
  .signal-marker::after { inset: 2.5px; }
  .signal-branch::after { height: 9px; top: -4px; }
}

/* Home: point of view */
.pov-grid { display: grid; gap: clamp(28px, 4vw, 72px); }
.pov-statement { font-size: clamp(2rem, 4.2vw, 3.7rem); max-width: 18ch; line-height: 1.08; }
.pov-notes { display: grid; gap: 1.2rem; align-content: end; }
.pov-notes p { color: var(--ink-soft); }
.pov-notes p:first-child { color: var(--ink); font-size: 1.22rem; }
@media (min-width: 900px) {
  .pov-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; }
}

/* Focus Zone */
.fz-section { padding-block: clamp(64px, 9vw, 128px) clamp(40px, 6vw, 80px); background: var(--paper-2); }
.fz-intro { display: grid; gap: 1.2rem; margin-bottom: clamp(32px, 5vw, 64px); }
.fz-intro h2 { max-width: 16ch; }
@media (min-width: 900px) { .fz-intro { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; } }

.fz { position: relative; }
.fz-stage { display: none; }
.fz-panels {
  display: grid; gap: clamp(28px, 4vw, 48px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
.fz-panel { position: relative; }
.fz-panel-img { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 1.1rem; background: var(--paper-3); }
.fz-panel-img img { width: 100%; height: 100%; object-fit: cover; }
.fz-step { margin: 0 0 .35rem; font-family: var(--f-display); font-style: italic; color: var(--brass); font-size: 1.05rem; }
.fz-panel h3 { font-size: clamp(1.9rem, 3vw, 2.8rem); margin-bottom: .8rem; }
.fz-panel p:last-child { color: var(--ink-soft); }

.fz[data-capture-active="true"] { height: 430vh; }
.fz[data-capture-active="true"] .fz-inner {
  position: sticky; top: var(--hdr-c);
  height: calc(100vh - var(--hdr-c)); height: calc(100svh - var(--hdr-c));
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 4.5vw, 72px); align-items: center;
}
.fz[data-capture-active="true"] .fz-stage { display: block; }
.fz[data-capture-active="true"] .fz-panel-img { display: none; }
.fz[data-capture-active="true"] .fz-panels { display: grid; grid-template-columns: minmax(0, 1fr); }
.fz[data-capture-active="true"] .fz-panel {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden; transform: translateY(30px);
  transition: opacity .5s var(--ease), transform .65s var(--ease), visibility 0s linear .65s;
}
.fz[data-capture-active="true"] .fz-panel[data-active="true"] {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .55s var(--ease) .12s, transform .7s var(--ease) .12s, visibility 0s;
}

.fz-stage-wrap { position: relative; }
.fz-stage-wrap::before {
  content: ""; position: absolute; inset: -22px 22px 22px -22px; z-index: 0;
  background: var(--pattern-ink);
  -webkit-mask: var(--pat) 0 0 / 24px 24px repeat; mask: var(--pat) 0 0 / 24px 24px repeat;
  pointer-events: none;
}
.fz-stage {
  position: relative; z-index: 1; overflow: hidden;
  aspect-ratio: 4 / 3; max-height: calc(100svh - var(--hdr-c) - 72px); width: 100%;
  background: #2a2019; border-radius: 2px;
}
.fz-shot {
  position: absolute; inset: 0; opacity: 0; transform: scale(1.08);
  transition: opacity .7s var(--ease), transform 1.1s var(--ease);
}
.fz-shot img { width: 100%; height: 100%; object-fit: cover; }
.fz-shot--0 { transform-origin: 38% 44%; }
.fz-shot--0 img { object-position: 38% 44%; }
.fz-shot--1 { transform-origin: 14% 86%; }
.fz-shot--2 { transform-origin: 78% 60%; }
.fz-shot--3 img { filter: brightness(.78) saturate(.9); }
.fz-stage[data-state="0"] .fz-shot--0 { opacity: 1; transform: scale(1.6); }
.fz-stage[data-state="1"] .fz-shot--1 { opacity: 1; transform: scale(1.1); }
.fz-stage[data-state="2"] .fz-shot--2 { opacity: 1; transform: scale(1.04); }
.fz-stage[data-state="3"] .fz-shot--3 { opacity: 1; transform: scale(1); }

.fz-frame {
  position: absolute; inset: 20% 28% 22% 24%;
  --c: var(--photo-line); --len: 38px; --w: 2px;
  transition: inset .9s var(--ease);
}
.fz-stage[data-state="1"] .fz-frame { inset: 48% 50% 6% 4%; }
.fz-stage[data-state="2"] .fz-frame { inset: 14% 5% 10% 50%; }
.fz-stage[data-state="3"] .fz-frame { inset: 5% 4% 5% 4%; }

.fz-sheet {
  position: absolute; left: 9%; right: 9%; top: 50%; translate: 0 -50%;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4%;
}
.fz-sheet img {
  aspect-ratio: 3 / 4; object-fit: cover; width: 100%;
  border: 5px solid #F6EFE4; box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .7);
  opacity: 0; transform: translateY(60px) rotate(var(--r, 0deg));
  transition: opacity .5s var(--ease), transform .8s var(--ease);
}
.fz-stage[data-state="3"] .fz-sheet img {
  opacity: 1; transform: rotate(var(--r, 0deg));
  transition-delay: calc(220ms + var(--i, 0) * 120ms);
}
.fz-rail {
  position: absolute; left: 14px; top: 14px; display: flex; gap: 4px;
  margin: 0; padding: 5px; list-style: none;
  background: rgba(23, 17, 13, .66); color: #F4EADB; border-radius: 2px;
  font-size: .82rem; font-weight: 500;
}
.fz-rail li { padding: 4px 9px; opacity: .62; box-shadow: inset 0 -2px 0 transparent; transition: opacity .3s, box-shadow .3s; }
.fz-stage[data-state="0"] .fz-rail li:nth-child(1),
.fz-stage[data-state="1"] .fz-rail li:nth-child(2),
.fz-stage[data-state="2"] .fz-rail li:nth-child(3),
.fz-stage[data-state="3"] .fz-rail li:nth-child(4) { opacity: 1; box-shadow: inset 0 -2px 0 #E2B266; }
.fz-meter {
  position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: #E2B266; transform-origin: left;
  transform: scaleX(var(--capture-progress, 0));
}

@media (max-width: 899px) {
  .fz[data-capture-active="true"] { height: 380vh; }
  .fz[data-capture-active="true"] .fz-inner {
    grid-template-columns: minmax(0, 1fr); align-content: center; gap: 22px;
  }
  .fz[data-capture-active="true"] .fz-stage { aspect-ratio: auto; height: min(44svh, 72vw); }
  .fz-stage-wrap::before { inset: -12px 12px 12px -12px; }
  .fz[data-capture-active="true"] .fz-panel h3 { font-size: 1.9rem; margin-bottom: .5rem; }
  .fz[data-capture-active="true"] .fz-panel p { font-size: 1.02rem; line-height: 1.55; }
  .fz-rail { font-size: .74rem; left: 8px; top: 8px; }
  .fz-rail li { padding: 3px 6px; }
}

/* Offers */
.offers-head { display: grid; gap: 1.2rem; margin-bottom: clamp(36px, 5vw, 72px); }
@media (min-width: 900px) { .offers-head { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: end; } }
.offer-list { list-style: none; margin: 0; padding: 0; }
.offer {
  display: grid; gap: .8rem 2rem; padding-block: clamp(26px, 3.4vw, 44px);
}
.offer:last-child { border-bottom: 1px solid var(--rule); }
.offer h3 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 400; }
.offer p { margin: 0; color: var(--ink-soft); }
@media (min-width: 900px) {
  .offer { grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) minmax(0, 2.4fr); align-items: baseline; }
  .offer .text-link { justify-self: end; }
}

/* Concept frames (home) */
.frames-grid { position: relative; isolation: isolate; display: grid; gap: 32px; }
.frames-main { margin: 0; }
.frames-main .img-box { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-3); }
.frames-main img { width: 100%; height: 100%; object-fit: cover; }
.frames-main figcaption, .study figcaption { margin-top: .8rem; font-size: .9rem; color: var(--ink-soft); }
.frames-pattern { position: absolute; z-index: -1; --ps: 88px; left: -6%; top: -10%; width: 44%; height: 70%; }
.frames-inset { width: 52%; margin: -18% 0 0 auto; position: relative; z-index: 2; }
.frames-inset .img-box { aspect-ratio: 4 / 5; overflow: hidden; border: 6px solid var(--paper); box-shadow: var(--shadow); background: var(--paper-3); }
.frames-inset img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.frames-text h2 { margin-bottom: 1.2rem; }
@media (min-width: 900px) {
  .frames-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
  .frames-main { grid-column: 1 / 8; grid-row: 1; }
  .frames-text { grid-column: 9 / 13; grid-row: 1; }
  .frames-inset { position: absolute; width: min(20%, 260px); left: 40%; bottom: -16%; margin: 0; }
  .frames { padding-bottom: clamp(120px, 14vw, 220px); }
}

/* Final CTA (home) */
.cta-frame {
  position: relative; isolation: isolate;
  padding: clamp(48px, 8vw, 112px) clamp(24px, 6vw, 96px);
  text-align: left;
}
.cta-frame::before {
  content: ""; position: absolute; inset: 0;
  --c: var(--brass); --len: clamp(36px, 6vw, 72px); --w: 2px;
  background:
    linear-gradient(var(--c) 0 0) top left / var(--len) var(--w),
    linear-gradient(var(--c) 0 0) top left / var(--w) var(--len),
    linear-gradient(var(--c) 0 0) top right / var(--len) var(--w),
    linear-gradient(var(--c) 0 0) top right / var(--w) var(--len),
    linear-gradient(var(--c) 0 0) bottom left / var(--len) var(--w),
    linear-gradient(var(--c) 0 0) bottom left / var(--w) var(--len),
    linear-gradient(var(--c) 0 0) bottom right / var(--len) var(--w),
    linear-gradient(var(--c) 0 0) bottom right / var(--w) var(--len);
  background-repeat: no-repeat;
  transition: opacity .6s var(--ease), transform .8s var(--ease);
  pointer-events: none;
}
html[data-motion="ready"] .cta-frame[data-signal-end]:not(.is-resolved)::before { opacity: .25; transform: scale(1.035); }
.cta-pattern { position: absolute; inset: 14px; z-index: -1; --ps: 30px; opacity: .45; }
.cta-frame h2 { max-width: 15ch; font-size: clamp(2.4rem, 5.6vw, 5rem); }
.cta-frame p { margin-top: 1.4rem; color: var(--ink-soft); }
.cta-inner { position: relative; background: var(--paper); padding: clamp(8px, 2vw, 24px); max-width: 760px; }

/* Inner pages */
.page-head { padding-block: clamp(40px, 7vw, 104px) clamp(36px, 5vw, 72px); }
.page-head h1 { max-width: 13ch; }
.page-head .lede { margin-top: 1.4rem; }
.split-head { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 900px) { .split-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; } }
.head-figure { margin: 0; position: relative; }
.head-figure .img-box { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-3); }
.head-figure img { width: 100%; height: 100%; object-fit: cover; }
.head-figure figcaption { margin-top: .7rem; font-size: .88rem; color: var(--ink-soft); }

.band { position: relative; overflow: hidden; aspect-ratio: 21 / 9; background: var(--paper-3); }
.band .bg-depth { position: absolute; inset: -12% 0; }
.band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
@media (max-width: 720px) { .band { aspect-ratio: 4 / 3; } }
.band-cap { margin-top: .7rem; font-size: .88rem; color: var(--ink-soft); }

/* Work */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 12px; padding: 0; list-style: none; }
.filter-btn {
  min-height: 44px; padding: .55rem 1.05rem;
  font: 500 1rem/1 var(--f-text); color: var(--ink);
  background: transparent; border: 1px solid var(--rule); border-radius: 2px; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.filter-btn:hover { border-color: var(--brass); }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter-count { font-size: .95rem; color: var(--ink-soft); margin-bottom: clamp(32px, 5vw, 56px); }
.studies { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(56px, 8vw, 112px); }
.study { display: grid; gap: clamp(20px, 3vw, 56px); }
.study figure { margin: 0; }
.study .img-box { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-3); }
.study .img-box img { width: 100%; height: 100%; object-fit: cover; }
.study h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); margin-bottom: 1rem; }
.study-tag { margin: 0 0 .6rem; font-family: var(--f-display); font-style: italic; color: var(--brass); font-size: 1.08rem; }
.study dl { margin: 1.4rem 0 0; display: grid; gap: .9rem; }
.study dt { font-weight: 600; font-size: .95rem; }
.study dd { margin: .15rem 0 0; color: var(--ink-soft); }
@media (min-width: 900px) {
  .study--img { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
  .study--img:nth-child(even) figure { order: 2; }
}
.plans { display: grid; gap: clamp(20px, 2.4vw, 32px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.study--plan {
  position: relative; isolation: isolate; align-content: start;
  padding: clamp(28px, 3vw, 40px); background: var(--paper-2);
}
.study--plan > .corners { position: absolute; inset: 10px; --len: 22px; }
.study--plan { gap: 0; }
.study--plan h3 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); margin-bottom: .8rem; }
.study--plan p:not(.study-tag) { color: var(--ink-soft); margin: 0; }
.study--plan ol { margin: 1rem 0 0; padding-left: 1.4rem; display: grid; gap: .45rem; color: var(--ink-soft); }
.study--plan ol li::marker { font-family: var(--f-display); color: var(--brass); }

/* Services */
.service { display: grid; gap: clamp(24px, 4vw, 64px); padding-block: clamp(48px, 6vw, 88px); border-top: 1px solid var(--rule); }
.service h2 { max-width: 12ch; }
.service .summary { font-size: 1.22rem; margin-top: 1.1rem; }
.service-cols { display: grid; gap: 1.6rem 2.4rem; }
.service-cols h3 { font-family: var(--f-text); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin-bottom: .5rem; }
.service-cols ul { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); display: grid; gap: .35rem; }
.service-cols ul li::marker { color: var(--brass); }
.service-cols p { color: var(--ink-soft); margin: 0; }
@media (min-width: 900px) {
  .service { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .service-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-cols > :first-child { grid-row: span 2; }
}
.terms { background: var(--paper-2); }
.terms-grid { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 900px) { .terms-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.terms dl { margin: 0; display: grid; gap: 1.3rem; }
.terms dt { font-family: var(--f-display); font-size: 1.4rem; }
.terms dd { margin: .3rem 0 0; color: var(--ink-soft); max-width: 60ch; }
.steps { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps li {
  counter-increment: step; position: relative;
  display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: 0 1rem;
  padding: 1.3rem 0; border-top: 1px solid var(--rule);
}
.steps li::before {
  content: counter(step); grid-row: span 2;
  font-family: var(--f-display); font-size: 2.2rem; line-height: 1; color: var(--brass);
}
.steps h3 { font-size: 1.45rem; margin-bottom: .3rem; }
.steps p { margin: 0; color: var(--ink-soft); }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 1.6rem; }
  .steps li { grid-template-columns: minmax(0, 1fr); border-top: 2px solid var(--rule); }
  .steps li:last-child { border-top-color: var(--brass); }
  .steps li::before { grid-row: auto; margin-bottom: .8rem; }
}
.notice {
  margin-top: 2rem; padding: 1rem 1.2rem; border-left: 2px solid var(--brass);
  background: var(--paper); color: var(--ink-soft); max-width: 70ch;
}

/* Approach */
.process { position: relative; list-style: none; margin: 0; padding: 0; }
.process::before {
  content: ""; position: absolute; left: 11px; top: 12px; bottom: 12px; width: 1px; background: var(--rule);
}
.process > li { position: relative; padding: 0 0 clamp(36px, 5vw, 64px) 52px; display: grid; gap: .9rem 3rem; }
.process > li::before {
  content: ""; position: absolute; left: 4px; top: .5rem; width: 15px; height: 15px;
  border: 1.5px solid var(--brass); background: var(--paper); border-radius: 50%;
}
.process h3 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
.process .who { display: grid; gap: .9rem; }
.process .who p { margin: 0; color: var(--ink-soft); }
.process .who strong { color: var(--ink); font-weight: 600; }
@media (min-width: 900px) { .process > li { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }

.people { display: grid; gap: clamp(28px, 4vw, 64px); }
@media (min-width: 900px) { .people { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; } }
.people figure { margin: 0; }
.people .img-box { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-3); }
.people img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; }

.faq { max-width: 880px; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 64px; padding: .9rem 0; cursor: pointer; list-style: none;
  font-family: var(--f-display); font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  border-right: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details p { color: var(--ink-soft); padding-bottom: 1.2rem; margin: 0; }

/* Contact */
.contact-grid { display: grid; gap: clamp(40px, 6vw, 96px); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; } }
.contact-info h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin: 2.4rem 0 .8rem; }
.contact-info ul { padding-left: 1.1rem; color: var(--ink-soft); display: grid; gap: .4rem; margin: 0; }
.contact-info ul li::marker { color: var(--brass); }
.status-card {
  position: relative; padding: 1.4rem 1.5rem; background: var(--paper-2);
}
.status-card > .corners { position: absolute; inset: 8px; }
.status-card p { margin: 0 0 .8rem; }
.status-card p:last-child { margin: 0; }

.inquiry {
  position: relative; display: grid; gap: 1.3rem;
  padding: clamp(24px, 4vw, 48px); background: var(--paper-2); border-radius: 2px;
}
.inquiry h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); }
.field { display: grid; gap: .45rem; }
.field label { font-weight: 600; }
.field .hint { font-size: .92rem; color: var(--ink-soft); margin: 0; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: .8rem .9rem;
  font: inherit; font-size: 1.05rem; color: var(--ink);
  background: var(--paper); border: 1px solid color-mix(in srgb, var(--ink) 40%, transparent); border-radius: 2px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 180px; resize: vertical; line-height: 1.5; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--dusk); box-shadow: 0 0 0 3px color-mix(in srgb, var(--dusk) 30%, transparent); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #A3341F; }
[data-theme="dark"] .field input:user-invalid, [data-theme="dark"] .field textarea:user-invalid { border-color: #F08F79; }
.field-row { display: grid; gap: 1.3rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.6em; margin: 0; font-weight: 500; }
.form-status:not(:empty) { padding: .8rem 1rem; border-left: 2px solid var(--brass); background: var(--paper); }
.form-foot { font-size: .92rem; color: var(--ink-soft); margin: 0; }

/* Footer */
.site-footer { position: relative; margin-top: clamp(48px, 6vw, 96px); padding: clamp(56px, 7vw, 96px) 0 36px; background: var(--paper-2); overflow: hidden; }
.foot-pattern { position: absolute; top: 0; right: 0; width: min(46%, 520px); height: 100%; --ps: 52px; opacity: .55; }
.foot-grid { position: relative; display: grid; gap: 32px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); } }
.foot-brand { font-family: var(--f-display); font-size: 1.9rem; line-height: 1.1; margin-bottom: .8rem; }
.foot-id p:not(.foot-brand), .foot-contact { color: var(--ink-soft); font-size: 1rem; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-small { position: relative; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: .88rem; color: var(--ink-soft); max-width: none; }

/* Reduced motion: static, complete, calm */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .signal-fill { transform: scaleY(1) !important; }
}
