/* AYZ Images v3. Layout concept: a dark editorial lookbook. A fixed header carries the booking options,
   each campaign is a chapter with one large frame and two supporting frames, and booking lives in a
   slide-in drawer reachable from anywhere. Single committed dark palette: the colour comes from the photographs. */
:root {
  --bg: #121110;
  --surface: #1b1a18;
  --raise: #24221f;
  --ink: #f2eee7;
  --muted: #a39d93;
  --line: #2f2c29;
  --line2: #55504a;
  --ink2: #d8d2c8;
  --hdr: rgba(18,17,16,.86);
  --accent: var(--ink);
  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --body: "Geist", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1320px;
  --gut: max(20px, env(safe-area-inset-left, 0px));
  --gut-r: max(20px, env(safe-area-inset-right, 0px));
  --head: 76px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 12px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
p a { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gut); padding-right: var(--gut-r); }
h1, h2, h3 { font-family: var(--display); font-weight: 500; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1; }
p { margin: 0; }
.muted { color: var(--muted); }
.section { padding-block: clamp(72px, 10vw, 136px); }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; margin-bottom: clamp(36px, 5vw, 64px); }
.head-row p { max-width: 46ch; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
  font: 500 .98rem/1 var(--body); padding: 14px 22px; border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--bg); transition: background .2s, color .2s, border-color .2s; white-space: nowrap;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line2); }
.btn.ghost:hover { border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--hdr); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { height: var(--head); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.brand { font-family: var(--display); font-size: 1.6rem; font-weight: 600; letter-spacing: .02em; display: inline-flex; align-items: baseline; gap: .4em; }
.brand small { font-family: var(--body); font-size: .8rem; font-weight: 400; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.nav { display: flex; justify-content: center; gap: clamp(18px, 2.6vw, 36px); font-size: .95rem; }
.nav a { color: var(--muted); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.book-opts { display: flex; align-items: center; gap: 10px; }
.icon-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .92rem; color: var(--ink); transition: border-color .2s; }
.icon-link:hover { border-color: var(--ink); }
.icon-link svg { width: 17px; height: 17px; }
.site-header .btn { padding: 11px 18px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--ink); cursor: pointer; place-items: center; }
.menu-btn svg { width: 20px; height: 20px; }
.mobile-menu { display: none; }

/* ---------- hero ---------- */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 96px); }
.hero h1 { font-size: clamp(2.8rem, 6.2vw, 5.8rem); line-height: .98; }
.hero .lead { margin-top: 26px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 30px; font-size: .9rem; color: var(--muted); }
.collage { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.collage figure { margin: 0; position: relative; overflow: hidden; background: var(--surface); }
.collage figure:first-child { grid-row: span 2; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage figure:first-child img { aspect-ratio: 2 / 3; }
.collage figure:not(:first-child) img { aspect-ratio: 4 / 5; }
.collage figcaption { position: absolute; left: 12px; bottom: 10px; font-size: .78rem; letter-spacing: .02em; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.6); }

/* ---------- brands ---------- */
.brands { border-block: 1px solid var(--line); }
.brands .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px clamp(24px, 4vw, 52px); padding-block: 26px; }
.brands p { font-size: .88rem; color: var(--muted); margin-right: auto; }
.brands ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px clamp(22px, 3.4vw, 44px); }
.brands li { font-family: var(--display); font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--ink2); }

/* ---------- campaign chapters ---------- */
.chapter { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(14px, 1.6vw, 22px); padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); }
.chapter:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.chapter:nth-of-type(even) .lead-frame { order: 2; }
.chapter .side { display: grid; grid-template-rows: auto 1fr; gap: clamp(14px, 1.6vw, 22px); }
.chapter .info { display: grid; gap: 12px; align-content: start; padding: 4px 0 10px; }
.chapter .info .meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .88rem; color: var(--muted); }
.chapter h3 { font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1; }
.chapter h3 a:hover { opacity: .75; }
.chapter .info p { color: var(--muted); max-width: 46ch; }
.chapter .info .more { font-size: .95rem; color: var(--ink); text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; justify-self: start; }
.chapter .pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.6vw, 22px); align-self: end; }
.frame { margin: 0; position: relative; overflow: hidden; background: var(--surface); }
.frame a { display: block; }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.frame:hover img { transform: scale(1.03); }
.lead-frame img { aspect-ratio: 4 / 5; }
.pair .frame img { aspect-ratio: 3 / 4; }
.pair.solo { grid-template-columns: minmax(0, 1fr); }
.pair.solo .frame img { aspect-ratio: 4 / 5; }
.frame .exif { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; font-size: .8rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.6)); opacity: 0; transition: opacity .25s; pointer-events: none; font-variant-numeric: tabular-nums; }
.frame:hover .exif, .frame:focus-within .exif { opacity: 1; }

.more-work { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); border-top: 1px solid var(--line); padding-top: clamp(36px, 5vw, 64px); }
.card { display: grid; gap: 14px; }
.card .frame img { aspect-ratio: 4 / 5; }
.card h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.card p { color: var(--muted); font-size: .95rem; }

/* ---------- services ---------- */
.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.services li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; gap: 18px 40px; align-items: center; padding-block: 28px; border-bottom: 1px solid var(--line); }
.services h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.services p { color: var(--muted); }
.services button { font: 500 .92rem/1 var(--body); color: var(--ink); background: none; border: 1px solid var(--line2); border-radius: 999px; padding: 11px 16px; cursor: pointer; white-space: nowrap; }
.services button:hover { border-color: var(--ink); }

/* ---------- process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.steps li { padding: 26px 26px 6px 0; border-top: 1px solid var(--ink); display: grid; gap: 10px; align-content: start; }
.steps li + li { padding-left: 26px; }
.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.steps h3 { font-family: var(--body); font-weight: 500; font-size: 1.15rem; letter-spacing: 0; }
.steps p { color: var(--muted); font-size: .96rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--bg); }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding-block: clamp(56px, 8vw, 104px); }
.cta-band h2 { max-width: 16ch; }
.cta-band .btn { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.cta-band .btn:hover { background: transparent; color: var(--bg); }
.cta-band .btn.ghost { background: transparent; color: var(--bg); border-color: rgba(18,17,16,.35); }
.cta-band .btn.ghost:hover { border-color: var(--bg); }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- about / faq ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.about h2 { margin-bottom: 24px; }
.about p { color: var(--muted); max-width: 54ch; }
.about p + p { margin-top: 16px; }
.facts-inline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.facts-inline b { display: block; color: var(--ink); font-weight: 500; }
.faq details { border-top: 1px solid var(--line); padding-block: 20px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin-top: 10px; color: var(--muted); max-width: 60ch; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px)); font-size: .95rem; }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot .brand { font-size: 2rem; }
.foot h4 { margin: 0 0 10px; font: 400 .85rem/1 var(--body); color: var(--muted); }
.foot nav, .foot .col { display: grid; gap: 8px; align-content: start; }
.foot a:hover { color: var(--muted); }
.foot small { grid-column: 1 / -1; color: var(--muted); border-top: 1px solid var(--line); padding-top: 22px; }
.sel { user-select: all; }

/* ---------- booking drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.55); opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(520px, 100%); background: var(--surface); border-left: 1px solid var(--line);
  transform: translateX(102%); transition: transform .4s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column;
  padding: max(18px, env(safe-area-inset-top, 0px)) var(--gut-r) max(18px, env(safe-area-inset-bottom, 0px)) 28px;
}
.drawer.on { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 2rem; }
.drawer-close { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--ink); cursor: pointer; font-size: 1.3rem; line-height: 1; }
.drawer-body { overflow-y: auto; padding-block: 22px 8px; display: grid; gap: 26px; overscroll-behavior: contain; }
.quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.quick a { display: grid; gap: 6px; justify-items: start; padding: 14px; border: 1px solid var(--line); border-radius: 14px; font-size: .9rem; transition: border-color .2s; }
.quick a:hover { border-color: var(--ink); }
.quick svg { width: 20px; height: 20px; }
.quick span { color: var(--muted); font-size: .8rem; word-break: break-all; }
.group { display: grid; gap: 12px; border: 0; margin: 0; padding: 0; }
.group legend { font-size: 1rem; margin-bottom: 12px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.chip span { display: inline-block; padding: 10px 15px; border-radius: 999px; border: 1px solid var(--line2); font-size: .92rem; transition: background .2s, border-color .2s, color .2s; }
.chip input:hover + span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 4px; font-size: .85rem; color: var(--muted); }
.field.full { grid-column: 1 / -1; }
.field input, .field textarea { font: 400 1rem/1.4 var(--body); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line2); padding: 9px 0; width: 100%; border-radius: 0; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.drawer-foot { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 10px; }
.drawer-foot .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drawer-foot .status { font-size: .88rem; color: var(--muted); }
.drawer-foot .btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }
body.locked { overflow: hidden; }

/* ---------- project page ---------- */
.case-top .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: end; padding-block: clamp(32px, 5vw, 64px); }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 22px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.case-top h1 { font-size: clamp(2.6rem, 5.6vw, 5rem); line-height: 1; }
.case-top .lead { margin-top: 24px; color: var(--muted); max-width: 48ch; }
.dl { margin: 30px 0 0; display: grid; border-top: 1px solid var(--line); }
.dl div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; }
.case-top .frame img { aspect-ratio: 4 / 5; }
.gallery { columns: 2; column-gap: clamp(14px, 1.6vw, 22px); padding-bottom: clamp(64px, 9vw, 120px); }
.gallery .frame { break-inside: avoid; margin-bottom: clamp(14px, 1.6vw, 22px); }
.gallery .frame img { height: auto; }
.next { border-top: 1px solid var(--line); }
.next .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-block: 40px; }
.next .name { font-family: var(--display); font-size: clamp(1.8rem, 4vw, 3rem); }

/* ---------- lightbox ---------- */
dialog.lightbox { border: 0; padding: 0; width: 100%; height: 100%; max-width: none; max-height: none; background: #080808; color: #fff; }
dialog.lightbox::backdrop { background: #080808; }
.lb { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding: max(14px, env(safe-area-inset-top, 0px)) var(--gut-r) max(14px, env(safe-area-inset-bottom, 0px)) var(--gut); }
.lb-top, .lb-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 52px; }
.lb-stage { display: grid; place-items: center; min-height: 0; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); width: auto; height: auto; }
.lb button { font: 500 .92rem/1 var(--body); color: #fff; background: transparent; border: 1px solid #444; border-radius: 999px; padding: 10px 16px; cursor: pointer; }
.lb button:hover { border-color: #fff; }
.lb-cap { display: grid; gap: 4px; min-width: 0; font-size: .95rem; }
.lb-cap small { color: #9a9a9a; font-variant-numeric: tabular-nums; }
.lb-nav { display: flex; gap: 8px; flex: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav, .book-opts .icon-link { display: none; }
  .site-header .wrap { grid-template-columns: auto 1fr auto; }
  .menu-btn { display: grid; }
  .book-opts { justify-self: end; }
  .mobile-menu { position: fixed; inset: calc(var(--head) + env(safe-area-inset-top, 0px)) 0 auto; z-index: 45; background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px var(--gut-r) 24px var(--gut); display: grid; gap: 4px; transform: translateY(-110%); transition: transform .3s; visibility: hidden; }
  .mobile-menu.on { transform: none; visibility: visible; }
  .mobile-menu a { font-family: var(--display); font-size: 1.8rem; padding: 6px 0; }
  .mobile-menu .opts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
  .mobile-menu .opts a { font-family: var(--body); font-size: .95rem; }
}
@media (max-width: 900px) {
  .more-work { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero .wrap, .about, .case-top .wrap { grid-template-columns: minmax(0, 1fr); }
  .chapter, .chapter:nth-of-type(even) { grid-template-columns: minmax(0, 1fr); }
  .chapter:nth-of-type(even) .lead-frame { order: 0; }
  .services li { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .services button { justify-self: start; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(3) { padding-left: 0; }
  .foot .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot .wrap > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .site-header .btn { padding: 10px 14px; font-size: .9rem; }
  .brand small { display: none; }
  .collage { grid-template-columns: 1fr 1fr; }
  .more-work { grid-template-columns: minmax(0, 1fr); }
  .gallery { columns: 1; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li, .steps li + li, .steps li:nth-child(3) { padding-left: 0; }
  .facts-inline, .fields, .quick { grid-template-columns: minmax(0, 1fr); }
  .quick a { grid-template-columns: auto 1fr; align-items: center; }
  .quick span { grid-column: 2; }
  .drawer { padding-left: var(--gut); }
  .lb-bottom { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* v4: multi-page */
.case-top .frame.land img { aspect-ratio: 3 / 2; }
.page-top .wrap { padding-block: clamp(36px, 6vw, 80px) clamp(36px, 5vw, 64px); }
.page-top h1, .case-top h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: 1; letter-spacing: -.01em; margin-top: 18px; }
.page-top .lead { color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.18rem); max-width: 62ch; margin-top: 22px; }
.pill { display: inline-flex; align-items: center; font: 500 .9rem/1 var(--body); color: var(--ink); background: none; border: 1px solid var(--line2); border-radius: 999px; padding: 10px 15px; cursor: pointer; white-space: nowrap; text-decoration: none; }
.pill:hover, .pill.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filters, .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.card .meta { display: flex; gap: 14px; font-size: .86rem; }
.card[hidden] { display: none; }
.story { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: clamp(40px, 6vw, 72px); }
.story .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); padding-block: clamp(40px, 6vw, 72px); }
.story.two .wrap { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.story h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin-bottom: 14px; }
.story p, .prose p { color: var(--muted); max-width: 60ch; }
.prose p + p { margin-top: 16px; }
.prose p:first-child { color: var(--ink); font-size: clamp(1.08rem, 1.5vw, 1.25rem); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--muted); }
.ticks li { padding-left: 22px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 1px; background: var(--ink); }
.story .tags { margin-top: 22px; }
.band { padding-bottom: clamp(56px, 8vw, 110px); }
.band h2 a:hover { opacity: .75; }
.band-row, .strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.band-row .frame img { aspect-ratio: 4 / 5; }
.strip .frame img { aspect-ratio: 4 / 5; }
.svc-list { display: grid; gap: clamp(40px, 6vw, 80px); }
.svc-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; border-top: 1px solid var(--line); padding-top: clamp(32px, 4vw, 56px); }
.svc-row .frame img { aspect-ratio: 4 / 3; }
.svc-row h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.svc-row p { color: var(--muted); margin-top: 14px; max-width: 52ch; }
.svc-row p.muted a { color: var(--ink); }
.svc-row .hero-actions { margin-top: 24px; align-items: center; }
.services h3 a:hover { opacity: .75; }
.services .pill { justify-self: end; }
.brand-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-family: var(--display); font-size: 1.15rem; }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 10px; }
.contact .ticks { margin-top: 14px; }
.quick.big { grid-template-columns: minmax(0, 1fr); }
.quick.big a { padding: 26px 24px; font-size: 1.15rem; }
.foot h4 a:hover { opacity: .75; }
@media (max-width: 900px) {
  .story .wrap, .story.two .wrap, .svc-row, .contact { grid-template-columns: minmax(0, 1fr); }
  .band-row, .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services .pill { justify-self: start; }
}

/* ================= v5: shared structure, no cropping anywhere ================= */
.frame { background: transparent; }
.frame img, .lead-frame img, .pair .frame img, .card .frame img, .case-top .frame img, .collage img { aspect-ratio: auto !important; height: auto !important; object-fit: contain; }
.frame:hover img { transform: none; }
.frame a { cursor: zoom-in; }
.frame .exif { display: none; }
.frame figcaption { font-size: .85rem; color: var(--muted); padding-top: 10px; }
/* justified rows: grow by ratio, never crop */
.jg { display: flex; flex-wrap: wrap; gap: var(--jgap, clamp(10px, 1.2vw, 16px)); }
.jg > .frame { flex-grow: var(--r); flex-basis: calc(var(--r) * var(--rh)); max-width: calc(var(--r) * var(--rh) * 1.6); min-width: 0; }
@media (max-width: 700px) { .jg { --rh: 200px !important; } .jg > .frame { flex-basis: calc(var(--r) * 180px); } }
/* horizontal rail: fixed height, natural width */
.rail { display: flex; gap: clamp(10px, 1.2vw, 16px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding: 0 var(--gut-r) 14px var(--gut); scrollbar-width: thin; }
.rail > .frame { flex: none; height: var(--railh, min(64vh, 640px)); aspect-ratio: var(--r); scroll-snap-align: start; }
.rail > .frame a, .rail > .frame img { height: 100% !important; width: 100%; }
.rail.tall { --railh: min(72vh, 760px); }
@media (max-width: 700px) { .rail { --railh: 58vh; } .rail.tall { --railh: 62vh; } }
/* cards: masonry columns, whole image */
.cards { columns: 3; column-gap: clamp(16px, 2vw, 28px); }
.cards .card { break-inside: avoid; margin-bottom: clamp(32px, 4vw, 52px); display: grid; gap: 12px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .86rem; color: var(--muted); }
.card h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.card h3 a:hover { opacity: .75; }
.card p { color: var(--muted); font-size: .95rem; }
.card[hidden] { display: none; }
@media (max-width: 900px) { .cards { columns: 2; } }
@media (max-width: 600px) { .cards { columns: 1; } }
.gallery-j { padding-bottom: clamp(56px, 8vw, 110px); }
.case-top .wrap { display: block; padding-block: clamp(36px, 6vw, 80px) clamp(36px, 5vw, 64px); }
.case-txt { max-width: 880px; }
.case-top .dl { max-width: 720px; }
.case-top h1, .page-top h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: 1; letter-spacing: -.01em; }
.page-top .wrap { padding-block: clamp(36px, 6vw, 80px) clamp(36px, 5vw, 64px); }
.page-top .lead { color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.18rem); max-width: 62ch; margin-top: 22px; }
.pill { display: inline-flex; align-items: center; font: 500 .9rem/1 var(--body); color: var(--ink); background: none; border: 1px solid var(--line2); border-radius: 999px; padding: 10px 15px; cursor: pointer; white-space: nowrap; text-decoration: none; }
.pill:hover, .pill.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filters, .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.more { text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; display: inline-flex; gap: 8px; align-items: center; }
.more svg { width: 18px; height: 18px; }
.story { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: clamp(40px, 6vw, 72px); }
.story .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); padding-block: clamp(40px, 6vw, 72px); }
.story.two .wrap { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.story h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin-bottom: 14px; }
.story p, .prose p { color: var(--muted); max-width: 60ch; }
.prose p + p { margin-top: 16px; }
.prose p:first-child { color: var(--ink); font-size: clamp(1.08rem, 1.5vw, 1.25rem); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--muted); }
.ticks li { padding-left: 22px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 1px; background: var(--ink); }
.story .tags { margin-top: 22px; }
.band { padding-bottom: clamp(56px, 8vw, 110px); }
.svc-list { display: grid; gap: clamp(40px, 6vw, 80px); }
.svc-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; border-top: 1px solid var(--line); padding-top: clamp(32px, 4vw, 56px); }
.svc-img { max-width: 520px; }
.svc-row h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.svc-row p { color: var(--muted); margin-top: 14px; max-width: 52ch; }
.svc-row p.muted a { color: var(--ink); }
.svc-row .hero-actions { margin-top: 24px; align-items: center; }
.services li { grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1.3fr) auto; }
.services .num { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.services h3 a:hover { opacity: .75; }
.services .pill { justify-self: end; }
.brand-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-family: var(--display); font-size: 1.15rem; }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 10px; }
.contact .ticks { margin-top: 14px; }
.quick.big { grid-template-columns: minmax(0, 1fr); }
.quick.big a { padding: 26px 24px; font-size: 1.15rem; }
.foot h4 a:hover { opacity: .75; }
.icon-link span { display: inline; }
.eyebrow { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) {
  .story .wrap, .story.two .wrap, .svc-row, .contact { grid-template-columns: minmax(0, 1fr); }
  .services li { grid-template-columns: minmax(0, 1fr); }
  .services .pill { justify-self: start; }
}

/* ===== Theme C · Signal: bone paper, black bars, condensed type, sideways film rails ===== */
:root {
  --bg: #efece6; --surface: #e4e0d8; --raise: #dad5cb; --ink: #111111; --muted: #5f5b55; --line: #cfc9be; --line2: #8f897f; --ink2: #111;
  --accent: #ff4f1f; --hdr: #111111; --display: "Anton", "Impact", "Arial Narrow", sans-serif; --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
h1, h2, h3 { font-weight: 400; text-transform: uppercase; letter-spacing: .005em; line-height: .92; overflow-wrap: break-word; }
h2 { font-size: clamp(2.6rem, 6vw, 5.4rem); }
.site-header { --ink: #efece6; --muted: #a8a39a; --line: #2c2c2c; --line2: #4a4a4a; --bg: #111; color: var(--ink); background: #111 !important; }
.site-header .brand { font-family: var(--display); text-transform: uppercase; font-weight: 400; font-size: 1.7rem; }
.site-header .nav a { text-transform: uppercase; font-size: .82rem; letter-spacing: .1em; }
.btn { background: var(--accent); border-color: var(--accent); color: #111; text-transform: uppercase; letter-spacing: .06em; font-size: .86rem; border-radius: 0; font-weight: 600; }
.btn:hover { background: #111; color: var(--accent); border-color: #111; }
.site-header .btn:hover { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); }
.btn.big { font-size: 1rem; padding: 20px 28px; margin-top: 48px; }
.icon-link, .pill, .chip span, .quick a, .drawer-close, .menu-btn, .lb button { border-radius: 0; }
.mobile-menu { --ink: #efece6; --bg: #111; background: #111 !important; color: #efece6; }
.mobile-menu a { font-family: var(--display) !important; text-transform: uppercase; }
.hero-c .wrap { padding-block: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 48px); }
.hero-c h1 { font-size: clamp(5.2rem, 19vw, 19rem); line-height: .8; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 .2em; }
.hero-c h1 span:last-child { color: var(--accent); }
.hero-c .hero-row { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 24px 48px; align-items: end; margin-top: clamp(24px, 3vw, 40px); border-top: 2px solid var(--ink); padding-top: 22px; }
.hero-c .lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 58ch; }
.hero-c .lead b { font-weight: 600; }
.hero-c .hero-actions { margin-top: 0; }
.hero-rail { --railh: min(66vh, 680px); }
.ticker { overflow: hidden; border-block: 2px solid var(--ink); margin-top: clamp(28px, 4vw, 48px); background: var(--ink); color: var(--bg); }
.ticker ul { list-style: none; margin: 0; padding: 16px 0; display: flex; gap: 56px; width: max-content; animation: tick 38s linear infinite; }
.ticker li { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.6rem); text-transform: uppercase; white-space: nowrap; }
.ticker li:nth-child(3n+2) { color: var(--accent); }
@keyframes tick { to { transform: translateX(-50%); } }
.block-c { padding-block: clamp(36px, 5vw, 64px); border-top: 2px solid var(--ink); }
.block-c:first-child { border-top: 0; }
.block-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 24px; align-items: end; margin-bottom: 24px; }
.block-head .num { font-family: var(--display); font-size: clamp(2rem, 4vw, 3.4rem); color: var(--accent); line-height: .8; }
.block-head h3 { font-size: clamp(2.3rem, 8vw, 7.4rem); overflow-wrap: anywhere; }
.block-head h3 a:hover { color: var(--accent); }
.block-head .kind { grid-column: 2; font-size: .92rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.block-head .kind span { color: var(--accent); }
.block-head .go { grid-column: 3; grid-row: 1 / span 2; align-self: end; display: inline-flex; gap: 10px; align-items: center; font-weight: 600; text-transform: uppercase; font-size: .86rem; letter-spacing: .06em; border-bottom: 2px solid var(--ink); padding-bottom: 4px; }
.block-head .go svg { width: 20px; height: 20px; }
.block-head .go:hover { color: var(--accent); border-color: var(--accent); }
.services { border-top: 2px solid var(--ink); }
.services .num { font-family: var(--display); font-size: 1.6rem; color: var(--accent); }
.services li:hover h3 { color: var(--accent); }
.steps li { border-top: 2px solid var(--ink); }
.cta-band { background: var(--accent); color: #111; }
.cta-band h2 { font-size: clamp(2.6rem, 6vw, 5.6rem); max-width: 14ch; }
.cta-band .btn { background: #111; color: var(--accent); border-color: #111; }
.cta-band .btn.ghost { background: transparent; color: #111; border-color: #111; }
.foot { background: #111; color: #efece6; --muted: #a8a39a; --line: #2c2c2c; border: 0; }
.foot .brand { font-family: var(--display); text-transform: uppercase; font-weight: 400; }
.card h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.gal-c .rail { margin-bottom: clamp(40px, 6vw, 72px); }
.gal-c .jg { display: none; }
.case-top h1, .page-top h1 { font-size: clamp(3rem, 8.4vw, 8.4rem); }
.drawer { background: var(--bg); }
.drawer-head h2 { font-size: 2.6rem; }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: #111; }
.pill:hover, .pill.on { background: #111; color: var(--accent); border-color: #111; }
.story { border-top: 2px solid var(--ink); }
.frame a { cursor: zoom-in; }
@media (max-width: 900px) {
  .hero-c .hero-row { grid-template-columns: minmax(0, 1fr); }
  .block-head { grid-template-columns: auto minmax(0, 1fr); } .block-head .go { grid-column: 1 / -1; grid-row: auto; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { .ticker ul { animation: none; } }
