/* Demi Scott · Indigo Vat
   Palette: indigo #1d2f45, rim #4a5560, foam #eef0ec, brass #b08a4a.
   Brass is an accent only: rules, numbers, buttons, small labels. */

:root {
  --vat: #1d2f45;
  --vat-deep: #162536;
  --vat-soft: #22364c;
  --rim: #4a5560;
  --mute: #97a4ae;
  --foam: #eef0ec;
  --foam-dim: #c9d2ce;
  --brass: #b08a4a;
  --brass-lt: #cba76a;
  --ink: #101c29;
  --shell: min(1240px, calc(100% - 56px));
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--vat);
  color: var(--foam);
  font-family: 'Hedvig Letters Sans', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.68;
  letter-spacing: 0.002em;
}

img { max-width: 100%; height: auto; }

a { color: inherit; }

.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--foam);
  color: var(--vat);
  padding: 10px 16px;
  z-index: 40;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- top bar ---------- */

.topbar {
  background: var(--vat-deep);
  border-bottom: 1px solid rgba(238, 240, 236, 0.14);
  position: relative;
  z-index: 6;
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 76px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
  color: var(--foam);
}
.brand-name {
  font-family: 'Croissant One', Georgia, serif;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.005em;
}
.brand-tag {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-lt);
  white-space: nowrap;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.main-nav a {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--foam-dim);
  padding: 7px 0 5px;
  border-bottom: 1px solid transparent;
}
.main-nav a:hover { color: var(--foam); border-bottom-color: var(--brass); }
.main-nav a[aria-current="page"] { color: var(--foam); border-bottom-color: var(--brass); }

/* CTA: explicit override of .main-nav a (0-1-1 vs 0-1-0) */
.main-nav a.btn,
.main-nav a.btn:link,
.main-nav a.btn:visited {
  color: var(--ink);
  background: var(--brass);
  border: 1px solid var(--brass);
  padding: 11px 18px 10px;
  letter-spacing: 0.12em;
  font-size: 11.5px;
}
.main-nav a.btn:hover,
.main-nav a.btn:focus {
  color: var(--vat);
  background: var(--foam);
  border-color: var(--foam);
}

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

.hero {
  position: relative;
  height: min(82vh, 760px);
  min-height: 600px;
  overflow: hidden;
  background: var(--vat-deep);
  display: flex;
  align-items: flex-start;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 4%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 24, 36, 0.52) 0%, rgba(13, 24, 36, 0.12) 26%, rgba(13, 24, 36, 0) 58%, rgba(13, 24, 36, 0.78) 100%);
  pointer-events: none;
}

.vat-card {
  position: relative;
  z-index: 2;
  margin-left: auto;
  margin-right: calc(max(28px, (100vw - 1240px) / 2));
  margin-top: 44px;
  width: min(430px, calc(100% - 56px));
  background: var(--foam);
  color: var(--vat);
  padding: 24px 30px 30px;
  border-top: 4px solid var(--brass);
  box-shadow: 0 26px 64px rgba(6, 14, 22, 0.48);
}
.vat-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #5c6b75;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(29, 47, 69, 0.18);
}
.vat-card h1 {
  font-family: 'Croissant One', Georgia, serif;
  font-weight: 400;
  font-size: clamp(38px, 4.4vw, 54px);
  line-height: 1.02;
  margin: 18px 0 0;
  color: #1b2c41;
  letter-spacing: 0.004em;
}
.vat-lead {
  margin: 14px 0 22px;
  font-size: 15px;
  line-height: 1.62;
  color: #33424f;
}
.vat-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }

.cta {
  display: inline-block;
  background: var(--brass);
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--brass);
  padding: 13px 20px 12px;
  font-size: 11.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}
.cta:hover, .cta:focus { background: var(--vat); color: var(--foam); border-color: var(--vat); }

.bubbles { display: block; color: var(--brass); }

/* ---------- shared section furniture ---------- */

.sec { padding: 74px 0; }
.sec-tight { padding: 40px 0 54px; }

.sec-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.sec-no {
  font-size: 11px;
  letter-spacing: 0.26em;
  color: var(--brass-lt);
  padding-top: 6px;
}
.sec-title {
  font-family: 'Croissant One', Georgia, serif;
  font-weight: 400;
  font-size: clamp(24px, 2.5vw, 33px);
  line-height: 1.18;
  margin: 0;
  color: var(--foam);
}
.sec-note {
  margin: 0 0 0 auto;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--mute);
  max-width: 36ch;
  text-align: right;
}

.dye-arc { display: block; width: 100%; height: 26px; color: var(--brass); opacity: 0.45; }

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

.partners { border-bottom: 1px solid rgba(238, 240, 236, 0.1); padding-top: 30px; }

.partner-banner {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(238, 240, 236, 0.16);
  background: rgba(238, 240, 236, 0.035);
}
.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 250px;
  aspect-ratio: 5 / 3;
  background: #000000;
  border: 0;
  text-decoration: none;
  justify-self: center;
}
.partner-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.partner-card:hover, .partner-card:focus { outline: 2px solid var(--brass-lt); outline-offset: 0; }

/* ---------- 02 archive ---------- */

.archive-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 58px;
  align-items: start;
}
.fact-row {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 22px;
  padding: 13px 0 12px;
  border-bottom: 1px solid rgba(238, 240, 236, 0.12);
}
.fact-row:first-child { border-top: 1px solid rgba(238, 240, 236, 0.12); }
.fact-row dt {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  padding-top: 5px;
}
.fact-row dd { margin: 0; font-size: 16.5px; line-height: 1.5; color: var(--foam); }

.archive-aside { border-left: 2px solid var(--brass); padding: 4px 0 4px 28px; }
.archive-aside p { margin: 0 0 20px; font-size: 15.5px; line-height: 1.75; color: var(--foam-dim); }
.archive-aside .bubbles { margin-top: 6px; }

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

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 62px;
  align-items: start;
}
.about-copy h2 { margin-bottom: 20px; }
.about-copy p { margin: 0 0 18px; color: var(--foam-dim); font-size: 16.5px; line-height: 1.76; }
.about-copy p:last-child { margin-bottom: 0; }

.about-figure { position: relative; margin: 0; max-width: 470px; margin-left: auto; }
.about-figure::before {
  content: "";
  position: absolute;
  inset: -16px 16px 16px -16px;
  border: 1px solid rgba(176, 138, 74, 0.5);
  pointer-events: none;
}
.about-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 12%;
  filter: saturate(0.94);
}

/* ---------- 04 career: dip layers ---------- */

.dip-list { border-top: 1px solid rgba(238, 240, 236, 0.12); }
.dip-item {
  position: relative;
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 28px;
  padding: 21px 0 21px 22px;
  border-bottom: 1px solid rgba(238, 240, 236, 0.12);
}
.dip-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--brass);
}
.dip-item.d1 { background: linear-gradient(90deg, rgba(238, 240, 236, 0.012), rgba(238, 240, 236, 0)); }
.dip-item.d1::before { opacity: 0.18; }
.dip-item.d2 { background: linear-gradient(90deg, rgba(238, 240, 236, 0.026), rgba(238, 240, 236, 0)); }
.dip-item.d2::before { opacity: 0.34; }
.dip-item.d3 { background: linear-gradient(90deg, rgba(238, 240, 236, 0.04), rgba(238, 240, 236, 0)); }
.dip-item.d3::before { opacity: 0.52; }
.dip-item.d4 { background: linear-gradient(90deg, rgba(238, 240, 236, 0.055), rgba(238, 240, 236, 0)); }
.dip-item.d4::before { opacity: 0.7; }
.dip-item.d5 { background: linear-gradient(90deg, rgba(238, 240, 236, 0.07), rgba(238, 240, 236, 0)); }
.dip-item.d5::before { opacity: 0.9; }
.dip-year {
  font-family: 'Croissant One', Georgia, serif;
  font-size: 19px;
  line-height: 1.3;
  color: var(--brass-lt);
  padding-top: 2px;
}
.dip-text { margin: 0; font-size: 16.5px; line-height: 1.65; color: var(--foam-dim); }

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.gallery-grid figure { margin: 0; }
.gallery-grid img { display: block; width: 100%; height: auto; }
.gallery-grid figure:nth-child(2) { padding-top: 46px; }
.gallery-grid figure:nth-child(3) { padding-top: 18px; }
.gallery-grid figure:nth-child(4) { grid-column: 1 / -1; margin-top: 18px; }
.gallery-grid figure:nth-child(4) img { aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 10%; }

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

.social { border-top: 1px solid rgba(238, 240, 236, 0.1); padding-top: 46px; padding-bottom: 58px; }
.social-list { display: flex; flex-wrap: wrap; gap: 20px 46px; }
.social-link { text-decoration: none; display: block; }
.social-platform {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 5px;
}
.social-handle {
  display: inline-block;
  font-size: 17px;
  color: var(--foam);
  border-bottom: 1px solid rgba(176, 138, 74, 0.55);
  padding-bottom: 2px;
}
.social-link:hover .social-handle { color: var(--brass-lt); border-bottom-color: var(--brass-lt); }

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

.site-footer {
  background: var(--vat-deep);
  border-top: 1px solid rgba(238, 240, 236, 0.14);
  padding: 34px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}
.footer-brand a {
  font-family: 'Croissant One', Georgia, serif;
  font-size: 19px;
  color: var(--foam);
  text-decoration: none;
}
.footer-line { margin: 6px 0 0; font-size: 12.5px; color: var(--mute); }
.language-nav { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; }
.language-nav a {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--foam-dim);
  padding: 3px 0;
  border-bottom: 1px solid transparent;
}
.language-nav a:hover { color: var(--foam); border-bottom-color: var(--brass); }
.language-nav a[aria-current="page"] { color: var(--brass-lt); border-bottom-color: var(--brass); }
.footer-legal { margin: 0; font-size: 12.5px; color: var(--mute); text-align: right; }

/* ---------- subpage head ---------- */

.page-head {
  padding: 62px 0 44px;
  border-bottom: 1px solid rgba(238, 240, 236, 0.12);
  background: radial-gradient(900px 320px at 82% -20%, rgba(176, 138, 74, 0.12), rgba(29, 47, 69, 0) 72%);
}
.kicker {
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass-lt);
  margin: 0 0 16px;
}
.page-head h1 {
  font-family: 'Croissant One', Georgia, serif;
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.08;
  margin: 0;
  color: var(--foam);
}
.page-lead { margin: 20px 0 0; max-width: 66ch; font-size: 17px; line-height: 1.7; color: var(--foam-dim); }

.page-body { padding: 56px 0 76px; }

.prose h2 {
  font-family: 'Croissant One', Georgia, serif;
  font-weight: 400;
  font-size: clamp(21px, 2.1vw, 27px);
  line-height: 1.28;
  margin: 0 0 14px;
  color: var(--foam);
}
.prose p { margin: 0 0 17px; font-size: 16.5px; line-height: 1.78; color: var(--foam-dim); }
.prose section + section { margin-top: 44px; }

/* biography */

.bio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr);
  gap: 64px;
  align-items: start;
}
.facts-panel {
  background: rgba(238, 240, 236, 0.04);
  border: 1px solid rgba(238, 240, 236, 0.14);
  border-top: 3px solid var(--brass);
  padding: 24px 26px 8px;
}
.facts-panel h2 { font-family: 'Croissant One', Georgia, serif; font-weight: 400; font-size: 19px; margin: 0 0 14px; }
.facts-panel dl { margin: 0; }
.facts-panel .fact-row { grid-template-columns: minmax(0, 1fr); gap: 3px; padding: 11px 0; }
.facts-panel dt { font-size: 10px; padding-top: 0; }
.facts-panel dd { font-size: 14.5px; line-height: 1.5; }

/* career */

.career-list .dip-item { grid-template-columns: 200px minmax(0, 1fr); }
.studios { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin-top: 8px; }
.studio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid rgba(238, 240, 236, 0.1);
}
.studio-name { font-size: 16px; color: var(--foam); }
.studio-role { font-size: 12.5px; color: var(--mute); text-align: right; }

.notes { margin: 6px 0 0; padding: 0; list-style: none; }
.notes li {
  position: relative;
  padding: 9px 0 9px 22px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--foam-dim);
  border-bottom: 1px solid rgba(238, 240, 236, 0.08);
}
.notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--brass);
  border-radius: 50%;
}

/* filmography */

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.credit-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.credit-table caption { text-align: left; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); padding-bottom: 12px; }
.credit-table th {
  text-align: left;
  font-weight: 400;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-lt);
  padding: 10px 14px 10px 0;
  border-bottom: 1px solid rgba(176, 138, 74, 0.5);
}
.credit-table td { padding: 14px 14px 14px 0; border-bottom: 1px solid rgba(238, 240, 236, 0.12); font-size: 15.5px; vertical-align: top; color: var(--foam); }
.credit-table td.billed { color: var(--foam-dim); }
.credit-table td.year { color: var(--brass-lt); white-space: nowrap; font-size: 14px; }

.subhead {
  font-family: 'Croissant One', Georgia, serif;
  font-weight: 400;
  font-size: clamp(21px, 2.1vw, 27px);
  margin: 46px 0 16px;
}

/* faq */

.faq-list { border-top: 1px solid rgba(238, 240, 236, 0.14); max-width: 900px; }
.faq-item { border-bottom: 1px solid rgba(238, 240, 236, 0.14); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
  font-size: 18px;
  line-height: 1.45;
  color: var(--foam);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--brass-lt); font-size: 21px; line-height: 1; flex: none; }
.faq-item[open] summary::after { content: "·"; font-size: 26px; }
.faq-item p { margin: 0 0 22px; padding-right: 44px; font-size: 16px; line-height: 1.75; color: var(--foam-dim); }

/* 404 */

.notfound { min-height: 66vh; display: grid; place-items: center; text-align: center; padding: 70px 0; }
.notfound .code {
  font-family: 'Croissant One', Georgia, serif;
  font-size: clamp(88px, 16vw, 160px);
  line-height: 1;
  color: var(--brass-lt);
  margin: 0;
}
.notfound h1 { font-family: 'Croissant One', Georgia, serif; font-weight: 400; font-size: clamp(24px, 3vw, 34px); margin: 18px 0 12px; }
.notfound p { color: var(--foam-dim); margin: 0 auto 26px; max-width: 46ch; }

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

@media (max-width: 1080px) {
  .hero { height: min(78vh, 720px); }
  .archive-grid, .about-grid, .bio-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .about-figure { max-width: 560px; }
  .partner-banner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .studios { grid-template-columns: minmax(0, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid figure:nth-child(3) { padding-top: 0; }
  .gallery-grid figure:nth-child(4) { grid-column: 1 / -1; }
  .sec-note { margin-left: 0; text-align: left; max-width: none; flex-basis: 100%; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100% - 36px); }
  body { font-size: 16.5px; }
  .topbar-inner { gap: 14px; padding: 14px 0; }
  .brand-tag { display: none; }
  .main-nav { width: 100%; margin-left: 0; gap: 16px; }
  .main-nav a { font-size: 11px; }
  .main-nav a.btn { padding: 9px 13px 8px; }
  .hero { height: auto; min-height: 0; display: block; padding-bottom: 0; }
  .hero-img { position: relative; inset: auto; width: 100%; height: 68vh; min-height: 420px; display: block; }
  .hero::after { display: none; }
  .vat-card {
    width: calc(100% - 36px);
    margin: -46px auto 0;
    padding: 22px 22px 26px;
    position: relative;
    z-index: 3;
  }
  .vat-card h1 { font-size: 40px; }
  .sec { padding: 52px 0; }
  .partners { padding-top: 26px; }
  .partner-banner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .fact-row dt { padding-top: 0; }
  .dip-item, .career-list .dip-item { grid-template-columns: minmax(0, 1fr); gap: 6px; padding-left: 18px; }
  .gallery-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery-grid figure:nth-child(n) { padding-top: 0; }
  .gallery-grid figure:nth-child(4) img { aspect-ratio: 3 / 2; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); text-align: left; gap: 18px; }
  .language-nav { justify-content: flex-start; }
  .footer-legal { text-align: left; }
  .faq-item summary { font-size: 16.5px; }
  .faq-item p { padding-right: 0; }
}
