/* =============================================================
   Stefano Giannetti — Site Stylesheet
   Author: Built for production from editorial mockup v2
   ============================================================= */

/* -----------------------------------------------------------
   1. DESIGN TOKENS
----------------------------------------------------------- */
:root {
  --paper: #f2ede4;
  --paper-deep: #ebe4d6;
  --paper-soft: #f7f3ec;
  --ink: #171410;
  --ink-soft: #4a4339;
  --ink-mute: #8a8377;
  --rule: #c9bfae;
  --rule-soft: #d8cfc0;
  --accent: #7a1f2c;
  --accent-bright: #a02a3a;
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Geist", -apple-system, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;

  --pad-x: clamp(24px, 5vw, 64px);
  --max-w: 1320px;
}

/* -----------------------------------------------------------
   2. RESET + BASE
----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

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

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* paper grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.09  0 0 0 0 0.08  0 0 0 0 0.06  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }

::selection { background: var(--accent); color: var(--paper); }

/* -----------------------------------------------------------
   3. LAYOUT
----------------------------------------------------------- */
.wrap {
  max-width: var(--max-w);
  /* respect iOS safe area on notched devices (viewport-fit=cover) */
  padding-left: max(var(--pad-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--pad-x), env(safe-area-inset-right, 0px));
  margin: 0 auto;
  position: relative;
}

/* -----------------------------------------------------------
   4. HEADER + NAV
----------------------------------------------------------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
header.site.is-scrolled {
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom-color: var(--rule);
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* longhand: would otherwise reset horizontal padding from .wrap */
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 20px;
}
.marque {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
  flex-shrink: 0;
  font-variation-settings: "SOFT" 60, "opsz" 24;
}
.marque .dot { color: var(--accent); margin: 0 1px; }

nav.primary { display: flex; gap: 26px; }
nav.primary a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 8px 0;
  position: relative;
  transition: color 0.25s ease;
}
nav.primary a:hover,
nav.primary a.active { color: var(--ink); }
nav.primary a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-bottom: 1px solid var(--accent);
}

.lang {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang button {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  color: var(--ink-mute);
  padding: 4px 2px;
  transition: color 0.2s ease;
}
.lang button:hover { color: var(--ink); }
.lang button.active {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}
.lang .sep {
  color: var(--rule);
  user-select: none;
}

/* mobile lang switcher inside meta row */
.mobile-menu .meta .lang-mobile {
  display: flex;
  gap: 6px;
}
.mobile-menu .meta .lang-mobile button {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 6px 4px;
  transition: color 0.2s ease;
}
.mobile-menu .meta .lang-mobile button.active {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}

/* hamburger */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}
.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s cubic-bezier(0.4, 0.1, 0.2, 1), top 0.35s, opacity 0.15s;
  position: absolute;
}
.burger span { position: relative; }
.burger span::before { content: ""; top: -7px; left: 0; }
.burger span::after  { content: ""; top:  7px; left: 0; }
#menu-toggle { position: absolute; opacity: 0; pointer-events: none; }
#menu-toggle:checked ~ header.site .burger span { background: transparent; }
#menu-toggle:checked ~ header.site .burger span::before { top: 0; transform: rotate(45deg); }
#menu-toggle:checked ~ header.site .burger span::after  { top: 0; transform: rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 55;
  padding: 96px var(--pad-x) 40px;
  transform: translateY(-100%);
  transition: transform 0.55s cubic-bezier(0.7, 0, 0.2, 1);
  visibility: hidden;
  overflow-y: auto;
}
#menu-toggle:checked ~ .mobile-menu {
  transform: translateY(0);
  visibility: visible;
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 8px; }
.mobile-menu a {
  display: block;
  padding: 18px 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 36px;
  letter-spacing: -0.015em;
  color: var(--ink);
  border-bottom: 1px solid var(--rule-soft);
  font-variation-settings: "SOFT" 50, "opsz" 96;
  line-height: 1;
}
.mobile-menu a em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "SOFT" 80;
}
.mobile-menu .meta {
  margin-top: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex;
  justify-content: space-between;
}

/* -----------------------------------------------------------
   5. HERO
----------------------------------------------------------- */
.hero {
  /* longhand: do NOT use `padding` shorthand here, it would override
     the horizontal padding from .wrap (same-specificity, source-order). */
  padding-top: clamp(50px, 10vw, 120px);
  padding-bottom: clamp(40px, 7vw, 80px);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.hero .eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero .eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--ink-mute);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(54px, 12.5vw, 180px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  font-variation-settings: "SOFT" 30, "opsz" 144;
}
.hero h1 .it {
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "SOFT" 80, "opsz" 144;
  color: var(--accent);
}
.hero .credo {
  margin-top: clamp(24px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: end;
}
.hero .credo p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 38ch;
  font-variation-settings: "SOFT" 50, "opsz" 24;
}
.hero .credo .span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  text-align: center;
  white-space: nowrap;
}
.hero .credo .right { text-align: right; }

/* -----------------------------------------------------------
   6. SECTION
----------------------------------------------------------- */
section.sec {
  /* longhand: do NOT use `padding` shorthand here, it would override
     the horizontal padding from .wrap (section.sec wins on specificity). */
  padding-top: clamp(50px, 9vw, 130px);
  padding-bottom: clamp(40px, 6vw, 90px);
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: 80px;
}
.sec-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 32px;
  margin-bottom: clamp(36px, 6vw, 90px);
}
.sec-head .roman {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 4vw, 56px);
  color: var(--accent);
  font-variation-settings: "SOFT" 80, "opsz" 96;
  line-height: 1;
}
.sec-head h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 30, "opsz" 144;
}
.sec-head h2 em {
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "SOFT" 80;
}
.sec-head .count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: right;
  align-self: end;
  padding-bottom: 14px;
  white-space: nowrap;
}

/* -----------------------------------------------------------
   7. BIOGRAPHY
----------------------------------------------------------- */
.bio-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.bio-text p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 1.1em;
  font-variation-settings: "SOFT" 30, "opsz" 24;
}
.bio-text p:first-child::first-letter {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 4.5em;
  line-height: 0.85;
  float: left;
  padding: 6px 12px 0 0;
  color: var(--accent);
  font-variation-settings: "SOFT" 80, "opsz" 144;
}
.bio-text em {
  font-style: italic;
  color: var(--ink-soft);
  font-variation-settings: "SOFT" 80;
}

.timeline {
  position: sticky;
  top: 100px;
  border-left: 1px solid var(--rule);
  padding-left: 24px;
}
.timeline h3 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 24px;
}
.timeline ol { list-style: none; }
.timeline li {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-soft);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  align-items: baseline;
}
.timeline li:last-child { border-bottom: none; }
.timeline .yr {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.timeline .what {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.35;
  color: var(--ink);
  font-variation-settings: "SOFT" 60, "opsz" 24;
}
.timeline .what b {
  font-style: normal;
  font-weight: 400;
  color: var(--ink);
  display: block;
  font-variation-settings: "SOFT" 30;
}

.awards {
  margin-top: 40px;
  padding: 24px;
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  position: relative;
}
.awards h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 16px;
}
.awards p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
  font-variation-settings: "SOFT" 80, "opsz" 24;
  padding-bottom: 10px;
  border-bottom: 1px dotted var(--rule);
}
.awards p:last-child { border-bottom: none; padding-bottom: 0; }
.awards p .yr {
  font-family: var(--mono);
  font-style: normal;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-right: 8px;
}

/* -----------------------------------------------------------
   8. WORKS
----------------------------------------------------------- */
.works-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 18px;
}
.works-tabs button {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease;
  min-height: 44px;
}
.works-tabs button:hover { color: var(--ink); }
.works-tabs button.active {
  background: var(--ink);
  color: var(--paper);
}
.works-tabs button .n {
  font-size: 10px;
  margin-left: 4px;
  opacity: 0.6;
}

.works-group { display: none; }
.works-group.is-visible { display: block; animation: fade-in 0.5s ease both; }
@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.decade {
  margin: clamp(28px, 4vw, 56px) 0 14px;
  padding-top: 18px;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  gap: 14px;
}
.decade::after {
  content: "";
  flex: 1;
  border-bottom: 1px dotted var(--rule);
}

.work {
  display: grid;
  grid-template-columns: 80px 1fr 320px 32px;
  align-items: baseline;
  gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule-soft);
  transition: padding 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), background 0.4s ease;
  position: relative;
  min-height: 64px;
}
.work.has-link { cursor: pointer; }
.work.has-link:hover {
  padding-left: 12px;
  padding-right: 12px;
  background: var(--paper-deep);
}
.work .yr {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  transition: color 0.3s ease;
}
.work.has-link:hover .yr { color: var(--accent); }
.work .ttl {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(19px, 2.1vw, 28px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  font-variation-settings: "SOFT" 30, "opsz" 48;
}
.work .ttl .composer {
  font-style: italic;
  font-weight: 300;
  color: var(--ink-soft);
  font-variation-settings: "SOFT" 80, "opsz" 48;
}
.work .ttl .role {
  display: block;
  font-family: var(--mono);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 6px;
}
.work .venue {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.4;
  text-align: right;
}
.work .venue .director {
  display: block;
  color: var(--ink-mute);
  font-size: 12px;
  margin-top: 2px;
}
.work .arrow {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--rule);
  text-align: right;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.3s ease;
}
.work.has-link .arrow { color: var(--accent); }
.work.has-link:hover .arrow {
  color: var(--accent-bright);
  transform: translateX(6px);
}
.work:not(.has-link) .arrow { visibility: hidden; }

/* -----------------------------------------------------------
   9. GALLERY
----------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery .item {
  position: relative;
  overflow: hidden;
  background: var(--paper-deep);
  aspect-ratio: 4 / 5;
  cursor: pointer;
}
.gallery .item.wide { aspect-ratio: 4 / 3; }
.gallery .item.tall { aspect-ratio: 3 / 5; }

.gallery .item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.5s ease;
  filter: contrast(1.05) saturate(0.9);
}
.gallery .item:hover img {
  transform: scale(1.04);
  filter: contrast(1.1) saturate(1);
}

/* placeholder — shows behind img, visible if img fails */
.gallery .item .placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(135deg, #c5b094 0%, #8a7659 50%, #4a3e2e 100%);
  color: rgba(255, 255, 255, 0.92);
  z-index: 0;
}
.gallery .item .placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.7;
}
.gallery .item .placeholder .name {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.05;
  margin-bottom: 6px;
  position: relative;
  font-variation-settings: "SOFT" 80, "opsz" 48;
}
.gallery .item .placeholder .where {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.82;
  position: relative;
}

/* gradient variety palette */
.gallery .item:nth-child(2) .placeholder { background: linear-gradient(135deg, #8a4a3a 0%, #4a2018 100%); }
.gallery .item:nth-child(3) .placeholder { background: linear-gradient(135deg, #6a6a4a 0%, #2a2a1e 100%); }
.gallery .item:nth-child(4) .placeholder { background: linear-gradient(135deg, #9a8a6a 0%, #3a3020 100%); }
.gallery .item:nth-child(5) .placeholder { background: linear-gradient(135deg, #8a3a3a 0%, #2a1010 100%); }
.gallery .item:nth-child(6) .placeholder { background: linear-gradient(135deg, #5a4a3a 0%, #1a1410 100%); }
.gallery .item:nth-child(7) .placeholder { background: linear-gradient(135deg, #aa8a6a 0%, #4a3624 100%); }
.gallery .item:nth-child(8) .placeholder { background: linear-gradient(135deg, #7a3a4a 0%, #2a1018 100%); }
.gallery .item:nth-child(9) .placeholder { background: linear-gradient(135deg, #6a5a4a 0%, #2a221a 100%); }
.gallery .item:nth-child(10) .placeholder { background: linear-gradient(135deg, #8a7a5a 0%, #3a3020 100%); }
.gallery .item:nth-child(11) .placeholder { background: linear-gradient(135deg, #6a4a5a 0%, #2a1a24 100%); }
.gallery .item:nth-child(12) .placeholder { background: linear-gradient(135deg, #4a5a6a 0%, #1a242a 100%); }
.gallery .item:nth-child(13) .placeholder { background: linear-gradient(135deg, #9a6a4a 0%, #3a241a 100%); }

.gallery .item .num {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.65);
  z-index: 3;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.gallery .item .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 3;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
  color: var(--paper);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.gallery .item:hover .caption {
  opacity: 1;
  transform: translateY(0);
}
.gallery .item .caption .name {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.1;
  margin-bottom: 4px;
  font-variation-settings: "SOFT" 80, "opsz" 48;
}
.gallery .item .caption .where {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
}

.gallery-credit {
  margin-top: 32px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-mute);
  text-align: right;
  font-variation-settings: "SOFT" 80, "opsz" 24;
}

/* -----------------------------------------------------------
   10. PRESS
----------------------------------------------------------- */
.press-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 4vw, 56px) clamp(40px, 5vw, 72px);
}
blockquote.review {
  position: relative;
  padding-top: 32px;
  border-top: 1px solid var(--ink);
}
blockquote.review::before {
  content: "\201C";
  position: absolute;
  top: -28px;
  left: -8px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 96px;
  line-height: 1;
  color: var(--accent);
  font-variation-settings: "SOFT" 80, "opsz" 144;
}
blockquote.review p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 18px;
  font-variation-settings: "SOFT" 40, "opsz" 24;
}
blockquote.review p em {
  font-style: italic;
  font-variation-settings: "SOFT" 80;
}
blockquote.review footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
blockquote.review footer cite {
  font-style: normal;
  color: var(--ink);
}
blockquote.review footer .lang-tag {
  color: var(--paper);
  background: var(--ink);
  padding: 4px 8px;
  letter-spacing: 0.14em;
}
blockquote.review.is-feature {
  grid-column: 1 / -1;
  text-align: center;
  border-top: none;
  padding: clamp(32px, 5vw, 64px) clamp(20px, 5vw, 80px);
  background: var(--paper-deep);
}
blockquote.review.is-feature::before {
  position: relative;
  top: 0;
  left: 0;
  display: block;
  text-align: center;
  margin-bottom: 0;
}
blockquote.review.is-feature p {
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.3;
  margin-bottom: 24px;
}
blockquote.review.is-feature footer { justify-content: center; }

/* -----------------------------------------------------------
   11. CONTACT
----------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.contact-card {
  padding: clamp(28px, 4vw, 48px);
  background: var(--paper-deep);
  border: 1px solid var(--rule);
}
.contact-card h3 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 24px;
}
.contact-card .name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  font-variation-settings: "SOFT" 40, "opsz" 96;
}
.contact-card .role {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: var(--ink-soft);
  font-size: 18px;
  margin-bottom: 28px;
  font-variation-settings: "SOFT" 80, "opsz" 24;
}
.contact-card address {
  font-style: normal;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  font-variation-settings: "SOFT" 40, "opsz" 24;
}
.contact-card a.email {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
  font-variation-settings: "SOFT" 80, "opsz" 48;
  transition: color 0.25s, border-color 0.25s;
  word-break: break-word;
}
.contact-card a.email:hover {
  color: var(--accent-bright);
  border-color: var(--accent-bright);
}

.legal-list h3 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 14px;
}

details.legal {
  margin-bottom: 8px;
  border-bottom: 1px solid var(--rule-soft);
}
details.legal summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  gap: 14px;
}
details.legal summary::-webkit-details-marker { display: none; }
details.legal summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 22px;
  color: var(--accent);
  transition: transform 0.3s;
  flex-shrink: 0;
}
details.legal[open] summary::after { transform: rotate(45deg); }
details.legal .body {
  padding: 0 0 24px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  font-variation-settings: "SOFT" 30, "opsz" 24;
}
details.legal .body p { margin-bottom: 12px; }
details.legal .body p:last-child { margin-bottom: 0; }

/* -----------------------------------------------------------
   12. FOOTER
----------------------------------------------------------- */
footer.site {
  padding: clamp(50px, 8vw, 110px) 0 40px;
  background: var(--ink);
  color: var(--paper);
}
footer.site .grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
}
footer.site h3 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.45);
  margin-bottom: 22px;
}
footer.site p,
footer.site a {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.55;
  color: var(--paper);
  font-variation-settings: "SOFT" 50, "opsz" 24;
}
footer.site a { transition: color 0.25s; }
footer.site a:hover { color: var(--accent-bright); }
footer.site .signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(40px, 8vw, 100px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-top: clamp(40px, 6vw, 80px);
  border-top: 1px solid rgba(242, 237, 228, 0.18);
  padding-top: 40px;
  font-variation-settings: "SOFT" 80, "opsz" 144;
}
footer.site .colophon {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.35);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
footer.site .colophon a:hover { color: var(--paper); }

/* -----------------------------------------------------------
   12.5 LIGHTBOX
----------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(15, 12, 8, 0.92);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 60px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

/* close button */
.lightbox .lb-close {
  position: absolute;
  top: clamp(16px, 3vw, 32px);
  right: clamp(16px, 3vw, 32px);
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(242, 237, 228, 0.3);
  color: var(--paper);
  cursor: pointer;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease;
  z-index: 5;
}
.lightbox .lb-close:hover {
  background: rgba(242, 237, 228, 0.12);
  border-color: var(--paper);
}

/* prev/next arrows */
.lightbox .lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background: transparent;
  border: 1px solid rgba(242, 237, 228, 0.25);
  color: var(--paper);
  cursor: pointer;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  z-index: 5;
}
.lightbox .lb-nav:hover {
  background: rgba(242, 237, 228, 0.12);
  border-color: var(--paper);
}
.lightbox .lb-prev { left: clamp(16px, 3vw, 32px); }
.lightbox .lb-next { right: clamp(16px, 3vw, 32px); }
.lightbox .lb-prev:hover { transform: translateY(-50%) translateX(-3px); }
.lightbox .lb-next:hover { transform: translateY(-50%) translateX(3px); }

/* image stage */
.lightbox .lb-stage {
  position: relative;
  max-width: min(1400px, calc(100vw - 160px));
  max-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox .lb-image {
  max-width: 100%;
  max-height: calc(100vh - 200px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  opacity: 0;
  transition: opacity 0.4s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox .lb-image.is-loaded {
  opacity: 1;
}

/* loading spinner */
.lightbox .lb-spinner {
  position: absolute;
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(242, 237, 228, 0.2);
  border-top-color: var(--paper);
  border-radius: 50%;
  animation: lb-spin 0.8s linear infinite;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.lightbox .lb-spinner.is-loading {
  opacity: 1;
}
@keyframes lb-spin {
  to { transform: rotate(360deg); }
}

/* caption below image */
.lightbox .lb-caption {
  margin-top: clamp(20px, 3vw, 32px);
  text-align: center;
  color: var(--paper);
  max-width: 600px;
}
.lightbox .lb-caption .lb-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.2;
  margin-bottom: 6px;
  font-variation-settings: "SOFT" 80, "opsz" 48;
}
.lightbox .lb-caption .lb-where {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.65);
}

/* counter bottom-left */
.lightbox .lb-counter {
  position: absolute;
  bottom: clamp(16px, 3vw, 28px);
  left: clamp(16px, 3vw, 32px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(242, 237, 228, 0.55);
}

/* mobile overrides */
@media (max-width: 720px) {
  .lightbox { padding: 50px 8px 100px; }
  .lightbox .lb-nav {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }
  .lightbox .lb-prev { left: 8px; }
  .lightbox .lb-next { right: 8px; }
  .lightbox .lb-stage {
    max-width: calc(100vw - 16px);
    max-height: calc(100vh - 280px);
  }
  .lightbox .lb-image {
    max-height: calc(100vh - 280px);
  }
  .lightbox .lb-caption { margin-top: 20px; }
  .lightbox .lb-caption .lb-name { font-size: 18px; }
}

/* gallery items become zoomable */
.gallery .item { cursor: zoom-in; }
.gallery .item:active { transform: scale(0.99); }

/* body scroll lock */
body.lb-open { overflow: hidden; }

/* -----------------------------------------------------------
   13. RESPONSIVE — TABLET
----------------------------------------------------------- */
@media (max-width: 1024px) {
  .work {
    grid-template-columns: 70px 1fr 240px 28px;
    gap: 22px;
  }
  .bio-grid { grid-template-columns: 1fr; }
  .timeline {
    position: static;
    border-left: none;
    border-top: 1px solid var(--rule);
    padding-left: 0;
    padding-top: 28px;
    margin-top: 20px;
  }
  .contact-grid { grid-template-columns: 1fr; }
}

/* -----------------------------------------------------------
   14. RESPONSIVE — MOBILE (≤ 720px)
----------------------------------------------------------- */
@media (max-width: 720px) {
  nav.primary,
  .lang { display: none; }
  .burger { display: flex; }
  .marque { font-size: 16px; }

  .hero .credo {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hero .credo .right { text-align: left; }
  .hero .credo .span {
    text-align: left;
    padding-top: 8px;
    border-top: 1px solid var(--rule-soft);
  }

  .sec-head {
    grid-template-columns: auto 1fr;
    gap: 16px;
  }
  .sec-head .count {
    grid-column: 1 / -1;
    text-align: left;
    padding-bottom: 0;
  }

  .work {
    grid-template-columns: 60px 1fr 24px;
    gap: 16px;
    padding: 18px 0;
  }
  .work .ttl { font-size: 18px; }
  .work .venue {
    grid-column: 2 / 3;
    text-align: left;
    margin-top: 6px;
    font-size: 12px;
  }
  .work.has-link:hover {
    padding-left: 8px;
    padding-right: 8px;
  }

  .works-tabs {
    gap: 2px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    margin-left: calc(-1 * var(--pad-x));
    margin-right: calc(-1 * var(--pad-x));
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
  }
  .works-tabs::-webkit-scrollbar { display: none; }
  .works-tabs button { white-space: nowrap; flex-shrink: 0; }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .gallery .item .placeholder { padding: 14px; }
  .gallery .item .placeholder .name { font-size: 17px; }

  .press-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  blockquote.review p { font-size: 17px; }
  blockquote.review.is-feature p { font-size: 22px; }
  blockquote.review::before { font-size: 72px; top: -22px; }

  footer.site .grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .bio-text p:first-child::first-letter {
    font-size: 4em;
    padding: 4px 10px 0 0;
  }
}

/* -----------------------------------------------------------
   15. RESPONSIVE — SMALL (≤ 380px)
----------------------------------------------------------- */
@media (max-width: 380px) {
  .gallery { grid-template-columns: 1fr; }
  .work {
    grid-template-columns: 50px 1fr 20px;
    gap: 12px;
  }
  .work .ttl { font-size: 17px; }
  .mobile-menu { padding-top: 80px; }
  .mobile-menu a {
    font-size: 30px;
    padding: 14px 0;
  }
}

/* -----------------------------------------------------------
   16. REDUCED MOTION
----------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* -----------------------------------------------------------
   17. PRINT
----------------------------------------------------------- */
@media print {
  body::before,
  header.site,
  footer.site,
  .ribbon,
  .show-all,
  .works-tabs { display: none; }
  body { background: white; color: black; }
  section.sec { page-break-inside: avoid; }
  .works-group { display: block !important; }
}
