:root {
  --chalk: #e2e7e0;
  --ink: #191d1a;
  --grey: #4c564e;
  --copper: #2b6a62;
  --line: #cdd5cb;
  --panel: #ebefe8;
  --wrap: 1120px;
  --display: 'Truculenta', 'Vend Sans', system-ui, sans-serif;
  --body: 'Vend Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--chalk);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.72;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
figure { margin: 0; }

a { color: var(--copper); text-decoration: none; }
a:hover { color: var(--ink); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--display);
  font-variation-settings: 'opsz' 48, 'wdth' 88, 'wght' 600;
  font-weight: 600;
  font-stretch: 88%;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0;
}

p { margin: 0; }
p + p { margin-top: 18px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 48px);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--chalk);
  padding: 10px 16px;
  font-size: 12px;
  z-index: 50;
}
.skip-link:focus { left: 12px; top: 12px; color: var(--chalk); }

/* ---------- header ---------- */

.site-head {
  position: relative;
  border-bottom: 1px solid var(--line);
}

.site-head .wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
}

.brand {
  font-family: var(--display);
  font-variation-settings: 'opsz' 48, 'wdth' 88, 'wght' 600;
  font-weight: 600;
  font-stretch: 88%;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 19px;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  color: var(--ink);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}
.main-nav a:hover {
  color: var(--copper);
  border-bottom-color: var(--copper);
}
.main-nav a[aria-current="page"] {
  color: var(--copper);
  border-bottom-color: var(--copper);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--copper);
  color: var(--chalk);
  padding: 13px 22px;
  font-family: var(--body);
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 0;
  border-radius: 0;
}
.btn:hover { background: var(--ink); color: var(--chalk); }

.main-nav a.btn {
  color: var(--chalk);
  background: var(--copper);
  border-bottom-color: transparent;
  padding: 13px 18px;
}
.main-nav a.btn:hover {
  color: var(--chalk);
  background: var(--ink);
  border-bottom-color: transparent;
}

.head-mark {
  position: absolute;
  right: 0;
  top: 69px;
  color: var(--copper);
  background: var(--chalk);
  padding: 0 2px;
  display: block;
}

.mark { display: block; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  height: 800px;
}

.hero .rule {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.hero .r1 { top: 0; }
.hero .r2 { top: 120px; }
.hero .r3 { top: 380px; }
.hero .r4 { top: 620px; }
.hero .r5 { top: 800px; }

.hero-copy {
  position: absolute;
  left: 0;
  top: 136px;
  width: 440px;
}

.kicker {
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--grey);
}

.hero h1 {
  position: absolute;
  left: 0;
  top: 211px;
  width: 440px;
  font-size: 84px;
  line-height: 0.96;
  letter-spacing: 0.01em;
}
.hero h1 span { display: block; }
.hero h1 span + span { margin-top: 0; }

.hero-lead {
  position: absolute;
  left: 0;
  top: 400px;
  width: 300px;
  font-size: 16.5px;
  line-height: 1.72;
}

.hero-cta {
  position: absolute;
  left: 0;
  top: 561px;
}

.hero-facts {
  position: absolute;
  left: 0;
  top: 636px;
  width: 440px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.hero-facts div {
  border-left: 1px solid var(--line);
  padding: 0 12px;
}
.hero-facts div:first-child { border-left: 1px solid var(--copper); }

.hero-facts .v {
  font-family: var(--display);
  font-variation-settings: 'opsz' 48, 'wdth' 88, 'wght' 600;
  font-weight: 600;
  font-stretch: 88%;
  font-size: 15px;
  line-height: 1.1;
}

.hero-facts .l {
  display: block;
  margin-top: 5px;
  font-size: 7px;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}

.hero-photo {
  position: absolute;
  right: 0;
  top: 120px;
  width: 600px;
  height: 600px;
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

.hero .mark-hero {
  position: absolute;
  right: -16px;
  top: 111px;
  color: var(--copper);
  background: var(--chalk);
  padding: 0 2px;
}

/* ---------- sections ---------- */

.sec { padding-top: 96px; }

.sec-head {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 20px;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-bottom: 34px;
}

.sec-num {
  font-family: var(--display);
  font-variation-settings: 'opsz' 48, 'wdth' 88, 'wght' 600;
  font-weight: 600;
  font-stretch: 88%;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--copper);
}

.sec-head h2 {
  font-size: 30px;
  line-height: 1;
}

.sec-note {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ---------- 01 partners ---------- */

.partners {
  width: 1104px;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 520px);
  column-gap: 64px;
  row-gap: 40px;
}

.partner {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 20px;
  align-items: center;
  height: 96px;
  color: var(--ink);
}
.partner:hover { color: var(--ink); }

.partner .logo {
  width: 96px;
  height: 58px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}
.partner .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}

.partner .name {
  font-size: 9px;
  line-height: 1.3;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 120ms linear;
}
.partner:hover .name { color: var(--copper); }

.partner .no {
  font-family: var(--display);
  font-variation-settings: 'opsz' 48, 'wdth' 88, 'wght' 600;
  font-weight: 600;
  font-stretch: 88%;
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--grey);
  align-self: start;
  margin-top: 39px;
}
.partner:first-child .no { color: var(--copper); }

/* ---------- 02 quick profile ---------- */

.qp {
  width: 1000px;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 480px);
  column-gap: 40px;
  row-gap: 28px;
}

.qp div {
  height: 88px;
  border-left: 1px solid var(--line);
  padding: 4px 0 0 24px;
}

.qp .v {
  font-family: var(--display);
  font-variation-settings: 'opsz' 48, 'wdth' 88, 'wght' 600;
  font-weight: 600;
  font-stretch: 88%;
  font-size: 26px;
  line-height: 1.1;
}

.qp .l {
  display: block;
  margin-top: 8px;
  font-size: 8px;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ---------- 03 about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 600px 400px;
  justify-content: space-between;
  gap: 60px;
  align-items: start;
}

.about-text {
  padding-top: 12px;
  max-width: 600px;
}
.about-text p { max-width: 52ch; }

.about-figure {
  position: relative;
  width: 400px;
  height: 400px;
}
.about-figure img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  object-position: 50% 16%;
}
.about-figure .mark-fig {
  position: absolute;
  top: -24px;
  left: -16px;
  color: var(--copper);
}

.ledger {
  margin-top: 40px;
  max-width: 600px;
}
.ledger div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding: 11px 0;
}
.ledger .k {
  font-size: 8px;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
}
.ledger .v { font-size: 12px; line-height: 1.5; }

.about-notes {
  margin-top: 14px;
  max-width: 600px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--grey);
}
.about-notes p + p { margin-top: 4px; }

/* ---------- 04 career stack ---------- */

.stack {
  position: relative;
  width: 900px;
  max-width: 100%;
  height: 776px;
}

.stack-mark {
  position: absolute;
  top: -26px;
  right: 0;
  color: var(--copper);
}

.stack-card {
  position: absolute;
  width: 720px;
  height: 104px;
  background: var(--panel);
  border: 2px solid var(--chalk);
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 118px 1fr;
  column-gap: 16px;
  align-content: start;
}
.stack-card:nth-of-type(1) { top: 0; left: 0; z-index: 1; }
.stack-card:nth-of-type(2) { top: 96px; left: 24px; z-index: 2; }
.stack-card:nth-of-type(3) { top: 192px; left: 48px; z-index: 3; }
.stack-card:nth-of-type(4) { top: 288px; left: 72px; z-index: 4; }
.stack-card:nth-of-type(5) { top: 384px; left: 96px; z-index: 5; }
.stack-card:nth-of-type(6) { top: 480px; left: 120px; z-index: 6; }
.stack-card:nth-of-type(7) { top: 576px; left: 144px; z-index: 7; }
.stack-card:nth-of-type(8) { top: 672px; left: 168px; z-index: 8; }

.stack-card .y {
  font-family: var(--display);
  font-variation-settings: 'opsz' 48, 'wdth' 88, 'wght' 600;
  font-weight: 600;
  font-stretch: 88%;
  font-size: 40px;
  line-height: 0.9;
}
.stack-card.accent .y { color: var(--copper); }

.stack-card .t {
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: 5px;
}

.stack-card .d {
  grid-column: 1 / -1;
  font-size: 12px;
  line-height: 1.5;
  max-width: 520px;
  margin-top: 8px;
  color: var(--grey);
}

/* ---------- 05 gallery ---------- */

.gallery-banner {
  position: relative;
  width: 1104px;
  max-width: 100%;
  height: 368px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.gallery-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

.gallery-row {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 340px);
  gap: 42px;
  width: 1104px;
  max-width: 100%;
}

.shot {
  position: relative;
  border: 1px solid var(--line);
  overflow: hidden;
}
.shot::before {
  content: "";
  position: absolute;
  top: -7px;
  left: -1px;
  width: 1px;
  height: 5px;
  background: var(--copper);
  z-index: 2;
}
.shot img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: 50% 30%;
}
.shot.early img { object-position: 50% 18%; }

/* ---------- 06 social ---------- */

.social {
  width: 760px;
  max-width: 100%;
}

.social-row {
  display: grid;
  grid-template-columns: 150px 1fr 90px;
  gap: 16px;
  align-items: center;
  height: 50px;
  border-top: 1px solid var(--line);
  color: var(--ink);
}
.social-row:last-child { border-bottom: 1px solid var(--line); }
.social-row:hover { color: var(--ink); }

.social-row .p {
  font-size: 8px;
  line-height: 1.3;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
}

.social-row .h {
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.social-row:hover .h { color: var(--copper); }

.social-row .s {
  font-size: 11px;
  line-height: 1.4;
  color: var(--grey);
  text-align: right;
}

.social-note {
  margin-top: 12px;
  width: 760px;
  max-width: 100%;
  font-size: 11px;
  line-height: 1.6;
  color: var(--grey);
}

/* ---------- footer ---------- */

.site-foot {
  margin-top: 96px;
  border-top: 1px solid var(--line);
  position: relative;
}

.site-foot .wrap { position: relative; }

.foot-mark {
  position: absolute;
  top: -9px;
  left: -16px;
  color: var(--copper);
  background: var(--chalk);
  padding: 0 2px;
}

.foot-tick {
  position: absolute;
  top: -5px;
  left: -2px;
  width: 1px;
  height: 5px;
  background: var(--copper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 44px;
  align-items: start;
  padding: 56px 0 32px;
}

.footer-brand .b {
  font-family: var(--display);
  font-variation-settings: 'opsz' 48, 'wdth' 88, 'wght' 600;
  font-weight: 600;
  font-stretch: 88%;
  font-size: 17px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.footer-brand .t {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--grey);
}

.lang-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-top: 4px;
}
.lang-list a { color: var(--grey); }
.lang-list a:hover { color: var(--copper); }
.lang-list a[aria-current="true"] { color: var(--ink); }
.lang-list .sep { color: var(--line); }

.copyright {
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--grey);
  text-align: right;
  padding-top: 4px;
}

.footer-notes {
  border-top: 1px solid var(--line);
  padding: 14px 0 40px;
  max-width: 760px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--grey);
}
.footer-notes p + p { margin-top: 4px; }

/* ---------- subpages ---------- */

.page-head {
  position: relative;
  padding: 64px 0 44px;
  border-bottom: 1px solid var(--line);
}

.page-kicker {
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--grey);
}

.page-head h1 {
  margin-top: 18px;
  font-size: 72px;
  line-height: 0.98;
  max-width: 960px;
}

.page-lead {
  margin-top: 24px;
  max-width: 56ch;
  font-size: 18px;
  line-height: 1.68;
}

.page-meta {
  margin: 42px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 24px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.page-meta div {
  border-left: 1px solid var(--line);
  padding-left: 14px;
}
.page-meta div:first-child { border-left-color: var(--copper); }

.page-meta .v {
  display: block;
  font-family: var(--display);
  font-variation-settings: 'opsz' 48, 'wdth' 88, 'wght' 600;
  font-weight: 600;
  font-stretch: 88%;
  font-size: 17px;
  line-height: 1.2;
}
.page-meta .l {
  display: block;
  margin-top: 6px;
  font-size: 8px;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
}

.chapter {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 32px;
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}

.chapter-num {
  font-family: var(--display);
  font-variation-settings: 'opsz' 48, 'wdth' 88, 'wght' 600;
  font-weight: 600;
  font-stretch: 88%;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--copper);
  padding-top: 6px;
}

.chapter-body { max-width: 760px; }

.chapter h2 {
  font-size: 30px;
  line-height: 1.04;
  margin-bottom: 18px;
  text-transform: none;
  letter-spacing: 0;
}
.chapter-body p { max-width: 62ch; }

.studio-list {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.studio-list span {
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

.endnote {
  padding: 22px 0 0;
  font-size: 11px;
  line-height: 1.6;
  color: var(--grey);
}

/* career timeline table */

.tl {
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}

.tl-head {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 32px;
  margin-bottom: 18px;
}
.tl-head h2 { font-size: 30px; line-height: 1.04; text-transform: none; letter-spacing: 0; }

.tl-row {
  display: grid;
  grid-template-columns: 110px 230px 1fr;
  gap: 24px;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding: 15px 0;
}
.tl-row .y {
  font-family: var(--display);
  font-variation-settings: 'opsz' 48, 'wdth' 88, 'wght' 600;
  font-weight: 600;
  font-stretch: 88%;
  font-size: 19px;
  line-height: 1.1;
}
.tl-row .t {
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tl-row .d {
  font-size: 13px;
  line-height: 1.65;
  color: var(--grey);
}

/* film table */

.film-table {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.film-row {
  display: grid;
  grid-template-columns: 64px 1.35fr 1fr 1.25fr;
  gap: 20px;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.film-row.head {
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  padding: 9px 0;
}

.film-row .y {
  font-family: var(--display);
  font-variation-settings: 'opsz' 48, 'wdth' 88, 'wght' 600;
  font-weight: 600;
  font-stretch: 88%;
  font-size: 17px;
  line-height: 1.1;
}
.film-row .ti { font-size: 14px; line-height: 1.4; }
.film-row .st {
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}
.film-row .no { font-size: 12px; line-height: 1.5; color: var(--grey); }

/* faq */

.qa {
  border-top: 1px solid var(--line);
  padding: 26px 0 28px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 32px;
}
.qa:last-of-type { border-bottom: 1px solid var(--line); }

.qa .n {
  font-family: var(--display);
  font-variation-settings: 'opsz' 48, 'wdth' 88, 'wght' 600;
  font-weight: 600;
  font-stretch: 88%;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--copper);
  padding-top: 7px;
}

.qa h2 {
  font-size: 22px;
  line-height: 1.2;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 10px;
}
.qa p { max-width: 62ch; }

/* ---------- 404 ---------- */

.err {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.err-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.err-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: start;
  width: 100%;
}

.err-code {
  font-family: var(--display);
  font-variation-settings: 'opsz' 48, 'wdth' 88, 'wght' 600;
  font-weight: 600;
  font-stretch: 88%;
  font-size: 160px;
  line-height: 0.8;
  letter-spacing: 0;
}

.err-copy h1 {
  font-size: 44px;
  line-height: 1.02;
  margin-bottom: 18px;
}
.err-copy p { max-width: 46ch; color: var(--grey); }
.err-copy .btn { margin-top: 28px; }

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  .head-mark,
  .hero .mark-hero { display: none; }

  .site-head .wrap {
    flex-wrap: wrap;
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 12px;
  }
  .main-nav { gap: 16px; }

  .hero { height: auto; padding: 0 0 4px; }
  .hero .rule { display: none; }
  .hero-copy,
  .hero h1,
  .hero-lead,
  .hero-cta,
  .hero-facts,
  .hero-photo {
    position: static;
    width: auto;
  }
  .hero-copy {
    border-top: 1px solid var(--line);
    padding-top: 14px;
  }
  .hero h1 {
    font-size: 72px;
    margin-top: 26px;
    max-width: 520px;
  }
  .hero-photo {
    width: 520px;
    height: 520px;
    margin: 30px 0 0 auto;
  }
  .hero-lead {
    max-width: 42ch;
    margin-top: 26px;
  }
  .hero-cta { margin-top: 22px; }
  .hero-facts {
    margin-top: 30px;
    border-top: 1px solid var(--line);
    padding-top: 18px;
    max-width: 520px;
  }

  .sec { padding-top: 72px; }
  .sec-head { grid-template-columns: 40px 1fr; }
  .sec-note { display: none; }

  .partners {
    width: 100%;
    grid-template-columns: 1fr;
    row-gap: 24px;
  }
  .partner { max-width: 520px; height: 88px; }
  .partner .no { margin-top: 35px; }

  .qp {
    width: 100%;
    grid-template-columns: 1fr;
    row-gap: 20px;
  }
  .qp div { max-width: 520px; height: 82px; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-text { padding-top: 0; }
  .about-figure { margin-left: auto; }

  .stack { width: 100%; height: 776px; }
  .stack-card { width: 640px; }
  .stack-card:nth-of-type(1) { left: 0; }
  .stack-card:nth-of-type(2) { left: 12px; }
  .stack-card:nth-of-type(3) { left: 24px; }
  .stack-card:nth-of-type(4) { left: 36px; }
  .stack-card:nth-of-type(5) { left: 48px; }
  .stack-card:nth-of-type(6) { left: 60px; }
  .stack-card:nth-of-type(7) { left: 72px; }
  .stack-card:nth-of-type(8) { left: 84px; }
  .stack-card .d { max-width: 470px; }

  .gallery-banner { height: 320px; }
  .gallery-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
  }
  .shot img { height: auto; aspect-ratio: 1 / 1; }

  .page-head h1 { font-size: 56px; }
  .page-meta { grid-template-columns: repeat(2, 1fr); }
  .chapter { grid-template-columns: 44px 1fr; gap: 20px; }
  .tl-row { grid-template-columns: 90px 1fr; gap: 6px 18px; }
  .tl-row .d { grid-column: 2 / -1; }
  .film-row { grid-template-columns: 56px 1fr; gap: 4px 16px; }
  .film-row .st,
  .film-row .no { grid-column: 2 / -1; }
  .film-row.head { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }

  .wrap { padding: 0 18px; }

  .site-head .wrap { min-height: 0; }
  .brand { font-size: 17px; }
  .main-nav {
    gap: 10px 14px;
    justify-content: flex-start;
    width: 100%;
  }
  .main-nav a { font-size: 9px; }
  .main-nav a.btn { padding: 11px 14px; }

  .hero h1 { font-size: 46px; margin-top: 20px; }
  .hero-photo {
    width: 100%;
    height: auto;
    margin-top: 24px;
  }
  .hero-photo img { height: auto; aspect-ratio: 1 / 1; }
  .hero-lead { max-width: none; font-size: 16px; }
  .hero-facts {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: none;
  }
  .hero-facts div { border-left: 1px solid var(--line); }
  .hero-facts div:first-child { border-left-color: var(--copper); }

  .sec { padding-top: 56px; }
  .sec-head { grid-template-columns: 34px 1fr; gap: 12px; }
  .sec-head h2 { font-size: 24px; }

  .partner {
    grid-template-columns: 80px 1fr auto;
    gap: 14px;
    height: 78px;
  }
  .partner .logo { width: 80px; height: 48px; }
  .partner .no { margin-top: 30px; }

  .qp div { height: auto; padding-bottom: 6px; }
  .qp .v { font-size: 22px; }

  .about-figure { width: 100%; height: auto; margin-left: 0; }
  .about-figure img { width: 100%; height: auto; aspect-ratio: 1 / 1; }
  .about-figure .mark-fig { top: -20px; left: 0; }
  .ledger div { grid-template-columns: 1fr; gap: 2px; }
  .about-text p { max-width: none; }

  .stack { height: auto; }
  .stack-card {
    position: relative;
    top: auto !important;
    left: auto !important;
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    grid-template-columns: 88px 1fr;
  }
  .stack-card:nth-of-type(n) { top: auto; left: auto; }
  .stack-card .y { font-size: 32px; }
  .stack-card .d { max-width: none; }
  .stack-mark { display: none; }

  .gallery-banner { height: 200px; }
  .gallery-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .shot img { aspect-ratio: 1 / 1; }

  .social-row {
    grid-template-columns: 108px 1fr auto;
    gap: 10px;
  }
  .social-row .h { font-size: 11px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 44px 0 26px;
  }
  .copyright { text-align: left; }
  .lang-list { padding-top: 0; }
  .footer-notes { padding-bottom: 30px; }

  .page-head { padding: 40px 0 30px; }
  .page-head h1 { font-size: 38px; }
  .page-lead { font-size: 16px; }
  .page-meta { grid-template-columns: 1fr; gap: 14px; }
  .chapter { grid-template-columns: 1fr; gap: 8px; padding: 30px 0; }
  .chapter-num { padding-top: 0; }
  .chapter h2 { font-size: 24px; }
  .chapter-body p { max-width: none; }

  .tl { padding: 30px 0; }
  .tl-head { grid-template-columns: 1fr; gap: 8px; }
  .tl-head h2 { font-size: 24px; }
  .tl-row { grid-template-columns: 1fr; gap: 2px; padding: 13px 0; }
  .tl-row .d { grid-column: auto; }

  .film-row { grid-template-columns: 1fr; gap: 2px; }
  .film-row .st,
  .film-row .no { grid-column: auto; }

  .qa { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .qa .n { padding-top: 0; }
  .qa h2 { font-size: 19px; }

  .err-grid { grid-template-columns: 1fr; gap: 28px; }
  .err-code { font-size: 110px; }
  .err-copy 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;
  filter: none;
  opacity: 1;
}
