/* =========================================================
   LEI SHI · Editorial Gallery
   Inspired by Gagosian / David Zwirner / Hauser & Wirth / Tate
   - Gallery white background
   - High-contrast serif (Spectral) + neutral grotesk (Inter Tight)
   - Numbered sections, generous whitespace
   - Acid yellow used ONLY as accent (hover, marks, dates)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Pinyon+Script&family=Inter+Tight:wght@300;400;500;600&family=Noto+Serif+SC:wght@300;400;500;600&display=swap');

:root {
  /* Acid Black palette — black + logo yellow */
  --paper: #0A0A0A;          /* near-black background */
  --paper-2: #141414;         /* slight lift for alternating sections */
  --ink: #F2EFE9;             /* primary text — warm white */
  --ink-2: rgba(242,239,233,0.78);   /* secondary */
  --ink-3: rgba(242,239,233,0.50);   /* tertiary / meta */
  --rule: rgba(242,239,233,0.22);    /* hairlines */
  --rule-soft: rgba(242,239,233,0.10);
  --acid: #F4C518;            /* logo yellow — primary accent */
  --acid-soft: rgba(244,197,24,0.20);
  --reverse: #F2EFE9;         /* for inverted (paper) sections */
  --reverse-ink: #0A0A0A;

  /* Type — Acid Black + H1 (Cinzel + Pinyon Script) */
  --display: 'Cinzel', 'Cormorant Garamond', Georgia, serif;        /* hard roman caps for H1/H2 */
  --serif: 'Cormorant Garamond', 'Noto Serif SC', Georgia, serif;   /* body serif */
  --serif-cn: 'Noto Serif SC', 'Cormorant Garamond', serif;
  --script: 'Pinyon Script', 'Cormorant Garamond', cursive;         /* swash accent */
  --sans: 'Inter Tight', -apple-system, 'Helvetica Neue', sans-serif;

  /* Scale — editorial, generous */
  --col: 1440px;
  --gutter: 32px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern", "liga", "ss01";
}

body { overflow-x: hidden; }

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

/* =========================================================
   Layout primitives
   ========================================================= */

.shell {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 48px;
}

.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }
.rule--soft { border-top: 1px solid var(--rule-soft); }

/* =========================================================
   Top utility bar — date / location / language
   ========================================================= */

.utility {
  border-bottom: 1px solid var(--rule-soft);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.utility__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}
.utility__row .left, .utility__row .right {
  display: flex; gap: 28px; align-items: center;
}
.utility__row .right a:hover { color: var(--ink); }
.utility .pulse {
  display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--acid);
  margin-right: 8px;
  box-shadow: 0 0 0 0 rgba(244,197,24,0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(244,197,24,0.6); }
  70% { box-shadow: 0 0 0 8px rgba(244,197,24,0); }
  100% { box-shadow: 0 0 0 0 rgba(244,197,24,0); }
}

/* =========================================================
   Masthead — masthead like a journal
   ========================================================= */

.masthead {
  border-bottom: 1px solid var(--rule);
  padding: 28px 0 24px;
}
.masthead__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 32px;
}
.masthead__meta {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.7;
}
.masthead__meta strong { color: var(--ink); font-weight: 500; }

.masthead__brand {
  text-align: center;
}
.masthead__brand .latin {
  font-family: var(--display);
  font-weight: 400;
  font-size: 48px;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--acid);
  text-transform: uppercase;
}
.masthead__brand .latin .amp {
  font-style: italic;
  color: var(--ink-3);
  font-weight: 300;
  font-size: 0.7em;
  vertical-align: 0.1em;
  margin: 0 0.2em;
}
.masthead__brand .han {
  font-family: var(--serif-cn);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.4em;
  margin-top: 8px;
  color: var(--ink-2);
}
.masthead__edition {
  text-align: right;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.7;
}
.masthead__edition .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  color: var(--acid);
  letter-spacing: 0;
  text-transform: none;
  display: block;
  margin-bottom: 4px;
}

/* =========================================================
   Primary nav — letter-spaced, hairline divided
   ========================================================= */

.primary-nav {
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 50;
}
.primary-nav__inner {
  display: flex;
  justify-content: center;
  gap: 48px;
  height: 56px;
  align-items: center;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.primary-nav a {
  position: relative;
  padding: 4px 0;
  color: var(--ink-2);
  transition: color 0.2s;
}
.primary-nav a:hover, .primary-nav a.is-current { color: var(--ink); }
.primary-nav a.is-current::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--acid);
}
.primary-nav a .cn {
  font-family: var(--serif-cn);
  font-size: 11px;
  letter-spacing: 0.1em;
  margin-left: 6px;
  color: var(--ink-3);
}

/* =========================================================
   Hero — single image plate, editorial caption
   ========================================================= */

.hero {
  padding: 72px 0 96px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
}

.hero__intro .kicker {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
}
.hero__intro .kicker .num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--acid);
  letter-spacing: 0;
  text-transform: none;
  font-size: 14px;
}
.hero__intro .kicker .bar {
  width: 32px; height: 1px; background: var(--acid);
}

.hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 1;
  letter-spacing: 0.015em;
  color: var(--ink);
  text-transform: uppercase;
  text-wrap: balance;
}
.hero__title em {
  font-family: var(--script);
  font-style: normal;
  font-weight: 400;
  color: var(--acid);
  font-size: 1.55em;
  letter-spacing: 0;
  text-transform: none;
  display: inline-block;
  vertical-align: -0.12em;
  line-height: 0.7;
  padding: 0 0.04em;
}
.hero__title .han {
  display: block;
  font-family: var(--serif-cn);
  font-size: 0.36em;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  margin-top: 0.4em;
}

.hero__lede {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 36ch;
  margin-top: 32px;
  text-wrap: pretty;
}

.hero__cta-row {
  display: flex; gap: 24px; align-items: center;
  margin-top: 40px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.btn-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--acid);
  color: var(--acid);
  transition: gap 0.3s;
}
.btn-link:hover { gap: 18px; color: var(--ink); border-bottom-color: var(--ink); }
.btn-link::after { content: "→"; font-family: var(--serif); font-size: 14px; }

.btn-ghost {
  color: var(--ink-3);
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.btn-ghost:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* Hero plate (image side) */
.hero__plate {
  position: relative;
}
.hero__plate-frame {
  aspect-ratio: 4/5;
  background: #050505;
  position: relative;
  overflow: hidden;
}
.hero__plate-frame img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero__plate-caption {
  display: flex; justify-content: space-between;
  margin-top: 20px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero__plate-caption .title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

/* Placeholder image — engraved-style fallback */
.plate--ph {
  background:
    repeating-linear-gradient(45deg, rgba(244,197,24,0.04) 0 1px, transparent 1px 12px),
    radial-gradient(ellipse at center, #181818 0%, #040404 100%);
  display: grid; place-items: center;
  color: rgba(244,197,24,0.45);
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.1em;
}

/* =========================================================
   Marquee — current exhibitions ticker
   ========================================================= */

.ticker {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  overflow: hidden;
  padding: 18px 0;
}
.ticker__track {
  display: flex; gap: 64px;
  animation: scroll 60s linear infinite;
  white-space: nowrap;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-2);
}
.ticker__track .dot { color: var(--acid); margin: 0 8px; }
.ticker__track .meta {
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-right: 12px;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   Section header — numbered, hairline-ruled
   ========================================================= */

.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--rule);
}
.section--reverse {
  background: var(--reverse);
  color: var(--reverse-ink);
  border-bottom-color: rgba(10,10,10,0.2);
}
.section--reverse .ink-3 { color: rgba(10,10,10,0.55); }

.section-head {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 32px;
  align-items: baseline;
  padding-bottom: 32px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--rule);
}
.section--reverse .section-head { border-bottom-color: rgba(10,10,10,0.2); }

.section-head__num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 56px;
  line-height: 1;
  color: var(--acid);
}
.section-head__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.section-head__title .han {
  display: block;
  font-family: var(--serif-cn);
  font-size: 18px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  margin-top: 12px;
  font-weight: 400;
}
.section--reverse .section-head__title .han { color: rgba(10,10,10,0.55); }

.section-head__meta {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: right;
  line-height: 1.8;
}

/* =========================================================
   Fact panel — for AI ingestion + visual
   ========================================================= */

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.fact {
  padding: 36px 32px;
  border-right: 1px solid var(--rule-soft);
}
.fact:last-child { border-right: 0; }
.fact__num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.fact__num sup {
  font-size: 0.4em;
  font-style: italic;
  color: var(--ink-3);
  vertical-align: 0.6em;
  margin-left: 4px;
  font-weight: 400;
}
.fact__label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 16px;
}
.fact__sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 4px;
}

/* =========================================================
   Works grid — exhibition-catalog style
   ========================================================= */

.works {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  row-gap: 80px;
}

.work {
  position: relative;
}
.work .frame {
  aspect-ratio: 4/5;
  background: #050505;
  overflow: hidden;
  margin-bottom: 16px;
}
.work .frame img { width: 100%; height: 100%; object-fit: cover; }
.work__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.work__meta .num { font-family: var(--serif); font-style: italic; font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--acid); }
.work__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.3;
  color: var(--ink);
}
.work__title .han {
  display: inline;
  font-family: var(--serif-cn);
  font-style: normal;
  font-size: 14px;
  color: var(--ink-2);
  margin-left: 8px;
  letter-spacing: 0.05em;
}
.work__caption {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 6px;
}

/* Spans — varied rhythm */
.w-3 { grid-column: span 3; }
.w-4 { grid-column: span 4; }
.w-5 { grid-column: span 5; }
.w-6 { grid-column: span 6; }
.w-7 { grid-column: span 7; }
.w-8 { grid-column: span 8; }
.w-12 { grid-column: span 12; }

.work--lift { margin-top: -64px; }
.work--drop { margin-top: 96px; }

.work--feature .frame { aspect-ratio: 16/10; }
.work--portrait .frame { aspect-ratio: 3/4; }

/* =========================================================
   Pull quote — editorial pause
   ========================================================= */

.pullquote {
  padding: 120px 0;
  border-bottom: 1px solid var(--rule);
}
.pullquote__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}
.pullquote__num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--acid);
  font-size: 64px;
  line-height: 1;
  margin-bottom: 24px;
}
.pullquote__body {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}
.pullquote__attr {
  margin-top: 40px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.pullquote__attr .name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--acid);
  display: block;
  margin-bottom: 4px;
}

/* =========================================================
   Bio — two column with portrait
   ========================================================= */

.bio {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}
.bio__portrait {
  aspect-ratio: 3/4;
  background: #050505;
  overflow: hidden;
}
.bio__portrait img { width: 100%; height: 100%; object-fit: cover; }
.bio__body p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 24px;
  text-wrap: pretty;
}
.bio__body p:first-child::first-letter {
  font-family: var(--serif);
  font-size: 4.4em;
  float: left;
  line-height: 0.85;
  margin: 0.08em 0.12em 0 -0.04em;
  font-weight: 300;
}
.bio__body p strong { font-weight: 500; color: var(--ink); }

.bio__creds {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 32px;
  border-top: 1px solid var(--rule);
  padding-top: 32px;
}
.cred__year {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--acid);
  display: block;
  margin-bottom: 4px;
}
.cred__title {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}
.cred__org {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.01em;
}

/* =========================================================
   Press / press-strip
   ========================================================= */

.press-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  padding: 48px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  align-items: center;
}
.press-strip__label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.press-strip__name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--ink);
  text-align: center;
}

/* =========================================================
   Footer / colophon
   ========================================================= */

.colophon {
  background: #050505;
  color: var(--ink);
  padding: 80px 0 32px;
  border-top: 1px solid var(--rule);
}
.colophon__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--rule-soft);
}
.colophon__brand .latin {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.colophon__brand .han {
  font-family: var(--serif-cn);
  font-size: 14px;
  letter-spacing: 0.4em;
  color: var(--ink-2);
}
.colophon__brand .latin { color: var(--acid); }
.colophon__brand p {
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  color: var(--ink-3);
  margin-top: 24px;
  max-width: 32ch;
}
.colophon__col h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 20px;
}
.colophon__col ul { list-style: none; }
.colophon__col li {
  font-family: var(--serif);
  font-size: 15px;
  margin-bottom: 10px;
  color: var(--ink-2);
  cursor: pointer;
  transition: color 0.2s;
}
.colophon__col li:hover { color: var(--acid); }
.colophon__bottom {
  display: flex; justify-content: space-between;
  margin-top: 32px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* =========================================================
   Helpers
   ========================================================= */

.italic { font-style: italic; }
.serif { font-family: var(--serif); }
.sans { font-family: var(--sans); }
.han { font-family: var(--serif-cn); }
.acid { color: var(--acid); }
.muted { color: var(--ink-3); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1100px) {
  .shell { padding: 0 32px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__title { font-size: clamp(40px, 9vw, 72px); }
  .bio { grid-template-columns: 1fr; gap: 32px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(1), .fact:nth-child(2) { border-bottom: 1px solid var(--rule-soft); }
  .press-strip { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .press-strip__name { text-align: center; }
  .masthead__inner { grid-template-columns: 1fr; text-align: center; }
  .masthead__meta, .masthead__edition { text-align: center; }
  .primary-nav__inner { gap: 24px; overflow-x: auto; padding: 0 32px; justify-content: flex-start; }
  .primary-nav a .cn { display: none; }
  .colophon__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .works { gap: 24px; row-gap: 56px; }
  .w-3, .w-4, .w-5, .w-6, .w-7, .w-8 { grid-column: span 6; }
  .w-12 { grid-column: span 12; }
  .work--lift, .work--drop { margin-top: 0; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .section-head__meta { text-align: left; }
}

@media (max-width: 640px) {
  .shell { padding: 0 20px; }
  .utility__row .left { gap: 12px; }
  .utility__row .right { gap: 12px; }
  .masthead__brand .latin { font-size: 40px; }
  .colophon__top { grid-template-columns: 1fr; }
  .w-3, .w-4, .w-5, .w-6, .w-7, .w-8 { grid-column: span 12; }
  .pullquote { padding: 64px 0; }
  .section { padding: 64px 0; }
}

/* === reverse-section overrides — comprehensive (light-bg readability fix) === */
.section--reverse p { color: rgba(10,10,10,0.85); }
.section--reverse p strong { color: rgba(10,10,10,1); }
.section--reverse p em { color: rgba(10,10,10,0.85); font-style: italic; }
.section--reverse a { color: #8a6a14; }
.section--reverse a:hover { color: #b8901a; }
.section--reverse strong[style*="--acid"],
.section--reverse strong[style*="acid"] { color: #8a6a14 !important; }
.section--reverse .bio__body p { color: rgba(10,10,10,0.85); }
.section--reverse .bio__body p strong { color: rgba(10,10,10,1); }
.section--reverse blockquote { color: rgba(10,10,10,0.92); }
.section--reverse li { color: rgba(10,10,10,0.85); }
.section--reverse small { color: rgba(10,10,10,0.7); }
.section--reverse .work__caption { color: rgba(10,10,10,0.78); }


/* === reverse-section cred override (timeline contrast on light bg) === */
.section--reverse .cred__year{color:#8a6a14}
.section--reverse .cred__title{color:rgba(10,10,10,0.92)}
.section--reverse .cred__org{color:rgba(10,10,10,0.62)}
.section--reverse .bio__creds{border-top-color:rgba(10,10,10,0.2)}

/* === reverse-section ate (contact.html ateliers grid) override === */
.section--reverse .ate { border-right-color: rgba(10,10,10,0.15); border-bottom-color: rgba(10,10,10,0.15); }
.section--reverse .ate__num { color: rgba(10,10,10,0.5); }
.section--reverse .ate__city { color: #8a6a14; }
.section--reverse .ate__name { color: rgba(10,10,10,0.92); }
.section--reverse .ate__name .han { color: rgba(10,10,10,0.55); }
.section--reverse .ate__addr { color: rgba(10,10,10,0.78); }
.section--reverse .ate__lead { color: rgba(10,10,10,0.55); }
.section--reverse .ate__tag { color: #8a6a14; }
.section--reverse .ateliers-grid { border-top-color: rgba(10,10,10,0.2); }
.section--reverse .ate__phone { color: rgba(10,10,10,0.78); }
.section--reverse .ate__phone a { border-bottom-color: rgba(10,10,10,0.18); }
.section--reverse .ate__phone a:hover { border-bottom-color: #8a6a14; color: rgba(10,10,10,0.92); }

/* Training intensive block: keep long Chinese copy readable without the drop cap. */
.bio--intensive .bio__body p.course-lead:first-child::first-letter,
.bio--intensive .course-lead::first-letter {
  float: none;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
  font-weight: inherit;
}
.bio--intensive .course-lead {
  max-width: 780px;
  font-size: clamp(18px, 1.4vw, 23px);
  line-height: 1.72;
  color: var(--ink-2);
}
.bio--intensive .course-lead strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: clamp(24px, 2.2vw, 36px);
  line-height: 1.25;
}
.bio--intensive .course-lead span { display: block; }
.bio--intensive .course-details {
  display: grid;
  gap: 9px;
  max-width: 720px;
  color: rgba(242,239,233,0.75);
}
.bio--intensive .course-details span {
  display: grid;
  grid-template-columns: 3.5em minmax(0, 1fr);
  gap: 0 14px;
}
.bio--intensive .course-details b {
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
}

.section--reverse .faq-contact-link {
  color: #3f3210;
  border-bottom: 1px solid rgba(63,50,16,0.45);
  font-weight: 600;
}
.section--reverse .faq-contact-link:hover {
  color: #0a0a0a;
  border-bottom-color: #0a0a0a;
}

@media (max-width: 640px) {
  .bio--intensive .course-details span {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}


/* Exhibition thumb grid (added 2026-05-08) */
.ex-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 20px;
}
.ex-thumbs a {
  display: block;
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--rule-soft);
}
.ex-thumbs img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s ease, transform 0.4s ease;
}
.ex-thumbs a:hover img {
  opacity: 0.85;
  transform: scale(1.03);
}
@media (max-width: 768px) {
  .ex-thumbs { grid-template-columns: repeat(3, 1fr); gap: 6px; }
}
@media (max-width: 480px) {
  .ex-thumbs { grid-template-columns: repeat(2, 1fr); }
}
