@font-face {
  font-family: "Makena";
  src: url("../fonts/Makena-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Makena";
  src: url("../fonts/Makena-Variable-Italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/Fraunces-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Budderfly";
  src: url("../fonts/Budderfly-Thin.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Budderfly";
  src: url("../fonts/Budderfly-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Budderfly";
  src: url("../fonts/Budderfly-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Budderfly";
  src: url("../fonts/Budderfly-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


@font-face {
  font-family: "Newsreader";
  src: url("../fonts/Newsreader-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/Jost-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/Archivo-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #ffffff;
  --ink: #1d2328;
  --muted: #7a8188;
  --line: #e7e8e6;
  --well: #f3f3f1;
  --radius: 20px;
  --radius-sm: 14px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1360px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Makena", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Header */

.top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: clamp(20px, 3vw, 36px);
  padding-bottom: clamp(20px, 3vw, 36px);
}
.top .name { font-weight: 600; letter-spacing: -0.01em; }
.top .role { color: var(--muted); text-align: right; }

/* Hero */

.hero {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--well);
}
.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* phone cut matches the 4:3 project thumbnails */
.hero.is-43 { aspect-ratio: 4 / 3; }
/* on phones the control sits tight in the corner, clear of the reel's caption lines */
@media (max-width: 720px) {
  .hero.is-43 .sound { right: 7px; bottom: 7px; width: 28px; height: 28px; }
  .hero.is-43 .sound svg { width: 15px; height: 15px; }
}

.hero .sound {
  position: absolute;
  right: clamp(10px, 1.6vw, 18px);
  bottom: clamp(10px, 1.6vw, 18px);
  width: 36px;
  height: 36px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s var(--ease), background 0.2s var(--ease);
}
.hero .sound:hover, .hero .sound:focus-visible, .hero .sound.is-on { opacity: 1; background: rgba(255, 255, 255, 0.9); }
.hero .sound:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 3px; }
.hero .sound svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hero .sound .spk { fill: currentColor; stroke: none; }
.hero .sound .on, .hero .sound.is-on .off { display: none; }
.hero .sound.is-on .on { display: inline; }

.hero .placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.02em;
}
.hero .placeholder span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero .placeholder span::before {
  content: "";
  width: 0; height: 0;
  border-left: 9px solid currentColor;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.intro {
  max-width: 34ch;
  margin: clamp(32px, 6vw, 72px) 0 clamp(28px, 4vw, 48px);
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 450;
}

/* Grid */

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px) clamp(16px, 2.4vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.card { display: block; }
/* Experiments page sections */
.x-sec { grid-column: 1 / -1; margin-bottom: calc(-1 * clamp(8px, 2vw, 28px)); padding-top: 22px; border-top: 1px solid var(--line); }
.x-sec:not(:first-child) { margin-top: clamp(24px, 4vw, 48px); }
.x-sec h2 { margin: 0; font-size: clamp(20px, 2vw, 24px); font-weight: 550; letter-spacing: -0.01em; }
.x-sec p { margin: 6px 0 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.card:focus-visible {
  outline: 1.5px solid var(--ink);
  outline-offset: 8px;
  border-radius: calc(var(--radius) + 6px);
}
/* Arriving via index.html#slug focuses the card; don't ring it. */
.card:target:focus { outline: none; }
.card .thumb {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--well);
}
.card .thumb img,
.card .thumb video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.card:hover .thumb img,
.card:hover .thumb video { transform: scale(1.025); }
.card .thumb.empty {
  display: grid;
  place-items: center;
  color: #c2c5c8;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.card .meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
}
.card .title { font-weight: 550; }
.card .kind { color: var(--muted); }

/* Footer */

.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(64px, 10vw, 140px);
  padding-top: 24px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.foot a:hover { color: var(--ink); }

/* Project page */

.back {
  position: sticky;
  top: 0;
  z-index: 10;
  padding-top: 16px;
  padding-bottom: 16px;
  pointer-events: none;
}
.back a {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px var(--line);
  font-size: 14px;
  font-weight: 500;
  transition: box-shadow .2s var(--ease);
}
.back a:hover { box-shadow: 0 0 0 1px #c9cbc8; }
.back svg { width: 16px; height: 16px; }

.head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px 32px;
  margin: clamp(16px, 4vw, 48px) 0 clamp(28px, 4vw, 48px);
}
.head h1 {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 550;
}
.head .facts { color: var(--muted); margin-top: 10px; }

.shots {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}
.shot {
  grid-column: 1 / -1;
  margin: 0;
}
.shot.half { grid-column: span 3; }
.shot.third { grid-column: span 2; }
.shot .frame {
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--well);
}
.shot img, .shot video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Film: poster + play button, native controls only after it starts */
.shot .frame { position: relative; }
.film-play { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; padding: clamp(16px, 2.6vw, 32px); border: 0; background: transparent; color: #fff; cursor: pointer; font: inherit; text-align: left; }
.film-btn { flex: none; display: grid; place-items: center; width: clamp(48px, 5.6vw, 68px); aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .96); box-shadow: 0 8px 30px rgba(0, 0, 0, .18); transition: transform .25s ease; }
.film-btn svg { width: 38%; margin-left: 6%; fill: var(--ink); }
.film-play:hover .film-btn, .film-play:focus-visible .film-btn { transform: scale(1.06); }
.film-cta { display: inline-flex; align-items: center; gap: 14px; }
.film-label { font-size: 14px; font-weight: 500; letter-spacing: .01em; text-shadow: 0 1px 8px rgba(0, 0, 0, .25); }
.frame.playing .film-play { display: none; }
/* light posters: dark button and label */
.film-dark { color: var(--ink); }
.film-dark .film-label { text-shadow: none; }
.film-dark .film-btn { background: var(--ink); box-shadow: 0 8px 24px rgba(0, 0, 0, .14); }
.film-dark .film-btn svg { fill: #fff; }
.shot figcaption {
  padding-top: 10px;
  color: var(--muted);
  font-size: 14px;
}
.shot figcaption .n {
  display: inline-block;
  min-width: 2.2em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.section {
  grid-column: 1 / -1;
  margin: clamp(40px, 6vw, 88px) 0 clamp(4px, 1vw, 12px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 550;
}
.shots > .section:first-child { margin-top: clamp(8px, 1.5vw, 16px); }
.shot.empty {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  background: var(--well);
  display: grid;
  place-items: center;
  color: #c2c5c8;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.next {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: clamp(56px, 8vw, 112px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.next .label { color: var(--muted); font-size: 14px; }
.next a.to {
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: -0.015em;
  font-weight: 550;
  text-align: right;
}
.next a.to:hover { color: var(--muted); }

/* About the design */

.more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}
.more i {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .2s var(--ease), transform .4s var(--ease);
}
.more i::before,
.more i::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 10px; height: 1.5px;
  margin: -0.75px 0 0 -5px;
  background: currentColor;
  border-radius: 1px;
}
.more i::after { transform: rotate(90deg); }
.more:hover i { box-shadow: inset 0 0 0 1px #b9bcb8; }
.more[aria-expanded="true"] i { transform: rotate(45deg); }
.more:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 6px; border-radius: 999px; }

.about {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .6s var(--ease);
}
.about.open { grid-template-rows: 1fr; }
.about-in { overflow: hidden; min-height: 0; }
.about.settled .about-in { overflow: visible; }
.about-body {
  margin-bottom: clamp(28px, 4vw, 48px);
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.about.open .about-body { opacity: 1; transform: none; transition-delay: .12s; }
.about .about-lead {
  max-width: 46ch;
  margin: 0 0 clamp(20px, 2.6vw, 32px);
  font-size: clamp(19px, 1.8vw, 22px);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.tabs { display: flex; gap: 22px; margin-bottom: clamp(20px, 2.6vw, 30px); }
.tabs button {
  padding: 0 0 6px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.tabs button:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 4px; border-radius: 4px; }

.about-cols {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.1fr;
  gap: 24px clamp(24px, 3.5vw, 56px);
}
.about h3 {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.about p { margin: 0; font-size: 16px; line-height: 1.55; max-width: 40ch; }
.about ul { margin: 0; padding: 0; list-style: none; }
.about-cols li {
  position: relative;
  padding-left: 16px;
  font-size: 15px;
  line-height: 1.5;
}
.about-cols li + li { margin-top: 10px; }
.about-cols li::before {
  content: "";
  position: absolute;
  left: 0; top: .72em;
  width: 6px; height: 1px;
  background: var(--muted);
}
.about dl { margin: 0; font-size: 15px; line-height: 1.5; }
.about dt { font-weight: 550; }
.about dd { margin: 0 0 10px; color: #4a5157; }
.about dd:last-child { margin-bottom: 0; }

.space { margin-top: clamp(28px, 3.5vw, 44px); padding-top: 22px; border-top: 1px solid var(--line); }
.space-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px clamp(24px, 3vw, 44px);
}
.space h4 { margin: 0 0 6px; font-size: 15px; font-weight: 550; }
.about .space p { font-size: 15px; color: #4a5157; }

/* Mood board */

:root { --serif: Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif; }

.about .mood-words { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
/* One column at every width, capped so the crops stay sharp. */
.mood-wrap { display: grid; gap: clamp(32px, 4vw, 48px); max-width: 880px; }
.mood-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mood-grid .tile { aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--well); }
.mood-grid .tile:first-child { grid-column: span 2; grid-row: span 2; }
.mood-grid img { width: 100%; height: 100%; object-fit: cover; }

.mb-sec { padding-top: 22px; border-top: 1px solid var(--line); }
.about .mb-note { margin-top: 14px; color: var(--muted); font-size: 13px; }
.about .mb-sec i { font-style: normal; }

.balance { display: flex; height: 14px; gap: 2px; margin-bottom: 18px; border-radius: 7px; overflow: hidden; }
.balance span { min-width: 6px; }
.swatches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.swatches i { display: block; height: 16px; margin-bottom: 6px; color: var(--muted); font-size: 12px; }
.swatches span { display: block; aspect-ratio: 1; margin-bottom: 8px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.swatches b { display: block; font-size: 12.5px; font-weight: 500; line-height: 1.3; }
.swatches em { display: block; color: var(--muted); font-size: 11.5px; font-style: normal; font-variant-numeric: tabular-nums; }
.swatches .pct { margin-top: 2px; color: var(--ink); font-size: 12.5px; }

.type li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.type li:first-child { padding-top: 2px; }
.type i { padding-top: 6px; color: var(--muted); font-size: 12.5px; }
.about .spec { max-width: none; margin: 0 0 6px; font-family: var(--serif); color: var(--ink); line-height: 1.15; }
.about .spec-display { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -0.01em; line-height: 1.05; }
.about .spec-serif { font-size: 21px; }
.about .spec-italic { font-size: 22px; font-style: italic; }
.about .spec-caps { font-size: 13.5px; text-transform: uppercase; letter-spacing: .24em; }
.about .spec-caps-small { font-size: 11px; text-transform: uppercase; letter-spacing: .22em; }
.about .spec-wide { font-size: 19px; text-transform: uppercase; letter-spacing: .6em; }
/* Geometric sans specimens for identities built on wide capitals */
.about .spec-geo { font-family: Futura, "Avenir Next", "Century Gothic", system-ui, sans-serif; font-weight: 600; font-size: clamp(26px, 3.2vw, 38px); text-transform: uppercase; letter-spacing: .04em; line-height: 1.05; }
.about .spec-geo-outline { font-family: Futura, "Avenir Next", "Century Gothic", system-ui, sans-serif; font-weight: 600; font-size: clamp(26px, 3.2vw, 38px); text-transform: uppercase; letter-spacing: .04em; line-height: 1.05; color: transparent !important; -webkit-text-stroke: 1.2px #2164F3; }
.about .spec-geo-caps { font-family: Futura, "Avenir Next", "Century Gothic", system-ui, sans-serif; font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: .14em; }
.about .spec-script { font-family: "Brush Script MT", "Snell Roundhand", cursive; font-size: clamp(38px, 4.4vw, 52px); line-height: 1; }
.about .spec-cond { font-family: "DIN Condensed", "Futura Condensed ExtraBold", "Arial Narrow", sans-serif; font-weight: 700; font-size: clamp(32px, 3.8vw, 46px); text-transform: uppercase; letter-spacing: .03em; line-height: 1; }
/* Helvetica Neue specimens, a close stand-in for interface type of the 2010s */
.about .spec-helv-bold { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 700; font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -0.02em; line-height: 1.05; }
.about .spec-helv-ui { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 500; font-size: 20px; }
.about .spec-helv-body { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 400; font-size: 18px; line-height: 1.4; }
/* Fraunces specimens (Gridwork) */
.about .spec-fraunces-bold { font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: clamp(32px, 3.8vw, 46px); letter-spacing: -0.03em; line-height: 1.02; font-variation-settings: "opsz" 72; }
.about .spec-fraunces-body { font-family: "Fraunces", Georgia, serif; font-weight: 400; font-size: 19px; line-height: 1.45; font-variation-settings: "opsz" 14; }
/* Avenir specimens (2015–2018 Indeed guidelines) */
.about .spec-avenir-black { font-family: "Avenir Next", Avenir, "Helvetica Neue", sans-serif; font-weight: 800; font-size: clamp(32px, 3.8vw, 46px); letter-spacing: -0.015em; line-height: 1.04; }
.about .spec-avenir-body { font-family: "Avenir Next", Avenir, "Helvetica Neue", sans-serif; font-weight: 400; font-size: 18px; line-height: 1.45; }
/* Budderfly specimens */
.about .spec-bf-bold { font-family: "Budderfly", Georgia, serif; font-weight: 700; font-size: clamp(34px, 4.2vw, 50px); line-height: 1; }
.about .spec-bf-thin { font-family: "Budderfly", Georgia, serif; font-weight: 100; font-size: clamp(32px, 3.8vw, 46px); line-height: 1.05; }
.about .spec-bf-text { font-family: "Budderfly", Georgia, serif; font-weight: 400; font-size: 19px; line-height: 1.45; }
.about .spec-bf-italic { font-family: "Budderfly", Georgia, serif; font-style: italic; font-weight: 400; font-size: 24px; }
/* Makena specimens, set in the face itself */
.about .spec-mk-black { font-family: "Makena", sans-serif; font-weight: 900; font-size: clamp(34px, 4.2vw, 50px); letter-spacing: -0.025em; line-height: 1; }
.about .spec-mk-thin { font-family: "Makena", sans-serif; font-weight: 100; font-size: clamp(32px, 3.8vw, 46px); letter-spacing: -0.01em; line-height: 1.05; }
.about .spec-mk-text { font-family: "Makena", sans-serif; font-weight: 400; font-size: 18px; line-height: 1.4; }
.about .spec-mk-italic { font-family: "Makena", sans-serif; font-style: italic; font-weight: 400; font-size: 22px; }
.about .spec-mk-tnum { font-family: "Makena", sans-serif; font-weight: 500; font-size: 22px; font-variant-numeric: tabular-nums; }
/* Wharton | IRHE: book serif for the school, heavy wide sans for the program (Newsreader + Archivo stand in) */
.about .spec-wh-serif { font-family: "Newsreader", Georgia, serif; font-weight: 400; font-size: clamp(40px, 5vw, 60px); letter-spacing: -0.02em; line-height: 1; }
.about .spec-wh-heavy { font-family: "Archivo", "Helvetica Neue", sans-serif; font-weight: 850; font-size: clamp(34px, 4.2vw, 50px); letter-spacing: .2em; line-height: 1; }
.about .spec-wh-text { font-family: "Newsreader", Georgia, serif; font-size: 22px; line-height: 1.5; }
.about .spec-wh-label { font-family: "Archivo", "Helvetica Neue", sans-serif; font-weight: 700; font-size: 16px; letter-spacing: .06em; }
/* Insole Studio: Makena with the drawn Cover Green dot (spec-is-*) */
.about .spec-is-mark { font-family: "Makena", sans-serif; font-weight: 650; font-size: clamp(34px, 4.2vw, 52px); letter-spacing: -0.03em; line-height: 1; }
.about .spec-is-head { font-family: "Makena", sans-serif; font-weight: 600; font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -0.04em; line-height: 1.08; }
.about .spec-is-head .beat2 { color: #86868b; }
.about .spec-is-spec { font-family: "Makena", sans-serif; font-weight: 500; font-size: 16px; letter-spacing: 0; font-variant-numeric: tabular-nums; color: var(--muted); }
.about .is-dot { display: inline-block; width: .19em; height: .19em; margin-left: .035em; border-radius: 50%; background: #9fcc3b; vertical-align: baseline; }
.about .spec-slab { font-family: Rockwell, "Rockwell Extra Bold", "Roboto Slab", Georgia, serif; font-weight: 800; font-size: clamp(32px, 3.8vw, 46px); text-transform: uppercase; letter-spacing: .01em; line-height: 1; }
.about .spec-slab-url { font-family: Rockwell, "Roboto Slab", Georgia, serif; font-weight: 700; font-size: 22px; }
.about .spec-geo-body { font-family: "Avenir Next", Futura, system-ui, sans-serif; font-weight: 500; font-size: 19px; }
/* Ketra × Airstream */
.about .spec-news-display { font-family: "Newsreader", Georgia, serif; font-weight: 400; font-size: clamp(34px, 4.2vw, 50px); letter-spacing: -0.015em; line-height: 1.02; font-variation-settings: "opsz" 72; }
.about .spec-archivo-wide { font-family: "Archivo", "Helvetica Neue", sans-serif; font-weight: 750; font-stretch: 125%; font-size: clamp(22px, 2.6vw, 30px); text-transform: uppercase; letter-spacing: .16em; }
.about .spec-serein-mark { font-family: "Newsreader", Georgia, serif; font-weight: 400; font-size: clamp(28px, 3.4vw, 42px); text-transform: uppercase; letter-spacing: .34em; line-height: 1; font-variation-settings: "opsz" 72; }
/* Post Oak: Newsreader display, Jost text and tracked Jost capitals */
.about .spec-po-display { font-family: "Newsreader", Georgia, serif; font-weight: 400; font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.02em; line-height: 1.04; font-variation-settings: "opsz" 72; }
.about .spec-po-text { font-family: "Jost", Futura, "Avenir Next", sans-serif; font-weight: 400; font-size: clamp(18px, 2vw, 22px); line-height: 1.45; }
.about .spec-po-label { font-family: "Jost", Futura, "Avenir Next", sans-serif; font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: .24em; }
.about .spec-lockup { display: flex; flex-wrap: wrap; align-items: center; gap: .3em .62em; font-size: clamp(20px, 2.4vw, 28px); line-height: 1; }
.about .spec-lockup b { font-family: "Inter", "Helvetica Neue", sans-serif; font-weight: 300; font-size: 1.04em; letter-spacing: .34em; margin-right: -.34em; }
.about .spec-lockup i { font-family: "Inter", "Helvetica Neue", sans-serif; font-style: normal; font-weight: 250; font-size: .78em; opacity: .9; }
.about .spec-lockup em { font-family: "Archivo", "Helvetica Neue", sans-serif; font-style: normal; font-weight: 750; font-stretch: 125%; font-size: .92em; letter-spacing: .16em; margin-right: -.16em; }
.about .spec-ridge-display { display: inline-block; font-family: "Archivo", "Helvetica Neue", sans-serif; font-weight: 850; font-stretch: 118%; font-size: clamp(30px, 3.8vw, 46px); letter-spacing: -.02em; line-height: 1; transform: skewX(-11deg); transform-origin: 0 100%; }
.about .spec-ridge-utility { font-family: "Inter", "Helvetica Neue", sans-serif; font-weight: 450; font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -.01em; line-height: 1.2; }
.about .spec-inter-caps { font-family: "Inter", "Helvetica Neue", sans-serif; font-weight: 400; font-size: 14px; text-transform: uppercase; letter-spacing: .3em; }
.about .type-note { font-size: 13.5px; color: var(--muted); }

.shapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.shapes li { padding: 18px 16px 16px; border-radius: var(--radius-sm); background: var(--well); }
.shapes svg {
  display: block; width: 56px; height: 56px; margin-bottom: 14px;
  fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.shapes svg .thin { stroke-width: .9; }
.shapes svg .fill { fill: var(--ink); fill-opacity: .14; }
.shapes svg .solid { fill: var(--ink); }
.shapes svg .veil { fill: var(--well); fill-opacity: .75; }
.shapes b { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 550; }
.shapes span { display: block; color: #4a5157; font-size: 13px; line-height: 1.45; }

.brand { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px 16px; margin: 0; }
.about .brand dt { color: var(--muted); font-size: 13px; font-weight: 400; padding-top: 2px; }
.about .brand dd { margin: 0; color: var(--ink); font-size: 15px; }

.textures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.textures img { display: block; width: 100%; aspect-ratio: 1; margin-bottom: 8px; border-radius: 12px; object-fit: cover; }
.textures span { display: block; font-size: 12.5px; line-height: 1.3; }

.light { display: flex; gap: 16px; align-items: flex-start; }
.light .glow {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, #fffdf8 0%, var(--glow) 62%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06), 0 8px 26px var(--glow);
}
.light b { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 550; }
.about .light p { font-size: 15px; color: #4a5157; }

/* How it was made */

.proc-item + .proc-item { margin-top: clamp(32px, 4vw, 48px); padding-top: 24px; border-top: 1px solid var(--line); }
.about .proc-kind { margin: 0 0 4px; color: var(--muted); font-size: 13px; }
.proc-title { margin: 0; font-size: clamp(20px, 2vw, 24px); font-weight: 550; letter-spacing: -0.01em; }
.about .proc-desc { margin: 8px 0 0; color: #4a5157; font-size: 15px; max-width: 60ch; }
.proc, .proc-list { margin: 18px 0 0; padding: 0; list-style: none; }

.proc {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 28px) clamp(12px, 1.6vw, 20px);
}
.proc li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.proc .frame { aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: var(--well); }
.proc li:last-child:nth-child(odd) .frame { aspect-ratio: 16 / 9; }
.proc img { width: 100%; height: 100%; object-fit: cover; }
.about .proc p { margin: 12px 0 0; max-width: none; font-size: 15px; }
.about .proc .no-pic p:first-child { margin-top: 0; }
.about .proc-note { margin-top: 4px; color: #4a5157; font-size: 14px; max-width: 52ch; }
.proc .n, .proc-list .n { display: inline-block; min-width: 2.2em; color: var(--muted); font-variant-numeric: tabular-nums; }
.proc b, .proc-list b { font-weight: 550; font-size: 15px; }

.proc-list { max-width: 640px; }
.proc-list li { display: flex; gap: 6px; padding: 12px 0; border-top: 1px solid var(--line); }
.proc-list li:last-child { border-bottom: 1px solid var(--line); }
.proc-list .n { padding-top: 1px; font-size: 15px; }
.about .proc-list .proc-note { margin-top: 2px; }

/* Before/after slider */
.compare { position: relative; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .cmp-b { clip-path: inset(0 0 0 var(--pos)); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .15); pointer-events: none; }
.cmp-line i {
  position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}
.cmp-line i::before, .cmp-line i::after {
  content: ""; position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -3.5px;
  border-left: 1.6px solid var(--ink); border-bottom: 1.6px solid var(--ink);
}
.cmp-line i::before { left: 10px; transform: rotate(45deg); }
.cmp-line i::after { right: 10px; transform: rotate(-135deg); }
.cmp-tag {
  position: absolute; bottom: 12px; padding: 4px 9px; border-radius: 6px;
  background: rgba(255, 255, 255, .88); color: var(--ink); font-size: 12px; font-weight: 500; pointer-events: none;
}
.cmp-tag-a { left: 12px; }
.cmp-tag-b { right: 12px; }
.compare input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none;
}
.compare input[type="range"]:focus-visible + * { outline: none; }
.compare:focus-within .cmp-line i { box-shadow: 0 0 0 2px var(--ink), 0 2px 10px rgba(0, 0, 0, .18); }

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .about, .about-body, .more i { transition: none; }
  .card .thumb img, .card .thumb video { transition: none; }
}

/* Phone */

@media (max-width: 720px) {
  :root { --radius: 16px; }
  .top .role { display: none; }
  .grid { grid-template-columns: 1fr; }
  .head { grid-template-columns: 1fr; }
    .about-cols { grid-template-columns: 1fr; gap: 28px; }
  .swatches { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .shapes { grid-template-columns: 1fr; }
  .proc { grid-template-columns: 1fr; }
  .proc li:last-child:nth-child(odd) .frame { aspect-ratio: 3 / 2; }
  .shapes li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 14px; align-items: center; }
  .shapes svg { grid-row: span 2; margin: 0; }
  .type li { grid-template-columns: 1fr; gap: 4px; }
  .type i { padding: 0; }
  .brand { grid-template-columns: 92px minmax(0, 1fr); }
  .shots { grid-template-columns: 1fr; }
  .shot.half, .shot.third { grid-column: 1 / -1; }
}

/* ---------- Portfolio additions ---------- */

/* Header: the same on every page, pinned while scrolling */
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 18px;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.nav { display: flex; gap: clamp(16px, 2.4vw, 30px); font-size: 15px; }
.nav a { position: relative; color: var(--muted); transition: color .2s var(--ease); }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a[aria-current]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--ink);
}
.menu-btn { display: none; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-size: 15px; cursor: pointer; }
.block, .c-head { scroll-margin-top: 80px; }

/* Proposal / Concept: only in the project subtitle, same type as the rest of the line */
/* Plain inline text so it shares the line's baseline; the divider is set into the text. */
.facts .status, .lb-meta .status { display: inline; white-space: nowrap; }
.facts .status::before, .lb-meta .status::before {
  content: "";
  display: inline-block;
  width: 1px; height: .9em;
  margin: 0 .6em 0 .7em;
  background: currentColor;
  opacity: .55;
  vertical-align: -.1em;
}

.block { margin-top: clamp(64px, 9vw, 120px); }
.block-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: clamp(20px, 2.6vw, 32px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.block-head h2 { margin: 0; font-size: clamp(20px, 2vw, 24px); font-weight: 550; letter-spacing: -0.01em; }
.block-head a { color: var(--muted); font-size: 15px; }
.block-head a:hover { color: var(--ink); }
.home-work { margin-top: clamp(32px, 5vw, 56px); }
.c-head .intro { margin: clamp(20px, 3vw, 32px) 0 0; }
.home-gap { height: 0; }

/* Client pages: one wide row each */
.clients { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.client {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
  padding: clamp(14px, 1.8vw, 20px);
  border-radius: var(--radius);
  background: var(--well);
  transition: background .3s var(--ease);
}
.client:hover { background: #ecece9; }
.client-name { font-size: clamp(20px, 2.2vw, 28px); font-weight: 550; letter-spacing: -0.015em; line-height: 1.15; }
.client .kind { margin-top: 6px; }
.client .count { margin-top: 18px; font-size: 14px; }
.studio-tag { margin-left: 6px; color: var(--muted); font-size: 14px; font-weight: 400; letter-spacing: 0; }
.client-pics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.client-pics span { aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: #e6e6e3; }
.client-pics img { width: 100%; height: 100%; object-fit: cover; }

.sub { margin: clamp(36px, 4.5vw, 56px) 0 6px; color: var(--muted); font-size: 13px; font-weight: 500; }

/* Plain link rows: one-off clients, disciplines */
.rows { margin: 0; padding: 0; list-style: none; }
.rows li a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  transition: color .2s var(--ease);
}
.rows li a:hover { color: var(--muted); }
.rows .kind { text-align: right; }
.rows .count { color: var(--muted); font-variant-numeric: tabular-nums; }
.rows-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); }

.about-text { max-width: 46ch; margin: 0 0 12px; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.4; }

/* Footer: name, links and the label legend, aligned on one grid */
.foot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px clamp(24px, 4vw, 56px);
  line-height: 1.5;
}
.foot-id { display: grid; gap: 2px; }
.foot-id b { color: var(--ink); font-weight: 550; }
.foot-nav { display: grid; gap: 2px; justify-items: start; }

/* Back link on project pages: plain text, not a pill */
.back { position: static; padding: clamp(8px, 1.6vw, 16px) 0 0; pointer-events: auto; }
.back a {
  display: inline-flex; align-items: center; gap: 6px; height: auto; padding: 0;
  background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  color: var(--muted); font-size: 15px; font-weight: 400;
}
.back a:hover { color: var(--ink); box-shadow: none; }
.back svg { width: 14px; height: 14px; }

/* About: résumé rows */
.cv.block { margin-top: clamp(48px, 7vw, 88px); }
/* Résumé headings: a rule under the title, none above */
.cv .block-head { margin-bottom: 0; padding: 0 0 12px; border-top: 0; border-bottom: 1px solid var(--line); }
.cv-rows { margin: 0; padding: 0; list-style: none; }
.cv-rows li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cv-main { display: grid; gap: 2px; min-width: 0; }
.cv-title { font-weight: 500; }
.cv-org { color: var(--muted); font-size: 15px; }
.cv-years { flex: none; color: var(--muted); font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
#cv-recognition .sub:first-child { margin-top: 18px; }
#cv-recognition .sub { margin-bottom: 12px; }
.cv-contact li { justify-content: flex-start; }
.cv-label { flex: none; width: 110px; color: var(--muted); font-size: 15px; }
.cv-value { min-width: 0; overflow-wrap: anywhere; }
.cv-value a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.cv-value a:hover { text-decoration-color: var(--ink); }

.skills-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px clamp(16px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.skills-more { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.skills-more[hidden] { display: none; }
.skills-more li { color: var(--muted); }
.cv .more { margin-top: 22px; }
/* project head: About the design + Visit site */
.head-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 18px; }
.head-actions .more { margin-top: 0; }
.visit { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; text-decoration: none; transition: opacity .2s ease; }
.visit:hover { opacity: .82; }
.visit:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 3px; }
.visit svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

#cv-skills { margin-top: 16px; }

/* Collections: gallery of pieces */
.pieces {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px) clamp(12px, 1.6vw, 20px);
  margin: 0; padding: 0; list-style: none;
}
.piece { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.piece.is-zoom { cursor: zoom-in; }
.tile { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--well); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.piece:hover .tile img { transform: scale(1.03); }
.piece:focus-visible { outline: none; }
.piece:focus-visible .tile { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--ink); }
.piece-title { display: block; margin-top: 10px; font-size: 15px; font-weight: 550; }
.piece-client { display: block; color: var(--muted); font-size: 14px; }
.pieces-empty { grid-column: 1 / -1; padding: 48px 0; color: var(--muted); }
/* Screens sit in a simple device frame so they read as screens next to print */
.tile.frame-browser, .lb-img.frame-browser { position: relative; padding-top: 22px; background: #ECECEA; }
.frame-browser::before { content: ""; position: absolute; top: 8px; left: 10px; width: 34px; height: 6px;
  background: radial-gradient(circle, #CFCFCC 3px, transparent 3.5px) 0 0 / 12px 6px repeat-x; }
.tile.frame-phone { aspect-ratio: 3 / 4; padding: 10px 28%; background: var(--well); }
.tile.frame-phone img, .lb-img.frame-phone img { border-radius: 18px; box-shadow: 0 0 0 6px #1F1E1D; object-fit: cover; }

/* Viewer */
.lb {
  position: fixed; inset: 0; z-index: 60;
  display: grid; grid-template-rows: auto minmax(0, 1fr);
  background: var(--bg);
  opacity: 0; transition: opacity .25s var(--ease);
}
.lb[hidden] { display: none; }
.lb.open { opacity: 1; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gutter); font-size: 15px; }
.lb-count { color: var(--muted); font-variant-numeric: tabular-nums; }
.lb-close { padding: 0; border: 0; background: none; color: var(--ink); font: inherit; cursor: pointer; }
.lb-fig { display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; gap: 16px; min-height: 0; margin: 0; padding: 0 clamp(16px, 8vw, 120px) clamp(20px, 3vw, 36px); }
.lb-img { display: flex; align-items: center; justify-content: center; min-height: 0; max-width: 100%; }
.lb-img img { max-width: 100%; max-height: 100%; border-radius: var(--radius-sm); object-fit: contain; }
.lb-fig figcaption { display: grid; justify-items: center; gap: 2px; text-align: center; }
.lb-title { font-size: 17px; font-weight: 550; }
.lb-meta { color: var(--muted); font-size: 15px; }
.lb-link { margin-top: 6px; font-size: 15px; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.lb-link:hover { text-decoration-color: var(--ink); }
.lb-link[hidden] { display: none; }
.lb-nav {
  position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer;
  transition: background .2s var(--ease);
}
.lb-nav:hover { background: var(--well); }
.lb-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lb-prev { left: max(8px, calc(var(--gutter) - 12px)); }
.lb-next { right: max(8px, calc(var(--gutter) - 12px)); }
.lb-nav:focus-visible, .lb-close:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 3px; }

/* Collection page */
.c-head { margin: clamp(16px, 3vw, 40px) 0 clamp(24px, 3vw, 36px); }
.eyebrow { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.c-head h1 { margin: 0; font-size: clamp(30px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -0.025em; font-weight: 550; }
.c-intro { max-width: 48ch; margin: 14px 0 6px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.45; }
/* One line under the title on desktop; tablet and phone wrap naturally. The About bio is exempt. */
@media (min-width: 1024px) {
  body:not([data-page="about"]) .c-intro { max-width: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
#c-hero { margin-bottom: clamp(24px, 3vw, 36px); }
/* Filters: quiet text tabs, one swipeable line on small screens */
.filters { margin-bottom: clamp(24px, 3vw, 36px); }
.chips {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--line);
}
.chips::-webkit-scrollbar { display: none; }
.chips:empty { display: none; }
.chips button {
  flex: none;
  padding: 0 0 10px;
  margin-bottom: -1px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 15px;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.chips button:hover { color: var(--ink); }
.chips button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.chips button:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

/* "Showing …" line: replaces the tabs whenever they would not fit */
.filter-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.filter-line {
  display: inline-flex; align-items: baseline; gap: 6px; min-width: 0;
  padding: 0; border: 0; background: none; color: var(--muted);
  font: inherit; font-size: 16px; text-align: left; cursor: pointer;
}
.filter-line b { color: var(--ink); font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filter-line svg { flex: none; width: 14px; height: 14px; align-self: center; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.filter-line:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
.filter-row .count { flex: none; color: var(--muted); font-size: 14px; }

/* Bottom sheet */
.sheet-wrap { position: fixed; inset: 0; z-index: 50; }
.sheet-wrap[hidden] { display: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(20, 24, 28, .28); opacity: 0; transition: opacity .3s var(--ease); }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-height: 78vh; overflow-y: auto; overscroll-behavior: contain;
  padding: 0 var(--gutter) calc(16px + env(safe-area-inset-bottom));
  border-radius: 20px 20px 0 0;
  background: var(--bg);
  transform: translateY(100%);
  transition: transform .34s var(--ease);
}
.sheet-wrap.open .sheet-backdrop { opacity: 1; }
.sheet-wrap.open .sheet { transform: none; }
.sheet:focus { outline: none; }
.sheet-head {
  position: sticky; top: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0 14px; background: var(--bg);
}
.sheet-grip { position: absolute; top: 8px; left: 50%; width: 36px; height: 4px; margin-left: -18px; border-radius: 2px; background: #d9dbd8; }
.sheet-head h2 { margin: 0; font-size: 17px; font-weight: 550; }
.sheet-close { padding: 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: 15px; cursor: pointer; }
.sheet-list { margin: 0; padding: 0; list-style: none; }
.sheet-list button {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 20px; align-items: center; gap: 12px;
  width: 100%; min-height: 54px; padding: 0;
  border: 0; border-top: 1px solid var(--line); background: none;
  color: var(--ink); font: inherit; font-size: 17px; text-align: left; cursor: pointer;
}
/* a thin break between "Selected work" and the full list */
.sheet-list .sheet-sep button { border-top-color: var(--ink); border-top-color: color-mix(in srgb, var(--ink) 35%, transparent); }
.sheet-list .count { color: var(--muted); font-size: 15px; font-variant-numeric: tabular-nums; }
.sheet-list svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.sheet-list [aria-pressed="true"] { font-weight: 550; }
.sheet-list [aria-pressed="true"] svg { opacity: 1; }
.sheet-list button:focus-visible { outline: 1.5px solid var(--ink); outline-offset: -2px; border-radius: 6px; }

@media (min-width: 721px) {
  /* Tablet and desktop: the same sheet, centred and narrower */
  .sheet { left: 50%; right: auto; width: min(520px, 100%); margin-left: max(-260px, -50%); }
}
@media (prefers-reduced-motion: reduce) { .sheet, .sheet-backdrop { transition: none; } }

@media (max-width: 1023px) {
  .pieces { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .top { padding-top: 14px; padding-bottom: 14px; }
  .menu-btn { display: block; }
  .nav { display: none; }
  /* Open menu: a solid sheet over the page (the blur is dropped so nothing shows through) */
  .top.open { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .top.open .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: grid; align-content: start; gap: 0;
    height: 100vh; padding: 4px var(--gutter) 16px;
    background: var(--bg);
    font-size: 22px;
  }
  .top.open .nav a { padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink); }
  .top.open .nav a[aria-current] { color: var(--muted); }
  .top.open .nav a[aria-current]::after { display: none; }

  .client { grid-template-columns: 1fr; }
  .rows-2 { grid-template-columns: 1fr; }
  .skills-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cv-label { width: 82px; }
}

/* Viewer on phones: arrows sit under the image instead of over it (kept last so it wins) */
@media (max-width: 720px) {
  .lb-fig { padding: 0 var(--gutter) 84px; }
  .lb-nav { top: auto; bottom: 18px; margin-top: 0; }
  .lb-prev { left: calc(50% - 56px); }
  .lb-next { right: calc(50% - 56px); }
}

/* Home reel: "Play with sound" over the silent loop; the sound button appears only once it plays */
.hero .film-play { z-index: 2; }
.hero.playing .film-play { display: none; }
#hero .sound { display: none; }
#hero.playing .sound { display: grid; }
#p-hero .sound { display: none; }
#p-hero.playing .sound { display: grid; }
.p-hero { margin-bottom: clamp(16px, 2.4vw, 28px); }
/* the reel moves between white and dark frames, so the control carries its own backing */
.hero .film-btn { background: var(--ink); box-shadow: 0 8px 26px rgba(0, 0, 0, .2); }
.hero .film-btn svg { fill: #fff; }
.hero .film-label { color: var(--ink); text-shadow: none; background: rgba(255, 255, 255, .92); padding: 9px 15px; border-radius: 999px; box-shadow: 0 4px 16px rgba(0, 0, 0, .08); }

/* Scrub bar over reels and films: play/pause, a draggable timeline, the time */
.scrub {
  position: absolute; z-index: 3; left: clamp(10px, 1.6vw, 18px); right: clamp(10px, 1.6vw, 18px); bottom: clamp(10px, 1.6vw, 18px);
  display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 12px 0 4px; border-radius: 999px;
  background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--ink);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .08); opacity: 0; transform: translateY(6px); pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
/* on a reel it leaves room for the sound button at the right */
.hero .scrub { right: calc(clamp(10px, 1.6vw, 18px) + 46px); }
.hero:hover .scrub, .hero:focus-within .scrub, .frame.playing:hover .scrub, .frame.playing:focus-within .scrub, .frame.playing.paused .scrub { opacity: 1; transform: none; pointer-events: auto; }
@media (hover: none) { .hero .scrub, .frame.playing .scrub { opacity: 1; transform: none; pointer-events: auto; } }
/* the home reel only shows it once it plays with sound */
#hero:not(.playing) .scrub, #p-hero:not(.playing) .scrub { display: none; }
.scrub button { flex: none; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.scrub button:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 1px; }
.scrub .sc-play svg { width: 15px; height: 15px; fill: currentColor; }
.scrub .sc-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.scrub .sc-sound .spk { fill: currentColor; stroke: none; }
.scrub .sc-sound .on, .scrub .sc-sound.is-on .off { display: none; }
.scrub .sc-sound.is-on .on { display: inline; }
.sc-time { flex: none; min-width: 72px; font-size: 12px; font-variant-numeric: tabular-nums; letter-spacing: .01em; text-align: right; color: var(--ink); }
.sc-track { --p: 0%; flex: 1; min-width: 0; height: 28px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.sc-track:focus-visible { outline: none; }
.sc-track::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to right, var(--ink) var(--p), rgba(29, 35, 40, .18) var(--p)); }
.sc-track::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(29, 35, 40, .18); }
.sc-track::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--ink); }
.sc-track::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; background: var(--ink); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .2); transition: transform .15s; }
.sc-track::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); border: 2px solid #fff; }
.sc-track:hover::-webkit-slider-thumb, .sc-track:active::-webkit-slider-thumb, .sc-track:focus-visible::-webkit-slider-thumb { transform: scale(1.25); }
/* full screen keeps the film letterboxed on black */
.frame:fullscreen { background: #000; border-radius: 0; }
.frame:fullscreen video { object-fit: contain; }
@media (max-width: 720px) {
  .scrub { gap: 6px; height: 32px; padding-right: 10px; }
  .hero .scrub { right: calc(7px + 36px); left: 7px; bottom: 7px; }
  .sc-time { min-width: 0; font-size: 11px; }
}

/* Experiments: a placeholder card is quiet and not clickable */
.card.is-soon { cursor: default; }
.card.is-soon .thumb.empty span { font-size: 13px; letter-spacing: .04em; color: var(--muted, #8a8d90); }

/* About: the playable versions of the résumé, as "Visit" pills */
.also { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
.also .visit { color: #fff; }

/* Process films on a client page (from the UT-only site): cards under the reel, one shared player */
/* Process films: two cards side by side under the reel (stacked on phones), and the player they open.
   The space above, between and below the cards matches the gap between the project cards. */

.pf {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
  margin: clamp(16px, 2.4vw, 32px) 0;
}
/* The thumbnail fills the card's height, with the same margin all round; title above, button below */
.pf-card {
  display: grid;
  grid-template-columns: 44% minmax(0, 1fr);
  grid-template-areas: "thumb text" "thumb cta";
  grid-template-rows: 1fr auto;
  column-gap: clamp(14px, 1.8vw, 24px);
  row-gap: 12px;
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: var(--radius);
  background: var(--well);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.pf-card:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 4px; }
.pf-thumb {
  grid-area: thumb;
  position: relative;
  min-height: clamp(112px, 12vw, 172px);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #e9e7e2;
}
.pf-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pf-card:hover .pf-thumb img { transform: scale(1.04); }
.pf-play {
  position: absolute; left: 50%; top: 50%;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(20, 24, 28, .18);
  transition: transform .5s var(--ease);
}
.pf-card:hover .pf-play, .pf-card:focus-visible .pf-play { transform: scale(1.08); }
.pf-play svg { width: 42%; height: 42%; margin-left: 6%; fill: currentColor; }
.pf-text { grid-area: text; align-self: end; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; padding-top: 6px; }
.pf-eyebrow { color: var(--muted); font-size: 13px; letter-spacing: .02em; }
.pf-title { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.15; letter-spacing: -0.015em; font-weight: 550; }
.pf-cta {
  grid-area: cta;
  justify-self: start; align-self: start;
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 6px;
  padding: 9px 16px 9px 18px;
  border-radius: 999px;
  background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 550;
  white-space: nowrap;
}
.pf-cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.pf-card:hover .pf-cta svg { transform: translateX(3px); }

/* Phones: the cards stack, each with the thumbnail filling its height and a smaller button under the title */
@media (max-width: 720px) {
  .pf { grid-template-columns: 1fr; }
  .pf-card { grid-template-columns: 40% minmax(0, 1fr); column-gap: 14px; row-gap: 10px; padding: 10px; border-radius: var(--radius-sm); }
  .pf-thumb { min-height: 112px; border-radius: 10px; }
  .pf-text { gap: 4px; padding-top: 4px; }
  .pf-eyebrow { font-size: 12px; }
  .pf-title { font-size: 17px; }
  .pf-play { width: 34px; height: 34px; margin: -17px 0 0 -17px; }
  .pf-cta { gap: 6px; margin-bottom: 4px; padding: 6px 12px 6px 13px; font-size: 13px; }
  .pf-cta svg { width: 14px; height: 14px; }
}

.pf-player {
  width: min(1200px, 94vw);
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #000;
  overflow: hidden;
}
.pf-player::backdrop { background: rgba(14, 17, 20, .84); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pf-player[open] { animation: pf-in .45s var(--ease); }
@keyframes pf-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.pf-stage { position: relative; }
.pf-player video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.pf-close {
  position: absolute; top: 12px; right: 12px;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.pf-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.pf-close:focus-visible { outline: 1.5px solid #fff; outline-offset: 3px; }
html.pf-open { overflow: hidden; }

/* Phones: the film fills the whole screen in landscape, with a round × in the corner to return to the page.
   Held upright, the player is turned sideways so the film still plays landscape; turning the phone keeps it full screen. */
.pf-player.is-phone {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh; height: 100dvh;
  max-width: none; max-height: none;
  margin: 0;
  border-radius: 0;
  background: #000;
}
.pf-player.is-phone[open] { animation: pf-fade .3s ease; }
@keyframes pf-fade { from { opacity: 0; } }
.pf-player.is-phone .pf-stage { position: absolute; inset: 0; }
.pf-player.is-phone video { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; }
.pf-player.is-phone .pf-close {
  top: max(14px, env(safe-area-inset-top)); right: max(14px, env(safe-area-inset-right));
  width: 44px; height: 44px;
  z-index: 1;
}
/* iPhone: its own full-screen player takes over, so the page shows only black behind it (no sideways stage).
   If that player doesn't open, the film appears here with its controls. */
.pf-player.is-native {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh; height: 100dvh;
  max-width: none; max-height: none;
  margin: 0;
  border-radius: 0;
  background: #000;
}
.pf-player.is-native[open] { animation: none; }
.pf-player.is-native .pf-stage { position: absolute; inset: 0; display: grid; place-items: center; }
.pf-player.is-native video { width: 100%; height: auto; aspect-ratio: 16 / 9; opacity: 0; transition: opacity .3s ease; }
.pf-player.is-native.show-inline video { opacity: 1; }
.pf-player.is-native .pf-close { top: max(14px, env(safe-area-inset-top)); right: 14px; width: 44px; height: 44px; z-index: 1; }

@media (orientation: portrait) {
  .pf-player.is-phone .pf-stage {
    inset: auto;
    top: 50%; left: 50%;
    width: 100vh; width: 100dvh;
    height: 100vw;
    transform: translate(-50%, -50%) rotate(90deg);
  }
  .pf-player.is-phone .pf-close { top: 14px; right: 14px; }
}
@media (prefers-reduced-motion: reduce) { .pf-player[open] { animation: none; } }

/* Rotator: a project shot that holds a set of slides on a scroll-snap track (swipe, drag, arrows, dots),
   moving on by itself. Caption on the left, dots and a count on the right. */
.shot .rot-frame { position: relative; aspect-ratio: 1536 / 928; }
.rot-track {
  display: flex; height: 100%;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  cursor: grab; outline: none;
}
.rot-track::-webkit-scrollbar { display: none; }
.rot-track.dragging { scroll-snap-type: none; cursor: grabbing; }
.rot-track:focus-visible { box-shadow: inset 0 0 0 2px var(--ink); }
.rot-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.rot-slide img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.rot-arrow {
  position: absolute; top: 50%; z-index: 1;
  display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--ink);
  box-shadow: 0 6px 22px rgba(0, 0, 0, .14); cursor: pointer;
  opacity: 0; transition: opacity .25s ease, transform .25s ease;
}
.rot-prev { left: 16px; }
.rot-next { right: 16px; }
.rot-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rot:hover .rot-arrow, .rot-arrow:focus-visible { opacity: 1; }
.rot-arrow:hover { transform: scale(1.06); }
.rot-bar { display: flex; align-items: center; gap: 16px; }
.shot .rot-bar { padding-top: 12px; }
.rot-cap { flex: 1; min-width: 0; color: var(--ink); font-size: 14px; }
.rot-dots { display: flex; gap: 2px; }
.rot-dots button { width: 20px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.rot-dots button::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #c6c9c5; transition: background .25s ease, transform .25s ease; }
.rot-dots button[aria-current="true"]::before { background: var(--ink); transform: scale(1.15); }
.rot-count { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; min-width: 3.4em; text-align: right; }
/* touch screens swipe, so no arrows; long sets drop the dots on phones and keep the count */
@media (hover: none) { .rot-arrow { display: none; } }
@media (max-width: 720px) {
  .rot-bar { gap: 10px; }
  .rot-cap { font-size: 13px; }
  .rot-dots button { width: 14px; }
  .rot-dots:has(button:nth-child(7)) { display: none; }
}

/* Muddy Paws: Fraunces Black (soft) display, Fraunces text, tracked Figtree capitals */
@font-face { font-family: "Figtree"; src: url("../fonts/Figtree-Variable.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
.about .spec-mp-display { font-family: "Fraunces", Georgia, serif; font-weight: 900; font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.025em; line-height: 1; font-variation-settings: "SOFT" 100, "opsz" 144; }
.about .spec-mp-text { font-family: "Fraunces", Georgia, serif; font-weight: 400; font-size: clamp(18px, 2vw, 22px); line-height: 1.45; font-variation-settings: "SOFT" 50, "opsz" 14; }
.about .spec-mp-label { font-family: "Figtree", "Inter", sans-serif; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .26em; }

/* Saronic (concept): Inter stands in for Suisse, IBM Plex Mono for SuisseMono */
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/IBMPlexMono-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
.about .spec-sar-display { font-family: "Inter", sans-serif; font-weight: 450; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.04em; line-height: 1.02; }
.about .spec-sar-mono { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.about .spec-sar-body { font-family: "Inter", sans-serif; font-weight: 400; font-size: 18px; line-height: 1.45; }

/* White images: a light grey keyline with room around the picture (user, 2026-11-09) */
.shot.line .frame { background: #fff; border: 1px solid #E3E4E0; padding: clamp(14px, 4.5vw, 56px); }
.shot.line img { object-fit: contain; }
/* Carousels: dots left, count right (no caption text) */
.shot .rot-bar { justify-content: space-between; }
/* Phone: just the play button on films and site posters; a label beside it ran into the poster's own title */
@media (max-width: 720px) { .shot .film-label { display: none; } }
/* One-line titles on a phone: client short names, and type that scales on phones narrower than 375 */
.t-short { display: none; }
@media (max-width: 720px) { .t-long { display: none; } .t-short { display: inline; } }
@media (max-width: 374px) { .head h1, .c-head h1 { font-size: 8vw; } }
/* Phone and tablet: titles only (user, 2026-11-09). No grey line under card or project titles, and no page intros
   (Experiments, Brands, client pages); a second line looked broken. Desktop keeps them. */
@media (max-width: 1023px) {
  .card .kind, .head .facts, .c-intro { display: none; }
}
/* About: Experience, Education, Recognition, Contact and Skills set bold and a step larger (user, 2026-11-09) */
.cv .block-head h2 { font-size: clamp(23px, 2.4vw, 28px); font-weight: 700; }

/* A live tool in the page (Circles & Allies Ad Studio, 2026-11-10): as tall as its content, a light keyline, edge to edge on phones */
.shot.embed .embed-frame { display: block; width: 100%; height: 80vh; border: 1px solid #E3E4E0; border-radius: var(--radius); background: #F5F6F2; }
@media (max-width: 720px) {
  .shot.embed { margin-inline: calc(50% - 50vw); }
  .shot.embed .embed-frame { border-radius: 0; border-inline: 0; }
}
/* Tabs over a live frame holding several tools: pinned under the header, one row, scrolls sideways if it must */
.shot.embed.tabbed .embed-tabs { position: sticky; top: var(--head-h, 60px); z-index: 5; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  padding: 10px 0; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.shot.embed.tabbed .embed-tabs::-webkit-scrollbar { display: none; }
.embed-tabs button { flex: none; border: 0; border-radius: 999px; padding: 9px 16px; font: inherit; font-size: 15px; font-weight: 500; color: var(--ink);
  background: #F1F1EF; cursor: pointer; transition: background .2s ease, color .2s ease; }
.embed-tabs button:hover { background: #E7E7E4; }
.embed-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
@media (max-width: 720px) { .shot.embed.tabbed .embed-tabs { padding-inline: 16px; } }
@media (max-width: 720px) { .embed-tabs button { font-size: 14px; padding: 8px 13px; } }
