/* Osorod — shared styles for every page.
   Layout: gallery wall. Real type up top, photographs carry the page, captions set like a contact sheet. */
:root {
  --paper: #f4f4f1;
  --paper-2: #e9e9e5;
  --ink: #121315;
  --muted: #5c5e65;
  --line: #d6d6d1;
  --accent: #c0306f;      /* Miami pink, deepened for contrast */
  --on-accent: #ffffff;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;   /* set expanded (font-stretch 112–125%) */
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Fragment Mono", ui-monospace, Menlo, monospace;
  --wide: 125%;
  --semi: 112%;
  --wrap: 1240px;
  --logo-filter: brightness(0);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1012; --paper-2: #18191c; --ink: #eeede9; --muted: #a2a3a9;
    --line: #2a2b30; --accent: #f27aae; --on-accent: #16070e; color-scheme: dark;
    --logo-filter: brightness(0) invert(1);
  }
}
:root[data-theme="dark"] {
  --paper: #0f1012; --paper-2: #18191c; --ink: #eeede9; --muted: #a2a3a9;
  --line: #2a2b30; --accent: #f27aae; --on-accent: #16070e; color-scheme: dark;
  --logo-filter: brightness(0) invert(1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.wrap {
  max-width: var(--wrap); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); }
}
.label {
  font: 400 0.75rem/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; }
h1, h2 { font-weight: 300; font-stretch: var(--wide); letter-spacing: -0.03em; }
h3 { font-weight: 600; font-stretch: var(--semi); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); line-height: 1.04; }
h1 b, h2 b { font-weight: 800; }
p { margin: 0; }

/* ---------- Header & menu ---------- */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 12px; }
/* The logo artwork is a mask filled with the text color, so it turns light in dark mode. */
.logo {
  display: block; flex: none; height: 40px; aspect-ratio: 1239 / 762; max-width: 100%;
  background: currentColor;
  -webkit-mask: url("img/logo.png") center / contain no-repeat;
  mask: url("img/logo.png") center / contain no-repeat;
}
.nav { display: flex; align-items: center; gap: 28px; font-size: 0.95rem; }
.nav .links { display: flex; gap: 28px; }
.nav .links a { text-decoration: none; padding-block: 4px; border-bottom: 1px solid transparent; }
.nav .links a:hover { color: var(--accent); }
.nav .links a[aria-current="page"] { border-bottom-color: var(--ink); }
.menu-btn {
  display: none; font: 600 0.95rem/1 var(--body); color: var(--ink);
  background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 0.7em 1.1em; cursor: pointer;
}
.mobile-menu { display: none; }
@media (max-width: 760px) {
  .nav .links { display: none; }
  .menu-btn { display: inline-flex; }
  .top .mobile-menu { display: block; border-top: 1px solid var(--line); }   /* stacked, not the header’s side-by-side row */
  .mobile-menu ul { list-style: none; margin: 0; padding: 8px 0 0; display: grid; }
  /* same look as the computer menu: plain text, the current page underlined */
  .mobile-menu li a {
    display: block; text-decoration: none; font: 500 1.2rem/1.2 var(--body);
    padding-block: 16px; border-bottom: 1px solid var(--line);
  }
  .mobile-menu li a[aria-current="page"] { text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1px; }
  .mobile-menu .btn { margin-block: 24px 28px; }
  .nav .btn { display: none; }
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0.7em 1.25em; border-radius: 999px;
  background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  border: 1px solid var(--ink); cursor: pointer; font-family: var(--body);
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); background: transparent; color: var(--ink); }
.more { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.more:hover { color: var(--accent); }

/* ---------- Shared blocks ---------- */
figure { margin: 0; }
.photo { position: relative; overflow: hidden; background: var(--paper-2); }
/* Images are never cropped: every photo keeps its own proportions. */
.photo img { display: block; width: 100%; height: auto; }
/* Design pieces (menus, flyers, boards) sit on a backing like a framed print, shown whole. */
.photo.mat { aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 7%; }
.photo.mat img { width: auto; height: auto; max-width: 100%; max-height: 100%; box-shadow: 0 6px 22px rgba(0, 0, 0, 0.14); }
/* Photos side by side: each column is as wide as its photo's proportions (set inline), so heights match. */
.row { display: grid; gap: 16px; align-items: start; }
.row figure { margin: 0; min-width: 0; }
@media (max-width: 640px) { .row { grid-template-columns: minmax(0, 1fr) !important; } }
figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 10px; }

section { scroll-margin-top: 80px; }
.sec .wrap { padding-block: 88px; }
.sec.tint { background: var(--paper-2); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 40px; margin-bottom: 44px; }
.sec-head p { max-width: 42ch; color: var(--muted); }

.page-head .wrap { padding-block: 64px 48px; display: grid; gap: 20px; }
.page-head h1 { font-size: clamp(2.4rem, 6.6vw, 4.8rem); line-height: 1; }
.page-head p.lede { font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.5; max-width: 52ch; color: var(--muted); }

/* ---------- Home ---------- */
.hero .wrap { display: grid; gap: 40px; padding-block: 56px 72px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) {
  .hero .wrap { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: end; gap: 56px; padding-block: 80px 96px; }
}
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.5rem); line-height: 1; margin-top: 20px; }
.hero h1 > span { display: block; }
.hero h1 .dot { color: var(--accent); }
.hero .lede { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.45; max-width: 30ch; margin-top: 28px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .copy { min-width: 0; }
.hero figure .photo { aspect-ratio: 4 / 3.3; max-width: 100%; }
.hero figure .photo img { object-position: 64% center; }

.clients-strip { border-block: 1px solid var(--line); }
.clients-strip .wrap { display: grid; gap: 24px; padding-block: 28px 32px; }
.clients-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
.logos { --s: 1; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 8px; }
.logos li { min-width: 140px; height: 84px; display: grid; place-items: center; padding-inline: 8px; }
/* Real images (so Google and screen readers read each brand name), turned one color:
   brightness(0) makes every logo solid ink, and the opacity blends it to Muted on the paper. */
.client-logo {
  display: block; width: calc(var(--w) * var(--s) * 1px); height: calc(var(--h) * var(--s) * 1px);
  object-fit: contain; filter: var(--logo-filter); opacity: .62; transition: opacity .2s;
}
.logos li:hover .client-logo { opacity: .93; }
@media (max-width: 600px) {
  .logos { --s: 0.72; gap: 8px 4px; }
  .logos li { min-width: 96px; height: 64px; padding-inline: 4px; }
}

.svc-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); }
@media (min-width: 760px) { .svc-index { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; } }
@media (min-width: 1100px) { .svc-index { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.svc-index a { display: grid; gap: 8px; padding-block: 24px; border-bottom: 1px solid var(--line); text-decoration: none; height: 100%; }
.svc-index h3 { font-size: 1.25rem; line-height: 1.15; display: flex; justify-content: space-between; gap: 12px; }
.svc-index h3 span { color: var(--muted); transition: transform .2s, color .2s; }
.svc-index a:hover h3 span { color: var(--accent); transform: translateX(4px); }
.svc-index p { color: var(--muted); font-size: 0.98rem; }

.founders { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr); align-items: end; }
@media (min-width: 960px) { .founders { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; } }
.founders .big { font: 300 clamp(1.3rem, 2.5vw, 1.95rem)/1.35 var(--display); font-stretch: var(--semi); max-width: 30ch; margin-top: 20px; }
.founders .big b { font-weight: 800; }

.cta-band { background: var(--ink); color: var(--paper); }
.cta-band .wrap { padding-block: 80px; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 32px; }
.cta-band h2 { font-size: clamp(2.1rem, 4.8vw, 3.7rem); max-width: 15ch; }
.cta-band .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta-band .btn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* ---------- Work grids ---------- */
.grid { display: grid; gap: 36px 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid .feature { grid-column: span 2; grid-row: span 2; }
}
.card { text-decoration: none; display: block; min-width: 0; }
.card .photo { transition: opacity .25s; }
.card:hover .photo { opacity: .9; }
.card h3 { font-size: 1.05rem; line-height: 1.25; margin-top: 4px; }
.card:hover h3 { color: var(--accent); }
.card .meta { margin-top: 12px; }
.feature h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
@media (min-width: 1000px) { .grid.pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.grid.pair h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); }

/* Photo galleries: masonry columns keep each photo's own shape */
.gallery { columns: 3 300px; column-gap: 16px; }
.gallery figure { break-inside: avoid; margin: 0 0 16px; background: var(--paper-2); }
.gallery img { display: block; width: 100%; height: auto; }
.page-head .label a { text-decoration: none; border-bottom: 1px solid currentColor; }
.page-head .label a:hover { color: var(--accent); }

.archive-bar {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + 61px); z-index: 5;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.archive-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 14px; }
.years { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.years button {
  flex: none; font: 400 0.82rem/1 var(--mono); letter-spacing: 0.04em; color: var(--ink);
  background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 9px 13px; cursor: pointer;
}
.years button:hover { border-color: var(--ink); }
.years button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.archive { display: grid; gap: 32px 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .archive { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .archive { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .archive { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.archive .card h3 { font: 600 0.9rem/1.35 var(--body); letter-spacing: 0.02em; }
.archive .card .meta { margin-top: 10px; display: grid; gap: 2px; }
.year-head { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.year-head:first-child { padding-top: 0; border-top: 0; }
.year-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 800; font-variant-numeric: lining-nums; }

/* ---------- Services page ---------- */
.svc-layout { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .svc-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 72px; } }
.svc-toc { display: none; }
@media (min-width: 960px) {
  .svc-toc { display: block; position: sticky; top: 110px; align-self: start; }
  .svc-toc ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 4px; }
  .svc-toc a { text-decoration: none; color: var(--muted); display: block; padding-block: 4px; }
  .svc-toc a:hover { color: var(--accent); }
}
.svc-block { padding-block: 40px; border-top: 1px solid var(--line); display: grid; gap: 18px; scroll-margin-top: 100px; }
.svc-block:first-child { border-top: 0; padding-top: 0; }
.svc-block h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.svc-block .desc { font-size: 1.15rem; max-width: 56ch; }
.packages { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); margin-top: 8px; }
@media (min-width: 720px) { .packages { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pkg { border: 1px solid var(--line); padding: 24px; display: grid; gap: 8px; align-content: start; background: var(--paper); }
.pkg h3 { font-size: 1.3rem; }
.svc-block .photo { aspect-ratio: 16 / 7; max-width: 100%; }
.svc-cols { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .svc-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ticks { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.ticks li { padding-left: 22px; position: relative; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 1px; background: var(--accent); }
.draft { font: 500 0.72rem/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); border: 1px dashed var(--accent); border-radius: 999px; padding: 5px 9px; justify-self: start; }

/* ---------- About page ---------- */
.story { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .story { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; } }
.story .prose { display: grid; gap: 20px; max-width: 62ch; }
.story .prose p:first-child { font: 300 clamp(1.25rem, 2.2vw, 1.6rem)/1.4 var(--display); font-stretch: var(--semi); }
.stats { display: flex; flex-wrap: wrap; gap: 28px 48px; margin-top: 12px; }
.stats div { display: grid; gap: 4px; }
.stats strong { font: 800 2.2rem/1 var(--display); font-stretch: var(--wide); letter-spacing: -0.03em; }
.people { display: grid; gap: 64px 56px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) {
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .people .person:nth-child(2) { margin-top: 140px; }   /* staggered, like a magazine spread */
}
.person { display: grid; gap: 12px; align-content: start; }
.person .role { color: var(--accent); margin-top: 8px; }
.person-name { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300; font-stretch: var(--wide); letter-spacing: -0.03em; line-height: 1; }
.person-name b { font-weight: 800; }

/* Portraits: black and white, with the role running up the edge */
.bw { filter: grayscale(1) contrast(1.06); }
.portrait { position: relative; padding-left: 30px; margin-bottom: 8px; }
.portrait .photo { max-width: 100%; }
.portrait-tag { position: absolute; left: 0; bottom: 0; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }

/* Home: the two founders overlapping */
.duo { position: relative; padding-bottom: 14%; }
.duo .photo { aspect-ratio: 4 / 5; }
.duo-a { width: 62%; }
.duo-b { position: absolute; right: 0; bottom: 0; width: 46%; box-shadow: 0 0 0 10px var(--paper-2); }
.duo-b img { object-position: center 28%; }
.duo figcaption { flex-direction: column; gap: 2px; max-width: 48%; margin-top: 14px; }
.person p { color: var(--muted); max-width: 60ch; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; } }
.direct { display: grid; gap: 22px; }
.direct .row { display: grid; gap: 4px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.direct .val { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font: 400 1.3rem/1.25 var(--display); font-stretch: var(--semi); }
.direct .val > span:first-child { user-select: all; }
.copy-btn {
  font: 400 0.72rem/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; user-select: none;
  background: transparent; color: var(--ink); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 10px; cursor: pointer;
}
.copy-btn:hover { border-color: var(--ink); }
.form-card { background: var(--ink); color: var(--paper); padding: clamp(24px, 4vw, 48px); }
.form-card .label { color: color-mix(in srgb, var(--paper) 62%, var(--ink)); }
form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field input, .field textarea {
  font: 400 1rem/1.4 var(--body); color: var(--paper);
  background: transparent; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--paper) 30%, var(--ink));
  padding: 10px 0; border-radius: 0; width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.field input::placeholder { color: color-mix(in srgb, var(--paper) 45%, var(--ink)); }
.two { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.chips legend { margin-bottom: 10px; padding: 0; }
.chips label { cursor: pointer; position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 8px 14px; border-radius: 999px; font-size: 0.9rem; border: 1px solid color-mix(in srgb, var(--paper) 30%, var(--ink)); }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-card .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); justify-self: start; margin-top: 6px; }
.form-card .btn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.note { font-size: 0.95rem; color: color-mix(in srgb, var(--paper) 82%, var(--ink)); }

/* ---------- Home: the front door ---------- */
.door-hero .wrap { padding-block: 36px 32px; display: grid; gap: 16px; }
@media (min-width: 900px) {
  /* headline on the left, the short intro on the right, so both doors still fit on the first screen */
  .door-hero .wrap { grid-template-columns: auto minmax(0, 1fr); align-items: end; column-gap: 64px; }
}
.door-hero h1 { font-size: clamp(2.4rem, 7vw, 6rem); line-height: 0.98; }
.door-hero h1 > span { display: block; white-space: nowrap; }
.door-hero h1 .dot { color: var(--accent); }
.door-hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 46ch; }
.doors-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); padding-bottom: 8px; }
@media (min-width: 760px) {
  /* both titles share one row, so the two photos start at the same height */
  .doors-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; }
  .door { grid-row: span 2; grid-template-rows: subgrid; }
}
.door { display: grid; gap: 14px; text-decoration: none; min-width: 0; align-content: start; }
.door .photo { max-width: 100%; transition: opacity .25s; }
.door:hover .photo { opacity: .92; }
.door-text { display: grid; gap: 4px; }
.door h2 { font-size: clamp(1.5rem, 2.8vw, 2.4rem); line-height: 1.05; }
.door p { color: var(--muted); }
.arrow { display: inline-block; color: var(--accent); transition: transform .25s; }
.door:hover .arrow, .more-doors a:hover .arrow { transform: translateX(6px); }
.door:hover h2 { color: var(--ink); }
.more-doors .wrap { display: grid; grid-template-columns: minmax(0, 1fr); padding-block: 40px 64px; }
@media (min-width: 760px) { .more-doors .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; } }
.more-doors a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; text-decoration: none;
  padding-block: 18px; border-bottom: 1px solid var(--line);
  font: 500 clamp(1.15rem, 1.8vw, 1.4rem)/1.2 var(--display); font-stretch: var(--semi);
}
.more-doors a:hover { color: var(--accent); }
.more-doors .label { grid-column: 1 / -1; padding-bottom: 4px; }

/* Home: a full-width strip of work that drifts sideways. Every image keeps its proportions. */
.strip { overflow: hidden; padding-block: 4px 40px; }
.strip-track { display: flex; width: max-content; animation: strip-drift 80s linear infinite; }
.strip-track a { flex: none; margin-right: 12px; display: block; }
.strip-track img { display: block; height: clamp(220px, 32vh, 360px); width: auto; max-width: none; }
.strip:hover .strip-track, .strip:focus-within .strip-track { animation-play-state: paused; }
@keyframes strip-drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .strip { overflow-x: auto; }
  .strip-track { animation: none; }
}
@media (max-width: 640px) { .door-hero .lede { display: none; } }

/* ---------- Reels (vertical video) ---------- */
.reel { margin: 0; background: var(--paper-2); }
.reel video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; background: var(--ink); }
.reels-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.reels-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.gallery .reel { break-inside: avoid; margin: 0 0 16px; }

/* Two photos side by side at the top of the Services page */
/* From mockup to reality: the design and the finished build, side by side */
.m2r { display: grid; gap: 56px; }
.m2r figcaption { margin-top: 10px; }
.label .tag { color: var(--accent); }
.stack { display: grid; gap: 16px; }

/* Case study credits: mono label above, value below, hairline on top */
.credits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; margin: 12px 0 0; }
@media (min-width: 760px) { .credits { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } }
.credits div { display: grid; gap: 6px; align-content: start; padding-top: 14px; border-top: 1px solid var(--line); }
.credits dd { margin: 0; font-weight: 500; }
/* Printing partner credit at the end of the Go West Events case studies */
.partner { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; margin-top: 64px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; }
.partner img { width: 140px; height: auto; filter: var(--logo-filter); opacity: .75; transition: opacity .2s; }
.partner > span:nth-of-type(1) { flex: 1 1 20rem; max-width: 46ch; color: var(--muted); }
.partner .label { display: block; margin-bottom: 6px; }
.partner:hover img { opacity: 1; }
.partner:hover .more { color: var(--accent); }

/* Email page: results, then the emails listed like an inbox */
.results { display: grid; gap: 18px; padding-top: 28px; border-top: 1px solid var(--line); }
.results h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.results > p { max-width: 60ch; font-size: 1.15rem; line-height: 1.55; color: var(--muted); }
.results .stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; margin-top: 16px; }
@media (min-width: 760px) { .results .stats { grid-template-columns: repeat(4, max-content); gap: 28px 64px; } }
.inbox { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.inbox a { display: grid; grid-template-columns: 9rem minmax(0, 1fr) auto; gap: 6px 24px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.inbox .from { font-weight: 600; }
.inbox .subj { min-width: 0; }
.inbox .prev { color: var(--muted); }
.inbox .prev::before { content: "— "; }
.inbox a:hover .subj { color: var(--accent); }
@media (max-width: 640px) {
  .inbox a { grid-template-columns: minmax(0, 1fr) auto; }
  .inbox .subj { grid-column: 1 / -1; grid-row: 2; }
  .inbox .prev { display: block; }
  .inbox .prev::before { content: none; }
}

/* ---------- Home: calm and spacious ---------- */
.lux-hero .wrap { padding-block: clamp(36px, 6vw, 88px) clamp(64px, 9vw, 128px); }
.lux-hero-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .lux-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: clamp(48px, 7vw, 120px); }
  .lux-hero-photo { max-width: 460px; width: 100%; justify-self: end; }
}
.lux-hero h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 0.98; margin-top: 24px; }
.lux-hero h1 > span { display: block; white-space: nowrap; }
.lux-hero h1 .dot { color: var(--accent); }
.lux-intro { margin-top: 32px; max-width: 34ch; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--muted); }
.lux-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.lux-section .wrap { padding-block: clamp(80px, 11vw, 150px); }
.lux-section.tint { background: var(--paper-2); }
.lux-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 28px; }
.feature-work { display: grid; gap: 28px; text-decoration: none; }
.feature-work .photo img { transition: opacity .3s; }
.feature-work:hover .photo img { opacity: .92; }
.feature-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; }
.feature-meta h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-top: 10px; }
.feature-work:hover .more { color: var(--accent); }
.row-link { display: block; text-decoration: none; }
.row-link .photo { transition: opacity .25s; }
.row-link:hover .photo { opacity: .9; }

.pillars { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); }
.pillar { display: grid; gap: 14px; align-content: start; text-decoration: none; padding-block: 36px; border-bottom: 1px solid var(--line); }
.pillar h2 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1; }
.pillar p { color: var(--muted); }
.pillar .arrow { font-size: 1.4rem; }
.pillar:hover h2 { color: var(--accent); }
@media (min-width: 860px) {
  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 0; }
  .pillar { border-bottom: 0; border-left: 1px solid var(--line); padding: 8px 40px; }
  .pillar:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- Services: three chapters ---------- */
.chapters-nav { display: flex; flex-wrap: wrap; gap: 8px 36px; padding-bottom: 32px; }
.chapters-nav a { text-decoration: none; display: flex; gap: 10px; align-items: baseline; font: 500 1.15rem/1.2 var(--display); font-stretch: var(--semi); }
.chapters-nav a:hover { color: var(--accent); }
.chapter { scroll-margin-top: 66px; }
.chapter .wrap { padding-block: clamp(72px, 10vw, 130px); }
.chapter.tint { background: var(--paper-2); }
.chapter-head { display: grid; gap: 12px; margin-bottom: 48px; max-width: 60ch; }
.chapter-head h2 { font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1; }
.chapter-head .dot { color: var(--accent); }
.chapter-head p:not(.label) { color: var(--muted); font-size: 1.15rem; }
.svc-grid { display: grid; gap: 0 56px; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); }
@media (min-width: 860px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1150px) { .svc-grid:not(.two) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.svc-item { padding-block: 32px; border-bottom: 1px solid var(--line); display: grid; gap: 12px; align-content: start; scroll-margin-top: 90px; }
.svc-item h3 { font-size: 1.5rem; line-height: 1.15; }
.svc-item > p:not(.svc-links) { color: var(--muted); }
.svc-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 4px; }
.chapter .more-doors { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .chapter .more-doors { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; } }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); }
footer .wrap { display: grid; gap: 32px; padding-block: 48px 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { footer .wrap { grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); } }
footer .logo { height: 72px; }
footer ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
footer ul a { text-decoration: none; }
footer ul a:hover { color: var(--accent); }
footer .base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
