/* ==========================================================================
   Soojin Jin - Pianist
   Single stylesheet. Order: tokens -> reset -> type -> layout -> components.
   Edit colours and fonts in section 1 only; everything else derives from it.
   ========================================================================== */

/* --------------------------------------------------------------- 1. TOKENS */
:root {
  /* Surface */
  --ink:        #0a0a0c;
  --ink-deep:   #060607;
  --ink-raise:  #121115;

  /* Foreground */
  --ivory:      #f3efe7;
  --ivory-70:   rgba(243, 239, 231, .70);
  --ivory-52:   rgba(243, 239, 231, .52);
  --ivory-30:   rgba(243, 239, 231, .30);

  /* Accent */
  --brass:      #c9a96e;
  --brass-soft: rgba(201, 169, 110, .32);
  --brass-glow: rgba(201, 169, 110, .12);

  --rule:       rgba(243, 239, 231, .12);
  --rule-soft:  rgba(243, 239, 231, .07);

  /* Type */
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Fluid scale */
  --step--2: clamp(.70rem, .68rem + .10vw, .76rem);
  --step--1: clamp(.80rem, .78rem + .12vw, .88rem);
  --step-0:  clamp(.97rem, .94rem + .16vw, 1.06rem);
  --step-1:  clamp(1.12rem, 1.04rem + .38vw, 1.34rem);
  --step-2:  clamp(1.45rem, 1.24rem + .95vw, 2.10rem);
  --step-3:  clamp(2.00rem, 1.55rem + 1.90vw, 3.30rem);
  --step-4:  clamp(2.70rem, 1.85rem + 3.60vw, 5.40rem);
  --step-5:  clamp(3.20rem, 1.60rem + 6.60vw, 8.50rem);

  /* Space */
  --shell:        1240px;
  --shell-narrow: 780px;
  --gutter:       clamp(1.25rem, 4vw, 3.5rem);
  --section-y:    clamp(4.5rem, 9vw, 9.5rem);

  --ease:     cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;
}

/* ---------------------------------------------------------- 2. RESET / BASE */
*, *::before, *::after { box-sizing: border-box; }

/* overflow-x lives on <html>, and uses `clip` rather than `hidden`.
   `overflow-x: hidden` on <body> propagates to the viewport and promotes
   <body> to the scroll container, which breaks position: fixed painting.
   `clip` trims horizontal overflow without creating a scroll container. */
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 350;
  letter-spacing: .006em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* Scroll lock for the drawer and lightbox. The viewport scroller is <html>,
   so locking <body> alone would not hold. */
html.is-locked,
html.is-locked body { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--brass); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: .7rem 1.1rem;
  background: var(--brass);
  color: var(--ink);
  font-size: var(--step--1);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------ 3. TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); letter-spacing: 0; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

.lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ivory-70);
  font-weight: 300;
}

.prose { max-width: 62ch; }

.eyebrow {
  display: inline-block;
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 1.4rem;
}

.eyebrow--rule {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.eyebrow--rule::after {
  content: "";
  width: clamp(2rem, 6vw, 5rem);
  height: 1px;
  background: var(--brass-soft);
}

/* --------------------------------------------------------- 4. LAYOUT SHELLS */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.shell--narrow { max-width: calc(var(--shell-narrow) + var(--gutter) * 2); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section--raise { background: var(--ink-raise); }
.section--line { border-top: 1px solid var(--rule-soft); }

.section-head {
  max-width: 44ch;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head--wide { max-width: 60ch; }

.split {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left  { grid-template-columns: 1.15fr .85fr; }
  .split--wide-right { grid-template-columns: .85fr 1.15fr; }
}

.stack > * + * { margin-top: 1.5rem; }

/* ------------------------------------------------------- 5. BUTTONS / LINKS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .95rem 1.7rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: transparent;
  color: var(--ivory);
  font-size: var(--step--1);
  font-weight: 450;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .35s var(--ease), border-color .35s var(--ease),
              color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { border-color: var(--brass); color: var(--brass); transform: translateY(-2px); }

.btn--solid {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--ink);
}
.btn--solid:hover { background: var(--ivory); border-color: var(--ivory); color: var(--ink); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2.25rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: var(--step--1);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brass);
  padding-bottom: .3rem;
  border-bottom: 1px solid var(--brass-soft);
  transition: gap .3s var(--ease), border-color .3s var(--ease);
}
.link-arrow:hover { gap: 1rem; border-color: var(--brass); }
.link-arrow::after { content: "\2192"; }

/* ------------------------------------------------------------- 6. SITE HEAD */
.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.site-head.is-stuck {
  background: rgba(10, 10, 12, .82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--rule-soft);
}

.site-head__inner {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.32rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ivory);
  white-space: nowrap;
}
.wordmark span { color: var(--brass); }

.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; align-items: center; gap: clamp(1.4rem, 2.6vw, 2.6rem); }
}

.nav a {
  position: relative;
  font-size: var(--step--1);
  letter-spacing: .13em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ivory-70);
  padding-block: .4rem;
  transition: color .3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--ivory); }
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
@media (min-width: 900px) { .nav-toggle { display: none; } }

.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--ivory);
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.6rem;
  padding: var(--header-h) var(--gutter) 3rem;
  background: var(--ink-deep);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s var(--ease);
}
.drawer.is-open { opacity: 1; visibility: visible; }
@media (min-width: 900px) { .drawer { display: none; } }

.drawer a {
  font-family: var(--font-display);
  font-size: var(--step-2);
  text-decoration: none;
  color: var(--ivory);
  border-bottom: 1px solid var(--rule-soft);
  padding-bottom: .6rem;
}
.drawer a[aria-current="page"] { color: var(--brass); }

/* ------------------------------------------------------------------ 7. HERO */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink-deep);
}

.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  opacity: .55;
  animation: heroDrift 26s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.02); }
  to   { transform: scale(1.10); }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--ink) 4%, rgba(10, 10, 12, .55) 45%, rgba(10, 10, 12, .35) 100%),
    radial-gradient(120% 80% at 20% 90%, rgba(10, 10, 12, .85), transparent 60%);
}

.hero__body {
  position: relative;
  width: 100%;
  padding-bottom: clamp(4rem, 11vh, 8rem);
  padding-top: calc(var(--header-h) + 3rem);
}

.hero__name {
  font-size: var(--step-5);
  line-height: .92;
  margin: 0;
  letter-spacing: -.03em;
}
.hero__name em { display: block; font-style: italic; color: var(--brass); }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem 1.4rem;
  margin-top: 1.8rem;
  font-size: var(--step--1);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ivory-70);
}
.hero__meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--brass); }

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(4rem, 11vh, 8rem);
  display: none;
  align-items: center;
  gap: .8rem;
  font-size: var(--step--2);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ivory-52);
  text-decoration: none;
}
@media (min-width: 900px) { .hero__scroll { display: flex; } }
.hero__scroll i {
  display: block;
  width: 1px;
  height: 54px;
  background: linear-gradient(var(--brass), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .35; transform: scaleY(.6); transform-origin: top; }
  50%      { opacity: 1;   transform: scaleY(1);  transform-origin: top; }
}

.page-head {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(4.5rem, 12vh, 9rem));
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  border-bottom: 1px solid var(--rule-soft);
  background:
    radial-gradient(90% 120% at 85% 0%, var(--brass-glow), transparent 55%),
    var(--ink);
}
.page-head h1 { margin-bottom: .35em; }

/* ------------------------------------------------------------ 8. FIGURE/IMG */
.figure { position: relative; isolation: isolate; }
.figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(.92) contrast(1.02);
}
.figure--wide img { aspect-ratio: 16 / 10; }
.figure__caption {
  margin-top: .9rem;
  font-size: var(--step--1);
  color: var(--ivory-52);
  letter-spacing: .04em;
}
.figure--framed::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--brass-soft);
  z-index: -1;
}

/* Feature band. Width-capped to the source file's native pixels so an
   irreplaceable but small photograph is never displayed upscaled. */
.feature { margin: 0; text-align: center; }
.feature img {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  border: 1px solid var(--rule-soft);
}
.feature figcaption {
  margin-top: 1.1rem;
  font-size: var(--step--1);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ivory-52);
}

/* -------------------------------------------------------------- 9. PULLQUOTE */
.quote {
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-style: italic;
  font-weight: 300;
  line-height: 1.22;
  margin: 0;
}
.quote--wide { max-width: 30ch; }
.quote__source {
  display: block;
  margin-top: 1.6rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--step--1);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brass);
}

.quote-band {
  background: var(--ink-raise);
  border-block: 1px solid var(--rule-soft);
  text-align: center;
}
.quote-band .quote { max-width: 26ch; margin-inline: auto; }

/* -------------------------------------------------------------- 10. CONCERTS */
.concerts { border-top: 1px solid var(--rule); }

.concert {
  display: grid;
  gap: .55rem 2rem;
  padding-block: clamp(1.6rem, 3vw, 2.4rem);
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
  transition: background .35s var(--ease);
}
@media (min-width: 820px) {
  .concert {
    grid-template-columns: 170px minmax(0, 1fr) auto;
    padding-inline: 1rem;
    margin-inline: -1rem;
  }
  .concert:hover { background: rgba(243, 239, 231, .03); }
}

.concert__date {
  font-size: var(--step--1);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass);
  white-space: nowrap;
}
.concert__title {
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.25;
  margin: 0;
}
.concert__venue {
  margin: .35rem 0 0;
  font-size: var(--step--1);
  color: var(--ivory-52);
  letter-spacing: .03em;
}
.concert__program {
  margin: .7rem 0 0;
  font-size: var(--step--1);
  color: var(--ivory-70);
}
.concert__cta { justify-self: start; }
@media (min-width: 820px) { .concert__cta { justify-self: end; } }

.concert--past { opacity: .58; }
.concert--past .concert__date { color: var(--ivory-52); }

.tablist {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--rule-soft);
}
.tablist button {
  border: 0;
  background: none;
  padding: 0 0 .9rem;
  cursor: pointer;
  font-size: var(--step--1);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ivory-52);
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.tablist button[aria-selected="true"] { color: var(--brass); border-bottom-color: var(--brass); }

.empty-note {
  padding: 2.5rem 0;
  color: var(--ivory-52);
  font-style: italic;
  font-family: var(--font-display);
  font-size: var(--step-1);
}

/* ----------------------------------------------------------------- 11. MEDIA */
.media-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.media-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rule-soft);
  background: var(--ink-raise);
}

.media-card__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink-deep);
  border: 0;
  padding: 0;
  width: 100%;
  cursor: pointer;
}
.media-card__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .68;
  transition: opacity .5s var(--ease), transform .8s var(--ease);
}
.media-card__frame:hover img { opacity: .9; transform: scale(1.04); }
.media-card__frame iframe { width: 100%; height: 100%; border: 0; }
.media-card__frame[disabled] { cursor: default; }
.media-card__frame[disabled]:hover img { opacity: .68; transform: none; }

.play {
  position: absolute;
  inset: 50% auto auto 50%;
  translate: -50% -50%;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1px solid var(--brass);
  background: rgba(10, 10, 12, .45);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  transition: background .35s var(--ease), scale .35s var(--ease);
}
.media-card__frame:hover .play { background: var(--brass); scale: 1.06; }
.play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-left: 13px solid var(--brass);
  border-block: 8px solid transparent;
  transition: border-color .35s var(--ease);
}
.media-card__frame:hover .play::before { border-left-color: var(--ink); }

.media-card__body { padding: 1.4rem 1.5rem 1.6rem; }
.media-card__body h3 { font-size: var(--step-1); margin-bottom: .35rem; }
.media-card__body p {
  font-size: var(--step--1);
  color: var(--ivory-52);
  letter-spacing: .04em;
}

.badge {
  display: inline-block;
  padding: .3rem .7rem;
  border: 1px solid var(--brass-soft);
  border-radius: 999px;
  font-size: var(--step--2);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass);
}

/* --------------------------------------------------- 12. GALLERY / LIGHTBOX */
.gallery {
  display: grid;
  gap: clamp(.75rem, 1.4vw, 1.15rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.gallery button {
  position: relative;
  padding: 0;
  border: 0;
  background: var(--ink-raise);
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.gallery button:nth-child(4n + 1) { aspect-ratio: 4 / 5; }
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .88;
  transition: transform .9s var(--ease), opacity .5s var(--ease);
}
.gallery button:hover img { transform: scale(1.05); opacity: 1; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 5vw, 4rem);
  background: rgba(6, 6, 7, .95);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  object-fit: contain;
}
.lightbox__caption {
  position: absolute;
  left: 50%;
  bottom: clamp(1rem, 4vw, 2.5rem);
  translate: -50% 0;
  font-size: var(--step--1);
  color: var(--ivory-52);
  letter-spacing: .1em;
}
.lightbox__btn {
  position: absolute;
  width: 52px;
  height: 52px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: rgba(10, 10, 12, .6);
  color: var(--ivory);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.lightbox__btn:hover { border-color: var(--brass); color: var(--brass); }
.lightbox__close { top: clamp(1rem, 4vw, 2rem); right: clamp(1rem, 4vw, 2rem); }
.lightbox__prev  { left: clamp(.5rem, 3vw, 2rem); top: 50%; translate: 0 -50%; }
.lightbox__next  { right: clamp(.5rem, 3vw, 2rem); top: 50%; translate: 0 -50%; }

/* ----------------------------------------------------------------- 13. FORMS */
.form { display: grid; gap: 1.5rem; }
@media (min-width: 700px) {
  .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

.field { display: grid; gap: .55rem; }
.field label {
  font-size: var(--step--2);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ivory-52);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .95rem 1.1rem;
  background: var(--ink-raise);
  border: 1px solid var(--rule);
  border-radius: 2px;
  color: var(--ivory);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brass);
  outline: none;
  background: var(--ink-deep);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ivory-30); }

.form__note { font-size: var(--step--1); color: var(--ivory-52); }

.form-status {
  padding: 1rem 1.2rem;
  border: 1px solid var(--brass-soft);
  background: var(--brass-glow);
  font-size: var(--step--1);
  color: var(--ivory);
}
.form-status[hidden] { display: none; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; }
.contact-list .k {
  font-size: var(--step--2);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: .3rem;
}
.contact-list a { color: var(--ivory); text-decoration: none; border-bottom: 1px solid var(--rule); }
.contact-list a:hover { border-color: var(--brass); color: var(--brass); }

/* ------------------------------------------------------------ 14. REPERTOIRE */
.rep-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.rep-group h3 {
  font-size: var(--step-1);
  padding-bottom: .8rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--rule);
}
.rep-group__note {
  font-size: var(--step--1);
  color: var(--ivory-52);
  font-style: italic;
  margin: -.4rem 0 1rem;
}
.rep-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.rep-group li { font-size: var(--step--1); color: var(--ivory-70); line-height: 1.5; }
.rep-group li strong { display: block; color: var(--ivory); font-weight: 450; }

.fact-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  border-top: 1px solid var(--rule);
  padding-top: 2.5rem;
}
.fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 300;
  color: var(--brass);
  line-height: 1;
  margin-bottom: .5rem;
}
.fact span { font-size: var(--step--1); color: var(--ivory-52); letter-spacing: .06em; }

/* ---------------------------------------------------------------- 15. FOOTER */
.site-foot {
  background: var(--ink-deep);
  border-top: 1px solid var(--rule-soft);
  padding-block: clamp(3.5rem, 7vw, 6rem) 2.5rem;
}
.site-foot__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
@media (min-width: 820px) { .site-foot__grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.site-foot h4 {
  font-family: var(--font-body);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.2rem;
}
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.foot-links a {
  font-size: var(--step--1);
  color: var(--ivory-70);
  text-decoration: none;
  transition: color .3s var(--ease);
}
.foot-links a:hover { color: var(--brass); }

.site-foot__base {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 1.8rem;
  border-top: 1px solid var(--rule-soft);
  font-size: var(--step--2);
  letter-spacing: .1em;
  color: var(--ivory-30);
}

/* -------------------------------------------------------------- 16. REVEALS */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- 17. PRINT */
@media print {
  .site-head, .drawer, .hero__scroll, .lightbox, .btn-row { display: none !important; }
  body { background: #fff; color: #111; }
  a { color: #111; }
}
