/* ==========================================================================
   Layer Beauty School — styles
   Palette: studio grey, paper white, ink, graphite + one accent (lipstick rouge,
   sampled from the hero photograph). Type: Bodoni Moda / Jost / DM Mono.
   ========================================================================== */

:root {
  --paper: #ffffff;
  --ground: #e2e2e2;      /* the hero photo's seamless backdrop */
  --fog: #efefed;
  --ink: #111111;
  --text: #2b2b29;
  --ash: #6b6b67;
  --graphite: #151515;
  --black: #0b0b0b;
  --on-dark: #f3f3f1;
  --ash-dark: #a3a39e;
  --rouge: #b4121f;

  --line: rgba(17, 17, 17, 0.14);
  --line-dark: rgba(255, 255, 255, 0.16);

  --display: "Bodoni Moda", "Bodoni 72", Didot, "Didot LT STD", Georgia, serif;
  --sans: "Jost", Futura, "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --max: 1320px;
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

/* ---------- Reset & base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; color: var(--ink); }
ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--rouge);
  outline-offset: 3px;
}
.is-dark :focus-visible { outline-color: var(--on-dark); }

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--paper);
  font: 400 0.8rem/1 var(--mono);
  text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.is-dark {
  background: var(--graphite);
  color: var(--on-dark);
}
.is-dark h1, .is-dark h2, .is-dark h3 { color: var(--on-dark); }
.is-black { background: var(--black); }
.is-fog { background: var(--fog); }

.section { padding-block: clamp(5rem, 10vw, 9.5rem); }

/* ---------- Shared type ---------- */

.folio {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 clamp(2rem, 4vw, 3.25rem);
  font: 400 0.72rem/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
}
.folio__no { color: var(--ink); }
.folio__rule { width: 2.5rem; height: 1px; background: currentColor; opacity: 0.6; }
.is-dark .folio { color: var(--ash-dark); }
.is-dark .folio__no { color: var(--on-dark); }

.display {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: clamp(2.35rem, 5.2vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.012em;
}
.display em { font-style: italic; }
.nowrap { white-space: nowrap; }

.lede {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--text);
}
.is-dark .lede { color: var(--ash-dark); }

.caption {
  margin-top: 0.8rem;
  font: 400 0.7rem/1.5 var(--mono);
  letter-spacing: 0.02em;
  color: var(--ash);
}
.caption a { text-decoration: none; border-bottom: 1px solid var(--line); }
.caption a:hover { color: var(--ink); }
.is-dark .caption { color: var(--ash-dark); }
.is-dark .caption a { border-bottom-color: var(--line-dark); }
.is-dark .caption a:hover { color: var(--on-dark); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font: 500 0.78rem/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid currentColor;
  transition: gap 0.3s var(--ease), color 0.2s;
}
.text-link:hover { gap: 1rem; color: var(--rouge); }
.is-dark .text-link:hover { color: var(--on-dark); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background-color 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--line);
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}
.wordmark__name {
  font: 500 1.3rem/1 var(--display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.wordmark__tag {
  font: 400 0.64rem/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
}

.nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.5rem); }
.nav a {
  position: relative;
  font: 400 0.8rem/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding-block: 0.4rem;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--rouge);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav .nav__cta {
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--ink);
  transition: background-color 0.25s, color 0.25s;
}
.nav .nav__cta::after { display: none; }
.nav .nav__cta:hover { background: var(--ink); color: var(--paper); }

.menu-toggle {
  display: none;
  appearance: none;
  background: none;
  border: 0;
  padding: 0.5rem 0;
  font: 500 0.78rem/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  background: var(--black);
  color: var(--on-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 0.35rem; }
.mobile-menu nav a {
  font: 400 clamp(2.2rem, 10vw, 3rem)/1.15 var(--display);
  text-decoration: none;
  color: var(--on-dark);
}
.mobile-menu nav a:hover { font-style: italic; }
.mobile-menu__foot {
  font: 400 0.75rem/1.7 var(--mono);
  color: var(--ash-dark);
}
.mobile-menu__foot a { color: var(--on-dark); }

body.menu-open { overflow: hidden; }
body.menu-open .site-header { background: transparent; border-bottom-color: transparent; }
body.menu-open .wordmark,
body.menu-open .wordmark__tag,
body.menu-open .menu-toggle { color: var(--on-dark); }

/* ---------- 00 Hero (the cover) ---------- */

.hero {
  position: relative;
  background: var(--ground);
  color: var(--ink);
  overflow: hidden;
}
.hero__frame {
  position: relative;
  aspect-ratio: 3 / 2;
  max-height: 118vh;
  min-height: 560px;
}
.hero__photo,
.hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__photo img {
  object-fit: cover;
  object-position: 45% 50%;
  animation: photo-in 1.6s var(--ease) both;
}

/* The masthead: white type, difference-blended — reads black on the studio
   grey and turns white where it crosses the black turtleneck. */
.hero__title {
  position: absolute;
  inset: 0;
  margin: 0;
  color: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
}
.hero__word {
  position: absolute;
  left: 0; right: 0;
  top: 47.5%;
  display: block;
  text-align: center;
  font-family: var(--display);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 96;
  font-weight: 400;
  font-size: 25vw;
  line-height: 0.78;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: #fff;
  animation: mast-in 1.4s var(--ease) 0.25s both;
}
.hero__sub {
  position: absolute;
  right: 6.5%;
  top: 79%;
  font: 400 clamp(0.72rem, 1.05vw, 1rem)/1 var(--sans);
  letter-spacing: 0.52em;
  text-transform: uppercase;
  color: #fff;
  animation: fade-in 1s ease 1s both;
}

.hero__lines {
  position: absolute;
  right: 4%;
  top: 17%;
  width: min(22%, 300px);
  animation: fade-in 1s ease 0.9s both;
}
.hero__issue {
  margin-bottom: 1.4rem;
  font: 400 0.7rem/1.4 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
}
.hero__lines ul { border-top: 1px solid var(--line); }
.hero__lines li {
  padding-block: 0.8rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--ink);
}
.hero__lines li strong { font-weight: 500; }
.marker {
  display: inline-block;
  width: 0.5rem; height: 0.5rem;
  margin-right: 0.55rem;
  background: var(--rouge);
  vertical-align: 0.08em;
}
.hero__lines .text-link { margin-top: 1.4rem; color: var(--ink); }

.hero__credit {
  position: absolute;
  left: var(--gutter);
  bottom: 1.25rem;
  margin: 0;
  font: 400 0.66rem/1.4 var(--mono);
  letter-spacing: 0.04em;
  color: #5d5d5a;
}
.hero__credit a { text-decoration: none; }
.hero__credit a:hover { color: var(--ink); }

@keyframes photo-in { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
@keyframes mast-in {
  from { clip-path: inset(0 0 100% 0); transform: translateY(8%); }
  to { clip-path: inset(0 0 -10% 0); transform: none; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 01 Director's letter (dark) ---------- */

.letter__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.5vw, 2.5rem);
  align-items: start;
}
.letter__portrait { grid-column: 1 / span 3; }
.letter__portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1);
}
.letter__body { grid-column: 5 / -1; }
.letter__quote p {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-style: italic;
  font-size: clamp(1.75rem, 3.4vw, 3.2rem);
  line-height: 1.14;
  letter-spacing: -0.005em;
  color: var(--on-dark);
  text-indent: -0.42em;
}
.letter__quote p + p {
  max-width: 46ch;
  margin-top: 2rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  line-height: 1.65;
  letter-spacing: 0;
  text-indent: 0;
  color: var(--ash-dark);
}
.letter__quote em { font-style: normal; }
.letter__sign {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1.25rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-dark);
}
.letter__name {
  font: 400 1.35rem/1.2 var(--display);
  color: var(--on-dark);
}
.letter__role {
  font: 400 0.72rem/1.4 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash-dark);
}

/* ---------- 02 About ---------- */

.about__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.5vw, 2.5rem);
  align-items: start;
}
.about__text { grid-column: 1 / span 5; padding-top: 0.5rem; }
.about__text .display { margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.about__text .lede { margin-bottom: 1.2rem; }
.about__facts {
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.about__facts li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.about__facts span:first-child {
  font: 400 0.72rem/1.9 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
}

.about__photos {
  grid-column: 7 / -1;
  position: relative;
  padding-bottom: 14%;
}
.about__main {
  width: 78%;
  margin-left: auto;
}
.about__main img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.about__inset {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42%;
}
.about__inset img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 10px solid var(--paper);
  border-left: 0;
  border-bottom: 0;
}
.about__main .caption { padding-left: 40%; }

/* ---------- 03 Stats band (black) ---------- */

.stats { padding-block: clamp(4.5rem, 8vw, 7rem); }
.stats__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
}
.stats__item {
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1rem, 2vw, 2rem) 0 0;
  border-right: 1px solid var(--line-dark);
}
.stats__item + .stats__item { padding-left: clamp(1rem, 2vw, 2rem); }
.stats__item:last-child { border-right: 0; }
.stats__num {
  display: block;
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: clamp(3.4rem, 7.5vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--on-dark);
  font-variant-numeric: lining-nums;
}
.stats__label {
  display: block;
  margin-top: 1rem;
  max-width: 17ch;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--ash-dark);
}
.stats__note {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  font: 400 0.7rem/1.5 var(--mono);
  letter-spacing: 0.06em;
  color: var(--ash-dark);
}

/* ---------- 04 Courses ---------- */

.courses__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.5vw, 2.5rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.courses__head .display { grid-column: 1 / span 6; }
.courses__head .lede { grid-column: 8 / -1; margin: 0; }

.course-table { width: 100%; }
.course-row {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr) 7rem 11rem 8.5rem;
  column-gap: clamp(1rem, 2.5vw, 2.5rem);
  align-items: center;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.course-row--head {
  padding-block: 0 0.9rem;
  border-bottom-color: var(--ink);
  font: 400 0.68rem/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
}
.course-row__thumb {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--fog);
}
.course-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.course-row:hover .course-row__thumb img { transform: scale(1.05); }
.course-row h3 {
  font: 400 clamp(1.5rem, 2.4vw, 2.1rem)/1.1 var(--display);
  margin-bottom: 0.45rem;
}
.course-row p {
  max-width: 52ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ash);
}
.course-row__meta {
  font: 400 0.82rem/1.45 var(--mono);
  color: var(--ink);
}
.course-row__meta small {
  display: none;
  font: inherit;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash);
}
.courses__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 2rem;
  font: 400 0.72rem/1.6 var(--mono);
  color: var(--ash);
}

/* ---------- Photo break ---------- */

.photo-break {
  position: relative;
  height: clamp(420px, 62vw, 100vh);
  background: var(--black);
  overflow: hidden;
}
.photo-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
}
.photo-break figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 5rem var(--gutter) 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0));
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.75rem 2rem;
  color: #fff;
}
.photo-break__line {
  font: italic 400 clamp(1.3rem, 2.4vw, 2.1rem)/1.2 var(--display);
  max-width: 28ch;
}
.photo-break__credit {
  font: 400 0.68rem/1.5 var(--mono);
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
}
.photo-break__credit a { text-decoration: none; }

/* ---------- 05 Faculty ---------- */

.faculty__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem 3rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.faculty__head .lede { max-width: 38ch; margin: 0; }

.faculty__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.2vw, 2.25rem);
  row-gap: 3.5rem;
  align-items: start;
}
.person:nth-child(even) { margin-top: clamp(3rem, 7vw, 6.5rem); }
.person img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
}
.person__role {
  display: block;
  margin-top: 1.1rem;
  font: 400 0.68rem/1.4 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
}
.person h3 {
  margin-top: 0.5rem;
  font: 400 clamp(1.4rem, 2vw, 1.8rem)/1.1 var(--display);
}
.person p {
  margin-top: 0.7rem;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--text);
}
.person .caption { margin-top: 0.6rem; }

/* ---------- 06 Admissions spec list (dark) ---------- */

.spec__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.5vw, 2.5rem);
  align-items: start;
}
.spec__intro { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 2rem); }
.spec__intro .display { margin-bottom: 1.5rem; }
.spec__intro .text-link { margin-top: 2rem; }

.spec { grid-column: 6 / -1; border-top: 1px solid var(--line-dark); }
.spec__row {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 0.5rem 2rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--line-dark);
}
.spec dt {
  padding-top: 0.2rem;
  font: 400 0.7rem/1.6 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash-dark);
}
.spec dd { font-size: 1.02rem; line-height: 1.6; color: var(--on-dark); }
.spec dd span { color: var(--ash-dark); }
.spec ol { counter-reset: step; }
.spec ol li { counter-increment: step; display: flex; gap: 0.8rem; }
.spec ol li::before {
  content: counter(step);
  flex: none;
  width: 1.2rem;
  font: 400 0.8rem/1.95 var(--mono);
  color: var(--ash-dark);
}
.spec__row--key dd {
  font: 400 clamp(1.5rem, 2.6vw, 2.2rem)/1.15 var(--display);
}
.spec__row--key .marker { vertical-align: 0.3em; }

/* ---------- 07 Testimonial ---------- */

.voice__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.5vw, 2.5rem);
  align-items: center;
}
.voice__photo { grid-column: 1 / span 4; }
.voice__photo img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.voice__body { grid-column: 6 / -1; }
.voice__quote p {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-size: clamp(1.6rem, 2.9vw, 2.65rem);
  line-height: 1.2;
  color: var(--ink);
}
.voice__quote p::before { content: "\201C"; margin-left: -0.45em; }
.voice__quote p::after { content: "\201D"; }
.voice__who {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1.5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.voice__name { font: 400 1.3rem/1.2 var(--display); color: var(--ink); }
.voice__detail {
  font: 400 0.72rem/1.7 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ash);
}
.voice__now { grid-column: 1 / -1; font-size: 0.95rem; color: var(--text); }

/* ---------- 08 Contact (black) ---------- */

.contact__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.5vw, 2.5rem);
  row-gap: 3rem;
  align-items: start;
}
.contact__info { grid-column: 1 / span 5; }
.contact__info .display { margin-bottom: 2.5rem; }
.contact__block {
  padding-block: 1.25rem;
  border-top: 1px solid var(--line-dark);
}
.contact__block:last-of-type { border-bottom: 1px solid var(--line-dark); }
.contact__label {
  display: block;
  margin-bottom: 0.45rem;
  font: 400 0.7rem/1.4 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash-dark);
}
.contact__block address,
.contact__block p { font-size: 1.05rem; line-height: 1.6; color: var(--on-dark); }
.contact__block a { text-decoration: none; border-bottom: 1px solid var(--line-dark); transition: border-color 0.2s; }
.contact__block a:hover { border-bottom-color: var(--on-dark); }
.contact__hours { display: grid; grid-template-columns: auto 1fr; gap: 0.15rem 1.5rem; }
.contact__hours dt { color: var(--ash-dark); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.5rem;
  font: 500 0.78rem/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--on-dark);
  color: var(--on-dark);
  transition: background-color 0.25s, color 0.25s;
}
.button:hover { background: var(--on-dark); color: var(--black); }
.button--solid { background: var(--on-dark); color: var(--black); }
.button--solid:hover { background: transparent; color: var(--on-dark); }

.contact__map { grid-column: 7 / -1; }
.contact__map-frame {
  position: relative;
  aspect-ratio: 4 / 3.4;
  background: #1c1c1c;
  border: 1px solid var(--line-dark);
}
.contact__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(0.9) contrast(0.92);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--black);
  color: var(--ash-dark);
  padding-block: 3.5rem 2.5rem;
  border-top: 1px solid var(--line-dark);
}
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-dark);
}
.site-footer__mark {
  font: 400 clamp(3rem, 8vw, 6.5rem)/0.85 var(--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--on-dark);
}
.site-footer__mark span {
  display: block;
  margin-top: 0.9rem;
  font: 400 0.7rem/1 var(--mono);
  letter-spacing: 0.32em;
  color: var(--ash-dark);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; }
.site-footer nav a {
  font: 400 0.78rem/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--on-dark);
}
.site-footer nav a:hover { text-decoration: underline; text-underline-offset: 0.35em; }
.site-footer__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 1.5rem 3rem;
  padding-top: 2rem;
  font: 400 0.7rem/1.7 var(--mono);
}
.site-footer__bottom a { color: var(--on-dark); text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.site-footer__bottom a:hover { border-bottom-color: var(--on-dark); }

/* ---------- Scroll reveal (only when JS is running) ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Privacy policy page
   ========================================================================== */

.policy-head {
  padding-block: calc(var(--header-h) + clamp(3.5rem, 8vw, 7rem)) clamp(3rem, 6vw, 5rem);
  background: var(--ground);
  border-bottom: 1px solid var(--line);
}
.policy-head__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.5vw, 2.5rem);
  align-items: end;
}
.policy-head h1 {
  grid-column: 1 / span 8;
  font-family: var(--display);
  font-optical-sizing: auto;
  font-size: clamp(3.2rem, 10vw, 9rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.policy-head h1 em { font-style: italic; }
.policy-head__meta { grid-column: 9 / -1; }
.policy-head__meta p { font-size: 0.98rem; }
.policy-head__meta dl {
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.policy-head__meta dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--line);
  font: 400 0.74rem/1.5 var(--mono);
}
.policy-head__meta dt { color: var(--ash); letter-spacing: 0.08em; text-transform: uppercase; }
.policy-head__meta dd { color: var(--ink); text-align: right; }

.policy {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.5vw, 2.5rem);
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.policy__toc {
  grid-column: 1 / span 3;
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  align-self: start;
}
.policy__toc p {
  margin-bottom: 1rem;
  font: 400 0.7rem/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
}
.policy__toc ol { border-top: 1px solid var(--line); counter-reset: toc; }
.policy__toc li { counter-increment: toc; border-bottom: 1px solid var(--line); }
.policy__toc a {
  display: flex;
  gap: 0.8rem;
  padding-block: 0.55rem;
  font-size: 0.9rem;
  line-height: 1.4;
  text-decoration: none;
  color: var(--ash);
  transition: color 0.2s;
}
.policy__toc a::before {
  content: counter(toc, decimal-leading-zero);
  flex: none;
  font: 400 0.7rem/1.9 var(--mono);
}
.policy__toc a:hover,
.policy__toc a.is-current { color: var(--ink); }
.policy__toc a.is-current::before { color: var(--rouge); }

.policy__body { grid-column: 5 / span 7; min-width: 0; max-width: 44rem; }
.policy__body section { padding-bottom: 3rem; margin-bottom: 3rem; border-bottom: 1px solid var(--line); }
.policy__body section:last-child { border-bottom: 0; margin-bottom: 0; }
.policy__body h2 {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.4rem;
  font: 400 clamp(1.7rem, 2.8vw, 2.3rem)/1.12 var(--display);
}
.policy__body h2 span {
  flex: none;
  font: 400 0.72rem/1 var(--mono);
  letter-spacing: 0.1em;
  color: var(--ash);
}
.policy__body h3 {
  margin: 1.8rem 0 0.6rem;
  font: 500 0.8rem/1.4 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.policy__body p,
.policy__body li { font-size: 1rem; line-height: 1.7; }
.policy__body ul { margin: 0 0 1.1em; }
.policy__body ul li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.45rem;
}
.policy__body ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.8em;
  width: 0.55rem; height: 1px;
  background: var(--ink);
}
.policy__body a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.policy__body a:hover { color: var(--rouge); }
.policy__body strong { font-weight: 500; color: var(--ink); }

.optout {
  margin: 1.5rem 0;
  border-top: 1px solid var(--ink);
}
.optout li { padding: 0 !important; margin: 0 !important; border-bottom: 1px solid var(--line); }
.optout li::before { display: none; }
.optout a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.2rem 1rem;
  padding-block: 1rem;
  text-decoration: none;
}
.optout strong { font: 400 1.25rem/1.2 var(--display); }
.optout small { grid-column: 1; font-size: 0.88rem; color: var(--ash); }
.optout .arrow {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  font: 400 0.75rem/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
  transition: color 0.2s, transform 0.3s var(--ease);
}
.optout a:hover .arrow { color: var(--rouge); transform: translateX(4px); }

.table-scroll { overflow-x: auto; margin: 1.5rem 0; }
.cookie-table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: 0.92rem;
  line-height: 1.5;
}
.cookie-table th {
  padding: 0 1rem 0.7rem 0;
  border-bottom: 1px solid var(--ink);
  text-align: left;
  font: 400 0.68rem/1.3 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash);
}
.cookie-table td {
  padding: 0.85rem 1rem 0.85rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.cookie-table td:first-child { font-family: var(--display); font-size: 1.05rem; color: var(--ink); white-space: nowrap; }

.policy-contact__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.5vw, 2.5rem);
  row-gap: 2rem;
  align-items: start;
}
.policy-contact__grid .display { grid-column: 1 / span 6; }
.policy-contact__grid .contact__details { grid-column: 8 / -1; }

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

@media (max-width: 1100px) {
  .course-row { grid-template-columns: 6rem minmax(0, 1fr) 5.25rem 8rem 5.75rem; column-gap: 1.25rem; }
}

@media (max-width: 1000px) {
  .nav a:not(.nav__cta) { display: none; }

  .hero__frame { min-height: 0; }
  .hero__lines {
    position: static;
    width: auto;
    padding: 2rem var(--gutter) 2.75rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 2rem;
  }
  .hero__issue { grid-column: 1 / -1; }
  .hero__lines .text-link { justify-self: start; align-self: start; }
  .hero__credit { bottom: 0.9rem; }

  .letter__portrait { grid-column: 1 / span 4; }
  .letter__body { grid-column: 5 / -1; }

  .about__text { grid-column: 1 / -1; margin-bottom: 3.5rem; }
  .about__photos { grid-column: 1 / -1; max-width: 640px; }

  .stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__item { padding-bottom: 2rem; }
  .stats__item:nth-child(2) { border-right: 0; }
  .stats__item:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line-dark); }
  .stats__item:nth-child(4) { border-top: 1px solid var(--line-dark); }

  .courses__head .display,
  .courses__head .lede { grid-column: 1 / -1; }
  .courses__head .lede { margin-top: 1.5rem; }

  .faculty__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .spec__intro { grid-column: 1 / -1; position: static; margin-bottom: 3rem; }
  .spec { grid-column: 1 / -1; }

  .voice__photo { grid-column: 1 / span 5; }
  .voice__body { grid-column: 6 / -1; }

  .contact__info,
  .contact__map { grid-column: 1 / -1; }

  .policy__toc { display: none; }
  .policy__body { grid-column: 1 / -1; justify-self: center; width: 100%; }
  .policy-head h1 { grid-column: 1 / -1; margin-bottom: 2.5rem; }
  .policy-head__meta { grid-column: 1 / -1; max-width: 32rem; }
  .policy-contact__grid .display,
  .policy-contact__grid .contact__details { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  body { font-size: 1rem; }

  .nav { display: none; }
  .menu-toggle { display: block; position: relative; z-index: 110; }
  .wordmark { position: relative; z-index: 110; }
  .wordmark__tag { display: none; }

  .hero__frame { aspect-ratio: 4 / 5; }
  .hero__photo img { object-position: 46% 50%; }
  .hero__word { top: 50%; font-size: 26.5vw; }
  .hero__sub { right: 5%; top: 72%; letter-spacing: 0.38em; }
  .hero__lines { grid-template-columns: 1fr; }
  .hero__credit { left: 1rem; bottom: 0.75rem; font-size: 0.62rem; }

  .letter__grid { row-gap: 2.5rem; }
  .letter__portrait { grid-column: 1 / span 7; }
  .letter__body { grid-column: 1 / -1; }
  .letter__quote p { text-indent: 0; }

  .about__main { width: 86%; }
  .about__inset { width: 46%; }
  .about__main .caption { padding-left: 46%; }

  .stats__item { padding-right: 1rem; }
  .stats__item + .stats__item { padding-left: 1rem; }
  .stats__item:nth-child(3) { padding-left: 0; }
  .stats__num { font-size: clamp(2.6rem, 13vw, 3.4rem); }
  .stats__label { font-size: 0.9rem; }

  .course-row--head { display: none; }
  .course-row {
    grid-template-columns: 5.5rem minmax(0, 1fr);
    grid-template-areas:
      "thumb title"
      "thumb meta";
    column-gap: 1.1rem;
    row-gap: 0.9rem;
    align-items: start;
  }
  .course-row > .course-row__thumb { grid-area: thumb; }
  .course-row > .course-row__title { grid-area: title; }
  .course-row > .course-row__metas { grid-area: meta; }
  .course-row__meta small { display: block; }

  .photo-break { height: 78vh; min-height: 460px; }
  .photo-break img { object-position: 38% 40%; }

  .faculty__grid { column-gap: 1rem; row-gap: 2.5rem; }
  .person:nth-child(even) { margin-top: 3rem; }
  .person p { font-size: 0.88rem; }

  .spec__row { grid-template-columns: 1fr; gap: 0.35rem; }

  .voice__grid { row-gap: 2.5rem; }
  .voice__photo { grid-column: 1 / span 9; }
  .voice__body { grid-column: 1 / -1; }
  .voice__quote p::before { margin-left: 0; }

  .site-footer__bottom { grid-template-columns: 1fr; }

  .policy-head__meta dl div { flex-direction: column; gap: 0.1rem; }
  .policy-head__meta dd { text-align: left; }
}

/* Course row: on wide screens the meta cells are direct grid children. */
.course-row__metas { display: contents; }
@media (max-width: 760px) {
  .course-row__metas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
  }
  .course-row__metas > .course-row__meta:nth-child(3) { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

.cookie-table code,
.policy__body code { font: 400 0.8em/1 var(--mono); color: var(--ink); }
