:root {
  --bg:    #0d0d0b;
  --fg:    #f0ede5;
  --muted: #565650;
  --clay:  #a06840;
  --line:  rgba(240, 237, 229, 0.1);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  margin: 0;
  color: var(--fg);
  background: var(--bg);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.5;
  animation: page-in 0.4s ease both;
}

@keyframes page-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
  transition: color 0.2s;
}

/* ─── Nav ─── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 3.6vw, 56px);
  height: 68px;
  transition: background 0.35s, backdrop-filter 0.35s;
}

.nav.scrolled {
  background: rgba(13, 13, 11, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-brand {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg);
  opacity: 0.65;
  transition: opacity 0.2s;
}

.nav-brand:hover { opacity: 1; }

.nav-menu {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg);
  opacity: 0.65;
  transition: opacity 0.2s;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] { opacity: 1; }

/* ─── Page layout ─── */
.about-page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: start;
  row-gap: clamp(18px, 2.2vh, 30px);
  padding: calc(68px + 20px) clamp(24px, 3.6vw, 56px) 22px;
  overflow: visible;
}

/* ─── Grid ─── */
.about-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 0.9fr;
  gap: 42px;
}

.panel {
  min-width: 0;
}

.intro-panel {
  padding-top: 4px;
}

.intro-panel p {
  max-width: 660px;
  margin: 0 0 25px;
  font-family: var(--serif);
  font-size: clamp(27px, 1.62vw, 34px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: rgba(240, 237, 229, 0.88);
}

.lists-panel {
  display: grid;
  align-content: start;
  gap: 34px;
}

.section-label,
.subhead {
  margin: 0 0 17px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
}

.large-list {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(26px, 1.5vw, 32px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: rgba(240, 237, 229, 0.88);
}

/* ─── Records ─── */
.records-panel {
  min-height: 0;
  overflow: visible;
}

.record-table {
  display: grid;
  gap: 0;
}

.record-list {
  display: grid;
  gap: 0;
}

.record-list[hidden] {
  display: none;
}

.record-list:empty {
  display: none;
}

.record-list:not(:empty) {
  margin-top: 0;
}

.record-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(72px, 118px);
  gap: 16px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.record-row h2,
.record-row h3,
.record-row p {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.record-row p {
  text-align: right;
  color: var(--muted);
}

.table-head {
  margin-bottom: 0;
  border-bottom: 1px solid var(--line);
}

.table-head h2,
.table-head p {
  font-size: 11px !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted) !important;
}

.collapsible-record .table-head {
  margin-bottom: 0;
}

.record-toggle {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.record-toggle:hover {
  color: var(--fg);
}

.record-toggle span[aria-hidden="true"] {
  display: inline-block;
  width: 16px;
  transform-origin: center;
  transition: transform 160ms ease;
}

.record-toggle[aria-expanded="true"] span[aria-hidden="true"] {
  transform: rotate(45deg);
}

.subhead {
  grid-column: 1 / -1;
  margin: 21px 0 21px;
}

.competitions,
.awards {
  margin-top: 25px;
}

/* ─── Footer ─── */
.about-footer {
  display: grid;
  grid-template-columns: 300px minmax(360px, 470px);
  gap: 24px;
  align-items: start;
  margin-top: clamp(30px, 6vh, 66px);
  padding-top: clamp(24px, 4vh, 48px);
  border-top: 1px solid var(--line);
}

.footer-panel {
  min-width: 0;
}

.footer-large {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(25px, 1.32vw, 29px);
  font-weight: 300;
  line-height: 1.12;
  color: rgba(240, 237, 229, 0.88);
}

.contact-lines {
  font-size: clamp(22px, 1.26vw, 26px);
  overflow-wrap: anywhere;
}

.contact-lines a {
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}

.contact-lines a:hover {
  color: var(--clay);
  border-color: var(--clay);
}

/* ─── Page meta ─── */
.page-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  margin-top: clamp(28px, 5vh, 56px);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-meta p {
  margin: 0;
}

.page-meta a {
  text-decoration: none;
  opacity: 0.65;
  transition: opacity 0.2s;
}

.page-meta a:hover {
  opacity: 1;
}

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

/* ─── Responsive: tablet ─── */
@media (max-width: 1300px) {
  .about-page {
    gap: 15px;
  }

  .about-grid {
    gap: 28px;
  }

  .about-footer {
    gap: 26px;
  }

  .intro-panel p,
  .large-list,
  .footer-large {
    font-size: 26px;
  }
}

/* ─── Responsive: mobile ─── */
@media (max-width: 880px), (max-height: 650px) {
  html,
  body {
    min-height: 100%;
  }

  .about-page {
    width: 100%;
    min-height: 100vh;
  }

  .about-grid,
  .about-footer {
    grid-template-columns: 1fr;
  }

  .intro-panel p,
  .large-list,
  .footer-large {
    font-size: 31px;
  }
}
