/* ============================================================
   Austin Li — site styles
   Full-bleed, sharp-edged. Images run edge to edge with no
   margin, padding, radius or shadow. Text sits over them.
   ============================================================ */

:root {
  /* ---- palette ----------------------------------------------
     PRIMARY   Space Indigo  #2C2C54   structure, headings, ink
     GROUND    White         #FFFFFF
     ACCENT    Cherry Rose   #A40E4C   used sparingly, one thing at a time
     SECONDARY Ash Grey      #ACC3A6
               Soft Apricot  #F5D6BA
               Tangerine     #F49D6E   these fill blocks and image fields,
                                       they never carry small text
     ------------------------------------------------------------ */
  --porcelain:  #FFFFFF;
  --glaze:      #FAFAFC;
  --cobalt:     #2C2C54;
  --cobalt-2:   #4A4A78;
  --wash:       #8B8BAD;
  --persimmon:      #A40E4C;
  --persimmon-soft: #FBE7EE;
  --hairline:   #E2E2EC;

  --sage:      #ACC3A6;
  --apricot:   #F5D6BA;
  --tangerine: #F49D6E;

  --scrim: linear-gradient(to top, rgba(255,255,255,.99) 0%, rgba(255,255,255,.94) 46%, rgba(255,255,255,0) 92%);
  --maxw: 1280px;
  --gut: 40px;
  --edge: max(var(--gut), calc((100% - var(--maxw)) / 2 + var(--gut)));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --porcelain:#1B1B36; --glaze:#24244A; --cobalt:#F2F2F7; --cobalt-2:#BDBDD6;
    --wash:#8080A4; --persimmon:#FF4D80; --persimmon-soft:#3A1428; --hairline:#383866;
    --sage:#ACC3A6; --apricot:#F5D6BA; --tangerine:#F49D6E;
    --scrim: linear-gradient(to top, rgba(27,27,54,.99) 0%, rgba(27,27,54,.95) 46%, rgba(27,27,54,0) 92%);
  }
}
:root[data-theme="dark"] {
    --porcelain:#1B1B36; --glaze:#24244A; --cobalt:#F2F2F7; --cobalt-2:#BDBDD6;
    --wash:#8080A4; --persimmon:#FF4D80; --persimmon-soft:#3A1428; --hairline:#383866;
    --sage:#ACC3A6; --apricot:#F5D6BA; --tangerine:#F49D6E;
    --scrim: linear-gradient(to top, rgba(27,27,54,.99) 0%, rgba(27,27,54,.95) 46%, rgba(27,27,54,0) 92%);
}

* { box-sizing: border-box; margin: 0; padding: 0; border-radius: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--porcelain);
  color: var(--cobalt-2);
  font-family: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 16.5px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* text is contained; images never are */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
@media (max-width: 700px) { :root { --gut: 22px; } }

h1,h2,h3,h4 { color: var(--cobalt); font-family: "Fraunces", Georgia, serif; text-wrap: balance; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2.5px solid var(--persimmon); outline-offset: 3px; }
strong { color: var(--cobalt); font-weight: 600; }

.label {
  font-family: "DM Mono", ui-monospace, Menlo, monospace;
  font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--wash);
}

/* ---------------- nav ---------------- */
nav {
  position: sticky; top: 0; z-index: 40; height: 62px;
  background: var(--porcelain);
  border-bottom: 1px solid var(--hairline);
}
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 18px; }
nav .sig {
  font-family: "Fraunces", serif; font-weight: 600; font-size: 21px; color: var(--cobalt);
  text-decoration: none; letter-spacing: -.015em; white-space: nowrap;
}
nav .sig span { color: var(--persimmon); }
nav ul { display: flex; gap: 30px; list-style: none; }
nav ul a {
  font-family: "DM Mono", monospace; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; color: var(--cobalt-2); padding-bottom: 3px;
  border-bottom: 1.5px solid transparent; transition: color .18s, border-color .18s;
}
nav ul a:hover { color: var(--persimmon); border-bottom-color: var(--persimmon); }
nav ul a[aria-current="page"] { color: var(--cobalt); border-bottom-color: var(--persimmon); }
@media (max-width: 560px) { nav ul { gap: 15px; } nav ul a { font-size: 11px; letter-spacing: .05em; } nav .sig { font-size: 18px; } }

/* ============================================================
   IMAGE PLACEHOLDER
   Reads as an image field. --h sets the tone per slot.
   ============================================================ */
.ph {
  --c1: var(--sage); --c2: var(--apricot);
  position: absolute; inset: 0;
  background-image:
    radial-gradient(122% 92% at 16% 8%,  var(--c1), transparent 68%),
    radial-gradient(100% 100% at 84% 92%, var(--c2), transparent 64%),
    linear-gradient(158deg, var(--c1), var(--c2));
}
.ph::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.5'/></svg>");
  opacity: .2; mix-blend-mode: overlay;
}

/* ============================================================
   HERO — full-bleed rotating gallery, text over the image
   ============================================================ */
.hero {
  position: relative; width: 100%;
  height: calc(100svh - 62px); min-height: 540px; max-height: 1000px;
  overflow: hidden; background: var(--cobalt);
}
.hero-slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.slide.on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }

/* dark scrim so overlaid type stays legible over any photograph */
.hero-scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(rgba(24,24,48,.10), rgba(24,24,48,.10)),
    linear-gradient(to top, rgba(24,24,48,.94) 0%, rgba(24,24,48,.62) 42%, rgba(24,24,48,.40) 70%, rgba(24,24,48,.58) 100%);
}

.hero-text {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding-bottom: clamp(76px, 9vw, 118px);
}
.hero-text .eyebrow {
  display: block; font-family: "DM Mono", monospace; font-size: 12px;
  letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.72);
  margin-bottom: clamp(14px, 2vw, 22px);
}
.hero-text h1 {
  color: #fff;
  font-size: clamp(34px, 7.4vw, 108px);
  font-weight: 700; line-height: .98; letter-spacing: -.042em;
  font-variation-settings: "SOFT" 30, "WONK" 1;
  text-wrap: balance; padding-bottom: .06em;
}
.hero-text h1 .dot { color: var(--persimmon); }
.hero-text .deck {
  margin-top: clamp(18px, 2.4vw, 30px); max-width: 56ch;
  font-size: clamp(16px, 1.55vw, 21px); line-height: 1.5; color: rgba(255,255,255,.88);
}

/* property caption + controls, bottom edge */
.hero-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 var(--gut) clamp(20px, 2.6vw, 30px);
  max-width: var(--maxw); margin: 0 auto;
}
.hero-where {
  font-family: "DM Mono", monospace; font-size: 11.5px; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255,255,255,.9); min-width: 0;
}
.hero-where b { color: var(--persimmon); font-weight: 500; }
.gal-dots { display: flex; gap: 6px; align-items: center; flex: none; }
.gal-dots button {
  width: 28px; height: 2px; padding: 0; border: none; cursor: pointer;
  background: rgba(255,255,255,.34); transition: background .25s, width .25s;
}
.gal-dots button:hover { background: rgba(255,255,255,.66); }
.gal-dots button[aria-selected="true"] { background: var(--persimmon); width: 46px; }
@media (max-width: 700px) {
  .hero-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-text { padding-bottom: clamp(104px, 20vw, 140px); }
  .hero-text h1 { font-size: clamp(42px, 12.4vw, 60px); }
}

/* the shoot note, only visible while the slot is empty */
.hero-note-row {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  padding-top: clamp(18px, 2.6vw, 28px);
}
.hero .ph-note {
  max-width: 52ch;
  font-family: "DM Mono", monospace; font-size: 11.5px; line-height: 1.5;
  color: rgba(255,255,255,.62);
}


/* ============================================================
   PAGE HEADS (Work / Play / Archive)
   ============================================================ */
.pagehead { padding: clamp(52px, 8vw, 104px) 0 clamp(30px, 4vw, 52px); }
.pagehead h1 {
  font-size: clamp(48px, 9.5vw, 118px); font-weight: 700; line-height: .98; letter-spacing: -.04em;
  font-variation-settings: "SOFT" 30, "WONK" 1; margin: 16px 0 0;
}
.pagehead h1 .dot { color: var(--persimmon); }
.pagehead .deck { margin-top: 22px; max-width: 58ch; font-size: clamp(16.5px, 2vw, 20px); }

/* ============================================================
   STATS
   ============================================================ */
.receipts {
  width: 100%;
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
}
.receipts-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.receipts-grid > div { padding: clamp(24px, 3vw, 38px) clamp(16px, 2vw, 30px); }
.receipts-grid > div:first-child { padding-left: 0; }
.receipts-grid > div:last-child  { padding-right: 0; }
.receipts-grid > div + div { border-left: 1px solid var(--hairline); }
.receipts .n {
  font-family: "Fraunces", serif; font-weight: 600; font-size: clamp(30px, 4.6vw, 56px);
  color: var(--cobalt); letter-spacing: -.03em; line-height: 1; display: block;
  font-variation-settings: "SOFT" 20, "WONK" 1; font-variant-numeric: tabular-nums;
}
.receipts .k {
  display: block; margin-top: 11px; font-family: "DM Mono", monospace; font-size: 10.5px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--wash); line-height: 1.45;
}
@media (max-width: 720px) {
  .receipts-grid { grid-template-columns: 1fr; }
  .receipts-grid > div { padding-left: 0; padding-right: 0; border-left: none; }
  .receipts-grid > div + div { border-top: 1px solid var(--hairline); }
}

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: clamp(58px, 8vw, 104px) 0 0; }
section.tight { padding-top: clamp(34px, 4.5vw, 62px); }
.abouttop { padding-top: clamp(46px, 7vw, 96px); }
.abouttop h3 {
  font-size: clamp(19px, 3.3vw, 44px); line-height: 1.05; letter-spacing: -.035em;
  font-variation-settings: "SOFT" 30, "WONK" 1; white-space: nowrap;
}
.abouttop h3 .dot { color: var(--persimmon); }
.sec-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: clamp(26px, 3.4vw, 40px); }
.sec-head h2 {
  font-size: clamp(28px, 4.4vw, 50px); font-weight: 600; letter-spacing: -.032em; line-height: 1;
  font-variation-settings: "SOFT" 25, "WONK" 1;
}
.sec-head .rule { flex: 1; height: 1px; background: var(--hairline); }
.sec-intro { max-width: 64ch; margin: -14px 0 clamp(26px, 3.4vw, 40px); }
@media (max-width: 700px) {
  .sec-head { flex-wrap: wrap; gap: 8px 14px; }
  .sec-head .rule { display: none; }
  .sec-head h2, .sec-head h3 { flex: 1 1 100%; }
  .sec-intro { margin-top: -8px; }
}

/* ============================================================
   BANDS — full-bleed image rows, zero gap, sharp edges
   ============================================================ */
.band { display: grid; gap: 0; width: 100%; }
.band + .band { border-top: 0; }
.b1 { grid-template-columns: 1fr; }
.b2 { grid-template-columns: repeat(2, 1fr); }
.b3 { grid-template-columns: repeat(3, 1fr); }
.b4 { grid-template-columns: repeat(4, 1fr); }
.b5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1000px) { .b5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .b5 { grid-template-columns: repeat(2, 1fr); } }
.b-2-1 { grid-template-columns: 2fr 1fr; }
@media (max-width: 900px) { .b3, .b4 { grid-template-columns: repeat(2, 1fr); } .b-2-1 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .b2, .b3, .b4 { grid-template-columns: 1fr; } }

.cell { position: relative; overflow: hidden; display: block; }
.cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.a-21x9 { aspect-ratio: 21/9; }
.a-16x9 { aspect-ratio: 16/9; }
.a-4x3  { aspect-ratio: 4/3; }
.a-1x1  { aspect-ratio: 1/1; }
.a-3x4  { aspect-ratio: 3/4; }
@media (max-width: 560px) { .a-21x9 { aspect-ratio: 16/9; } }

/* caption sits on the image — no margins anywhere */
.cell-cap {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: clamp(16px, 2vw, 26px);
}
/* a cell that spans the page gets the page's own left and right edge */
.b1 .cell-cap, .b-2-1 > .cell:only-child .cell-cap {
  padding-left: var(--edge); padding-right: var(--edge);
}
.b1 .cell-id, .b-2-1 > .cell:only-child .cell-id { left: var(--edge); }
.cell-cap {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--scrim);
}
.cell-id {
  position: absolute; top: clamp(14px, 1.8vw, 20px); left: clamp(16px, 2vw, 26px); z-index: 2;
  font-family: "DM Mono", monospace; font-size: 10.5px; letter-spacing: .16em;
  color: var(--persimmon); background: var(--persimmon-soft); padding: 3px 7px;
}
.cell-what {
  font-family: "Fraunces", Georgia, serif; font-weight: 600;
  font-size: clamp(16px, 1.9vw, 24px); color: var(--cobalt); line-height: 1.15; letter-spacing: -.018em;
  font-variation-settings: "SOFT" 30, "WONK" 1;
}
.cell-note { font-size: 12.5px; line-height: 1.42; color: var(--cobalt-2); max-width: 46ch; }
.cell-meta {
  font-family: "DM Mono", monospace; font-size: 11.5px; letter-spacing: .12em;
  text-transform: uppercase; color: color-mix(in oklab, var(--cobalt) 84%, transparent);
}

/* ============================================================
   TEXT BLOCKS between bands
   ============================================================ */
.block { padding: clamp(34px, 4.5vw, 60px) 0; }
.block-split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(22px, 4.5vw, 66px); align-items: start; }
.block-split h3 {
  font-size: clamp(26px, 3.6vw, 42px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05;
  font-variation-settings: "SOFT" 25, "WONK" 1;
}
.block-split .label { display: block; margin-bottom: 10px; }
.block-split p { font-size: clamp(15.5px, 1.5vw, 17.5px); }
.block-split p + p { margin-top: 12px; }
@media (max-width: 860px) { .block-split { grid-template-columns: 1fr; gap: 16px; } }

.venues { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.venue {
  font-family: "DM Mono", monospace; font-size: 11.5px; letter-spacing: .04em;
  color: var(--cobalt); border: 1px solid var(--hairline); padding: 5px 10px;
}
.venue.lead { color: var(--persimmon); border-color: var(--persimmon); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag {
  font-family: "DM Mono", monospace; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--persimmon); background: var(--persimmon-soft); padding: 4px 9px;
}

/* ============================================================
   DOORS — full-bleed, three across
   ============================================================ */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; width: 100%; }
.door { position: relative; display: block; text-decoration: none; overflow: hidden; aspect-ratio: 3/4; }
.door .ph { transition: transform .6s cubic-bezier(.22,.8,.3,1); }
.door:hover .ph { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .door:hover .ph { transform: none; } }
.door-body {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: clamp(20px, 2.4vw, 32px);
  background: linear-gradient(to top, rgba(12,12,20,.94) 0%, rgba(12,12,20,.86) 55%, rgba(12,12,20,0) 100%);
  padding-top: clamp(48px, 6vw, 76px);
  display: flex; flex-direction: column; gap: 7px;
}
.door h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 600; letter-spacing: -.03em; font-variation-settings: "SOFT" 30, "WONK" 1; line-height: 1; }
.door p { font-size: 14.5px; }
.door .go { font-family: "DM Mono", monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--persimmon); margin-top: 3px; }
@media (max-width: 860px) { .doors { grid-template-columns: 1fr; } .door { aspect-ratio: 16/9; } }

/* ============================================================
   ARCHIVE LIST
   ============================================================ */
.arch { border-top: 1px solid var(--hairline); }
.arch-row {
  display: grid; grid-template-columns: 150px 1fr auto; gap: 22px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--hairline);
}
.arch-row .yr { font-family: "DM Mono", monospace; font-size: 12.5px; color: var(--wash); letter-spacing: .06em; }
.arch-row .ttl { color: var(--cobalt); font-weight: 500; font-size: 17px; }
.arch-row .ttl em { font-style: normal; color: var(--wash); font-weight: 400; }
.arch-row .kind { font-family: "DM Mono", monospace; font-size: 12px; color: var(--persimmon); white-space: nowrap; }
@media (max-width: 700px) { .arch-row { grid-template-columns: 1fr; gap: 3px; } .arch-row .kind { justify-self: start; } }

/* ============================================================
   CONTACT / FOOTER
   ============================================================ */
.contact { margin-top: clamp(66px, 9vw, 116px); padding: clamp(44px, 6vw, 78px) 0; border-top: 1px solid var(--hairline); }
.contact h2 {
  font-family: "Fraunces", serif; font-size: clamp(48px, 9.6vw, 124px); font-weight: 700;
  letter-spacing: -.05em; line-height: .98; margin-bottom: 34px; text-wrap: balance;
  font-variation-settings: "SOFT" 30, "WONK" 1;
}
.links { display: flex; flex-wrap: wrap; gap: 10px; }
.contact .links { padding-top: 4px; }
.links a {
  font-family: "DM Mono", monospace; font-size: 13px; letter-spacing: .04em; text-decoration: none;
  color: var(--cobalt); border: 1.5px solid var(--hairline); padding: 11px 18px;
  transition: border-color .18s, color .18s, background .18s;
}
.links a:hover { color: var(--persimmon); border-color: var(--persimmon); background: var(--persimmon-soft); }

footer { padding: clamp(44px, 6vw, 74px) 0 46px; border-top: 1px solid var(--hairline); }
footer .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.foot-say {
  font-family: "Fraunces", serif; font-weight: 600; line-height: .96;
  font-size: clamp(34px, 6.4vw, 76px); letter-spacing: -.03em;
  font-variation-settings: "SOFT" 30, "WONK" 1;
}
.foot-say .dot { color: var(--persimmon); }
.foot-note { max-width: 46ch; margin-top: 16px; color: var(--cobalt-2); }
.foot-contact {
  display: flex; flex-wrap: wrap; gap: 8px; list-style: none;
  margin: clamp(22px, 3vw, 32px) 0 0; padding: 0;
}
.foot-contact a {
  display: inline-block; font-family: "DM Mono", monospace; font-size: 12.5px;
  letter-spacing: .04em; text-decoration: none; color: var(--cobalt);
  border: 1.5px solid var(--hairline); padding: 10px 15px;
  transition: border-color .18s, color .18s, background .18s;
}
.foot-contact a:hover { color: var(--persimmon); border-color: var(--persimmon); background: var(--persimmon-soft); }
.foot-base {
  margin-top: clamp(26px, 3.4vw, 40px);
  font-family: "DM Mono", monospace; font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--wash);
}

/* ---------------- entrance ---------------- */
@keyframes rise { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .8s cubic-bezier(.22,.8,.3,1) both; }
.rise:nth-child(2) { animation-delay: .06s; }
.rise:nth-child(3) { animation-delay: .12s; }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; } }

/* ============================================================
   INDEX TILES — the quick gallery at the top of Work
   ============================================================ */
.anchor { display: block; height: 0; scroll-margin-top: 80px; }

a.tile { position: relative; display: block; overflow: hidden; text-decoration: none; aspect-ratio: 4/3; }
a.tile .ph { transition: transform .55s cubic-bezier(.22,.8,.3,1); }
a.tile:hover .ph { transform: scale(1.045); }
@media (prefers-reduced-motion: reduce) { a.tile:hover .ph { transform: none; } }
.tile-body {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: clamp(16px, 2vw, 26px); background: var(--scrim);
  display: flex; flex-direction: column; gap: 3px;
}
.tile-name {
  font-family: "Fraunces", Georgia, serif; font-weight: 600;
  font-size: clamp(17px, 2vw, 25px); color: var(--cobalt); line-height: 1.1; letter-spacing: -.02em;
  font-variation-settings: "SOFT" 30, "WONK" 1;
}
.tile-kind {
  font-family: "DM Mono", monospace; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: color-mix(in oklab, var(--cobalt) 84%, transparent);
}
a.tile:hover .tile-kind { color: var(--persimmon); }

/* ============================================================
   ARCHIVE — definition lists
   ============================================================ */
.deflist { border-top: 1px solid var(--hairline); }
.defrow {
  display: grid; grid-template-columns: 210px 1fr; gap: 24px;
  padding: 15px 0; border-bottom: 1px solid var(--hairline);
}
.defrow dt {
  font-family: "DM Mono", monospace; font-size: 11px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--wash); padding-top: 4px;
}
.defrow dd { color: var(--cobalt-2); font-size: 15.5px; }
.defrow dd b { color: var(--cobalt); font-weight: 600; }
@media (max-width: 700px) { .defrow { grid-template-columns: 1fr; gap: 4px; } }

.index-head { padding: clamp(30px, 4vw, 50px) 0 clamp(18px, 2.4vw, 26px); }

/* ============================================================
   LEARN MORE — button + lightbox gallery
   ============================================================ */
button.learn {
  margin-top: 16px; align-self: flex-start;
  font-family: "DM Mono", monospace; font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--cobalt); background: none; border: 1.5px solid var(--cobalt);
  padding: 11px 18px; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
button.learn:hover { background: var(--persimmon); border-color: var(--persimmon); color: #fff; }
.learn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 16px; }
.learn-row button.learn { margin-top: 0; }
a.learn-link {
  font-family: "DM Mono", monospace; font-size: 11.5px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--cobalt); text-decoration: none;
  border-bottom: 1.5px solid var(--hairline); padding-bottom: 3px; transition: color .18s, border-color .18s;
}
a.learn-link:hover { color: var(--persimmon); border-color: var(--persimmon); }

.galleries { display: none; }

.lb {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(24,24,48,.97);
  display: grid; grid-template-rows: auto 1fr auto;
}
.lb[hidden] { display: none !important; }

.lb-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding: clamp(18px, 2.4vw, 28px) var(--gut);
  max-width: var(--maxw); width: 100%; margin: 0 auto;
}
.lb-title {
  font-family: "Fraunces", Georgia, serif; font-weight: 600; color: #fff;
  font-size: clamp(19px, 2.4vw, 30px); letter-spacing: -.02em; line-height: 1.1;
  font-variation-settings: "SOFT" 30, "WONK" 1;
}
.lb-count { font-family: "DM Mono", monospace; font-size: 12px; letter-spacing: .14em; color: rgba(255,255,255,.6); font-variant-numeric: tabular-nums; }

.lb-stage { position: relative; min-height: 0; display: grid; }
.lb-gal { position: relative; min-height: 0; display: grid; }
.lb-gal[hidden] { display: none !important; }
.lb-shot { position: relative; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.lb-shot[hidden] { display: none !important; }
.lb-shot img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* very wide artwork: scroll it sideways at readable height */
.lb-strip {
  position: absolute; inset: 0; display: flex; align-items: center;
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scrollbar-width: thin; padding: clamp(10px, 2vh, 26px) var(--gut);
  cursor: grab;
}
.lb-strip:active { cursor: grabbing; }
.lb-strip img { flex: none; width: auto; max-width: none; height: 100%; max-height: 400px; object-fit: contain; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.lb-shot .ph { position: absolute; inset: 0; }
.lb-shot .ph-label {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: clamp(16px, 2vw, 26px) var(--edge);
  background: var(--scrim);
  font-family: "DM Mono", monospace; font-size: 12.5px; line-height: 1.5;
  color: color-mix(in oklab, var(--cobalt) 86%, transparent);
}
.lb-shot .ph-label b { display: block; font-family: "Fraunces", serif; font-size: 17px; color: var(--cobalt); margin-bottom: 3px; letter-spacing: -.015em; }

.lb-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: clamp(16px, 2vw, 24px) var(--gut);
  max-width: var(--maxw); width: 100%; margin: 0 auto;
}
.lb-text { min-width: 0; max-width: 78ch; display: flex; flex-direction: column; gap: 6px; }
.lb-cap {
  font-family: "DM Mono", monospace; font-size: 11.5px; letter-spacing: .13em;
  text-transform: uppercase; color: rgba(255,255,255,.62);
}
.lb-note { font-size: clamp(14px, 1.5vw, 16.5px); line-height: 1.5; color: rgba(255,255,255,.9); text-wrap: pretty; }
.lb-full {
  font-family: "DM Mono", monospace; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  border: 1.5px solid rgba(255,255,255,.34); color: #fff; text-decoration: none;
  padding: 10px 16px; transition: border-color .18s, background .18s; white-space: nowrap;
}
.lb-full:hover { border-color: var(--persimmon); background: var(--persimmon); color: #fff; }
.lb-full[hidden] { display: none !important; }
.lb-nav { display: flex; gap: 8px; flex: none; }
.lb button.lb-prev, .lb button.lb-next, .lb button.lb-close {
  font-family: "DM Mono", monospace; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  background: none; border: 1.5px solid rgba(255,255,255,.34); color: #fff;
  padding: 10px 16px; cursor: pointer; transition: border-color .18s, background .18s;
}
.lb button:hover:not(:disabled) { border-color: var(--persimmon); background: var(--persimmon); }
.lb button:disabled { opacity: .3; cursor: default; }
.lb button:focus-visible { outline: 2.5px solid var(--persimmon); outline-offset: 3px; }
@media (max-width: 640px) {
  .lb-foot { flex-direction: column; align-items: stretch; gap: 12px; }
  .lb-note { font-size: 14px; }
  .lb-nav { justify-content: space-between; }
}

/* visually hidden, still read by screen readers and search engines */
.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;
}


/* ---- drag-and-drop photo slots -------------------------------
   Every .ph is a live drop target. Drop a photo on it and it
   stays. Captions sit above and stay click-through. ---------- */
.ph image-slot { position: absolute; inset: 0; z-index: 3; display: block; }
.hero .ph image-slot { z-index: 1; }
/* captions must sit above the photo layer, not under it */
.door .ph image-slot, .tile .ph image-slot, .cell .ph image-slot { z-index: 1; }
.door-body, .tile-body, .cell-cap { z-index: 4; }
.ph-label, .cell-cap, .tile-body, .door-body, .hero-text, .hero-scrim, .hero-note-row { pointer-events: none; }
.cell-cap a, .tile-body a, .door-body a, .hero-text a { pointer-events: auto; }

/* only the visible hero slide accepts a drop — otherwise a photo can land
   on a faded-out slide and disappear */
.hero .slide { pointer-events: none; }
.hero .slide.on { pointer-events: auto; }


/* ============================================================
   SHOW CARD GALLERY — the cocktail program as a season.
   Cards butt edge to edge, zero gap; each carries a bottom
   gradient with the production and its run.
   ============================================================ */
.showgrid {
  display: grid; gap: 0; width: 100%;
  grid-template-columns: repeat(7, 1fr);
}
@media (max-width: 1200px) { .showgrid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 940px)  { .showgrid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 760px)  { .showgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px)  { .showgrid { grid-template-columns: repeat(2, 1fr); } }

.show { position: relative; overflow: hidden; aspect-ratio: 4/5; background: #14142A; }
.show img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* square asset in a 4/5 tile: letterbox on the artwork's own silver frame
   rather than cropping a fifth of the wordmark away */
.show.is-square { background: #DCDCDA; }
.show.is-square img { object-fit: contain; }
.show .ph image-slot { z-index: 1; }
.show-cap {
  position: absolute; inset: auto 0 0 0; z-index: 4; pointer-events: none;
  display: flex; flex-direction: column; gap: 3px;
  padding: 46px 14px 13px;
  background: linear-gradient(to top,
    rgba(20,20,42,.93) 0%, rgba(20,20,42,.78) 34%, rgba(20,20,42,.42) 66%, rgba(20,20,42,0) 100%);
}
.show-name {
  font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 15px;
  line-height: 1.12; letter-spacing: -.015em; color: #fff;
  font-variation-settings: "SOFT" 30, "WONK" 1; text-wrap: pretty;
}
.show-when {
  font-family: "DM Mono", monospace; font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.74); font-variant-numeric: tabular-nums;
}
.show-co {
  font-family: "DM Mono", monospace; font-size: 9.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--persimmon);
}
@media (max-width: 760px) { .show-cap { padding: 38px 11px 11px; } .show-name { font-size: 13.5px; } }

.lb-shot .showgrid { align-self: center; grid-auto-rows: max-content; align-content: start; max-height: 100%; overflow: auto; }

/* ============================================================
   DOORS — keep the caption legible over dark photography
   ============================================================ */
.door-body h3, .door-body p { color: #fff; text-shadow: 0 1px 18px rgba(0,0,0,.55); }
.door-body p { color: rgba(255,255,255,.86); }
.door .go { color: var(--apricot); text-shadow: 0 1px 14px rgba(0,0,0,.6); }

/* ============================================================
   SCROLL STRIP — very wide artwork, scrolled left to right
   ============================================================ */
.scrollstrip { position: relative; width: 100%; overflow-x: auto; overflow-y: hidden; background: transparent; overscroll-behavior-x: contain; scrollbar-width: thin; }
.scrollstrip + .scrollstrip { border-top: 1px solid var(--hairline); }
.scrollstrip > img { display: block; height: clamp(150px, 22vh, 260px); width: auto; margin: 18px 0 0; }
.scrollstrip-hint { position: sticky; left: 0; display: inline-block; margin: 0 0 12px 14px; font-family: "DM Mono", monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--wash); }
.scrollstrip:focus-visible { outline: 2px solid var(--apricot); outline-offset: -2px; }

/* deck pages shown inside a lightbox shot */
.deckgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; align-self: center; }
.deckgrid img { display: block; width: 100%; height: auto; border-radius: 3px; background: #fff; }
@media (max-width: 860px) { .deckgrid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   ART GRID — illustration & comics, masonry columns
   ============================================================ */
.artcols { column-count: 3; column-gap: 18px; margin: 0 0 10px; }
@media (max-width: 1000px) { .artcols { column-count: 2; } }
@media (max-width: 620px) { .artcols { column-count: 1; } }
.art { display: block; break-inside: avoid; margin: 0 0 18px; position: relative; text-decoration: none; background: var(--glaze); border-radius: 4px; overflow: hidden; }
.art img { display: block; width: 100%; height: auto; }
.art-cap {
  display: block; padding: 10px 12px 12px;
  font-family: "DM Mono", monospace; font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--wash);
}
.art:hover .art-cap { color: var(--persimmon); }
.art:hover img { opacity: .92; }

/* ============================================================
   MARQUEE ROWS — auto-scrolling, still grabbable
   ============================================================ */
.mq { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none; cursor: grab; }
.mq::-webkit-scrollbar { display: none; }
.mq-track { display: flex; width: max-content; }
.mq > .mq-track > .show { flex: 0 0 clamp(180px, 14.2vw, 260px); }
.band .mq + .mq { margin-top: 0; }
.scrollstrip.mq > .mq-track { gap: 0; padding: 18px 0; }
.scrollstrip.mq > .mq-track > img { display: block; height: clamp(150px, 22vh, 260px); width: auto; }

/* posters are 9:16 — show them whole rather than cropping the headline */
.showgrid.is-posters .show { aspect-ratio: 9/16; background: #14142A; }
.showgrid.is-posters .show img { object-fit: contain; }
.showgrid.is-posters { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .showgrid.is-posters { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .showgrid.is-posters { grid-template-columns: repeat(2, 1fr); } }

/* marquee motion: compositor-only transforms, paused on hover */
/* every track holds its content twice, so translating exactly -50% lands the
   second copy where the first began — the loop repeats with no stop or reversal */
@keyframes mq-loop { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mq .mq-track { will-change: transform; backface-visibility: hidden; }
.mq-a .mq-track { animation: mq-loop 90s linear infinite; }
.mq-b .mq-track { animation: mq-loop 90s linear infinite reverse; }
.mq-c .mq-track { animation: mq-loop 260s linear infinite; }
.mq-d .mq-track { animation: mq-loop 260s linear infinite reverse; }
.mq:hover .mq-track, .mq:focus-within .mq-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .mq .mq-track { animation: none; } }


/* ============================================================
   ABOUT — portrait beside prose, facts, capabilities, CV
   ============================================================ */
.aboutme { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(24px, 4.5vw, 64px); align-items: start; }
@media (max-width: 860px) { .aboutme { grid-template-columns: 1fr; gap: 24px; } }

.portrait { position: relative; overflow: hidden; aspect-ratio: 4/5; }
.portrait.is-tall { aspect-ratio: 3/4; }
.portrait .ph image-slot { z-index: 1; }
@media (max-width: 860px) { .portrait, .portrait.is-tall { aspect-ratio: 4/3; } }

.aboutme h3 {
  font-size: clamp(24px, 3.2vw, 38px); font-weight: 600; letter-spacing: -.03em; line-height: 1.06;
  font-variation-settings: "SOFT" 25, "WONK" 1; color: var(--cobalt); margin-bottom: 16px;
}
.aboutme p { font-size: clamp(15.5px, 1.5vw, 17.5px); max-width: 62ch; }
.aboutme p + p { margin-top: 12px; }
.aboutme em { font-style: italic; color: var(--cobalt); }
.about-cta { margin-top: 26px; }

/* fact rows */
.facts { margin-top: 26px; border-top: 1px solid var(--hairline); }
.fact {
  display: grid; grid-template-columns: 13ch 1fr; gap: 18px; align-items: baseline;
  padding: 11px 0; border-bottom: 1px solid var(--hairline);
}
.fact dt {
  font-family: "DM Mono", monospace; font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--wash);
}
.fact dd { font-size: 15px; color: var(--cobalt); }
.fact dd a { color: var(--persimmon); text-decoration: none; border-bottom: 1px solid transparent; }
.fact dd a:hover { border-bottom-color: var(--persimmon); }
@media (max-width: 560px) { .fact { grid-template-columns: 1fr; gap: 3px; } }

/* what I do */
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
@media (max-width: 860px) { .caps { grid-template-columns: 1fr; gap: 24px; } }
.cap { border-top: 2px solid var(--cobalt); padding-top: 16px; }
.cap .label { display: block; margin-bottom: 10px; color: var(--cobalt); }
.cap p { font-size: 15.5px; }

/* experience */
.cv { border-top: 1px solid var(--hairline); }
.cv-row {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(18px, 3vw, 48px);
  padding: clamp(18px, 2.4vw, 26px) 0; border-bottom: 1px solid var(--hairline);
}
@media (max-width: 720px) { .cv-row { grid-template-columns: 1fr; gap: 10px; } }
.cv-row dt, .cv-row dd { display: flex; flex-direction: column; gap: 5px; }
.cv-when { font-family: "DM Mono", monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--persimmon); }
.cv-where { font-size: clamp(18px, 2.1vw, 25px); font-weight: 600; letter-spacing: -.024em; line-height: 1.1; color: var(--cobalt); font-variation-settings: "SOFT" 25, "WONK" 1; }
.cv-what { font-size: 16px; font-weight: 600; color: var(--cobalt); }
.cv-note { font-size: 14.5px; line-height: 1.55; max-width: 58ch; }

/* about page contact block */
.contact h2 .dot { color: var(--persimmon); }
.contact-line { max-width: 54ch; margin-top: -12px; font-size: clamp(15.5px, 1.6vw, 18px); }
.contact-facts { max-width: 62ch; margin-bottom: 30px; }


/* ============================================================
   MENU & SIGNAGE COLLATERAL
   Printed pieces shown whole on a paper ground, grouped under
   the account they belong to.
   ============================================================ */
.sec-head h3 {
  font-size: clamp(20px, 2.1vw, 27px); font-weight: 600; letter-spacing: -.028em;
  line-height: 1.05; font-variation-settings: "SOFT" 25, "WONK" 1;
}
.showgrid.is-posters { grid-template-columns: repeat(3, 1fr); }

/* ============================================================
   PIECE GRID  —  small thumbnails of printed collateral.
   Each thumb is a button that opens the piece full size with
   its account and a description (see .zoom below).
   ============================================================ */
.pcgrid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  margin-bottom: clamp(10px, 1.6vw, 18px);
}
.pc {
  display: flex; flex-direction: column; gap: 9px;
  background: none; border: 0; padding: 0; margin: 0;
  font: inherit; color: inherit; text-align: left; cursor: pointer;
}
/* the artwork sits directly on the page — no paper ground, no frame */
.pc-sheet {
  display: block; position: relative; overflow: hidden;
  background: none; border: 0;
  aspect-ratio: 3/4;
}
.pc.is-wide .pc-sheet { aspect-ratio: 4/3; }
.pc.is-tall .pc-sheet { aspect-ratio: 1/2; }
.pc.is-slide .pc-sheet { aspect-ratio: 16/9; }
.pcgrid.is-slides { grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); }
@media (max-width: 520px) { .pcgrid, .pcgrid.is-slides { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.pc-step {
  font-family: "DM Mono", monospace; font-size: 10px; letter-spacing: .12em;
  color: var(--wash);
}
.pc-sheet img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.pc-sheet::after {
  content: "⤢"; position: absolute; right: 6px; bottom: 5px;
  width: 22px; height: 22px; display: grid; place-items: center;
  font-size: 12px; color: var(--porcelain); background: var(--cobalt);
  opacity: 0; transition: opacity .18s;
}
.pc:hover .pc-sheet img, .pc:focus-visible .pc-sheet img { transform: scale(1.04); }
.pc:hover .pc-sheet::after, .pc:focus-visible .pc-sheet::after { opacity: 1; }
.pc:focus-visible .pc-sheet { outline: 2px solid var(--persimmon); outline-offset: 2px; }
.pc-cap { display: flex; flex-direction: column; gap: 3px; }
.pc-co {
  font-family: "DM Mono", monospace; font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--persimmon);
}
.pc-name { font-size: 12.5px; line-height: 1.32; color: var(--cobalt-2); text-wrap: pretty; }

/* cocktail cards enlarge the same way the printed pieces do */
.showgrid .show { cursor: zoom-in; }
.showgrid .show:focus-visible { outline: 2.5px solid var(--persimmon); outline-offset: -3px; }
.showgrid .show::after {
  content: "⤢"; position: absolute; right: 6px; top: 6px; z-index: 5;
  width: 22px; height: 22px; display: grid; place-items: center;
  font-size: 12px; color: var(--porcelain); background: var(--cobalt);
  opacity: 0; transition: opacity .18s;
}
.showgrid .show:hover::after, .showgrid .show:focus-visible::after { opacity: 1; }

/* ============================================================
   ZOOM  —  single piece, full size, with its description
   ============================================================ */
.zoom {
  position: fixed; inset: 0; z-index: 90; display: flex;
  background: rgba(10,10,24,.94); padding: clamp(14px, 3vw, 40px);
  gap: clamp(18px, 3vw, 44px);
}
.zoom[hidden] { display: none; }
.zoom-sheet {
  flex: 1 1 auto; min-width: 0; display: grid; place-items: center;
}
.zoom-sheet img { max-width: 100%; max-height: 100%; object-fit: contain; }
.zoom-side {
  flex: 0 0 clamp(230px, 25vw, 320px); display: flex; flex-direction: column;
  gap: 14px; align-self: center; max-height: 100%; overflow-y: auto;
}
.zoom-acct {
  font-family: "DM Mono", monospace; font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--tangerine);
}
.zoom-side h3 { font-size: clamp(19px, 2vw, 26px); font-weight: 600; line-height: 1.14; color: #fff; }
.zoom-meta {
  font-family: "DM Mono", monospace; font-size: 11px; letter-spacing: .05em;
  color: rgba(255,255,255,.62);
}
.zoom-desc { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.84); text-wrap: pretty; }
.zoom-nums {
  font-family: "DM Mono", monospace; font-size: 11px; letter-spacing: .1em;
  color: rgba(255,255,255,.5);
}
.zoom-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.zoom-btns button {
  font-family: "DM Mono", monospace; font-size: 11px; letter-spacing: .06em;
  background: none; color: #fff; border: 1px solid rgba(255,255,255,.34);
  padding: 9px 13px; cursor: pointer; transition: background .16s, border-color .16s;
}
.zoom-btns button:hover { background: rgba(255,255,255,.13); border-color: #fff; }
@media (max-width: 860px) {
  .zoom { flex-direction: column; gap: 14px; }
  .zoom-side { flex: 0 0 auto; align-self: stretch; }
  .zoom-sheet { flex: 1 1 60%; }
}

/* ============================================================
   SECTION BAR  —  docks under the nav: progress + skip-ahead
   ============================================================ */
.secbar {
  position: fixed; left: 0; right: 0; top: 62px; z-index: 39;
  transform: translateY(-105%); transition: transform .32s cubic-bezier(.2,.8,.2,1), opacity .2s;
  opacity: 0; pointer-events: none;
  background: var(--porcelain); border-bottom: 1px solid var(--hairline);
  box-shadow: 0 8px 24px rgba(10,10,24,.10);
}
.secbar.on { transform: translateY(0); opacity: 1; pointer-events: auto; }
.secbar-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 3px 5px; padding: 8px 14px;
}
.secbar-lab {
  flex: 0 0 auto; font-family: "DM Mono", monospace; font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--wash);
  padding: 0 8px 0 4px; border-right: 1px solid var(--hairline);
}
.secbar a {
  flex: 0 0 auto; font-family: "DM Mono", monospace; font-size: 11.5px;
  letter-spacing: .03em; text-decoration: none; white-space: nowrap;
  color: var(--cobalt-2); padding: 5px 8px; border: 1px solid transparent;
  transition: color .16s, background .16s, border-color .16s;
}
.secbar a:hover { color: var(--persimmon); border-color: var(--hairline); }
.secbar a.here { color: var(--porcelain); background: var(--cobalt); border-color: var(--cobalt); }
.secbar-progress { height: 2px; background: var(--hairline); }
.secbar-progress i { display: block; height: 100%; width: var(--p, 0%); background: var(--persimmon); transition: width .12s linear; }
@media (max-width: 700px) { .secbar-lab { display: none; } .secbar-inner { padding: 7px 10px; } }

.secbar-role {
  flex: 0 0 auto; font-family: "DM Mono", monospace; font-size: 10px;
  letter-spacing: .1em; color: var(--wash); white-space: nowrap;
  padding: 0 5px 0 9px; margin-left: 3px; border-left: 1px solid var(--hairline);
}
.secbar-role:first-child { margin-left: 0; border-left: 0; padding-left: 4px; }
.secbar-role.here { color: var(--persimmon); }
a.secbar-role.is-solo { text-decoration: none; padding: 6px 8px 6px 10px; transition: color .16s; }
a.secbar-role.is-solo:hover { color: var(--persimmon); }

/* tile call-to-action */
.tile-go {
  font-family: "DM Mono", monospace; font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--persimmon); margin-top: 4px;
}

/* ============================================================
   ACCOUNT HEADS — the numbered heading above each account
   ============================================================ */
.acct-head {
  display: flex; align-items: baseline; gap: 14px;
  padding-top: clamp(30px, 4vw, 54px); margin-bottom: clamp(22px, 3vw, 34px);
}
.acct-n {
  flex: 0 0 auto; font-family: "DM Mono", monospace; font-size: 11px;
  letter-spacing: .16em; color: var(--persimmon);
}
.acct-head h3 {
  font-family: "Fraunces", serif; font-weight: 700;
  font-size: clamp(28px, 3.8vw, 46px); line-height: 1; letter-spacing: -.035em;
  font-variation-settings: "SOFT" 30, "WONK" 1; color: var(--cobalt);
}
.acct-head .rule { flex: 1; height: 1px; background: var(--hairline); }
.acct-head .label { flex: 0 0 auto; }
@media (max-width: 700px) { .acct-head { flex-wrap: wrap; gap: 8px 12px; } .acct-head .rule { display: none; } }

/* ============================================================
   ROLE HEADERS — one per employer, above its accounts
   ============================================================ */
.role { padding: clamp(76px, 10vw, 148px) 0 0; }
.role-inner { border-top: 2px solid var(--cobalt); padding-top: 20px; }
.role-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; }
.role-when {
  font-family: "DM Mono", monospace; font-size: 11px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--wash);
}
.role-co {
  font-family: "Fraunces", serif; font-weight: 700; margin-top: 10px;
  font-size: clamp(38px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -.04em;
  font-variation-settings: "SOFT" 30, "WONK" 1; color: var(--cobalt);
}
.role-title {
  margin-top: 12px; font-family: "DM Mono", monospace; font-size: 12.5px;
  letter-spacing: .06em; color: var(--persimmon);
}
.role-blurb { margin-top: 12px; max-width: 62ch; font-size: clamp(15.5px, 1.5vw, 17.5px); }
.role-index {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px;
  margin-top: clamp(20px, 2.6vw, 30px); padding-top: 16px;
  border-top: 1px solid var(--hairline);
}
.role-index-lab {
  flex: 0 0 auto; font-family: "DM Mono", monospace; font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--wash);
  padding-right: 6px;
}
.role-index a {
  display: inline-flex; align-items: baseline; gap: 7px; text-decoration: none;
  font-family: "DM Mono", monospace; font-size: 12px; letter-spacing: .03em;
  color: var(--cobalt-2); border: 1px solid var(--hairline); padding: 6px 10px;
  transition: color .16s, border-color .16s;
}
.role-index a i { font-style: normal; font-size: 10px; color: var(--persimmon); letter-spacing: .1em; }
.role-index a:hover { color: var(--persimmon); border-color: var(--persimmon); }
/* the employer run picks back up after an interleaved role */
.role.is-resume { padding-top: clamp(56px, 7vw, 104px); }
.role.is-resume .role-inner { border-top-width: 1px; padding-top: 14px; }

/* the copy block's left rail names the account the copy belongs to */
.block-who { display: flex; flex-direction: column; gap: 10px; }
.block-who-name {
  font-family: "Fraunces", serif; font-weight: 600; font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.14; letter-spacing: -.018em; color: var(--cobalt);
  font-variation-settings: "SOFT" 25, "WONK" 1; text-wrap: pretty;
}

/* ============================================================
   WORK LANDING — nine accounts inside the first screen
   ============================================================ */
.index-head { padding: clamp(22px, 2.6vw, 34px) 0 clamp(14px, 1.6vw, 20px); }
.index-head .label b {
  font-weight: 500; color: var(--persimmon);
  border-bottom: 1.5px solid var(--persimmon); padding-bottom: 2px;
}
.index-prompt {
  margin: 10px 0 0; max-width: 46ch; display: flex; flex-wrap: wrap;
  align-items: baseline; gap: 4px 14px;
}
.index-prompt b {
  font-family: "Fraunces", serif; font-weight: 700;
  font-size: clamp(26px, 3.4vw, 46px); letter-spacing: -.035em; line-height: 1;
  color: var(--cobalt); font-variation-settings: "SOFT" 0, "WONK" 1;
}
.index-prompt span {
  font-family: "DM Mono", monospace; font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--wash);
}
.work-index a.tile { aspect-ratio: auto; height: calc((100svh - 260px) / 3); min-height: 130px; }
.work-index .tile-body {
  padding: 13px clamp(12px, 1.3vw, 18px) 13px; gap: 2px;
  background: linear-gradient(to top, rgba(27,27,54,.94) 0%, rgba(27,27,54,.88) 60%, rgba(27,27,54,.62) 100%);
}
.work-index .tile-name { font-size: clamp(14px, 1.3vw, 19px); }
.work-index .tile-kind { font-size: 11px; letter-spacing: .1em; color: rgba(255,255,255,.92); }
.work-index a.tile:hover .tile-kind { color: var(--persimmon); }
.work-index .tile-go { margin-top: 4px; font-size: 10px; }
@media (max-width: 900px) { .work-index a.tile { height: auto; aspect-ratio: 4/3; } }

/* hero scroll cue */
.hero-scroll {
  position: absolute; z-index: 5; right: var(--gut);
  bottom: calc(clamp(20px, 2.6vw, 30px) + 30px);
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  text-decoration: none; opacity: .78; transition: opacity .25s, transform .25s;
  font-family: "DM Mono", monospace; font-size: 9.5px; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,.9);
}
.hero-scroll:hover { opacity: 1; color: #fff; }
.hero-scroll-arrow { font-size: 13px; animation: nudge 2.1s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .hero-scroll-arrow { animation: none; } }
@media (max-width: 700px) { .hero-scroll { display: none; } }

/* copy blocks that carry no left rail — the text spans the page */
.block-wide { display: block; }
.block-wide .label { display: block; margin-bottom: 10px; }
.block-copy { columns: 1; max-width: 78ch; }
.block-copy:has(p + p) { columns: 1; max-width: 78ch; }
.block-copy p {
  font-size: clamp(15.5px, 1.5vw, 17.5px); margin: 0 0 14px;
  break-inside: avoid; text-wrap: pretty;
}
.block-copy p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .block-copy { columns: 1; } }

.doors-2 { grid-template-columns: repeat(2, 1fr); }
.doors-2 .door { aspect-ratio: 4/3; }
@media (max-width: 860px) { .doors-2 { grid-template-columns: 1fr; } }

/* ---------- horizontal video, copy alongside ---------- */
.vidrow {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(20px, 3.2vw, 46px); align-items: center;
  margin-top: clamp(30px, 4vw, 52px);
}
.vidfig {
  margin: 0; position: relative; aspect-ratio: var(--ar, 16 / 9); overflow: hidden;
  background: #0b0b0b; border: 1px solid var(--hairline);
  max-height: min(70svh, 620px); width: 100%;
}
/* a portrait clip frames itself and sits narrow beside the copy: height is the
   definite axis, width derives from the clip's own ratio — no bars either side */
.vidrow.is-portrait { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
.vidfig.is-portrait {
  width: auto; max-width: min(340px, 40vw);
  height: min(70svh, 560px); max-height: none; justify-self: start;
}
.vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.vidcopy { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.vidcopy h3, .vidcopy h4 {
  font-family: "Fraunces", serif; font-size: clamp(20px, 2.3vw, 29px); font-weight: 600;
  letter-spacing: -.025em; line-height: 1.04;
}
.vidcopy p { max-width: 42ch; font-size: clamp(14.5px, 1.4vw, 16.5px); }
@media (max-width: 820px) { .vidrow { grid-template-columns: 1fr; gap: 18px; } }

/* video inside a lightbox shot — never cropped */
.ph-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; border: 0; background: #0b0b0b; }
/* the clip shows whole — never cropped by its cell */
.cell.is-video .ph-vid { object-fit: contain; }

/* ---------- three-part report breakdown ---------- */
.brk { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.brk-part { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 1.5px solid var(--hairline); }
.brk-n { font-family: "DM Mono", monospace; font-size: 11.5px; letter-spacing: .16em; color: var(--persimmon); }
.brk-part h4 { font-family: "Fraunces", serif; font-size: clamp(17px, 1.85vw, 23px); font-weight: 600; letter-spacing: -.02em; }
.brk-part p { font-size: clamp(14.5px, 1.4vw, 16px); line-height: 1.55; text-wrap: pretty; }
@media (max-width: 820px) { .brk { grid-template-columns: 1fr; gap: 22px; } }

/* a PDF read in place inside a popup */
.lb-pdf { position: absolute; inset: 0; background: #fff; }
.lb-pdf iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- deck mosaic in an image cell ---------- */
.mosaic {
  position: absolute; inset: 0; width: 100%; display: grid;
  grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(4, 1fr);
  gap: 2px; padding: 0; border: 0; background: var(--hairline); cursor: zoom-in;
}
.mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .18s; }
.mosaic:hover img { opacity: .82; }
.mosaic:focus-visible { outline: 2.5px solid var(--persimmon); outline-offset: 3px; }

/* ---------- a report read in place on the page ---------- */
.pcgrid.is-slides { margin-top: clamp(22px, 3vw, 36px); }
.pdfnote {
  margin-top: 10px; font-family: "DM Mono", monospace; font-size: 11.5px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--wash);
}
@media (max-width: 700px) { .pdfpanel { aspect-ratio: 3 / 4; } }

/* the flagship account spans the landing row, and reads at flagship weight */
.work-index a.tile.is-wide { grid-column: 1 / -1; }
.work-index a.tile.is-wide { height: calc((100svh - 260px) / 3 * 1.22); }
.work-index a.tile.is-wide .tile-body {
  inset: 0 auto 0 0; justify-content: flex-end; max-width: min(58%, 640px);
  padding: clamp(18px, 2vw, 30px) clamp(28px, 3vw, 52px) clamp(18px, 2vw, 30px) clamp(16px, 2vw, 30px); gap: 5px;
  background: linear-gradient(to right, rgba(27,27,54,.93) 0%, rgba(27,27,54,.86) 55%, rgba(27,27,54,0) 100%);
}
.work-index a.tile.is-wide .tile-name {
  font-size: clamp(26px, 3.6vw, 46px); font-weight: 700; letter-spacing: -.035em;
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.work-index a.tile.is-wide .tile-kind { font-size: 12px; letter-spacing: .14em; color: var(--apricot); }
.work-index a.tile.is-wide .tile-sub { font-size: 12px; color: rgba(255,255,255,.9); letter-spacing: .07em; }
.work-index a.tile.is-wide .tile-go { font-size: 11px; letter-spacing: .14em; }
.work-index .tile-sub {
  font-family: "DM Mono", monospace; font-size: 10.5px; letter-spacing: .09em;
  text-transform: uppercase; color: rgba(255,255,255,.82); margin-top: 3px;
}
@media (max-width: 900px) {
  .work-index a.tile.is-wide { height: auto; aspect-ratio: 4/3; }
  .work-index a.tile.is-wide .tile-body {
    inset: auto 0 0 0; max-width: none;
    background: linear-gradient(to top, rgba(27,27,54,.94) 0%, rgba(27,27,54,.88) 60%, rgba(27,27,54,.62) 100%);
  }
}
@media (max-width: 700px) { .work-index .tile-sub { display: none; } }

.block.is-spaced { margin-top: clamp(28px, 4vw, 60px); }

.scroll-note {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: clamp(16px, 2.2vw, 26px) 0 clamp(4px, 1vw, 10px);
  font-family: "DM Mono", monospace; font-size: 11.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--wash); text-align: center;
}
.scroll-arrow { color: var(--persimmon); animation: scroll-nudge 2.2s ease-in-out infinite; }
@keyframes scroll-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .scroll-arrow { animation: none; } }
@media (max-width: 640px) { .scroll-note { font-size: 10.5px; letter-spacing: .08em; } }

/* landing grid: two featured accounts up top, three below */
.index-top { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; width: 100%; }
.index-top a.tile.is-wide {
  grid-column: auto; height: auto; aspect-ratio: 16/10;
}
.index-top a.tile.is-wide .tile-body {
  inset: auto 0 0 0; max-width: none; justify-content: flex-end;
  padding: clamp(18px, 2vw, 30px) clamp(18px, 2vw, 30px) clamp(18px, 2vw, 26px);
  background: linear-gradient(to top, rgba(27,27,54,.94) 0%, rgba(27,27,54,.86) 58%, rgba(27,27,54,0) 100%);
}
.index-top a.tile.is-wide .tile-name { font-size: clamp(24px, 2.6vw, 36px); }
@media (max-width: 900px) {
  .index-top { grid-template-columns: 1fr; }
  .index-top a.tile.is-wide { aspect-ratio: 4/3; }
}

/* breathing room between a section's copy and the images it introduces */
section.tight + .band, section.tight + .wrap, section.tight + div > .band { margin-top: clamp(10px, 1.6vw, 22px); }
.band + .wrap > .block { padding-top: clamp(22px, 3vw, 40px); }
section.tight { padding-bottom: clamp(6px, 1vw, 14px); }

/* ---------- figures highlighted inline in the copy ---------- */
.num { font-weight: 500; color: var(--persimmon); font-style: normal; }

/* ---------- an on-page fold-out, dragged sideways ---------- */
.stripband {
  position: absolute; inset: 0; display: flex; align-items: center; gap: 0;
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  background: var(--paper-2, #f4f1ea); cursor: grab; scrollbar-width: thin;
}
.stripband:active { cursor: grabbing; }
/* source scans are 400px tall — never render them larger than that */
.cell.is-foldout { aspect-ratio: auto; height: clamp(180px, 22vw, 320px); }
@media (max-width: 560px) { .cell.is-foldout { height: 200px; } }
.stripband img { max-height: 400px; }
.stripband img {
  flex: none; width: auto; max-width: none; height: 100%; object-fit: cover;
  display: block; user-select: none; -webkit-user-drag: none; pointer-events: none;
}
.ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* a 3:1 fold-out panel reads whole, never cropped mid-headline */
.ph-img.is-panel { object-fit: contain; background: #12121c; }

/* ============================================================
   WORK ON A PHONE
   Piece galleries run as swipe strips: a section costs one screen
   instead of twelve rows. Tap still opens the piece full size.
   ============================================================ */
@media (max-width: 700px) {
  .page-work .pcgrid,
  .page-work .band > .showgrid {
    display: flex; flex-wrap: nowrap;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .page-work .pcgrid::-webkit-scrollbar,
  .page-work .band > .showgrid::-webkit-scrollbar { display: none; }

  .page-work .pcgrid { gap: 12px; padding-bottom: 4px; }
  .page-work .pcgrid > .pc { flex: 0 0 40vw; scroll-snap-align: start; }
  /* one common sheet height so a tall banner cannot set the row's height;
     the artwork is object-fit: contain, so nothing gets cropped */
  .page-work .pcgrid > .pc .pc-sheet { aspect-ratio: auto; height: 34vh; }
  .page-work .pcgrid.is-slides > .pc { flex: 0 0 76vw; }
  .page-work .pcgrid.is-slides > .pc .pc-sheet { height: auto; aspect-ratio: 16/9; }

  .page-work .band > .showgrid > .show { flex: 0 0 44vw; scroll-snap-align: start; }
  /* the ⤢ badge is the tap cue where there is no hover */
  .page-work .band > .showgrid > .show::after { opacity: .92; }
}

/* every account tile stacks full-width on a phone, so they all read at one size */
@media (max-width: 560px) {
  .work-index .tile-name,
  .work-index a.tile.is-wide .tile-name { font-size: 22px; letter-spacing: -.028em; }
  .work-index .tile-kind,
  .work-index a.tile.is-wide .tile-kind { font-size: 11.5px; letter-spacing: .12em; }
  .work-index .tile-go,
  .work-index a.tile.is-wide .tile-go { font-size: 10.5px; letter-spacing: .14em; }
  .work-index .tile-body,
  .work-index a.tile.is-wide .tile-body { padding: 16px 18px; gap: 3px; }
}
