/* hallietyrellsmith.com
   Desktop values follow the 1440px designs; mobile values (<=767px) follow the 390px designs.
   Display type scales with the viewport between the two. */

:root {
  --ink: #171614;
  --paper: #fafaf8;
  --muted: #6b6862;
  --muted-dark: #a8a49c;
  --body: #3d3b37;
  --line: #d9d6cf;
  --line-2: #dcd9d2;
  --line-dark: #3a3835;
  --dark-2: #2a2826;
  --dark-3: #1d1c1a;
  --light-1: #e9e6df;
  --light-2: #ebe8e1;
  --g: clamp(20px, 3.334vw, 48px);           /* side gutter: 48 desktop, 20 mobile */
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-panel: cubic-bezier(.7, 0, .2, 1);
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 15px; line-height: 1.45;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--muted); }
button { font: inherit; color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.on-dark :focus-visible, .dark :focus-visible { outline-color: var(--paper); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 12px; color: var(--paper); }

/* ---------- shared bits ---------- */
.wrap { max-width: 1440px; margin-inline: auto; padding-inline: var(--g); }
.full { max-width: 1440px; margin-inline: auto; }
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 20px; }
.label { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; font-weight: 400; }
.muted { color: var(--muted); }
/* Titles and overviews are all sans serif. To bring back the serif italic accent words, restore:
   .it { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; } */
.it { font: inherit; letter-spacing: inherit; }
.num { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--muted); }
.plain { text-decoration: none; }
.cover { width: 100%; height: 100%; object-fit: cover; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; line-height: 1.2; text-align: center; background: var(--ink); color: var(--paper); text-decoration: none; padding: 14px 22px; font-weight: 500; font-size: 15px; border: 1px solid var(--ink); transition: background .2s ease, color .2s ease; }
.btn:hover { background: var(--body); color: var(--paper); }
.btn-line { display: inline-flex; align-items: center; justify-content: center; gap: 6px; line-height: 1.2; text-align: center; border: 1px solid var(--ink); color: var(--ink); text-decoration: none; padding: 14px 22px; font-weight: 500; font-size: 15px; transition: background .2s ease, color .2s ease; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.mob { display: none; }
@media (max-width: 767px) {
  .desk { display: none !important; }
  .mob { display: revert; }
  .label { font-size: 11px; }
}

/* ---------- header / nav ---------- */
.site-header { position: relative; z-index: 20; }
.nav {
  position: relative; z-index: 5; max-width: 1440px; margin-inline: auto;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 20px; align-items: center;
  padding: 24px var(--g); font-size: 15px; color: var(--ink); transition: color .4s ease;
}
.nav a { color: inherit; text-decoration: none; }
.nav-name { grid-column: 1 / 4; font-weight: 600; font-size: 20px; line-height: 1; letter-spacing: -0.035em; white-space: nowrap; }
.nav-loc { grid-column: 4 / 7; opacity: .6; white-space: nowrap; }
.nav-links { grid-column: 7 / 11; display: flex; gap: 24px; align-items: baseline; }
.nav-links > a { opacity: .6; transition: opacity .2s ease; }
.nav-links > a:hover, .nav-links > a[aria-current="page"] { opacity: 1; }
.nav-links > a[aria-current="page"] { font-weight: 500; }
.nav-work { all: unset; cursor: pointer; font-weight: 500; display: inline-flex; gap: 8px; align-items: baseline; }
.nav-work:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.nav-work .hint { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; transition: opacity .3s ease; }
.nav-cta {
  grid-column: 11 / 13; justify-self: end; background: var(--ink); color: var(--paper) !important;
  padding: 10px 18px; font-weight: 500; transition: background .4s ease, color .4s ease;
}
.nav-cta:hover { background: var(--body); }
.nav-menu { display: none; }

/* desktop Work menu */
.workmenu {
  position: absolute; left: 0; right: 0; top: 0; z-index: 4; height: clamp(640px, 100vh, 900px);
  background: var(--ink); color: var(--paper); padding-top: 96px;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .7s var(--ease-panel), visibility 0s linear .7s;
}
.wm-open .workmenu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease-panel), visibility 0s; }
.wm-open .nav { color: var(--paper); }
.wm-open .nav-cta { background: var(--paper); color: var(--ink) !important; }
.wm-open .nav-work .hint { opacity: 0; }
.workmenu-inner { max-width: 1440px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: start; padding: 24px var(--g) 0; }
.wm-rows { display: flex; flex-direction: column; }
.wm-row {
  display: grid; grid-template-columns: 56px 1fr 130px 60px; gap: 20px; align-items: baseline;
  padding: 14px 0; border-top: 1px solid var(--line-dark); color: var(--paper); text-decoration: none; transition: opacity .3s ease;
}
.wm-row:hover { color: var(--paper); }
.wm-rows:hover .wm-row:not(:hover), .wm-rows.has-focus .wm-row:not(.is-focus) { opacity: .25; }
.wm-row .n { font-family: var(--serif); font-style: italic; font-size: 20px; }
.wm-row .t { font-size: clamp(32px, 3.34vw, 48px); line-height: 1; font-weight: 500; letter-spacing: -0.04em; }
.wm-row .c { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-dark); }
.wm-row .a { font-size: 20px; justify-self: end; }
.wm-row .soon { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-dark); justify-self: end; white-space: nowrap; }
.wm-row.is-soon { cursor: default; }
.wm-preview { height: 475px; overflow: hidden; position: relative; }
.wm-preview img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(.97); transition: opacity .35s ease, transform .6s var(--ease-out);
}
.wm-preview img.on { opacity: 1; transform: scale(1); }
.wm-foot { position: absolute; left: 0; right: 0; bottom: 32px; }
.wm-foot .wrap { display: flex; justify-content: space-between; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-dark); }
.wm-foot a { color: var(--paper); text-decoration: none; }

/* mobile menu panel */
.mmenu {
  position: fixed; inset: 0; z-index: 30; background: var(--ink); color: var(--paper);
  padding: 88px 20px 0; display: none; flex-direction: column;
  transform: translateY(-100%); transition: transform .7s var(--ease-panel); overflow-y: auto;
}
.mm-open .mmenu { transform: translateY(0); }
.mm-links { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding-bottom: 14px; }
.mm-links a { color: var(--muted-dark); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.mm-links a[aria-current="page"], .mm-links a:hover { color: var(--paper); }
.mm-row { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line-dark); color: var(--paper); text-decoration: none; }
.mm-row:hover { color: var(--paper); }
.mm-row .th { width: 48px; height: 60px; overflow: hidden; background: var(--dark-2); }
.mm-row .tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mm-row .t { font-size: 24px; line-height: 1.05; font-weight: 500; letter-spacing: -0.03em; }
.mm-row .c { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-dark); }
.mm-row .n { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--muted-dark); }
.mm-mail { margin-top: auto; padding: 28px 0; color: var(--paper); font-size: 15px; }
.mm-mail:hover { color: var(--muted-dark); }
.mm-clock { font-size: 13px; color: var(--muted-dark); padding-bottom: 28px; }

@media (max-width: 1100px) and (min-width: 768px) {
  .nav-loc { display: none; }
  .nav-name { grid-column: 1 / 5; }
  .nav-links { grid-column: 5 / 10; }
  .nav-cta { grid-column: 10 / 13; }
}
@media (max-width: 767px) {
  .site-header { position: sticky; top: 0; z-index: 40; background: var(--paper); transition: background .4s ease; }
  .mm-open .site-header { background: transparent; }
  .nav { display: flex; justify-content: space-between; padding: 16px 20px; }
  .nav-loc, .nav-links, .nav-cta, .workmenu { display: none; }
  .nav-menu {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px;
    border: none; background: var(--ink); color: var(--paper); font-weight: 500; padding: 10px 16px; cursor: pointer;
    transition: background .4s ease, color .4s ease;
  }
  .is-home .nav-menu { background: transparent; color: inherit; padding: 0; justify-content: flex-end; }
  .is-home .nav { padding: 22px 20px; }
  .mm-open .nav { color: var(--paper); }
  .mm-open .nav-menu { background: var(--paper); color: var(--ink); }
  .is-home.mm-open .nav-menu { background: transparent; color: var(--paper); }
  .mmenu { display: flex; }
  .mm-open body { overflow: hidden; }
}

/* ---------- home ---------- */
.home-intro { padding-top: 72px; }
.home-intro p { grid-column: 1 / 7; font-size: clamp(22px, 2.084vw, 30px); line-height: 1.2; font-weight: 500; letter-spacing: -0.01em; text-wrap: pretty; }
.home-intro .tags { grid-column: 10 / 13; justify-self: end; align-self: end; text-align: right; line-height: 1.5; }

/* Desktop hero is sized so the name and every hover image fit above the fold: on short windows it scales down. */
.hero { container-type: inline-size; position: relative; aspect-ratio: 1440 / 600; margin-top: 32px; width: max(75%, min(100%, calc((100svh - 300px) * 2.4))); }
.hero-name {
  position: absolute; left: 3.06cqw; top: 13.3%; z-index: 0; margin: 0;
  font-weight: 600; font-size: 14.86cqw; line-height: .86; letter-spacing: -0.035em; white-space: nowrap;
}
.hero-name .br-m { display: none; }
.frame { position: absolute; z-index: 1; display: block; left: var(--x); top: var(--y); width: var(--w); height: var(--h); cursor: crosshair; }
a.frame { cursor: pointer; }
.frame > span {
  display: block; width: 100%; height: 100%; overflow: hidden;
  opacity: 0; transform: scale(.9) rotate(-2deg);
  transition: opacity .35s ease, transform .6s var(--ease-out);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) and (min-width: 768px) {
  .frame:hover > span, .frame:focus-visible > span { opacity: 1; transform: scale(1) rotate(0); }
}
.hero-hint { position: absolute; right: var(--g); bottom: 8px; color: var(--muted); }

.work-head { padding-top: 120px; padding-bottom: 40px; align-items: end; }
.work-head h2 { grid-column: 1 / 7; font-size: clamp(64px, 8.334vw, 120px); line-height: .9; font-weight: 600; letter-spacing: -0.05em; }
.work-head p { grid-column: 7 / 10; color: var(--muted); line-height: 1.5; }
.work-head .count { grid-column: 12 / 13; justify-self: end; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 64px 20px; padding-bottom: 140px; }
.tile { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--ink); }
.tile.is-soon { cursor: default; }
.tile .ph { aspect-ratio: 4 / 5; overflow: hidden; background: var(--light-2); position: relative; }
.tile .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
a.tile:hover .ph img { transform: scale(1.03); }
a.tile:hover { color: var(--ink); }
.tile .soon-tag { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--paper); color: var(--ink); padding: 6px 10px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.tile .t { font-size: clamp(19px, 1.806vw, 26px); font-weight: 500; line-height: 1.1; letter-spacing: -0.015em; }
a.tile:hover .t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.tile .s { color: var(--muted); line-height: 1.45; text-wrap: pretty; }

.big-foot { background: var(--ink); color: var(--paper); }
.big-foot .wrap { padding-top: 48px; padding-bottom: 40px; }
.big-foot .links { display: flex; gap: 28px; justify-content: flex-end; }
.big-foot a { color: var(--paper); }
.big-foot a:hover { color: var(--muted-dark); }
.big-foot .bigname { display: block; margin-top: 120px; text-decoration: none; font-size: clamp(64px, 13.89vw, 200px); line-height: .85; font-weight: 600; letter-spacing: -0.04em; }
.big-foot .bigname .br-m { display: none; }

@media (max-width: 1100px) and (min-width: 768px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-intro p { grid-column: 1 / 9; }
  .work-head p { grid-column: 7 / 11; }
}
@media (max-width: 767px) {
  .home-intro { padding-top: 40px; display: block; }
  .home-intro .tags { display: none; }
  .hero { aspect-ratio: 390 / 500; margin-top: 24px; width: auto; }
  .hero-name { left: 4.1cqw; top: 12%; font-size: 26.67cqw; }
  .hero-name .br-m { display: inline; }
  .frame { left: var(--mx); top: var(--my); width: var(--mw); height: var(--mh); cursor: pointer; }
  .frame.on > span { opacity: 1; transform: scale(1) rotate(0); }
  .hero-hint { display: none; }
  .work-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; padding-top: 72px; padding-bottom: 24px; }
  .work-head h2, .work-head p { grid-column: 1 / -1; grid-row: auto; }
  .work-head h2 { grid-column: 1; grid-row: 1; }
  .work-head .count { grid-column: 2; grid-row: 1; font-size: 12px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 12px; padding-bottom: 80px; }
  .tile { gap: 8px; }
  .tile .s { display: none; }
  .tile .soon-tag { top: 8px; left: 8px; padding: 4px 7px; font-size: 10px; }
  .big-foot .wrap { padding-top: 36px; }
  .big-foot .links { flex-direction: column; gap: 14px; justify-content: flex-start; }
  .big-foot .links a { min-height: 44px; display: flex; align-items: center; }
  .big-foot .bigname { margin-top: 56px; font-size: 26.67vw; }
  .big-foot .bigname .br-m { display: inline; }
}

/* ---------- small footer ---------- */
.foot { background: var(--ink); color: var(--paper); border-top: 1px solid var(--line-dark); }
.foot .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; }
.foot .copy { color: var(--muted-dark); }
.foot .links { display: flex; gap: 28px; }
.foot a { color: var(--paper); }
.foot a:hover { color: var(--muted-dark); }
@media (max-width: 767px) {
  .foot .wrap { flex-direction: column-reverse; gap: 14px; padding-top: 24px; padding-bottom: 32px; font-size: 14px; }
  .foot .links { gap: 24px; }
}

/* ---------- simple pages (About, Services, Contact) ---------- */
.page { max-width: 1440px; margin-inline: auto; padding: 32px var(--g) 48px; }
.page-h1 { font-size: clamp(52px, 6vw, 88px); line-height: .9; font-weight: 600; letter-spacing: -0.05em; }
.lead { font-size: 20px; line-height: 1.45; font-weight: 500; letter-spacing: -0.01em; text-wrap: pretty; }
.cta-line { font-size: clamp(28px, 3vw, 40px); line-height: 1; font-weight: 600; letter-spacing: -0.04em; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }

.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 40px 48px; align-items: stretch; min-height: calc(100vh - 180px); }
.about-photo { position: relative; min-height: min(420px, 60vh); overflow: hidden; background: var(--light-1); }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.about-text { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-width: 0; }
.about-text .top { display: flex; flex-direction: column; gap: 24px; }
.about-text .lead { max-width: 620px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid var(--ink); }

.svc-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px 48px; align-items: end; }
.svc-head > div { display: flex; flex-direction: column; gap: 24px; }
.svc-head .lead { max-width: 560px; }
.svc-list { margin-top: 64px; border-bottom: 1px solid var(--ink); }
.svc { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px 32px; align-items: start; padding: 32px 0; border-top: 1px solid var(--ink); }
.svc .num { font-size: 18px; padding-top: 6px; }
.svc .name { display: flex; flex-direction: column; gap: 12px; }
.svc .name h2 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1; font-weight: 600; letter-spacing: -0.035em; }
.svc .svc-meta { font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.svc .body { display: flex; flex-direction: column; gap: 20px; }
.svc .body p { font-size: 16px; line-height: 1.55; color: var(--body); text-wrap: pretty; }
.svc .get { font-size: 15px !important; color: var(--ink) !important; padding-top: 12px; border-top: 1px solid var(--line); }
.svc .get b { font-weight: 500; }
.svc .items { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); column-gap: 24px; list-style: none; margin: 0; padding: 0; }
.svc .items li { padding: 8px 0; border-top: 1px solid var(--line); }
.svc-foot { margin-top: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px 48px; align-items: end; }
.svc-foot .fit { display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.svc-foot .talk { display: flex; flex-direction: column; gap: 20px; padding-top: 20px; border-top: 1px solid var(--ink); }

.contact { padding-top: 56px; display: flex; flex-direction: column; gap: 56px; }
.contact-top { display: flex; flex-direction: column; gap: 28px; }
.contact-h1 { font-size: clamp(56px, 9vw, 136px); line-height: .86; font-weight: 600; letter-spacing: -0.055em; }
.contact-top .lead { max-width: 560px; }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px 40px; max-width: 960px; }
.form label { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.form label span { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.form input, .form textarea { font: inherit; font-size: 17px; padding: 12px 0; border: none; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); outline: none; resize: vertical; }
.form input:focus-visible, .form textarea:focus-visible { border-bottom-width: 2px; padding-bottom: 11px; outline: none; }
.form .wide { grid-column: 1 / -1; }
.form .send { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form button { border: none; background: var(--ink); color: var(--paper); font-weight: 500; font-size: 15px; padding: 14px 24px; min-height: 44px; cursor: pointer; }
.form button:hover { background: var(--body); }
.form .note { font-size: 13px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 0 40px; border-top: 1px solid var(--ink); }
.cards > * { display: flex; flex-direction: column; gap: 8px; padding: 24px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.cards .k { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cards .v { font-size: clamp(20px, 1.95vw, 28px); font-weight: 500; letter-spacing: -0.02em; word-break: break-word; }

@media (max-width: 767px) {
  .page { padding: 16px 20px 48px; }
  .lead { font-size: 18px; }
  .about { display: block; min-height: 0; }
  .about-photo { min-height: 0; aspect-ratio: 4 / 5; }
  .about-text { padding-top: 32px; gap: 48px; }
  .about-text .top { gap: 18px; }
  .cta-row { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 18px; }
  .cta-line { font-size: 34px; }
  .btns { gap: 10px; flex-wrap: nowrap; }
  .btns > a { flex: 1; text-align: center; padding-left: 12px; padding-right: 12px; }
  .svc-head > div { gap: 18px; }
  .svc-list { margin-top: 40px; }
  .svc { display: flex; flex-direction: column; gap: 14px; padding: 24px 0 28px; }
  .svc .top { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: baseline; }
  .svc .num { font-size: 15px; padding: 0; }
  .svc .name { gap: 8px; }
  .svc .name h2 { font-size: 28px; }
  .svc .svc-meta { font-size: 12px; }
  .svc .body { gap: 14px; padding-left: 44px; }   /* lines up with the service title (32px number column + 12px gap) */
  .svc .body p { font-size: 15px; }
  .svc .items { display: block; }
  .svc .items li { font-size: 14px; }
  .svc-foot { margin-top: 40px; gap: 40px; }
  .contact { padding-top: 24px; gap: 48px; }
  .contact-h1 { font-size: 60px; }
  .form label span, .cards .k { font-size: 11px; }
  .cards > * { padding: 18px 0; gap: 6px; }
  .cards .v { font-size: 20px; }
}
@media (min-width: 768px) {
  .svc .top { display: contents; }
}

/* ---------- case studies ---------- */
.cs-top { padding-top: 96px; }
.cs-top .lbl { grid-column: 1 / 8; }
.cs-top .back { grid-column: 10 / 13; justify-self: end; text-decoration: none; }
.cs-h1 { margin-top: 24px; padding-inline: calc(var(--g) - 4px); font-size: clamp(54px, 8.89vw, 128px); line-height: .86; font-weight: 600; letter-spacing: -0.055em; text-wrap: balance; }
.cs-intro { padding-top: 56px; padding-bottom: 56px; align-items: start; }
.cs-intro > p { grid-column: 1 / 7; font-size: clamp(19px, 1.945vw, 28px); line-height: 1.25; font-weight: 500; letter-spacing: -0.01em; text-wrap: pretty; }
.meta { grid-column: 8 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; line-height: 1.45; }
.meta > div { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--line); padding-top: 12px; }
.meta .k { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cs-hero .box { aspect-ratio: 1344 / 600; overflow: hidden; }
.cs-hero.natural .box { aspect-ratio: auto; }
.cs-hero.natural img { width: 100%; height: auto; }
.cs-over { padding-top: 140px; padding-bottom: 120px; }
.cs-over .label { grid-column: 1 / 4; padding-top: 12px; }
.cs-over p { grid-column: 4 / 12; font-size: clamp(23px, 2.5vw, 36px); line-height: 1.12; font-weight: 500; letter-spacing: -0.025em; text-wrap: pretty; }

.sec { padding-top: 160px; }
.sec.first { padding-top: 0; }
.sec-head { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--ink); }
.sec-title { padding: 72px 0 64px; align-items: end; }
.sec-title h2 { grid-column: 1 / 8; }
.sec-title > p { grid-column: 9 / 13; }
.h2 { font-size: clamp(44px, 5.556vw, 80px); line-height: .9; font-weight: 600; letter-spacing: -0.05em; }
.h3 { font-size: clamp(28px, 3.334vw, 48px); line-height: .95; font-weight: 600; letter-spacing: -0.04em; }
.copy { font-size: 17px; line-height: 1.6; color: var(--body); text-wrap: pretty; }
.copy strong { font-weight: 700; color: var(--ink); }
.credit { font-size: 13px; color: var(--muted); }

.idea { padding-top: 72px; align-items: start; }
.idea .l { grid-column: 1 / 6; display: flex; flex-direction: column; gap: 28px; }
.idea .l .copy { max-width: 440px; }
.idea .r { grid-column: 7 / 13; display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.idea .r > .label { padding-bottom: 16px; }
.msg { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 24px 0; border-top: 1px solid var(--ink); }
.msg .num { font-size: 18px; padding-top: 6px; }
.msg .tx { display: flex; flex-direction: column; gap: 8px; }
.msg .t { font-size: clamp(21px, 1.945vw, 28px); line-height: 1.05; font-weight: 700; letter-spacing: -0.025em; }
.msg .d { font-size: 16px; line-height: 1.55; color: var(--body); }

.pack { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr) minmax(0, 1fr); gap: 20px; height: clamp(360px, 36.1vw, 520px); }
.pack > div { overflow: hidden; min-width: 0; }
.pack .white { background: #fff; }
.pack .contain { object-fit: contain; }

/* shoot accordion */
.shoot { height: clamp(560px, 50vw, 720px); display: flex; flex-direction: column; }
.shoot-title { padding: 40px 0 32px; align-items: end; }
.shoot-title h2 { grid-column: 1 / 6; }
.shoot-title .tx { grid-column: 7 / 13; display: flex; flex-direction: column; gap: 10px; }
.shoot-title .copy { font-size: 16px; }
.acc { flex: 1; min-height: 0; display: flex; gap: 10px; }
.acc-item { flex: 1; min-width: 0; position: relative; overflow: hidden; cursor: pointer; transition: flex .6s var(--ease-out); border: 0; padding: 0; background: var(--light-1); }
.acc-item.active { flex: 6; cursor: default; }
.acc-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.acc-item .cap { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; justify-content: space-between; align-items: end; gap: 10px; color: var(--paper); text-shadow: 0 1px 8px rgba(0, 0, 0, .35); pointer-events: none; }
.acc-item .cap .n { font-family: var(--serif); font-style: italic; font-size: 18px; }
.acc-item .cap .c { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; opacity: 0; transition: opacity .4s ease; }
.acc-item.active .cap .c { opacity: 1; }

/* horizontal rows */
.row-scroll { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; }
.bleed { margin-inline: calc(var(--g) * -1); padding-inline: var(--g); scroll-padding-left: var(--g); }
.row-scroll > * { flex: none; scroll-snap-align: start; }
.row-foot { display: flex; justify-content: space-between; gap: 12px; }
.pdp .row-scroll > div { width: 320px; aspect-ratio: 1; overflow: hidden; }
.arrows { position: relative; }
.arrows > .arr {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 44px; height: 44px; border-radius: 50%;
  border: none; background: var(--ink); color: var(--paper); font-size: 18px; cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18); transition: opacity .2s ease, background .2s ease;
}
.arrows > .arr:hover { background: var(--body); }
.arrows > .arr.l { left: -22px; }
.arrows > .arr.r { right: -22px; }
.arrows > .arr[disabled] { opacity: 0; pointer-events: none; }

.web { display: flex; flex-direction: column; gap: 28px; }
.web .box { height: clamp(380px, 47.2vw, 680px); overflow: hidden; }
.web .box img { width: 100%; height: 100%; object-fit: contain; }
.campaign-blocks { display: flex; flex-direction: column; gap: 80px; }
.campaign-blocks > * { display: flex; flex-direction: column; gap: 28px; }

/* paid social */
.ads-row { container-type: inline-size; }
.ads { display: flex; gap: 28px; align-items: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.ad-group { flex: none; display: flex; flex-direction: column; gap: 14px; scroll-snap-align: start; }
.ad-group .gh { display: flex; justify-content: space-between; border-top: 1px solid var(--ink); padding-top: 12px; }
.ad-group .gh .num { color: var(--ink); text-transform: none; letter-spacing: 0; font-size: 15px; }
.ad-group .items { display: flex; gap: 16px; }
.ad { flex: none; width: calc((100cqw - 132px) / 7); aspect-ratio: 9 / 16; overflow: hidden; transition: transform .3s ease; }
.ad:hover { transform: translateY(-8px); }
.ad img { width: 100%; height: 100%; object-fit: cover; }

/* emails (scroll inside) */
.emails-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; align-items: start; }
.emails-row { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 12px 12px 0; scrollbar-width: thin; }
.emails-row > .email { flex: none; width: calc((100% - 96px) / 5); scroll-snap-align: start; }
.email { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.scrollbox { position: relative; height: var(--h, 620px); }
.scrollbox .in { height: 100%; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; background: var(--light-1); }
.scrollbox .in::-webkit-scrollbar { display: none; }
.scrollbox .in img { width: 100%; height: auto; }
.scrollbox .fade { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(rgba(250, 250, 248, 0), var(--paper)); transition: opacity .3s ease; pointer-events: none; }
.scrollbox.end .fade { opacity: 0; }
.scrollbox .bar { position: absolute; top: 0; right: -10px; width: 2px; height: 100%; background: var(--line-2); }
.scrollbox .bar i { display: block; width: 2px; height: 4%; background: var(--ink); }
.email .row-foot .muted::after { content: "Scroll"; }
.email.end .row-foot .muted::after { content: "End"; }
.em-tabs, .em-ctrl { display: none; }

/* PR box */
.pr2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; height: clamp(400px, 41.7vw, 600px); }
.pr2 > div { overflow: hidden; min-width: 0; }

/* social */
.social { align-items: start; row-gap: 40px; }
.social .grid-fig { grid-column: 1 / 8; display: flex; flex-direction: column; gap: 10px; }
.social .side-fig { grid-column: 8 / 13; display: flex; flex-direction: column; gap: 10px; }
.ig { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.post { aspect-ratio: 4 / 5; min-width: 0; position: relative; overflow: hidden; background: var(--dark-3); }
.post .track { position: absolute; inset: 0; display: flex; transition: transform .45s var(--ease-out); }
.post .track > * { flex: none; width: 100%; height: 100%; object-fit: cover; }
.post .open { position: absolute; inset: 0; z-index: 2; border: 0; padding: 0; background: transparent; cursor: zoom-in; display: none; }
.post .pa {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 28px; height: 28px; border-radius: 50%;
  border: none; background: rgba(255, 255, 255, .9); color: var(--ink); font-size: 14px; line-height: 28px; padding: 0; cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .2); transition: opacity .2s ease;
}
.post .pa:hover { background: #fff; }
.post .pa.l { left: 8px; }
.post .pa.r { right: 8px; }
.post .pa[disabled] { opacity: 0; pointer-events: none; }
.post .multi { position: absolute; top: 8px; right: 8px; z-index: 3; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .4)); pointer-events: none; }
.post .dots { position: absolute; left: 0; right: 0; bottom: 8px; z-index: 3; display: flex; justify-content: center; gap: 4px; pointer-events: none; }
.post .dots i { width: 5px; height: 5px; border-radius: 50%; background: #fff; opacity: .45; }
.post .dots i.on { opacity: 1; }
.stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.stories > div { aspect-ratio: 9 / 16; overflow: hidden; }
.phone { width: 100%; max-width: 340px; margin: 0 auto; background: var(--ink); padding: 9px; border-radius: 44px; box-shadow: 0 20px 50px rgba(23, 22, 20, .18); }
.phone > div { aspect-ratio: 1254 / 2726; border-radius: 35px; overflow: hidden; background: #000; }

/* lightbox (mobile Instagram grid) */
.lb { position: fixed; inset: 0; z-index: 60; background: rgba(23, 22, 20, .96); display: none; justify-content: center; }
.lb.open { display: flex; }
.lb-in { width: 100%; max-width: 420px; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 20px; }
.lb-top { display: flex; justify-content: space-between; align-items: center; color: var(--paper); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.lb-top button { min-height: 44px; padding: 0 4px; border: none; background: transparent; color: var(--paper); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.lb-stage { aspect-ratio: 4 / 5; overflow: hidden; position: relative; background: var(--dark-3); }
.lb-track { display: flex; height: 100%; transition: transform .4s var(--ease-out); }
.lb-track > * { flex: none; width: 100%; height: 100%; object-fit: cover; }
.lb-ctrl { display: flex; justify-content: space-between; align-items: center; }
.lb-ctrl button { width: 44px; height: 44px; border: 1px solid var(--paper); background: transparent; color: var(--paper); font-size: 18px; cursor: pointer; }
.lb-ctrl button[disabled] { opacity: .3; }
.lb-dots { display: flex; gap: 5px; }
.lb-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--paper); opacity: .35; }
.lb-dots i.on { opacity: 1; }

/* next project */
.next { display: block; background: var(--ink); color: var(--paper); text-decoration: none; overflow: hidden; margin-top: 160px; }
.next:hover { color: var(--paper); }
.next .wrap { padding-top: 48px; padding-bottom: 56px; }
.next .top { display: flex; justify-content: space-between; color: var(--muted-dark); }
.next .body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: end; margin-top: 96px; }
.next .t { font-size: clamp(48px, 7.223vw, 104px); line-height: .86; font-weight: 600; letter-spacing: -0.055em; }
.next .img { height: 400px; overflow: hidden; opacity: 0; transform: scale(.94); transition: opacity .35s ease, transform .6s var(--ease-out); }
.next:hover .img, .next:focus-visible .img { opacity: 1; transform: scale(1); }
.next .img img { width: 100%; height: 100%; object-fit: cover; }

/* cymbiotika */
.toc { padding-top: 140px; padding-bottom: 120px; }
.toc > .label { grid-column: 1 / 4; padding-top: 12px; }
.toc .list { grid-column: 4 / 13; display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.toc a { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; }
.toc a .num { font-size: 18px; }
.toc a .t { font-size: clamp(22px, 1.945vw, 28px); line-height: 1.05; font-weight: 600; letter-spacing: -0.025em; }
.camp { padding-bottom: 120px; scroll-margin-top: 24px; }
.camp-title { padding-top: 48px; align-items: start; }
.camp-title h2 { grid-column: 1 / 6; font-size: clamp(40px, 3.89vw, 56px); line-height: .92; font-weight: 600; letter-spacing: -0.045em; text-wrap: pretty; }
.camp-title p { grid-column: 7 / 12; font-size: 16px; }
.camp-block { padding-top: 72px; display: flex; flex-direction: column; gap: 10px; }
.photos { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; }
.photos > div { aspect-ratio: 4 / 5; min-width: 0; overflow: hidden; }
.cads { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
.cads > div { flex: none; width: calc((100% - 48px) / 5); aspect-ratio: 9 / 16; overflow: hidden; scroll-snap-align: start; }
.camp-pair { padding-top: 72px; display: flex; gap: 20px; align-items: flex-end; }
.camp-pair figure { width: calc((100% - 60px) / 4); display: flex; flex-direction: column; gap: 10px; }
.vid { aspect-ratio: 9 / 16; overflow: hidden; background: var(--light-1); position: relative; cursor: pointer; border: 0; padding: 0; width: 100%; display: block; }
.vid video { width: 100%; height: 100%; object-fit: cover; }
.vid .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(23, 22, 20, .75); color: var(--paper); display: flex; align-items: center; justify-content: center; font-size: 18px; padding-left: 4px; pointer-events: none; transition: opacity .25s ease; }
.vid.playing .play { opacity: 0; }
.iggrid { aspect-ratio: 9 / 16; position: relative; overflow: hidden; }
.iggrid img { position: absolute; top: 0; left: 0; height: 100%; width: auto; max-width: none; }
.landing { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 2fr); gap: 32px; align-items: start; max-width: 900px; }
.camp-block.lp { gap: 28px; }

/* in-between widths */
@media (max-width: 1100px) and (min-width: 768px) {
  .meta { grid-column: 7 / 13; }
  .cs-intro > p { grid-column: 1 / 7; }
  .idea .l { grid-column: 1 / 7; }
  .idea .r { grid-column: 7 / 13; }
  .emails-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .emails-row > .email { width: calc((100% - 48px) / 3); }
  .camp-pair figure { width: calc((100% - 20px) / 3); }
  .photos { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cads > div { width: calc((100% - 36px) / 4); }
  .ad { width: calc((100cqw - 100px) / 4.5); }
  .social .grid-fig, .social .side-fig { grid-column: 1 / 13; }
  .social .side-fig .stories, .social .side-fig .phone { max-width: 520px; }
}

/* ---------- case studies: mobile ---------- */
@media (max-width: 767px) {
  .cs-top { display: flex; justify-content: space-between; gap: 16px; padding-top: 40px; }
  .cs-h1 { margin-top: 16px; padding-inline: 18px; line-height: .88; letter-spacing: -0.05em; }
  .cs-intro { display: block; padding-top: 24px; padding-bottom: 32px; }
  .cs-intro > p { line-height: 1.3; }
  .meta { gap: 20px 16px; padding-top: 32px; font-size: 14px; }
  .meta > div { padding-top: 10px; }
  .meta > div:nth-child(n+3) { grid-column: 1 / 3; }
  .meta .k { font-size: 11px; }
  .cs-hero .box { aspect-ratio: auto; }
  .cs-hero .box img { width: 100%; height: auto; object-fit: initial; }
  .cs-over { display: flex; flex-direction: column; gap: 16px; padding-top: 80px; padding-bottom: 80px; }
  .cs-over .label { padding-top: 0; }
  .cs-over p { line-height: 1.18; letter-spacing: -0.02em; }
  .sec { padding-top: 96px; }
  .sec.first { padding-top: 0; }
  .sec-head { padding-top: 12px; }
  .sec-title { display: flex; flex-direction: column; gap: 18px; padding: 40px 0 28px; align-items: stretch; }
  .sec-title > p { font-size: 16px; }
  .h2 { letter-spacing: -0.045em; }
  .h3 { font-weight: 700; letter-spacing: -0.03em; }
  .copy { font-size: 16px; }
  .idea { display: flex; flex-direction: column; gap: 40px; padding-top: 40px; }
  .idea .l { gap: 18px; }
  .idea .r > .label { padding-bottom: 12px; }
  .msg { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 20px 0; }
  .msg .num { font-size: 16px; padding-top: 3px; }
  .msg .tx { gap: 6px; }
  .msg .d { font-size: 15px; }
  .row-scroll { gap: 12px; scrollbar-width: none; }
  .row-scroll::-webkit-scrollbar { display: none; }
  .row-foot { padding-top: 10px; }
  /* packaging + PR become swipe rows */
  .pack, .pr2 { display: flex; height: auto; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -20px; padding-inline: 20px; scroll-padding-left: 20px; scrollbar-width: none; }
  .pack::-webkit-scrollbar, .pr2::-webkit-scrollbar { display: none; }
  .pack > div { flex: none; width: 300px; height: 340px; scroll-snap-align: start; }
  .pack > div:last-child { width: 240px; }
  .pr2 > div { flex: none; width: 300px; aspect-ratio: 4 / 5; scroll-snap-align: start; }
  /* shoot accordion becomes swipe row */
  .shoot { height: auto; display: block; }
  .shoot-title { display: flex; flex-direction: column; gap: 18px; padding: 40px 0 28px; align-items: stretch; }
  .shoot-title .tx { gap: 10px; }
  .acc { gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -20px; padding-inline: 20px; scroll-padding-left: 20px; scrollbar-width: none; }
  .acc::-webkit-scrollbar { display: none; }
  .acc-item, .acc-item.active { flex: none; width: 300px; aspect-ratio: 4 / 5; scroll-snap-align: start; cursor: default; }
  .acc-item .cap { left: 12px; right: 12px; bottom: 12px; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
  .acc-item .cap .n { font-size: 17px; }
  .acc-item .cap .c { opacity: 1; font-size: 11px; }
  .campaign-blocks { gap: 56px; }
  .campaign-blocks > * { gap: 16px; }
  .web .box { height: auto; aspect-ratio: 2400 / 1500; }
  .web .box img { object-fit: cover; }
  .pdp .row-scroll > div { width: 260px; }
  .arrows > .arr { display: none; }
  .ads { gap: 12px; padding-bottom: 8px; margin-inline: -20px; padding-inline: 20px; scroll-padding-left: 20px; scrollbar-width: none; }
  .ads::-webkit-scrollbar { display: none; }
  .ad-group { gap: 10px; }
  .ad-group .gh { padding-top: 8px; }
  .ad-group .gh .num { font-size: 13px; }
  .ad-group .items { gap: 12px; }
  .ad { width: 200px; }
  .ad:hover { transform: none; }
  /* emails: tabs + one viewer */
  .emails-grid, .emails-row { display: block; overflow: visible; padding: 0; }
  .emails-row > .email { width: auto; }
  .emails .email { display: none; }
  .emails .email.cur { display: flex; }
  .emails .email .row-foot { display: none; }
  .emails .scrollbox { --h: 540px !important; }
  .scrollbox .fade { height: 80px; }
  .em-tabs { display: flex; gap: 6px; overflow-x: auto; margin-inline: -20px; padding-inline: 20px; scrollbar-width: none; margin-bottom: 16px; }
  .em-tabs::-webkit-scrollbar { display: none; }
  .em-tabs button { flex: none; min-height: 36px; padding: 0 12px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
  .em-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
  .em-ctrl { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
  .em-ctrl button { width: 44px; height: 44px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 18px; cursor: pointer; }
  .em-ctrl button:active { background: var(--ink); color: var(--paper); }
  .em-ctrl button[disabled] { opacity: .3; }
  .em-ctrl .label .muted::after { content: "Scroll inside"; }
  .emails .arrows > .arr, .emails .row-foot.below { display: none; }
  /* social */
  .social { display: block; }
  .ig { gap: 4px; margin-inline: -20px; }
  .post .pa, .post .dots { display: none; }
  .post .open { display: block; }
  .post .multi { width: 14px; height: 14px; top: 6px; right: 6px; }
  .social .side-fig { margin-top: 40px; }
  .stories { gap: 12px; }
  .phone { max-width: 280px; padding: 10px; border-radius: 48px; }
  .phone > div { border-radius: 38px; }
  /* next */
  .next { margin-top: 96px; }
  .next .wrap { padding-top: 28px; padding-bottom: 36px; }
  .next .body { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 24px; margin-top: 20px; }
  .next .img { height: auto; aspect-ratio: 4 / 5; width: 64%; align-self: flex-start; opacity: 1; transform: none; }
  .next .body.noimg { margin-top: 56px; }
  .next .t { line-height: .88; letter-spacing: -0.05em; }
  /* cymbiotika */
  .toc { display: flex; flex-direction: column; padding-top: 72px; padding-bottom: 80px; }
  .toc > .label { padding: 0 0 12px; }
  .toc a { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 14px 0; }
  .toc a .num { font-size: 16px; }
  .toc a .tag { grid-column: 2; margin-top: -8px; }
  .camp { padding-bottom: 96px; }
  .camp-title { display: flex; flex-direction: column; gap: 18px; padding-top: 36px; }
  .camp-block { padding-top: 48px; }
  .photos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -20px; padding-inline: 20px; scroll-padding-left: 20px; scrollbar-width: none; }
  .photos::-webkit-scrollbar, .cads::-webkit-scrollbar { display: none; }
  .photos > div { flex: none; width: 260px; scroll-snap-align: start; }
  .cads { margin-inline: -20px; padding-inline: 20px; scroll-padding-left: 20px; scrollbar-width: none; padding-bottom: 4px; }
  .cads > div { width: 200px; }
  .camp-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-top: 48px; align-items: end; }
  .camp-pair figure { width: auto; min-width: 0; }
  .vid .play { width: 48px; height: 48px; font-size: 16px; }
  .landing { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; padding-right: 10px; }
  .landing .scrollbox { --h: 420px !important; }
}

/* missing-image placeholder (until the asset is supplied) */
.missing { width: 100%; height: 100%; min-height: 120px; display: grid; place-items: center; text-align: center; padding: 12px; background: repeating-linear-gradient(135deg, #dedad2 0 1px, transparent 1px 11px), var(--light-2); color: var(--muted); font: 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* copied-email toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 20px); background: var(--ink); color: var(--paper); padding: 12px 18px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.form .note a { color: inherit; }
.form button[disabled] { opacity: .6; cursor: default; }
@media (max-width: 767px) { .nav-name { font-size: 22px; letter-spacing: -0.04em; } }

/* email chooser */
.mailpick { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; background: rgba(23, 22, 20, .45); padding: 20px; }
.mailpick.open { display: flex; }
.mp-in { position: relative; background: var(--paper); color: var(--ink); width: min(360px, 100%); padding: 28px 24px 20px; display: flex; flex-direction: column; }
.mp-t { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-bottom: 12px; }
.mp-in a, .mp-in button[data-k] { display: block; text-align: left; padding: 14px 0; border: 0; border-top: 1px solid var(--line); background: none; color: var(--ink); text-decoration: none; font-size: 20px; font-weight: 500; letter-spacing: -0.01em; cursor: pointer; }
.mp-in a:hover, .mp-in button[data-k]:hover { color: var(--muted); }
.mp-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; background: none; font-size: 16px; cursor: pointer; color: var(--ink); }
