/* ============================================================
   dakotaskyeweb.com · "Ferris Wheel" memorial theme
   deep indigo dusk · wheel gold · star violet · cream type
   Display: Atomic Age · Body: Amaranth
   ============================================================ */

:root {
  --ink: #1a1c2e;        /* dusk indigo */
  --ink-2: #14162a;      /* header / footer deep */
  --panel: #202440;
  --panel-2: #262a44;
  --gold: #d8a84a;       /* wheel gold */
  --gold-soft: #e8c06a;
  --star: #6a5a9a;       /* star violet */
  --paper: #ece6d8;      /* type cream */
  --muted: #c9c2ae;
  --line: rgba(216, 168, 74, .26);
  --line-soft: rgba(236, 230, 216, .13);
  --display: 'Atomic Age', 'Amaranth', system-ui, sans-serif;
  --body: 'Amaranth', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shell: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1100px 540px at 84% -10%, rgba(106, 90, 154, .24), transparent 62%),
    radial-gradient(880px 460px at -8% 14%, rgba(216, 168, 74, .07), transparent 58%),
    linear-gradient(180deg, #1d2036 0%, var(--ink) 36%, var(--ink) 100%);
  background-attachment: fixed, fixed, fixed;
  color: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

.sec-fan { color: var(--gold); flex: 0 0 auto; opacity: .8; }

/* -------------------------------------------------------- header ------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17, 19, 36, .95);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 1.6rem;
  min-height: 68px;
  padding-top: .55rem;
  padding-bottom: .55rem;
  flex-wrap: wrap;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--display);
  font-size: 1.16rem;
  letter-spacing: .05em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark .mark {
  position: relative;
  width: 9px;
  height: 16px;
  border: 1.5px solid var(--gold);
  border-radius: 2px 2px 4px 4px;
  display: inline-block;
}
.wordmark .mark::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -7px;
  width: 1.5px;
  height: 7px;
  background: var(--gold);
  transform: translateX(-50%);
}
.wordmark:hover { color: var(--gold-soft); }

.main-nav {
  display: flex;
  align-items: center;
  gap: .35rem 1.1rem;
  flex-wrap: wrap;
}
.main-nav a {
  color: #ece6d8;
  text-decoration: none;
  font-size: .97rem;
  padding: .2rem 0;
}
.main-nav a:hover { color: #e8c06a; }
.main-nav a[aria-current="page"] {
  color: #d8a84a;
  box-shadow: inset 0 -2px 0 rgba(216, 168, 74, .55);
}

/* explicit contrast overrides for the nav CTA (beats .main-nav a color) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #d8a84a;
  color: #1a1c2e;
  border: 1px solid #d8a84a;
  border-radius: 4px;
  font-family: var(--display);
  font-size: .95rem;
  letter-spacing: .06em;
  text-decoration: none;
  padding: .72rem 1.3rem;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { background: #f0e9d6; color: #1a1c2e; border-color: #f0e9d6; }
.btn-sm { padding: .5rem .95rem; font-size: .8rem; }
.main-nav a.btn { color: #1a1c2e; }
.main-nav a.btn:hover { color: #1a1c2e; background: #f0e9d6; }

/* ---------------------------------------------------------- hero ------- */
.hero {
  position: relative;
  min-height: clamp(540px, 62vh, 690px);
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.hero-panel {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 45% 0, 38% 100%, 0 100%);
  background: linear-gradient(118deg, rgba(15, 17, 33, .97) 0%, rgba(26, 28, 46, .94) 55%, rgba(40, 43, 76, .86) 100%);
}
.hero-panel .fan {
  position: absolute;
  left: 3%;
  bottom: -6%;
  width: min(38%, 320px);
  height: auto;
  opacity: .26;
}
.hero-edge {
  position: absolute;
  inset: 0;
  clip-path: polygon(calc(45% - 3px) 0, 45% 0, 38% 100%, calc(38% - 3px) 100%);
  background: linear-gradient(180deg, rgba(216, 168, 74, .9), rgba(216, 168, 74, .18));
  opacity: .55;
  pointer-events: none;
}
.hero .shell {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  align-items: flex-start;
  padding-top: clamp(2.6rem, 7.5vh, 4.6rem);
  padding-bottom: 3rem;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .7rem;
  max-width: 22rem;
}
.hero-kicker {
  margin: 0;
  font-family: var(--display);
  font-size: .78rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-title {
  margin: .15rem 0 0;
  font-size: clamp(2.5rem, 5.6vw, 4rem);
  line-height: 1.02;
}
.hero-title .accent { color: var(--gold); }
.hero-tagline { margin: 0; font-size: 1.12rem; }
.hero-intro { margin: 0; font-size: 1rem; color: var(--muted); }
.hero .btn { margin-top: 1rem; }

/* ------------------------------------------------------- sections ------ */
.section {
  position: relative;
  padding: clamp(3.2rem, 6.5vw, 4.9rem) 0;
  border-top: 1px solid rgba(236, 230, 216, .08);
}
.section-tight { padding-top: clamp(2.4rem, 4.5vw, 3.3rem); }
.section-last { padding-bottom: clamp(3.4rem, 7vw, 5.4rem); }
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: .5rem;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 .55rem;
  font-family: var(--display);
  font-size: .76rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow .num { color: var(--gold-soft); }
.eyebrow .dot { color: rgba(236, 230, 216, .38); }
h2 {
  margin: 0 0 .4rem;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  line-height: 1.14;
}
h3 { margin: 0 0 .5rem; font-size: 1.1rem; letter-spacing: .03em; }
.section-sub { max-width: 62ch; margin: 0 0 1.5rem; color: var(--muted); }

/* ------------------------------------------------------ partners ------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 250px));
  gap: 16px;
  margin-top: 1.4rem;
}
.partner-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 150px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(180deg, #232848, #1e2240);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.partner-card::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 1.5px;
  height: 8px;
  background: rgba(216, 168, 74, .55);
  transform: translateX(-50%);
}
.partner-card:hover {
  border-color: rgba(216, 168, 74, .65);
  box-shadow: 0 12px 28px rgba(8, 9, 20, .5);
  transform: translateY(-2px);
}
.partner-card img { max-width: 188px; max-height: 66px; width: auto; height: auto; object-fit: contain; }

/* -------------------------------------------------- archive card ------- */
.facts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr);
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: start;
  margin-top: 1.2rem;
}
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-soft); }
.facts li {
  display: grid;
  grid-template-columns: minmax(8.5rem, 34%) 1fr;
  gap: 1rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.facts .k {
  font-family: var(--display);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: .18rem;
}
.facts .v { color: var(--paper); }
.note-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(38, 42, 68, .78), rgba(26, 28, 46, .55));
  padding: 1.35rem 1.5rem;
}
.note-card h3 { color: var(--gold-soft); font-size: 1rem; }
.note-card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* -------------------------------------------------------- about -------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(1.8rem, 4vw, 3.4rem);
  align-items: start;
  margin-top: 1.2rem;
}
.about-cols p { color: var(--paper); }
.quote {
  margin: 1.5rem 0 0;
  padding: .2rem 0 .2rem 1.2rem;
  border-left: 2px solid var(--gold);
  font-style: italic;
}
.quote p { margin: 0 0 .35rem; }
.quote cite {
  display: block;
  font-style: normal;
  font-size: .85rem;
  letter-spacing: .04em;
  color: var(--muted);
}
.about-figure {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #191c33;
}
.about-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}
.about-figure::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 36px;
  height: 9px;
  background: rgba(216, 168, 74, .85);
  clip-path: polygon(0 0, 100% 0, 86% 100%, 14% 100%);
  transform: translateX(-50%);
}

/* ---------------------------------------------------- timeline --------- */
.timeline {
  position: relative;
  list-style: none;
  margin: 1.3rem 0 0;
  padding: 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: .4rem;
  bottom: .4rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(216, 168, 74, .75), rgba(216, 168, 74, .14));
}
.timeline li {
  position: relative;
  padding: 0 0 1.5rem 3.2rem;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 11px;
  top: .6rem;
  width: 14px;
  height: 2px;
  background: rgba(216, 168, 74, .75);
}
.timeline li::after {
  content: "";
  position: absolute;
  left: 25px;
  top: .2rem;
  width: 11px;
  height: 13px;
  border: 1.5px solid var(--gold);
  border-radius: 3px 3px 5px 5px;
  background: rgba(216, 168, 74, .14);
}
.timeline .when {
  display: block;
  font-family: var(--display);
  font-size: .78rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .15rem;
}
.timeline .what { color: var(--paper); }

/* ----------------------------------------------------- gallery --------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.6rem);
  align-items: start;
  margin-top: 1.4rem;
}
.gallery figure {
  position: relative;
  margin: 0;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  overflow: hidden;
  background: #191c33;
}
.gallery figure::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 30px;
  height: 8px;
  background: rgba(216, 168, 74, .8);
  clip-path: polygon(0 0, 100% 0, 84% 100%, 16% 100%);
  transform: translateX(-50%);
}
.gallery img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.g1 img { object-position: center top; }
.g2 img { object-position: 50% 35%; }
.g3 img { object-position: 30% center; }
.gallery .g2 { margin-top: 2.2rem; }

/* ------------------------------------------------------ subpages ------- */
.page-top {
  padding: clamp(2.5rem, 5vw, 3.6rem) 0 1.4rem;
  border-bottom: 1px solid rgba(236, 230, 216, .09);
}
.page-top h1 {
  margin: 0 0 .6rem;
  font-size: clamp(2rem, 4.6vw, 2.9rem);
  line-height: 1.08;
}
.page-top .lead { max-width: 72ch; margin: 0; color: var(--muted); }
.reading {
  max-width: 76ch;
  padding: clamp(2rem, 4vw, 2.9rem) 0 3.2rem;
}
.story { margin: 0 0 2.2rem; }
.story h2 { margin-bottom: .55rem; }
.story p { color: var(--paper); }
.note { font-size: .9rem; color: var(--muted); max-width: 72ch; }

/* career: studios + awards */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
}
.chips li {
  border: 1px solid var(--line-soft);
  background: rgba(32, 36, 64, .66);
  border-radius: 3px;
  padding: .38rem .68rem;
  font-size: .9rem;
  color: var(--muted);
}
.awards { list-style: none; margin: 1rem 0 1.2rem; padding: 0; }
.awards li {
  position: relative;
  padding: 0 0 .85rem 1.8rem;
  color: var(--paper);
}
.awards li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45rem;
  width: 9px;
  height: 11px;
  border: 1.5px solid var(--gold);
  border-radius: 2px 2px 4px 4px;
  background: rgba(216, 168, 74, .14);
}
.awards li::after {
  content: "";
  position: absolute;
  left: 4.4px;
  top: 0;
  width: 1.5px;
  height: 6px;
  background: rgba(216, 168, 74, .55);
}

/* filmography: credit columns + stat strip */
.credit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem 2rem;
  margin-top: 1.2rem;
}
.credit-col h3 { color: var(--gold-soft); font-size: .98rem; letter-spacing: .05em; }
.credit-col ul { list-style: none; margin: .5rem 0 0; padding: 0; }
.credit-col li {
  position: relative;
  padding: .38rem 0 .38rem 1.15rem;
  border-bottom: 1px solid rgba(236, 230, 216, .07);
  font-size: .95rem;
}
.credit-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .82rem;
  width: 8px;
  height: 9px;
  border: 1.5px solid rgba(216, 168, 74, .8);
  border-radius: 2px;
}
.stat-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 1rem;
}
.stat {
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: rgba(32, 36, 64, .6);
  padding: .9rem 1rem;
}
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.12rem; color: var(--gold); margin-bottom: .2rem; }
.stat span { font-size: .87rem; color: var(--muted); }

/* FAQ */
.faq-item {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(31, 35, 62, .55);
  padding: 1.15rem 1.35rem;
  margin: 0 0 1rem;
}
.faq-item h3 { display: flex; align-items: baseline; gap: .6rem; margin: 0 0 .5rem; }
.faq-item p { margin: 0; color: var(--muted); }
.q-mark {
  flex: 0 0 auto;
  position: relative;
  top: .08rem;
  width: 9px;
  height: 11px;
  border: 1.5px solid var(--gold);
  border-radius: 2px 2px 4px 4px;
  background: rgba(216, 168, 74, .16);
}

/* 404 */
.nf { border-bottom: 0; }
.nf .code {
  margin: 0 0 .4rem;
  font-family: var(--display);
  font-size: clamp(2.8rem, 9vw, 4.6rem);
  line-height: 1;
  color: var(--gold);
}
.nf .lead { margin-bottom: 1.4rem; }
.text-link {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-link:hover { color: #f0e9d6; }

/* ------------------------------------------------------- footer -------- */
.site-footer {
  background: var(--ink-2);
  border-top: 1px solid var(--line-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .95fr) minmax(0, .95fr);
  gap: 1.2rem 2.4rem;
  padding: 2.2rem 0 1.1rem;
  align-items: start;
}
.footer-brand .brand-name {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  margin-bottom: .35rem;
}
.footer-brand .brand-line {
  display: block;
  max-width: 48ch;
  font-size: .92rem;
  color: var(--muted);
}
.language-nav { display: flex; flex-wrap: wrap; gap: .45rem .95rem; }
.language-nav a {
  color: #c9c2ae;
  text-decoration: none;
  font-size: .93rem;
}
.language-nav a:hover { color: #ece6d8; }
.language-nav a[aria-current="page"] { color: var(--gold); }
.footer-legal { margin: 0; text-align: right; font-size: .92rem; color: var(--muted); }
.credit {
  margin: 0;
  padding: .4rem 0 1.7rem;
  border-top: 1px solid rgba(236, 230, 216, .07);
  font-size: .84rem;
  color: #b9b2a0;
}
.credit a { color: var(--gold-soft); }

/* ------------------------------------------------------ responsive ----- */
@media (max-width: 1080px) {
  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .partner-card { width: 100%; }
}

@media (max-width: 1024px) {
  .hero { min-height: 0; }
  .hero-img {
    position: static;
    height: auto;
    aspect-ratio: 4 / 3;
    object-position: center 20%;
  }
  .hero-panel, .hero-edge { display: none; }
  .hero .shell { min-height: 0; display: block; padding-top: 1.7rem; padding-bottom: 2.4rem; }
  .hero-content { max-width: 34rem; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .sec-head .sec-fan { display: none; }
  .facts-grid, .about-grid { grid-template-columns: 1fr; }
  .facts li { grid-template-columns: 1fr; gap: .1rem; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .g2 { margin-top: 0; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { width: auto; height: 122px; }
  .partner-card img { max-width: 132px; max-height: 52px; }
  .credit-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; gap: 1.1rem; padding-bottom: .6rem; }
  .footer-legal { text-align: left; }
  .section { padding: 2.6rem 0; }
  .reading { padding-bottom: 2.4rem; }
}

@media (max-width: 520px) {
  .main-nav { gap: .3rem .8rem; }
  .main-nav a { font-size: .9rem; }
  .header-inner { min-height: 60px; }
  .timeline li { padding-left: 2.9rem; }
}
