/* Doza Visuals — "Cinema" design system.
   Dark, condensed Archivo display type, JetBrains Mono for camera-style metadata, one amber accent. */

/* Fonts, self-hosted (were Google Fonts). Archivo and JetBrains Mono, SIL Open Font License.
   Latin and Latin Extended only; Archivo is one variable file covering every width and weight. */
/* Archivo, latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/assets/fonts/archivo-var-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Archivo, latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/assets/fonts/archivo-var-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* JetBrains Mono, latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* JetBrains Mono, latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* JetBrains Mono, latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* JetBrains Mono, latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0b0b0a;
  --ink: #ece7df;
  --ink-2: #d2ccc1;
  --mute: #8d877d;
  --line: rgba(236, 231, 223, .14);
  --amber: #f2a541;
  --rec: #ff3b30;
  --g: clamp(16px, 4vw, 48px);
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }
body { background: var(--bg); color: var(--ink); font-family: 'Archivo', system-ui, sans-serif; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: #111; padding: 10px 14px; }
.mono { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; }
.cond { font-weight: 800; font-variation-settings: 'wdth' 62; text-transform: uppercase; }
.mute { color: var(--mute); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px var(--g); background: linear-gradient(rgba(0, 0, 0, .55), transparent); transition: background .3s; }
.nav.solid { background: rgba(11, 11, 10, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav-logo img { height: 21px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.nav-links a:not(.btn) { opacity: .8; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.btn { border: 1px solid var(--ink); padding: 10px 16px; border-radius: 999px; font-size: 13px; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--amber); border-color: var(--amber); color: #111; }
.nav-links a[aria-current] { opacity: 1; color: var(--amber); }
.nav-toggle { display: none; position: relative; z-index: 2; color: var(--ink); padding: 8px 0; }

/* Phones: links move into a full-screen menu behind the Menu button. */
@media (max-width: 760px) {
  .nav-logo { position: relative; z-index: 2; }
  .nav-logo img { height: 17px; }
  .nav-toggle { display: inline-flex; }
  .nav-links { position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; padding: 96px var(--g) 48px; background: var(--bg); visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; }
  .nav.open { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav.open .nav-links { visibility: visible; opacity: 1; }
  .nav-links a:not(.btn) { font-size: clamp(48px, 15vw, 72px); font-weight: 800; font-variation-settings: 'wdth' 62; text-transform: uppercase; line-height: 1; opacity: 1; }
  .nav-links .btn { margin-top: 24px; font-size: 15px; padding: 14px 20px; }
  .menu-open { overflow: hidden; }
}

/* ---------- homepage: Triptych ----------
   Three widescreen bands (Motion, Stories, Stills) over ten photographs that take turns. Pointing at a band
   opens it taller onto its own work; clicking it grows the band into its page (.tp-sheet,
   #motion, #stories, #stills). Behavior: the Triptych block in site.js. */
.tp, .tp-sheet { --bar: 8px; }
.tp { display: flex; flex-direction: column; height: 100svh;
  /* Band label size, the gap after its number, and where the label's ink starts: the menu logo
     lines up with that edge. .0263em is the left side bearing of Archivo's S at width 62. */
  --tp-h2: clamp(48px, 7.4vw, 136px); --tp-gap: 18px; --tp-indent: calc(15px + var(--tp-gap) + var(--tp-h2) * .0263); }
/* The site's own menu (build.py's nav), here as the first row of the screen instead of floating. */
.tp > .nav { position: relative; flex: none; background: none; }
.tp > .nav .nav-logo { margin-left: var(--tp-indent); }
.tp-sheet-bar .logo { height: 21px; width: auto; }
.tp-bands { position: relative; flex: 1; display: flex; flex-direction: column; min-height: 0; }
/* Ten photographs, one showing (.on). site.js readies the next one ahead of time; until then
   the waiting ones stay display:none, so loading="lazy" doesn't fetch them. The incoming
   photograph dissolves in on top of the outgoing one (.was), which then drops away unseen. */
.tp-hero { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.tp-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.8s ease; }
.tp-hero img:not(.on, .was, .ready) { display: none; }
.tp-hero img.on { z-index: 1; opacity: 1; }
.tp-hero img.was { opacity: 1; }
.tp-cap { position: absolute; right: var(--g); bottom: 22px; z-index: 2; display: flex; gap: 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 1px 10px rgba(0, 0, 0, .7); pointer-events: none; transition: opacity .4s; }
.tp-cap span:first-child { font-family: var(--mono); letter-spacing: 0; opacity: .8; }
.tp-cap b { font-weight: inherit; }
.tp-bands:has(.tp-band.live) .tp-cap { opacity: 0; }
.tp-dim { position: absolute; inset: 0; background: rgba(11, 11, 10, .28); transition: background-color .6s; }
.tp-bands:has(.tp-band.live) .tp-dim { background: rgba(11, 11, 10, .6); }
.tp-band { position: relative; flex: 1 1 0; min-height: 0; display: flex; align-items: center; padding: 0 var(--g); overflow: hidden; transition: flex-grow .8s cubic-bezier(.2, .7, .2, 1); }
.tp-band + .tp-band { border-top: var(--bar) solid var(--bg); }
.tp-band.live { flex-grow: 2.5; }
.tp-media { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.tp-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 11, 10, .62), rgba(11, 11, 10, .1) 55%, rgba(11, 11, 10, .35)); }
.tp-band.live .tp-media { opacity: 1; }
.tp-item { position: absolute; inset: 0; opacity: 0; }
.tp-item.on { opacity: 1; }
.tp-fade .tp-item { transition: opacity 1s ease; }
.tp-item img, .tp-item video { width: 100%; height: 100%; object-fit: cover; }
.tp-label { position: relative; z-index: 2; display: flex; align-items: baseline; gap: var(--tp-gap); }
.tp-n { flex: none; width: 15px; font-family: var(--mono); font-size: 12px; line-height: 1; opacity: .8; }
.tp-label h2 { font-size: var(--tp-h2); font-weight: 600; font-variation-settings: 'wdth' 62; line-height: .86; text-transform: uppercase; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); transition: color .4s; }
.tp-band.live h2 { color: #fff; }
/* M starts further in than S; pull MOTION back so all three labels share one left edge. */
.tp-band[href="#motion"] h2 { margin-left: -.028em; }
.tp-count { font-size: 14px; opacity: .8; }
.tp-band.live .tp-count { color: var(--amber); opacity: 1; }
.tp-live { position: absolute; right: var(--g); bottom: 22px; z-index: 2; display: flex; align-items: center; gap: 9px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 1px 10px rgba(0, 0, 0, .7); opacity: 0; transition: opacity .4s; }
.tp-band.live .tp-live { opacity: 1; }
.tp-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 10px var(--rec); }
.tp-live b { margin-left: 18px; padding: 7px 12px; border: 1px solid rgba(236, 231, 223, .55); border-radius: 999px; font-weight: 500; letter-spacing: .1em; transition: color .2s, border-color .2s; }
.tp-band:hover .tp-live b { border-color: var(--amber); color: var(--amber); }
.tp-foot { display: flex; align-items: center; gap: 28px; flex: none; height: 44px; padding: 0 var(--g); overflow: hidden; }
.tp-foot h1 { flex: none; font-size: 13px; font-weight: 600; }
.tp-ticker { display: flex; overflow: hidden; white-space: nowrap; color: var(--mute); font-size: 13px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tp-ticker span { flex: none; padding-right: .3em; }
.tp-contact { flex: none; margin-left: auto; font-size: 13px; border-bottom: 1px solid var(--amber); }
.tp-contact:hover { color: var(--amber); }

/* The page behind each band; site.js grows it out of its band with clip-path. */
.tp-sheet { position: fixed; inset: 0; z-index: 30; overflow-y: auto; background: var(--bg); visibility: hidden; clip-path: inset(0); transition: clip-path 1s cubic-bezier(.7, 0, .2, 1); }
.tp-sheet.open { visibility: visible; }
.tp-sheet-bar { position: sticky; top: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; height: 72px; margin-bottom: -72px; padding: 0 var(--g); font-size: 14px; background: linear-gradient(rgba(11, 11, 10, .85), rgba(11, 11, 10, 0)); }
.tp-sheet-bar b { font-weight: 400; font-size: 18px; margin-left: 6px; vertical-align: -2px; }
.tp-sheet-bar a:hover { color: var(--amber); }
.tp-sheet-hero { position: relative; height: 74svh; overflow: hidden; }
.tp-sheet-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tp-sheet-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(11, 11, 10, .5), rgba(11, 11, 10, 0) 30%, rgba(11, 11, 10, .15) 55%, var(--bg)); }
.tp-sheet-title { position: absolute; left: var(--g); right: var(--g); bottom: 4vh; z-index: 1; display: grid; grid-template-columns: auto auto 1fr; align-items: baseline; gap: 18px; }
.tp-sheet-title h2 { font-size: clamp(56px, 10vw, 180px); font-weight: 600; font-variation-settings: 'wdth' 62; line-height: .85; text-transform: uppercase; }
.tp-sheet-title p { justify-self: end; max-width: 44ch; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.tp-sheet-body { padding: 6vh var(--g) 0; }
.tp-films { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 22px; }
.tp-film { display: grid; gap: 4px; align-content: start; }
.tp-film video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 10px; background: #1d1b19; }
.tp-film b, .tp-story b { font-size: 22px; font-weight: 600; font-variation-settings: 'wdth' 62; line-height: 1.05; text-transform: uppercase; transition: color .2s; }
.tp-film span { color: var(--mute); }
.tp-film:hover b, .tp-story:hover b { color: var(--amber); }
/* Stories: photo cards, the client's logo pinned on each and the client named above the title.
   Every fifth card runs wide, so the grid alternates two-up and three-up rows. */
.tp-stories { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 44px 14px; }
.tp-story { grid-column: span 2; display: grid; gap: 6px; align-content: start; }
.tp-story:nth-child(5n + 1) { grid-column: span 4; }
.tp-story-img { position: relative; display: block; overflow: hidden; margin-bottom: 8px; background: #1d1b19; }
.tp-story-img > img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.tp-story:nth-child(5n + 1) .tp-story-img > img { aspect-ratio: 16 / 9; }
.tp-story:hover .tp-story-img > img { transform: scale(1.04); }
/* Client logo on a light tile: a fixed height, as wide as the logo needs (wide wordmarks cap at 150px). */
.tp-badge { position: absolute; left: 12px; top: 12px; display: flex; align-items: center; justify-content: center; height: 68px; min-width: 68px; padding: 9px 12px; background: var(--ink); border-radius: 4px; box-shadow: 0 4px 18px rgba(0, 0, 0, .35); }
.tp-badge img { display: block; width: auto; height: 100%; max-width: 150px; object-fit: contain; mix-blend-mode: multiply; }
.tp-badge-name { max-width: 128px; color: #111; font-size: 15px; font-weight: 800; font-variation-settings: 'wdth' 62; text-transform: uppercase; line-height: 1.05; text-align: center; }
.tp-story-client { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.tp-story b { font-size: clamp(22px, 2vw, 30px); }
.tp-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tp-filter button { padding: 8px 16px; border: 1px solid rgba(236, 231, 223, .3); border-radius: 999px; font-size: 13px; }
.tp-filter button[aria-pressed="true"] { border-color: var(--amber); background: var(--amber); color: var(--bg); }
.tp-grid { columns: 4; column-gap: 12px; }
.tp-grid figure { position: relative; margin: 0 0 12px; break-inside: avoid; }
.tp-grid img { width: 100%; height: auto; }
.tp-grid figcaption { position: absolute; left: 10px; bottom: 8px; font-size: 12px; text-shadow: 0 1px 8px rgba(0, 0, 0, .7); opacity: 0; transition: opacity .3s; }
.tp-grid figure:hover figcaption, .tp-grid figure:focus-within figcaption { opacity: 1; }
.tp-more { display: block; width: max-content; margin: 9vh auto 18vh; padding: 12px 22px; border: 1px solid rgba(236, 231, 223, .4); border-radius: 999px; font-size: 14px; transition: color .2s, border-color .2s; }
.tp-more:hover { border-color: var(--amber); color: var(--amber); }

/* Only when motion is welcome: the bands open like a shutter, the photo drifts, REC blinks,
   the client list scrolls. (Under reduced motion the shutter must not run at all, or the
   bands would stay covered.) */
@media (prefers-reduced-motion: no-preference) {
  .tp-band::after { content: ""; position: absolute; inset: 0; z-index: 5; background: var(--bg); pointer-events: none; animation: tp-shutter 1.1s cubic-bezier(.7, 0, .2, 1) both; }
  .tp-band:nth-of-type(1)::after { animation-delay: .25s; }
  .tp-band:nth-of-type(2)::after { animation-delay: .45s; }
  .tp-band:nth-of-type(3)::after { animation-delay: .65s; }
  .tp-hero img { animation: tp-push 30s ease-in-out infinite alternate; }
  .tp-live i { animation: tp-rec 1.2s steps(1) infinite; }
  .tp-ticker span { animation: tp-tick 60s linear infinite; }
}
@keyframes tp-shutter { to { transform: scaleY(0); } }
@keyframes tp-push { to { transform: scale(1.07); } }
@keyframes tp-rec { 50% { opacity: .15; } }
@keyframes tp-tick { to { transform: translateX(-100%); } }

@media (max-width: 760px) {
  .tp, .tp-sheet { --bar: 6px; }
  .tp-sheet-bar { height: 60px; margin-bottom: -60px; }
  .tp-sheet-bar .logo { height: 17px; }
  .tp-band { align-items: flex-end; padding-bottom: 14px; }
  .tp { --tp-h2: 44px; --tp-gap: 12px; }
  .tp-label { flex-wrap: wrap; row-gap: 4px; }
  .tp-live { top: 12px; bottom: auto; left: var(--g); font-size: 10.5px; }
  .tp-live b { display: none; }
  .tp-cap { display: none; }
  .tp-foot h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tp-sheet-title { grid-template-columns: auto 1fr; }
  .tp-sheet-title p { grid-column: 1 / -1; justify-self: start; }
  .tp-films { grid-template-columns: 1fr; }
  .tp-stories { grid-template-columns: 1fr; gap: 34px; }
  .tp-story, .tp-story:nth-child(5n + 1) { grid-column: auto; }
  .tp-badge { height: 56px; padding: 8px 10px; }
  .tp-badge img { max-width: 120px; }
  .tp-grid { columns: 2; column-gap: 8px; }
}

/* ---------- full-screen heroes on inner pages: copy and the reel button ---------- */
.hero-copy { position: absolute; z-index: 3; left: var(--g); right: var(--g); bottom: clamp(56px, 9vh, 110px); }
.hero-copy h1 { font-size: clamp(56px, 7.6vw, 140px); line-height: .82; letter-spacing: -.005em; margin: 14px 0 26px; }
.hero-copy h1 em { font-style: normal; color: var(--amber); }
.play { display: inline-flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 600; }
.play b { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--ink); color: #111; font-size: 16px; transition: transform .25s, background .25s; }
.play:hover b { transform: scale(1.08); background: var(--amber); }

/* ---------- project cards (work indexes and next-project links) ---------- */
.card { flex: 0 0 clamp(270px, 40vw, 600px); scroll-snap-align: start; position: relative; overflow: hidden; background: #151413; }
.card img, .card video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(.6) brightness(.85); transition: filter .45s, transform .7s; }
.card:hover img, .card:hover video, .card:focus-visible img, .card:focus-visible video { filter: none; transform: scale(1.035); }
.card-cap { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; align-items: end; gap: 12px; padding: 16px; background: linear-gradient(transparent, rgba(0, 0, 0, .82)); }
.card-cap .cond { font-size: clamp(22px, 2.4vw, 34px); line-height: .95; transition: color .3s; }
.card:hover .card-cap .cond { color: var(--amber); }
.card-cap .mono { color: #bdb6aa; white-space: nowrap; }

/* ---------- footer ---------- */
.foot { padding: 110px var(--g) 48px; border-top: 1px solid var(--line); }
.foot-big { display: block; white-space: nowrap; font-size: clamp(60px, 16vw, 300px); line-height: .8; margin-top: 18px; transition: color .3s; }
.foot-big:hover { color: var(--amber); }
.foot-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--mute); }
.foot-row a:hover { color: var(--ink); }
.foot-row .foot-contact { color: var(--ink); border-bottom: 1px solid var(--amber); }
.foot-logo { height: 13px; width: auto; opacity: .9; }

/* ---------- reel lightbox ---------- */
.reel-dialog { border: 0; padding: 0; background: transparent; width: min(92vw, 1280px); max-width: none; max-height: none; margin: auto; overflow: visible; }
.reel-dialog::backdrop { background: rgba(0, 0, 0, .92); }
.reel-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.reel-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel-close { position: absolute; right: 0; bottom: calc(100% + 12px); color: var(--ink); padding: 6px 0; }
.reel-close:hover { color: var(--amber); }

/* ---------- 404 ---------- */
.lost { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 120px var(--g) 64px; }
.lost h1 { font-size: clamp(64px, 14vw, 220px); line-height: .82; margin: 16px 0 28px; }
.lost h1 em { font-style: normal; color: var(--amber); }
.lost p:not(.mono) { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 520px; margin-bottom: 32px; }
.lost .btn { align-self: flex-start; }

/* ================================================================
   Inner pages (generated by scripts/build.py)
   ================================================================ */

/* ---------- page header ---------- */
.page-head { padding: 150px var(--g) 56px; }
.page-head h1 { font-size: clamp(64px, 12vw, 200px); line-height: .84; margin-top: 14px; }
.page-intro { max-width: 620px; margin-top: 24px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--ink-2); }

/* ---------- project and gallery grid ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 0 var(--g) 120px; }
.work-grid .card:first-child { grid-column: 1 / -1; }
.work-grid .card:first-child .card-cap .cond { font-size: clamp(30px, 4vw, 64px); }
@media (max-width: 760px) { .work-grid { grid-template-columns: 1fr; } }

/* ---------- project page ---------- */
.proj-hero { position: relative; height: 88svh; min-height: 520px; overflow: hidden; background: #000; }
.proj-hero > img, .proj-hero > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.proj-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 10, .45) 0%, rgba(11, 11, 10, 0) 30%, rgba(11, 11, 10, .25) 60%, rgba(11, 11, 10, .95) 100%); }
.proj-hero-copy { position: absolute; z-index: 2; left: var(--g); right: var(--g); bottom: clamp(32px, 7vh, 80px); }
.proj-hero-copy .mono { color: var(--ink-2); }
.proj-hero h1 { font-size: clamp(52px, 10vw, 180px); line-height: .84; margin-top: 12px; }

.next { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 32px; align-items: end; border-top: 1px solid var(--line); padding: 72px var(--g) 110px; }
.next-title { display: block; font-size: clamp(40px, 6vw, 96px); line-height: .88; margin-top: 12px; transition: color .3s; }
.next-title:hover { color: var(--amber); }
@media (max-width: 760px) { .next { grid-template-columns: 1fr; } }

/* ---------- long-form text (projects, posts) ---------- */
.prose { max-width: 760px; margin: 0 auto; padding: 72px var(--g) 64px; font-size: 19px; line-height: 1.65; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { color: var(--ink); font-weight: 800; font-variation-settings: 'wdth' 62; text-transform: uppercase; font-size: clamp(30px, 3.6vw, 48px); line-height: .95; margin-top: 1.6em; }
.prose h3, .prose h4 { color: var(--ink); font-size: 22px; line-height: 1.3; font-weight: 700; margin-top: 1.4em; }
.prose strong { color: var(--ink); }
.prose a:not(.button) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }
.prose a:not(.button):hover { color: var(--amber); }
.prose a.button { display: inline-block; border: 1px solid var(--ink); border-radius: 999px; padding: 12px 20px; font-size: 15px; font-weight: 600; color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.prose a.button:hover { background: var(--amber); border-color: var(--amber); color: #111; }
.prose ul, .prose ol { padding-left: 1.2em; }

/* Doza Assist: the open source version and the app side by side, an aside and a comparison. */
.prose .assist-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 2em 0; }
.prose .assist-path { padding: 22px 22px 18px; border: 1px solid var(--line); border-radius: 6px; }
.prose .assist-path h3 { margin-top: .3em; }
.prose .assist-path p { margin: .6em 0; }
.prose .assist-app { border-color: var(--amber); }
.prose .assist-small { color: var(--mute); font-size: 14px; }
.prose .assist-note { margin: 2.4em 0; padding: 18px 22px; border-left: 3px solid var(--amber); background: rgba(236, 231, 223, .05); }
.prose .assist-note p { margin: 0; }
.prose .assist-compare { width: 100%; margin: 1.6em 0; border-collapse: collapse; font-size: 15px; }
.prose .assist-compare th, .prose .assist-compare td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose .assist-compare thead th { color: var(--ink); font-weight: 700; }
.prose .assist-compare tbody th { color: var(--ink); font-weight: 500; }
@media (max-width: 640px) {
  .prose .assist-paths { grid-template-columns: 1fr; }
  .prose .assist-compare { font-size: 13.5px; }
  .prose .assist-compare th, .prose .assist-compare td { padding: 9px 6px; }
}
.prose li + li { margin-top: .45em; }
.prose blockquote { border-left: 2px solid var(--amber); padding-left: 20px; font-size: 22px; color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
/* Media breaks out of the text column. */
.prose > figure, .prose > img, .prose > video, .prose > .gallery { position: relative; left: 50%; transform: translateX(-50%); width: min(1200px, calc(100vw - 2 * var(--g))); max-width: none; }
.prose > * + figure, .prose > * + .gallery, .prose > * + img { margin-top: 2em; }
.prose figure + *, .prose .gallery + * { margin-top: 2em; }
.prose img, .prose video { width: 100%; height: auto; }
.prose figcaption { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-top: 12px; }
.prose figcaption p { margin: 0; }
.prose .video iframe, .prose .embed iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.prose .gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; align-items: start; }
.prose .gallery figure { margin: 0; }
.prose .gallery > :last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 560px) { .prose { font-size: 17px; } .prose .gallery { grid-template-columns: 1fr; } }
.zoomable { cursor: zoom-in; }

/* ---------- landing pages (Arts & Culture, Content Partner, Executive Portraits, AI Storytelling) ----------
   Full-width sections in a fixed order, each with a small amber label: intro and buttons, client
   logos, cards for what's offered, rows of work (media beside its words), photos, questions, and
   one call to action at the end. Written as <section class="lp-…"> in the page's content file. */
.lp { padding: 0 var(--g) 24px; font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.lp > section { max-width: 1240px; margin: 0 auto; padding: clamp(56px, 9vh, 104px) 0; }
.lp > section + section { border-top: 1px solid var(--line); }
.lp h2 { color: var(--ink); font-weight: 800; font-variation-settings: 'wdth' 62; text-transform: uppercase; font-size: clamp(34px, 4.4vw, 64px); line-height: .92; }
.lp h3 { color: var(--ink); font-size: 22px; line-height: 1.25; font-weight: 700; }
.lp strong { color: var(--ink); }
.lp p + p, .lp h2 + p, .lp h3 + p { margin-top: .9em; }
.lp ul { padding-left: 1.2em; margin-top: .8em; } .lp li + li { margin-top: .4em; }
.lp a:not(.button) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }
.lp a:not(.button):hover { color: var(--amber); }
.lp a.button { display: inline-block; border: 1px solid var(--ink); border-radius: 999px; padding: 12px 20px; font-size: 15px; font-weight: 600; color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.lp a.button:hover, .lp a.button.solid { background: var(--amber); border-color: var(--amber); color: #111; }
.lp a.button.solid:hover { background: var(--ink); border-color: var(--ink); }
.lp-label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 18px; }
.lp .lp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.lp img, .lp video { display: block; width: 100%; height: auto; }
.lp .video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.lp figcaption { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-top: 10px; }
.lp-lede { max-width: 62ch; }
.lp .lp-after { margin-top: 40px; }
.lp-big { color: var(--ink); font-size: clamp(20px, 1.7vw, 24px); line-height: 1.4; font-weight: 600; }
/* intro, and About: a headline (or photo) beside the words */
.lp-intro, .lp-about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 84px); align-items: start; }
.lp-intro h2 { font-size: clamp(38px, 4.8vw, 72px); }
.lp-intro > :last-child { padding-top: 6px; }
.lp-about > figure { position: sticky; top: 96px; }
/* client logos */
.lp-logos .logo-wall { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
/* cards: what's offered, how it works */
.lp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 34px 26px; margin-top: 44px; }
.lp-card { border-top: 2px solid var(--amber); padding-top: 18px; font-size: 16px; }
.lp-card h3 { font-size: 20px; margin-bottom: 8px; }
/* rows of work, media and words side by side, alternating */
.lp-rows { display: grid; gap: clamp(56px, 9vh, 104px); margin-top: 44px; }
.lp-row { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.lp-row:nth-child(even) > .lp-media { order: 2; }
.lp-row h3 { font-size: clamp(24px, 2.4vw, 32px); }
.lp-quote { border-left: 2px solid var(--amber); padding-left: 18px; color: var(--ink); font-size: 19px; }
/* photos, loops, small video sets */
.lp-gallery { columns: 3 300px; column-gap: 8px; margin-top: 40px; }
.lp-shot { margin: 0 0 8px; break-inside: avoid; }
.lp-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 40px; }
.lp-trio + .lp-trio { margin-top: 8px; }
.lp-portraits .video iframe { aspect-ratio: 3 / 4; }  /* the Living Portraits are vertical */
/* questions */
.lp-faq .faq { max-width: none; padding: 0; margin-top: 30px; }
.lp-faq summary { font-size: clamp(22px, 2.4vw, 34px); }
/* the call to action that ends every landing page */
.lp-cta { text-align: center; }
.lp-cta h2 { font-size: clamp(44px, 7vw, 112px); }
.lp-cta p { max-width: 600px; margin-left: auto; margin-right: auto; }
.lp-cta .lp-actions { justify-content: center; }
.lp-cta .lp-badge { max-width: 520px; margin: 48px auto 0; opacity: .9; }
@media (max-width: 860px) {
  .lp-intro, .lp-about, .lp-row { grid-template-columns: 1fr; }
  .lp-about > figure { position: static; }
  .lp-row:nth-child(even) > .lp-media { order: 0; }
  .lp-trio { grid-template-columns: 1fr; }
}

/* ---------- stills gallery ---------- */
.stills-grid { columns: 3 320px; column-gap: 8px; padding: 0 var(--g) 110px; }
.stills-grid img { display: block; width: 100%; height: auto; margin-bottom: 8px; break-inside: avoid; background: #151413; }

/* ---------- photo lightbox ---------- */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100svh; max-width: none; max-height: none; background: transparent; display: none; place-items: center; }
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: rgba(0, 0, 0, .95); }
.lightbox img { max-width: calc(100vw - 2 * var(--g) - 96px); max-height: calc(100svh - 120px); width: auto; height: auto; object-fit: contain; }
.lb-btn { position: fixed; color: var(--ink); padding: 12px; font-size: 22px; }
.lb-btn:hover { color: var(--amber); }
.lb-close { top: 16px; right: var(--g); font-size: 11px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-count { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); color: var(--mute); }
@media (max-width: 640px) { .lightbox img { max-width: 100vw; } .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; } }

/* ---------- blog ---------- */
.blog-wrap { padding: 0 var(--g) 120px; }
.post-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 4vw, 56px); align-items: end; padding-bottom: 72px; border-bottom: 1px solid var(--line); }
.post-feature-copy { display: flex; flex-direction: column; gap: 16px; }
.post-feature .post-title { font-size: clamp(36px, 4.6vw, 72px); line-height: .9; }
.post-excerpt { font-size: 18px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 760px) { .post-feature { grid-template-columns: 1fr; } }
.post-img { display: block; overflow: hidden; background: #151413; }
.post-img img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; filter: saturate(.75); transition: filter .4s, transform .7s; }
.post-feature:hover img, .post-card:hover img { filter: none; transform: scale(1.03); }
.post-feature:hover .post-title, .post-card:hover .post-title { color: var(--amber); }
.post-title { transition: color .3s; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; }
.post-card { display: flex; flex-direction: column; gap: 12px; }
.post-card .post-title { font-size: clamp(22px, 2vw, 30px); line-height: .95; }
.year-row { grid-column: 1 / -1; font-size: clamp(40px, 5vw, 72px); line-height: 1; color: var(--mute); border-top: 1px solid var(--line); padding-top: 20px; margin-top: 40px; }
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .post-grid { grid-template-columns: 1fr; } }

.post-head { max-width: 1200px; margin: 0 auto; padding: 150px var(--g) 48px; }
.post-head a:hover { color: var(--amber); }
.post-head h1 { font-size: clamp(44px, 6.5vw, 104px); line-height: .9; margin-top: 16px; }
.post-hero { width: min(1200px, calc(100vw - 2 * var(--g))); margin: 0 auto; }
.post-hero img { width: 100%; height: auto; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; max-width: 760px; margin: 0 auto; padding: 0 var(--g) 80px; color: var(--mute); }
.post-tags span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.more-posts { border-top: 1px solid var(--line); padding: 64px var(--g) 110px; }
.more-posts > h2 { margin-bottom: 28px; }

/* ---------- about ---------- */
.about-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); align-items: center; padding: 140px var(--g) 110px; }
.about-hero > img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.about-hero h1 { font-size: clamp(64px, 10vw, 160px); line-height: .84; margin: 14px 0 28px; }
.about-bio p { font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 620px; }
.about-bio p + p { margin-top: 1em; }
@media (max-width: 760px) { .about-hero { grid-template-columns: 1fr; padding-top: 110px; } }
.about-block { border-top: 1px solid var(--line); padding: 64px var(--g); }
.about-block > h2 { margin-bottom: 28px; }
.about-services { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.about-services li { font-size: clamp(32px, 5vw, 72px); line-height: 1; }
.about-banner { margin-top: 40px; max-width: 720px; }
.about-banner img { width: 100%; height: auto; }
.ledger { border-top: 1px solid var(--line); }
.ledger li { display: grid; grid-template-columns: minmax(90px, 220px) 1fr; gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 18px; line-height: 1.45; color: var(--ink-2); }
.ledger .mono { color: var(--amber); }
.ledger a { color: var(--ink); }
.ledger a:hover { color: var(--amber); }
@media (max-width: 560px) { .ledger li { grid-template-columns: 1fr; gap: 6px; } }
.bts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 8px; }
.bts-grid img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.bts-grid figcaption { color: var(--mute); margin-top: 12px; line-height: 1.6; }
@media (max-width: 860px) { .bts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bts-grid { grid-template-columns: 1fr; } }

/* ---------- logo walls (Clients, and logo rows inside pages) ----------
   Logos sit on light tiles, in their own colors. multiply hides white backgrounds and keeps
   black logos crisp. */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px; }
.logo-tile { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--ink); transition: background .3s; }
/* Pinned inside the tile, so tall or square logos can't stretch the row. */
.logo-wall img, .logo-wall video, .prose .logo-wall img { position: absolute; top: 18%; left: 15%; width: 70%; height: 64%; max-width: none; object-fit: contain; mix-blend-mode: multiply; }
a.logo-tile:hover { background: #fff; }
.logo-page { padding: 0 var(--g) 120px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.prose > .logo-wall { position: relative; left: 50%; transform: translateX(-50%); width: min(1200px, calc(100vw - 2 * var(--g))); margin-top: 2em; }
@media (max-width: 560px) { .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- FAQ ---------- */
.faq { max-width: 1100px; padding: 0 var(--g); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 26px 0; font-size: clamp(24px, 2.8vw, 42px); line-height: 1; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--mono); font-weight: 400; color: var(--amber); font-size: 26px; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--amber); }
.faq-a { max-width: 760px; padding: 0 0 30px; font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.faq-a > * + * { margin-top: 1em; }
.faq-a a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--amber); }
.faq-more { padding: 48px var(--g) 110px; font-size: 18px; color: var(--ink-2); }
.faq-more a { color: var(--ink); border-bottom: 2px solid var(--amber); }
.faq-more a:hover { color: var(--amber); }

/* ---------- small additions ---------- */
.motion-grid .card:first-child { grid-column: auto; }
.motion-grid .card:first-child .card-cap .cond { font-size: clamp(22px, 2.4vw, 34px); }
.page-actions { padding: 0 var(--g) 48px; }
.hero-caption { margin-top: 18px; color: var(--ink-2); }
.foot-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; margin-top: 72px; }
.foot-links div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.foot-links .mono { color: var(--mute); margin-bottom: 4px; }
.foot-links a { font-size: 15px; color: var(--ink-2); transition: color .2s; }
.foot-links a:hover { color: var(--amber); }
@media (max-width: 640px) { .foot-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- the doza process ---------- */
.process { padding: 0 var(--g) 40px; }
.process-lede { font-size: clamp(34px, 5vw, 80px); line-height: .9; max-width: 1100px; color: var(--amber); }
.phases { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 48px 0 14px; }
.phases li { display: flex; flex-direction: column; gap: 8px; padding: 18px 16px; background: var(--bg); }
.phases .mono { color: var(--amber); }
.phases .cond { font-size: clamp(20px, 2vw, 28px); line-height: 1; }
.steps { margin-top: 72px; border-top: 1px solid var(--line); }
.steps > li { display: grid; grid-template-columns: 120px minmax(0, 760px); gap: 24px; padding: 44px 0; border-bottom: 1px solid var(--line); }
.step-n { font-size: clamp(28px, 4vw, 56px); color: var(--amber); letter-spacing: 0; line-height: 1; }
.steps h2 { font-size: clamp(32px, 4vw, 60px); line-height: .9; }
.steps p, .steps li li { font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.steps p { margin-top: 12px; }
.steps .step-sub { color: var(--ink); font-weight: 600; }
.steps ul { margin-top: 14px; padding-left: 1.2em; }
.steps li li + li { margin-top: .35em; }
.steps .step-note { font-size: 11px; color: var(--mute); margin-top: 18px; }
@media (max-width: 640px) { .steps > li { grid-template-columns: 1fr; gap: 12px; } }
.process-ongoing { max-width: 760px; margin: 72px 0 0 144px; }
.process-ongoing h2 { font-size: clamp(32px, 4vw, 60px); line-height: .9; }
.process-ongoing p { font-size: 18px; line-height: 1.6; color: var(--ink-2); margin-top: 14px; }
.process-ongoing .btn { display: inline-block; margin-top: 10px; }
@media (max-width: 640px) { .process-ongoing { margin-left: 0; } }
.process-faq { padding: 64px 0 110px; }
.process-faq > h2 { padding: 0 var(--g) 20px; }

/* ---------- contact ---------- */
.contact { min-height: 82svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px clamp(32px, 6vw, 96px); align-items: center; padding: 150px var(--g) 80px; }
.contact-intro { display: flex; flex-direction: column; gap: 24px; }
.contact-thanks { display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.contact h1 { font-size: clamp(64px, 9vw, 160px); line-height: .84; }
.contact-or { color: var(--ink-2); }
.contact-or a { color: var(--ink); border-bottom: 2px solid var(--amber); }
.contact-or a:hover { color: var(--amber); }
/* the form */
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.contact-form label { display: grid; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.contact-form label em { margin-left: 6px; font-style: normal; color: var(--mute); letter-spacing: .08em; text-transform: none; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 13px 14px; border: 1px solid rgba(236, 231, 223, .25); border-radius: 4px; background: rgba(236, 231, 223, .04); color: var(--ink); font-family: 'Archivo', system-ui, sans-serif; font-size: 16px; line-height: 1.4; letter-spacing: 0; text-transform: none; transition: border-color .2s, background .2s; }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--amber) 50%), linear-gradient(135deg, var(--amber) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.contact-form option { background: var(--bg); color: var(--ink); }
.contact-form :is(input, select, textarea):focus { outline: none; border-color: var(--amber); background: rgba(236, 231, 223, .07); }
.contact-wide { grid-column: 1 / -1; }
.contact-send { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.contact-send .btn { padding: 14px 28px; font-size: 15px; background: var(--amber); border-color: var(--amber); color: #111; cursor: pointer; }
.contact-send .btn:hover { background: var(--ink); border-color: var(--ink); }
.contact-send .btn[disabled] { opacity: .6; cursor: wait; }
.contact-status { color: var(--ink-2); font-size: 15px; }
.contact-status a { color: var(--ink); border-bottom: 1px solid var(--amber); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; padding-top: 120px; } }
@media (max-width: 560px) { .contact-form { grid-template-columns: 1fr; } }
.contact-text { max-width: 640px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); }
.contact-email { align-self: flex-start; font-size: clamp(28px, 5.2vw, 76px); font-weight: 700; letter-spacing: -.01em; border-bottom: 3px solid var(--amber); padding-bottom: 6px; overflow-wrap: anywhere; transition: color .2s; }
.contact-email:hover { color: var(--amber); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  /* The homepage photographs still change, by dissolving: a fade doesn't move, so it stays
     (more specific than the rule above, so this !important wins). */
  .tp-hero img { transition: opacity 1.8s ease !important; }
}
