:root {
  --bg: #1a140f;
  --paper: #f2ece4;
  --muted: #b9a996;
  --sage: #8fa07c;
  --line: #302822;
  --panel: #241d16;
  --shell: 1220px;
  --display: 'Epunda Slab', Georgia, 'Times New Roman', serif;
  --body: 'Host Grotesk', Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: 0.005em;
  margin: 0;
}
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }

.shell {
  width: min(var(--shell), calc(100% - 56px));
  margin: 0 auto;
}

/* header */
.site-header {
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 5;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 24px;
}
.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}
.main-nav a {
  color: var(--paper);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.main-nav a:hover {
  color: var(--sage);
  border-bottom-color: var(--sage);
}
.main-nav a[aria-current="page"] {
  color: var(--sage);
  border-bottom-color: var(--sage);
}

/* buttons, kept specific enough to survive .main-nav a */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sage);
  color: var(--bg);
  border: 1px solid var(--sage);
  font-family: var(--body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
  padding: 13px 22px;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:hover {
  background: var(--paper);
  color: var(--bg);
  border-color: var(--paper);
}
.main-nav a.btn {
  color: var(--bg);
  background: var(--sage);
  border: 1px solid var(--sage);
  padding: 11px 16px;
  font-size: 10px;
}
.main-nav a.btn:hover {
  color: var(--bg);
  background: var(--paper);
  border-color: var(--paper);
  border-bottom-color: var(--paper);
}

/* hero */
.hero { padding: 36px 0 40px; }
.hero-kicker-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.kicker {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker-right { text-align: right; }
.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 26px;
  margin-top: 26px;
}
.hero-title-col { grid-column: 1 / 8; }
.hero-title {
  font-size: clamp(52px, 6.1vw, 88px);
  line-height: 0.94;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  font-weight: 700;
}
.hero-title span { display: block; }
.hero-side {
  grid-column: 8 / 13;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 4px;
}
.hero-readout { width: 100%; }
.hrow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 9px 0;
}
.hrow .k {
  font-size: 8px;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.hrow .v { font-size: 14px; font-weight: 500; }
.hero-cta { margin-top: 24px; }

.hero-photo {
  width: 100%;
  max-width: 1200px;
  margin: 36px auto 0;
}
.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 15 / 8;
  object-fit: cover;
  object-position: 50% 24%;
}
.hero-band {
  list-style: none;
  max-width: 1200px;
  margin: 14px auto 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-band li {
  padding: 9px 12px;
  border-right: 1px solid var(--line);
}
.hero-band li:first-child { padding-left: 0; }
.hero-band li:last-child { border-right: 0; }
.bk {
  display: block;
  font-size: 8px;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.bv { display: block; font-size: 12px; margin-top: 2px; }

/* sections */
.section { padding: 64px 0; border-top: 1px solid var(--line); }
.partners { padding-top: 30px; }
.section-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 28px;
}
.sec-no {
  margin: 0;
  min-width: 26px;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--sage);
}
.section-head h2 {
  font-size: 34px;
  line-height: 1.1;
}
.section-lead {
  margin: 0 0 0 auto;
  max-width: 52ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* 01 partners */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 20px;
}
.partner-card {
  position: relative;
  display: block;
  height: 128px;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: border-color 0.18s ease;
}
.partner-card:hover { border-color: var(--sage); }
.p-no {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--display);
  font-size: 40px;
  line-height: 1;
  color: var(--muted);
}
.partner-card:first-child .p-no { color: var(--sage); }
.p-rule {
  position: absolute;
  left: 70px;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: var(--line);
}
.p-logo {
  position: absolute;
  left: 88px;
  top: 14px;
  width: 150px;
  height: 90px;
}
.p-logo img {
  width: 150px;
  height: 90px;
  object-fit: contain;
}
.p-name {
  position: absolute;
  left: 88px;
  bottom: 8px;
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.p-ridge {
  position: absolute;
  right: 10px;
  bottom: 8px;
  color: var(--muted);
}

/* 02 quick profile */
.quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
  max-width: 1100px;
}
.quick-item {
  position: relative;
  height: 76px;
  padding-top: 8px;
}
.quick-item::after {
  content: "";
  position: absolute;
  left: 48px;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line);
}
.qv {
  display: block;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
}
.qk {
  display: block;
  margin-top: 3px;
  font-size: 8px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

/* 03 about */
.about-grid {
  display: grid;
  grid-template-columns: 326px 1fr;
  gap: 60px;
  align-items: start;
}
.about-figure { position: relative; }
.about-figure img {
  width: 326px;
  height: 490px;
  object-fit: cover;
  object-position: 50% 18%;
}
.ridge-about {
  position: absolute;
  top: -16px;
  left: -16px;
  color: var(--muted);
  z-index: 2;
}
.about-text .section-head { margin-bottom: 20px; }
.about-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.about-cols p {
  font-size: 15.5px;
  line-height: 1.72;
  max-width: 40ch;
}
.about-notes {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.about-notes p {
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 4px;
}

/* 04 ledger */
.ledger {
  list-style: none;
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(6, auto);
  grid-template-columns: 1fr 1fr;
  column-gap: 64px;
}
.ledger li {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  padding: 11px 0 12px;
}
.ledger li::after {
  content: "";
  position: absolute;
  left: 56px;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line);
}
.ledger .year {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  text-align: right;
}
.ledger .year.hot { color: var(--sage); }
.ledger .event {
  font-size: 14px;
  line-height: 1.5;
  max-width: 400px;
}

/* 05 gallery */
.gallery-top {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.gallery-top .gframe:nth-child(1) { width: 300px; }
.gallery-top .gframe:nth-child(2) { width: 300px; }
.gallery-top .gframe:nth-child(3) { width: 284px; }
.gallery-bottom {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 32px;
}
.gallery-bottom .gframe { width: 560px; }
.gframe {
  position: relative;
  border: 1px solid var(--line);
}
.gframe::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 6px;
  height: 6px;
  background: var(--sage);
}
.gframe img { width: 100%; height: auto; }

/* 06 social */
.social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.social-card {
  width: 200px;
  height: 56px;
  border: 1px solid var(--line);
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 14px;
  transition: border-color 0.18s ease;
}
.social-card:hover { border-color: var(--sage); }
.sp {
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.sh { font-size: 11px; }
.social-note {
  margin-top: 14px;
  font-size: 11px;
  color: var(--muted);
}

/* footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0 26px;
  margin-top: 20px;
}
.footer-mark {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
  color: var(--muted);
}
.batch {
  font-family: var(--display);
  font-size: 16px;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 40px;
  align-items: start;
}
.brand-name {
  display: block;
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.brand-line {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 38ch;
}
.language-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  font-size: 11px;
  color: var(--muted);
}
.language-nav a { color: var(--muted); padding: 2px 0; }
.language-nav a:hover,
.language-nav a[aria-current="page"] { color: var(--paper); }
.language-nav .sep { color: var(--line); }
.footer-legal {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}
.footer-notes {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 11px;
}
.footer-notes p {
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted);
}

/* subpages */
.page-top {
  padding: 62px 0 44px;
  border-bottom: 1px solid var(--line);
}
.page-top-grid {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 40px;
  align-items: start;
}
.eyebrow {
  margin: 0 0 14px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
}
.page-top h1 {
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1;
  text-transform: uppercase;
  font-weight: 700;
}
.lead {
  margin: 18px 0 0;
  max-width: 58ch;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}
.page-top-mark {
  display: flex;
  justify-content: flex-end;
  padding-top: 10px;
  color: var(--muted);
}
.page-body { padding: 56px 0 72px; }
.page-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
  align-items: start;
}
.page-aside {
  position: sticky;
  top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.aside-title {
  margin: 0 0 14px;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--sage);
}
.aside-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 9px 0;
  font-size: 11px;
  line-height: 1.4;
}
.aside-list dt {
  color: var(--muted);
  letter-spacing: 0.08em;
}
.aside-list dd {
  margin: 0;
  text-align: right;
}
.prose { max-width: 820px; }
.prose-section { margin-bottom: 42px; }
.prose-section:last-child { margin-bottom: 0; }
.prose h2 {
  font-size: 30px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.prose p {
  max-width: 56ch;
  font-size: 16.5px;
  line-height: 1.72;
}
.prose-faq .faq-item {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.prose-faq .faq-item:first-child { border-top: 0; padding-top: 0; }
.faq-item h2 {
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 8px;
}
.faq-item p { color: var(--muted); }

.chrono { list-style: none; }
.chrono li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.chrono .cw {
  font-size: 12px;
  color: var(--muted);
  text-align: right;
}
.chrono .ce { font-size: 14px; line-height: 1.5; }

.awards { list-style: none; }
.awards li {
  position: relative;
  padding: 8px 0 8px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.5;
}
.awards li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 6px;
  height: 6px;
  background: var(--sage);
}

.film-table { margin-top: 6px; }
.ft-row {
  display: grid;
  grid-template-columns: 80px 1.35fr 160px 1.25fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.5;
}
.ft-head {
  padding: 8px 0;
  font-size: 8px;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.ft-year { color: var(--sage); }
.ft-title { font-weight: 500; }
.ft-studio, .ft-note { color: var(--muted); }

/* 404 */
.err { padding: 90px 0 110px; }
.err-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  align-items: center;
}
.err-code {
  margin: 0;
  font-family: var(--display);
  font-size: 120px;
  line-height: 0.9;
  color: var(--sage);
}
.err h1 {
  font-size: 44px;
  line-height: 1.1;
  margin-bottom: 12px;
}

/* tablet */
@media (max-width: 1024px) {
  .shell { width: min(960px, calc(100% - 48px)); }
  .hero-title { font-size: 68px; }
  .hero-grid { gap: 22px; }
  .hero-readout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
  }
  .hero-cta { margin-top: 18px; }
  .hero-photo img { aspect-ratio: 15 / 8; }
  .partner-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 280px 1fr; gap: 40px; }
  .about-figure img { width: 280px; height: 420px; }
  .about-cols { gap: 24px; }
  .about-cols p { font-size: 15px; }
  .ledger { column-gap: 40px; }
  .gallery-top .gframe:nth-child(1),
  .gallery-top .gframe:nth-child(2),
  .gallery-top .gframe:nth-child(3) { width: calc((100% - 40px) / 3); }
  .gallery-bottom .gframe { width: calc(50% - 10px); }
  .page-grid { grid-template-columns: 220px 1fr; gap: 40px; }
  .err-grid { grid-template-columns: 200px 1fr; gap: 40px; }
  .err-code { font-size: 96px; }
}

/* narrow tablet */
@media (max-width: 900px) {
  .about-cols { grid-template-columns: 1fr; gap: 18px; }
  .about-cols p { max-width: none; }
}

/* phone */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .shell { width: calc(100% - 40px); }
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    padding: 16px 0;
  }
  .main-nav { gap: 14px; }
  .main-nav a { font-size: 9px; letter-spacing: 0.1em; }
  .main-nav a.btn { padding: 9px 12px; font-size: 9px; }
  .hero { padding: 24px 0 36px; }
  .kicker { font-size: 8px; letter-spacing: 0.16em; }
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
  }
  .hero-title { font-size: 46px; }
  .hero-side { width: 100%; }
  .hero-readout { display: block; }
  .hero-cta { margin-top: 18px; }
  .hero-photo { margin-top: 26px; }
  .hero-photo img { aspect-ratio: 16 / 9; object-position: 50% 20%; }
  .hero-band { grid-template-columns: 1fr 1fr; }
  .hero-band li { border-bottom: 1px solid var(--line); padding: 8px 10px; }
  .hero-band li:nth-child(2n) { border-right: 0; }
  .hero-band li:nth-last-child(-n+2) { border-bottom: 0; }
  .hero-band li:first-child { padding-left: 10px; }
  .section { padding: 46px 0; }
  .partners { padding-top: 30px; }
  .section-head { flex-wrap: wrap; gap: 8px 12px; margin-bottom: 22px; }
  .section-head h2 { font-size: 28px; }
  .section-lead { margin-left: 0; flex-basis: 100%; }
  .partner-grid { grid-template-columns: 1fr; gap: 14px; }
  .partner-card { height: 118px; }
  .p-no { font-size: 28px; left: 12px; }
  .p-rule { left: 54px; }
  .p-logo { left: 70px; width: 128px; height: 77px; }
  .p-logo img { width: 128px; height: 77px; }
  .p-name { left: 70px; }
  .quick-grid { grid-template-columns: 1fr; max-width: none; }
  .quick-item { height: 70px; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-figure img { width: 100%; max-width: 326px; height: auto; aspect-ratio: 326 / 490; }
  .ridge-about { top: -12px; left: -12px; }
  .about-cols { grid-template-columns: 1fr; gap: 18px; }
  .about-cols p { max-width: none; }
  .ledger {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .ledger .event { max-width: none; }
  .gallery-top { flex-wrap: wrap; }
  .gallery-top .gframe:nth-child(1),
  .gallery-top .gframe:nth-child(2),
  .gallery-top .gframe:nth-child(3) { width: calc(50% - 10px); }
  .gallery-bottom { flex-direction: column; margin-top: 24px; }
  .gallery-bottom .gframe { width: 100%; }
  .social-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .social-card { width: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer-legal { text-align: left; white-space: normal; }
  .language-nav { max-width: 100%; }
  .page-top { padding: 44px 0 34px; }
  .page-top-grid { grid-template-columns: 1fr 64px; gap: 20px; }
  .page-top h1 { font-size: 40px; }
  .page-top-mark svg { width: 56px; height: auto; }
  .lead { font-size: 16px; }
  .page-body { padding: 40px 0 54px; }
  .page-grid { grid-template-columns: 1fr; gap: 34px; }
  .page-aside { position: static; }
  .prose h2 { font-size: 25px; }
  .chrono li { grid-template-columns: 1fr; gap: 2px; }
  .chrono .cw { text-align: left; font-size: 11px; }
  .ft-row { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; }
  .ft-head { display: none; }
  .err { padding: 60px 0 80px; }
  .err-grid { grid-template-columns: 1fr; gap: 20px; }
  .err-code { font-size: 88px; }
  .err h1 { font-size: 32px; }
}

/* partner logo plate: guarantee legibility of supplied marks on any ground */
a img[src*="/assets/partners/"] {
  background: #f4efe6;
  object-fit: contain;
  padding: 6px;
  box-sizing: border-box;
}
