:root {
  --paper: #efe9d9;
  --ink: #201d18;
  --grey: #5a5348;
  --accent: #4a5c46;
  --rule: #dbd3c1;
  --panel: #f7f2e5;
  --display: 'Ancizar Serif', Georgia, 'Times New Roman', serif;
  --body: 'Fenix', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.74;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
}

img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
::selection { background: var(--accent); color: var(--paper); }

.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.mark { color: var(--accent); display: block; }

/* header */
.site-header { padding-top: 22px; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 20px;
}
.wordmark {
  font-family: var(--display);
  font-weight: 500;
  font-size: 25px;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
}
.header-rule { position: relative; height: 1px; background: var(--rule); }
.mark-header {
  position: absolute;
  left: 0;
  top: -9px;
  background: var(--paper);
  padding-right: 8px;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}
.main-nav a {
  font-family: var(--body);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.main-nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--ink); }

.btn {
  display: inline-block;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: var(--paper);
  padding: 12px 20px;
  font-family: var(--body);
  font-size: 10px;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .18s, color .18s, border-color .18s;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.main-nav a.btn { color: var(--paper); padding: 12px 18px; border-bottom-color: var(--accent); }
.main-nav a.btn:hover { color: var(--paper); background: var(--ink); border-color: var(--ink); }

/* hero */
.hero { padding-top: 48px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 760px;
  gap: 40px;
  align-items: start;
}
.hero-copy { padding-top: 48px; }
.kicker {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--grey);
}
.hero-title-row {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-top: 20px;
}
.hero-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 84px;
  line-height: 1.02;
  letter-spacing: .004em;
  text-transform: uppercase;
}
.hero-title span { display: block; white-space: nowrap; }
.hero-title-row .mark { flex: 0 0 32px; margin-bottom: 14px; }
.hero-intro { margin-top: 24px; max-width: 30ch; }
.hero-btn { margin-top: 24px; }
.hero-ledger { margin-top: 40px; max-width: 360px; }
.ledger-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--rule);
  padding: 9px 0 8px;
}
.ledger-year { font-family: var(--display); font-size: 13px; }
.ledger-label {
  font-size: 8px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--grey);
}
.hero-photo { margin: 0; width: 760px; max-width: 100%; }
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 50% 30%;
}
.hero-photo-rule { height: 1px; background: var(--rule); margin-top: 12px; }
.hero-place {
  margin-top: 8px;
  text-align: right;
  font-size: 9px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--grey);
}

/* sections */
.section { padding-top: 76px; }
.eyebrow {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: .004em;
  margin-bottom: 30px;
}

/* 01 partners */
.partners-grid {
  width: 1060px;
  max-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 490px) minmax(0, 490px);
  column-gap: 40px;
  padding-right: 40px;
}
.partner-cell {
  height: 96px;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr;
  padding: 9px 0 0;
  text-decoration: none;
  color: var(--ink);
}
.p-name {
  grid-column: 1 / 3;
  font-size: 8px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--grey);
}
.partner-cell:hover .p-name { color: var(--accent); }
.p-logo {
  grid-row: 2;
  align-self: end;
  width: 96px;
  height: 58px;
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
}
.p-logo img {
  width: auto;
  height: auto;
  max-width: 90px;
  max-height: 52px;
  object-fit: contain;
  filter: none;
}
.p-num {
  grid-row: 2;
  align-self: end;
  justify-self: end;
  padding-bottom: 4px;
  font-size: 8px;
  letter-spacing: .16em;
  color: var(--grey);
}
.p-num.is-first { color: var(--accent); }

/* 02 quick profile */
.profile-grid {
  width: 900px;
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
}
.fact { height: 70px; border-top: 1px solid var(--rule); padding-top: 13px; }
.fact-label {
  font-size: 7px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 7px;
}
.fact-value { font-family: var(--display); font-size: 17px; line-height: 1.3; }

/* 03 about */
.about-grid {
  display: grid;
  grid-template-columns: 520px 340px;
  justify-content: space-between;
  gap: 40px;
  align-items: start;
}
.about-text { padding-top: 12px; max-width: 520px; }
.about-text p { max-width: 46ch; margin-bottom: 18px; }
.about-notes { font-size: 12px; line-height: 1.65; color: var(--grey); margin-top: 6px; }
.about-photo { position: relative; margin: 0; }
.about-photo img {
  display: block;
  width: 340px;
  max-width: 100%;
  height: 191px;
  object-fit: cover;
  object-position: 50% 40%;
}
.mark-about {
  position: absolute;
  top: -16px;
  left: -16px;
  background: var(--paper);
  z-index: 2;
}

/* 04 career bands */
.bands { width: 1104px; max-width: 100%; }
.band {
  min-height: 112px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 14px 0 12px;
}
.band-range { font-family: var(--display); font-size: 22px; line-height: 1.1; }
.band-events {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px 32px;
  align-content: start;
}
.event { font-size: 13px; line-height: 1.42; }
.ev-accent { color: var(--accent); }
.band-gap { height: 28px; position: relative; }
.band-gap .mark { position: absolute; left: 0; top: 4px; }

/* 05 gallery */
.gallery-grid {
  width: 1008px;
  max-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 300px) minmax(0, 380px);
  gap: 24px;
  align-items: start;
}
.g-col { min-width: 0; }
.g-head {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 8px;
  margin-bottom: 16px;
  font-size: 8px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--grey);
}
.g-item {
  position: relative;
  border: 1px solid var(--rule);
  margin: 0 0 16px;
  padding: 0;
}
.g-item img { display: block; width: 100%; height: auto; }
.g-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: -5px;
  width: 1px;
  height: 10px;
  background: var(--accent);
}
.g-col:last-child .g-item:last-child { margin-bottom: 0; }

/* 06 social */
.section-social { padding-bottom: 80px; }
.social-table { width: 640px; max-width: 100%; border-bottom: 1px solid var(--rule); }
.social-row {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 56px;
  border-top: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
}
.social-row:hover .s-handle { color: var(--accent); }
.s-platform {
  width: 64px;
  flex: 0 0 64px;
  font-size: 8px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--grey);
}
.s-handle { flex: 1; font-size: 12px; }
.s-status { font-size: 11px; color: var(--grey); }
.social-note { margin-top: 12px; max-width: 640px; font-size: 11px; line-height: 1.65; color: var(--grey); }

/* footer */
.site-footer { padding: 40px 0 40px; }
.footer-rule {
  position: relative;
  height: 24px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 28px;
}
.mark-footer {
  position: absolute;
  left: 0;
  top: 2px;
  background: var(--paper);
  padding-right: 8px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  column-gap: 44px;
  align-items: start;
}
.footer-name { font-family: var(--display); font-size: 20px; }
.footer-tag { margin-top: 6px; font-size: 11px; color: var(--grey); }
.language-nav {
  padding-top: 5px;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.language-nav a { text-decoration: none; color: var(--grey); padding: 0 2px; }
.language-nav a:hover { color: var(--accent); }
.language-nav a.is-current { color: var(--ink); }
.language-nav .sep { color: var(--rule); padding: 0 4px; }
.footer-legal {
  padding-top: 5px;
  font-size: 11px;
  color: var(--grey);
  text-align: right;
  white-space: nowrap;
}
.footer-fine {
  margin-top: 22px;
  max-width: 760px;
  font-size: 11px;
  line-height: 1.65;
  color: var(--grey);
}
.footer-fine p + p { margin-top: 2px; }

/* subpages */
.page-top { padding: 72px 0 40px; border-bottom: 1px solid var(--rule); }
.page-top h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 56px;
  line-height: 1.06;
  letter-spacing: .004em;
  max-width: 820px;
}
.lead { margin-top: 18px; max-width: 60ch; font-size: 18px; line-height: 1.6; color: var(--grey); }
.reading { max-width: 840px; padding: 48px 40px 0; }
.story { margin-bottom: 44px; }
.story h2 { font-size: 26px; margin-bottom: 14px; }
.story p { max-width: 54ch; margin-bottom: 16px; }
.page-body { padding-top: 56px; }

.film-group { margin-bottom: 40px; }
.film-group h2 { font-size: 24px; margin-bottom: 10px; }
.film-table { border-top: 1px solid var(--rule); }
.film-row {
  display: grid;
  grid-template-columns: 56px 300px 1fr;
  gap: 20px;
  align-items: baseline;
  border-bottom: 1px solid var(--rule);
  padding: 12px 0;
}
.film-year { font-size: 12px; letter-spacing: .06em; color: var(--grey); }
.film-title { font-family: var(--display); font-size: 16px; line-height: 1.35; }
.film-note { font-size: 12px; line-height: 1.5; color: var(--grey); }
.film-note-block { max-width: 760px; }
.studios p { max-width: 760px; font-size: 12px; line-height: 1.8; color: var(--grey); }

.faq-list { padding-top: 40px; }
.faq-item { border-top: 1px solid var(--rule); padding: 22px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-item h2 { font-size: 19px; line-height: 1.35; margin-bottom: 10px; }
.faq-item p { max-width: 70ch; font-size: 15.5px; line-height: 1.7; }

.notfound { padding: 96px 0 120px; }
.notfound h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 64px;
  line-height: 1.05;
  margin-bottom: 20px;
  max-width: 600px;
}
.notfound .lead { margin-bottom: 28px; }

@media (max-width: 1279px) {
  .hero-grid { display: flex; flex-direction: column; }
  .hero-copy { display: contents; }
  .kicker { order: 1; }
  .hero-title-row { order: 2; }
  .hero-title { font-size: 68px; }
  .hero-intro { order: 3; max-width: 30ch; }
  .hero-btn { order: 4; align-self: flex-start; }
  .hero-photo { order: 5; margin-top: 36px; width: 100%; max-width: 760px; }
  .hero-ledger { order: 6; display: flex; gap: 24px; max-width: none; margin-top: 26px; }
  .hero-ledger .ledger-row { flex: 1; display: block; padding: 9px 0; }
  .ledger-label { display: block; margin-top: 4px; }
}

@media (max-width: 1024px) {
  .wrap { max-width: 1024px; padding: 0 32px; }
  .hero { padding-top: 36px; }
  .hero-title { font-size: 68px; }
  .hero-photo { max-width: 640px; }
  .partners-grid { width: 100%; grid-template-columns: repeat(3, 1fr); column-gap: 24px; padding-right: 0; }
  .partner-cell { height: 110px; }
  .profile-grid { width: 100%; column-gap: 48px; }
  .about-grid { grid-template-columns: 1fr 340px; gap: 40px; }
  .about-text { max-width: none; }
  .gallery-grid { width: 100%; grid-template-columns: 1fr 1fr; gap: 24px; }
  .gallery-grid .g-col:nth-child(3) { grid-column: 1 / -1; max-width: 380px; }
  .band { grid-template-columns: 180px 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .footer-legal { grid-column: 1 / -1; text-align: left; padding-top: 0; }
  .film-row { grid-template-columns: 50px 260px 1fr; gap: 16px; }
  .reading { padding: 48px 32px 0; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 14px; padding-bottom: 16px; }
  .main-nav { gap: 8px 16px; }
  .main-nav a { font-size: 9px; }
  .main-nav a.btn { padding: 10px 14px; }
  .hero { padding-top: 28px; }
  .hero-title { font-size: 48px; }
  .hero-title-row { gap: 14px; margin-top: 16px; }
  .hero-title-row .mark { margin-bottom: 8px; }
  .hero-intro { max-width: none; }
  .hero-photo { margin-top: 28px; }
  .hero-ledger { display: block; margin-top: 22px; }
  .hero-ledger .ledger-row { display: flex; padding: 9px 0; }
  .section { padding-top: 56px; }
  h2 { font-size: 27px; margin-bottom: 22px; }
  .partners-grid { grid-template-columns: 1fr; }
  .partner-cell { height: 96px; }
  .profile-grid { grid-template-columns: 1fr; column-gap: 0; }
  .fact { height: auto; padding-bottom: 16px; }
  .about-grid { grid-template-columns: 1fr; gap: 26px; }
  .about-photo { order: -1; width: 100%; }
  .about-photo img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .mark-about { left: -8px; top: -8px; }
  .band { display: block; min-height: 0; padding: 16px 0; }
  .band-range { margin-bottom: 12px; font-size: 20px; }
  .band-events { grid-template-columns: 1fr; gap: 6px; }
  .band-gap { height: 20px; }
  .band-gap .mark { top: 0; }
  .gallery-grid { grid-template-columns: 1fr; max-width: 380px; }
  .gallery-grid .g-col:nth-child(3) { grid-column: auto; max-width: none; }
  .section-social { padding-bottom: 56px; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .language-nav, .footer-legal { white-space: normal; }
  .page-top { padding: 52px 0 32px; }
  .page-top h1 { font-size: 38px; }
  .lead { font-size: 16.5px; }
  .reading { max-width: 100%; padding: 36px 20px 0; }
  .film-row { display: block; padding: 14px 0; }
  .film-year, .film-title, .film-note { display: block; margin-bottom: 4px; }
  .notfound { padding: 70px 0 90px; }
  .notfound h1 { font-size: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* 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;
  filter: none;
  opacity: 1;
}
