/* mariana.dance — palette drawn from Mariana's own photographs:
   stage black, colonnade stone, and the burgundy of her rehearsal leotard. */
:root {
  --ink: #17151b;
  --ink-2: #221f27;
  --stone: #f5f0e8;
  --stone-2: #ebe4d8;
  --paper: #fbf8f3;
  --line: #d9d0c2;
  --line-dark: #3a3640;
  --text: #24212a;
  --muted: #6d665e;
  --muted-on-dark: #a9a197;
  --wine: #6f1d2f;
  --wine-soft: #c79a8e;
  --display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --serif: "EB Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Jost", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 19px/1.62 var(--serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--wine-soft); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--wine); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--wine-soft); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0 0 1.05em; text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--paper); padding: 8px 14px; z-index: 100; }

/* Small tracked label used for eyebrows, nav, credits */
.label {
  font: 500 11.5px/1.4 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.on-dark .label { color: var(--muted-on-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.wordmark { font: 500 23px/1 var(--display); letter-spacing: 0.02em; text-decoration: none; white-space: nowrap; }
.nav { display: flex; gap: clamp(14px, 2.2vw, 30px); }
.nav a {
  font: 500 11.5px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; padding: 10px 0; border-bottom: 1px solid transparent; color: var(--muted);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--wine); }
.nav-toggle { display: none; }
.home .site-header { position: absolute; left: 0; right: 0; background: transparent; backdrop-filter: none; border-bottom-color: transparent; color: var(--stone); }
.home .site-header .nav a { color: #cfc7bb; }
.home .site-header .nav a:hover { color: #fff; border-bottom-color: var(--wine-soft); }

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex; align-items: center; background: none; border: 1px solid currentColor; color: inherit;
    font: 500 11px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; padding: 10px 14px; cursor: pointer; opacity: .85;
  }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: var(--ink); padding: 8px var(--gutter) 20px;
  }
  .nav.open { display: flex; }
  .nav a, .home .site-header .nav a { color: var(--stone); padding: 16px 0; border-bottom: 1px solid var(--line-dark); font-size: 12.5px; }
}

/* ---------- Home hero ---------- */
.hero { background: var(--ink); color: var(--stone); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: end; min-height: min(100svh, 900px); gap: 0; }
.hero-copy { padding: 150px 0 clamp(48px, 9vh, 96px); position: relative; z-index: 2; }
.hero h1 { font-size: clamp(58px, 9.2vw, 136px); font-weight: 300; letter-spacing: -0.012em; line-height: 0.92; margin: 18px 0 30px; }
.hero h1 span { display: block; }
.hero h1 .last { font-style: italic; font-weight: 400; padding-left: 0.5em; }
.hero-roles { display: flex; flex-wrap: wrap; gap: 8px 0; margin: 0 0 30px; padding: 0; list-style: none; }
.hero-roles li { font: 500 12.5px/1.4 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: #ddd5c9; }
.hero-roles li + li::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--wine-soft); vertical-align: middle; margin: 0 14px; }
.hero-lede { max-width: 30em; font-size: 20px; line-height: 1.55; color: #cfc7bb; margin-bottom: 34px; }
.hero-photo { align-self: stretch; position: relative; margin-right: calc(var(--gutter) * -1); min-height: 520px; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--ink) 0%, rgba(23,21,27,.55) 22%, rgba(23,21,27,0) 55%), linear-gradient(0deg, rgba(23,21,27,.5), rgba(23,21,27,0) 30%); }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { order: -1; margin: 0 calc(var(--gutter) * -1); min-height: 0; height: 74svh; max-height: 640px; }
  .hero-photo::before { background: linear-gradient(0deg, var(--ink) 0%, rgba(23,21,27,0) 45%), linear-gradient(180deg, rgba(23,21,27,.55), rgba(23,21,27,0) 22%); }
  .hero-copy { padding: 0 0 56px; margin-top: -90px; }
  .hero-roles li + li::before { width: 14px; margin: 0 9px; }
  .hero-roles li { font-size: 11px; letter-spacing: .18em; }
}

.btn {
  display: inline-block; font: 500 12px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
  padding: 16px 28px; border: 1px solid var(--text); color: var(--text); transition: background .2s, color .2s;
}
.btn:hover { background: var(--text); color: var(--paper); }
.btn.solid { background: var(--wine); border-color: var(--wine); color: #fff; }
.btn.solid:hover { background: #561523; border-color: #561523; color: #fff; }
.on-dark .btn { border-color: #cfc7bb; color: var(--stone); }
.on-dark .btn:hover { background: var(--stone); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.more { font: 500 12px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--wine); padding-bottom: 6px; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 10vw, 124px) 0; }
.section.tight { padding: clamp(48px, 7vw, 84px) 0; }
.section.stone { background: var(--stone); }
.section.dark { background: var(--ink); color: var(--stone); }
.section + .section.plain { border-top: 1px solid var(--line); }
.section-head { margin-bottom: clamp(30px, 5vw, 56px); max-width: 46rem; }
.section-head h2 { font-size: clamp(36px, 5vw, 60px); font-weight: 400; margin-top: 12px; }
.section-head p { margin-top: 18px; color: var(--muted); }
.dark .section-head p { color: var(--muted-on-dark); }
.rule { display: block; width: 44px; height: 1px; background: var(--wine); margin-bottom: 18px; }
.dark .rule { background: var(--wine-soft); }

/* Page title band on inner pages */
.page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(36px, 5vw, 60px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(48px, 7.4vw, 96px); font-weight: 300; letter-spacing: -0.01em; margin-top: 14px; }
.page-head .intro { max-width: 40rem; font-size: 21px; line-height: 1.55; color: var(--muted); margin: 26px 0 0; }

/* Two-column split: text + figure */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.top { align-items: start; }
.split.narrow-fig { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
.split .fig-first { order: -1; }
@media (max-width: 820px) { .split, .split.narrow-fig { grid-template-columns: 1fr; } .split .fig-first { order: 0; } }
.prose { max-width: 38rem; }
.prose p:first-child::first-line { font-variant-caps: normal; }
.prose .lead { font-size: 23px; line-height: 1.5; }
.prose h3 { font-size: 30px; margin: 1.6em 0 .5em; }
figure { margin: 0; }
figcaption { font: 400 12px/1.5 var(--sans); letter-spacing: 0.06em; color: var(--muted); margin-top: 10px; }
.dark figcaption { color: var(--muted-on-dark); }

/* Mission statement */
.mission { text-align: center; max-width: 54rem; margin: 0 auto; }
.mission blockquote { margin: 22px 0 0; font: 400 clamp(26px, 3.5vw, 42px)/1.3 var(--display); font-style: italic; text-wrap: balance; }
.mission .rest { max-width: 38rem; margin: 34px auto 0; color: var(--muted-on-dark); font-size: 19px; text-align: left; }
.mission .rest p:last-child { margin-bottom: 0; }
.mission .rule { margin: 0 auto 18px; }
.sig { font: italic 400 24px/1 var(--display); margin-top: 28px; color: var(--stone); }

/* At-a-glance facts */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.fact { padding: 30px 26px 30px 0; border-bottom: 1px solid var(--line); }
.fact + .fact { padding-left: 26px; border-left: 1px solid var(--line); }
.fact strong { display: block; font: 400 30px/1.12 var(--display); margin: 10px 0 8px; }
.fact span { font-size: 16.5px; line-height: 1.45; color: var(--muted); display: block; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } .fact:nth-child(odd) { padding-left: 0; border-left: 0; } }
@media (max-width: 540px) { .facts { grid-template-columns: 1fr; } .fact, .fact + .fact { padding-left: 0; border-left: 0; } }

/* Three disciplines */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 820px) { .trio { grid-template-columns: 1fr; gap: 48px; } }
.card { text-decoration: none; display: block; }
.card .frame { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.6,.2,1); }
.card:hover img { transform: scale(1.035); }
.card h3 { font-size: 32px; margin: 22px 0 8px; }
.card p { font-size: 17.5px; color: var(--muted); margin-bottom: 14px; }
.card:hover { color: inherit; }
.card:hover .more { color: var(--wine); }

/* Résumé-style lists */
.cv { border-top: 1px solid var(--text); }
.dark .cv { border-top-color: var(--stone); }
.cv-row { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 8px 28px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.dark .cv-row { border-bottom-color: var(--line-dark); }
.cv-when { font: 500 12.5px/1.7 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-top: 5px; }
.cv-what h3 { font: 500 25px/1.2 var(--display); }
.cv-what .org { font-size: 18px; color: var(--muted); margin: 3px 0 0; }
.cv-what .note { font-size: 17.5px; margin: 10px 0 0; max-width: 40rem; }
@media (max-width: 640px) { .cv-row { grid-template-columns: 1fr; gap: 2px; } }
.cv-group + .cv-group { margin-top: clamp(48px, 7vw, 80px); }
.cv-group > h2 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 22px; }

.plainlist { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 48px; }
.plainlist li { padding: 11px 0; border-bottom: 1px solid var(--line); break-inside: avoid; font-size: 18.5px; }
.plainlist li .by { color: var(--muted); font-size: 16px; }
.dark .plainlist li { border-bottom-color: var(--line-dark); }
@media (max-width: 640px) { .plainlist { columns: 1; } }

/* Institutions strip */
.orgs { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: baseline; margin: 0; padding: 0; list-style: none; }
.orgs li { font: 400 clamp(20px, 2.2vw, 26px)/1.25 var(--display); }
.orgs a { text-decoration: none; border-bottom: 1px solid var(--line); }
.orgs a:hover { border-bottom-color: var(--wine); }

/* Photo strip + gallery */
.strip { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 10px; }
.strip a { display: block; overflow: hidden; aspect-ratio: 3 / 4; background: var(--ink-2); }
.strip a:nth-child(1), .strip a:nth-child(4) { aspect-ratio: auto; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.6,.2,1); }
.strip a:hover img { transform: scale(1.04); }
@media (max-width: 720px) { .strip { grid-template-columns: 1fr 1fr; } .strip a { aspect-ratio: 3 / 4 !important; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-bottom: 34px; }
.filters button { background: none; border: 0; border-bottom: 1px solid transparent; padding: 8px 0; cursor: pointer; color: var(--muted); font: 500 12px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; }
.filters button[aria-pressed="true"] { color: var(--text); border-bottom-color: var(--wine); }
.masonry { columns: 3; column-gap: 12px; }
@media (max-width: 980px) { .masonry { columns: 2; } }
@media (max-width: 480px) { .masonry { column-gap: 8px; } }
.shot { display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0; background: var(--stone-2); cursor: zoom-in; break-inside: avoid; position: relative; overflow: hidden; }
@media (max-width: 480px) { .shot { margin-bottom: 8px; } }
.shot img { width: 100%; transition: transform .6s cubic-bezier(.2,.6,.2,1), opacity .3s; }
.shot:hover img { transform: scale(1.025); }
.shot[hidden] { display: none; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; color: var(--stone); }
.lightbox::backdrop { background: rgba(14, 12, 17, 0.96); }
.lb-inner { height: 100%; display: grid; grid-template-rows: 1fr auto; padding: 56px clamp(12px, 6vw, 80px) 22px; }
.lb-stage { min-height: 0; display: grid; place-items: center; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lb-cap { text-align: center; padding-top: 16px; font: 400 13px/1.5 var(--sans); letter-spacing: .06em; color: #cfc7bb; min-height: 3em; }
.lb-cap b { font-weight: 500; color: #fff; }
.lb-btn { position: absolute; background: none; border: 0; color: #e9e2d6; cursor: pointer; font: 300 34px/1 var(--sans); padding: 14px 18px; }
.lb-close { top: 6px; right: 10px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }
.lb-btn:hover { color: #fff; }

/* Video */
.videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
@media (max-width: 720px) { .videos { grid-template-columns: 1fr; } }
.video .frame { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.video iframe, .video .poster, .video .poster img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .poster { padding: 0; cursor: pointer; background: #000; }
.video .poster img { object-fit: cover; opacity: .86; transition: opacity .3s; }
.video .poster:hover img { opacity: 1; }
.video .poster::after { content: ""; position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border: 1px solid #fff; border-radius: 50%; background: rgba(23,21,27,.45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 7.5v9l7-4.5z' fill='%23fff'/%3E%3C/svg%3E") center/30px no-repeat; }
.video h3 { font: 500 23px/1.25 var(--display); margin: 16px 0 4px; }
.video p { font-size: 16.5px; color: var(--muted); margin: 0; }
.dark .video p { color: var(--muted-on-dark); }

/* Press & recognition */
.press-list { border-top: 1px solid var(--text); }
.press-item { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) auto; gap: 8px 28px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start; }
.press-item h3 { font: 500 25px/1.22 var(--display); }
.press-item p { font-size: 17.5px; margin: 8px 0 0; color: var(--muted); max-width: 42rem; }
.press-item .src { font: 500 12.5px/1.7 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-top: 5px; }
.press-item .go { font: 500 11.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; padding-top: 10px; }
@media (max-width: 720px) { .press-item { grid-template-columns: 1fr; gap: 4px; } .press-item .go { padding-top: 12px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.email-big { font: 400 clamp(24px, 3.6vw, 44px)/1.15 var(--display); text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.links { list-style: none; margin: 34px 0 0; padding: 0; border-top: 1px solid var(--line); }
.dark .links { border-top-color: var(--line-dark); }
.links li { border-bottom: 1px solid var(--line); }
.dark .links li { border-bottom-color: var(--line-dark); }
.links a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; text-decoration: none; }
.links a span:first-child { font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.links a span:last-child { font-size: 17px; color: var(--muted); }
.dark .links a span:last-child { color: var(--muted-on-dark); }

/* Footer */
.site-footer { background: var(--ink); color: #cfc7bb; padding: 64px 0 40px; font-size: 16.5px; }
.site-footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.site-footer .wordmark { color: var(--stone); font-size: 30px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.site-footer nav a { font: 500 11.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .fine { padding-top: 26px; font: 400 12.5px/1.7 var(--sans); letter-spacing: .04em; color: #8d867d; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; }
.site-footer .fine p { margin: 0; max-width: 46rem; }

.note-404 { min-height: 50vh; display: grid; place-items: center; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  .site-header, .site-footer nav, .filters, .btn-row, .nav-toggle { display: none !important; }
  body { font-size: 12pt; background: #fff; }
  .section { padding: 24pt 0; }
  .section.dark, .hero { background: #fff; color: #000; }
}

/* Two dark bands in a row: separate them with a hairline */
.section.dark + .section.dark { border-top: 1px solid var(--line-dark); }
.prose em, .cv-what em, .press-item em, .card em, figcaption em { font-style: italic; color: inherit; font-size: inherit; }

/* ---------- One-page home: fixed header that solidifies on scroll ---------- */
section[id], div[id="contact"] { scroll-margin-top: 68px; }
.home .site-header { position: fixed; transition: background .25s, border-color .25s; }
.home .site-header.scrolled { background: color-mix(in srgb, var(--paper) 95%, transparent); backdrop-filter: blur(10px); border-bottom-color: var(--line); color: var(--text); }
.home .site-header.scrolled .nav a { color: var(--muted); }
.home .site-header.scrolled .nav a:hover { color: var(--text); border-bottom-color: var(--wine); }
@media (max-width: 900px) { .home .site-header.scrolled .nav a { color: var(--stone); } }

/* ---------- Photo carousel ---------- */
.carousel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.carousel-nav { display: flex; gap: 10px; margin-bottom: clamp(30px, 5vw, 56px); }
.car-btn { width: 52px; height: 52px; border: 1px solid var(--text); background: none; color: var(--text); font: 400 20px/1 var(--sans); cursor: pointer; transition: background .2s, color .2s; }
.car-btn:hover { background: var(--text); color: var(--paper); }
.carousel {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  scroll-padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.carousel::-webkit-scrollbar { display: none; }
.slide { flex: none; scroll-snap-align: start; }
.slide img { height: clamp(300px, 52vh, 460px); width: auto; max-width: none; }
@media (max-width: 540px) { .carousel-nav { display: none; } }

/* ---------- Instagram: the main call to action ---------- */
.ig-cta { display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; }
.hero-handle { margin: 16px 0 0; font: 400 13px/1 var(--sans); letter-spacing: .06em; }
.hero-handle a { color: var(--muted-on-dark); text-decoration: none; }
.hero-handle a:hover { color: #fff; }
.ig-badge {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 50;
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px 13px 16px; border-radius: 999px;
  background: var(--wine); color: #fff; text-decoration: none; box-shadow: 0 6px 24px rgba(23, 21, 27, .32), 0 0 0 1px rgba(255, 255, 255, .14);
  font: 500 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; transition: background .2s, transform .2s;
}
.ig-badge:hover { background: #561523; color: #fff; transform: translateY(-2px); }
.ig-badge:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.ig-badge .ig { width: 22px; height: 22px; }
.site-footer { padding-bottom: 96px; }
@media print { .ig-badge { display: none; } }

/* Hero photo runs to the right edge of the window on wide screens; shorter on phones so the roles clear the badge */
@media (min-width: 821px) { .hero-photo { margin-right: calc(-1 * (var(--gutter) + max(0px, (100vw - var(--wrap)) / 2))); } }
@media (max-width: 820px) { .hero-photo { height: 62svh; } }

/* Résumé groups that are a list or a paragraph instead of dated rows */
.cv-group .plainlist { border-top: 1px solid var(--text); }
.cv-text { max-width: 46rem; border-top: 1px solid var(--text); padding-top: 22px; margin: 0; }
.plainlist li .by em { font-style: italic; }
.hero-lede { font-size: 22px; }

/* Floating badge on the home page stays hidden while the hero's Follow button is on screen */
.ig-badge.after-hero { opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .25s, transform .25s, visibility .25s, background .2s; }
.ig-badge.after-hero.show { opacity: 1; visibility: visible; transform: none; }

/* Lightbox: the photo fills a fixed stage and the caption is pinned to the bottom of the screen */
.lightbox { position: fixed; inset: 0; margin: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; overflow: hidden; }
.lb-inner { position: absolute; inset: 0; display: block; padding: 0; height: auto; }
.lb-stage { position: absolute; inset: 56px clamp(8px, 5vw, 72px) 84px; display: block; }
.lb-stage img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; min-height: 0; padding: 14px 20px max(18px, env(safe-area-inset-bottom)); background: rgba(14, 12, 17, .88); }
.lb-prev, .lb-next { top: calc(50% - 14px); }
html:has(dialog.lightbox[open]) { overflow: hidden; }

/* Statements (shown once content/site.mjs has testimonials) */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(28px, 4vw, 56px); }
.quote blockquote { margin: 0; font: italic 400 24px/1.4 var(--display); }
.quote figcaption { margin-top: 16px; }
.lightbox { background: rgb(14 12 17 / .97); }

/* Home: mission statement beside a portrait */
.mission-side blockquote { margin: 18px 0 26px; font: italic 400 clamp(25px, 2.9vw, 36px)/1.3 var(--display); text-wrap: balance; }
.mission-side p { color: var(--muted); max-width: 34rem; }
.mission-side .sig { color: var(--text); margin-top: 22px; }
.strip a, .strip a:nth-child(1), .strip a:nth-child(4) { aspect-ratio: 3 / 4; }
.btn-row .more { margin-right: 18px; }

/* About: experience as labelled blocks of text */
.cv-what.xp p { font-size: 18.5px; max-width: 44rem; margin: 0 0 .8em; }
.cv-what.xp p:last-child { margin-bottom: 0; }
.cv-row .cv-when { padding-top: 6px; }
.strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 720px) { .strip { grid-template-columns: 1fr 1fr; } }

/* Photographer credit on the home splash photo */
.hero-credit { position: absolute; z-index: 2; right: 18px; bottom: 12px; margin: 0; font: 400 11px/1 var(--sans); letter-spacing: .08em; color: rgba(255,255,255,.72); text-shadow: 0 1px 3px rgba(0,0,0,.6); }
@media (max-width: 820px) { .hero-credit { top: 78px; bottom: auto; right: auto; left: var(--gutter); font-size: 10px; } }
