/* Christian Wilde · christianwildeweb.com · Saffron theme (deep warm ground, saffron thread accents) */

:root {
  --bg: #2a1a14;
  --bg-deep: #1f120d;
  --panel: #332019;
  --panel-2: #3d271e;
  --ink: #f2e8dc;
  --soft: #dccbb8;
  --muted: #b9a08c;
  --saffron: #b5451f;
  --gold: #c9a24b;
  --gold-soft: #e3c884;
  --line: rgba(242, 232, 220, .16);
  --line-soft: rgba(242, 232, 220, .09);
  --btn-bg: #c9a24b;
  --btn-ink: #2a1a14;
  --shell: 1180px;
  --display: 'Kumar One', 'Oxygen', Georgia, serif;
  --body: 'Oxygen', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg-deep); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.66;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--gold); }
a:hover { color: var(--ink); }

.shell { width: min(100% - 2.8rem, var(--shell)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 1rem; top: .6rem; background: var(--ink); color: var(--btn-ink); padding: .5rem .9rem; z-index: 40; }

/* ---------- header ---------- */
.site-header {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.6rem;
  flex-wrap: wrap;
  padding: .95rem 0 1rem;
}
.wordmark {
  font-family: var(--display);
  font-size: 1.24rem;
  letter-spacing: .012em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.2;
}
.wordmark:hover { color: var(--gold); }
.main-nav { display: flex; align-items: center; gap: 1.05rem; flex-wrap: wrap; }
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: .93rem;
  padding: .15rem 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.main-nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--saffron); }

/* ---------- buttons (explicit nav override for contrast) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-family: var(--body);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.2;
  padding: .72rem 1.35rem;
  border: 1px solid var(--btn-bg);
  border-radius: 3px;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--btn-ink); }
.btn-small { padding: .46rem .95rem; font-size: .86rem; }
.main-nav a.btn { color: var(--btn-ink); border-bottom-color: transparent; }
.main-nav a.btn:hover { color: var(--btn-ink); background: var(--ink); border-color: var(--ink); border-bottom-color: transparent; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg-deep); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 30%; display: block; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(31, 18, 13, .52) 0%, rgba(31, 18, 13, .46) 30%, rgba(31, 18, 13, .93) 68%, rgba(42, 26, 20, .99) 100%),
    linear-gradient(90deg, rgba(31, 18, 13, .80) 0%, rgba(31, 18, 13, .34) 55%, rgba(31, 18, 13, .12) 100%);
}
.hero-thread { position: absolute; top: 0; right: 0; width: min(48vw, 540px); height: auto; z-index: 2; opacity: .9; pointer-events: none; }
.hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(86vh, 760px);
  padding: 4rem 0 3.2rem;
}
.hero-text { max-width: 44rem; }
.hero-eyebrow {
  font-family: var(--body);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 .85rem;
  text-shadow: 0 1px 10px rgba(31, 18, 13, .9);
}
.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 7.4vw, 5.1rem);
  line-height: .98;
  letter-spacing: .004em;
  margin: 0 0 1rem;
  color: var(--ink);
  text-shadow: 0 2px 24px rgba(31, 18, 13, .55);
}
.hero-lede { max-width: 40rem; color: var(--ink); font-size: 1.04rem; line-height: 1.62; margin: 0 0 1.6rem; text-shadow: 0 1px 12px rgba(31, 18, 13, .85); }

/* ---------- sections ---------- */
.section { padding: 3.3rem 0; }
.section-rule { border-top: 1px solid var(--line-soft); }
.section-head { display: flex; align-items: baseline; gap: .85rem; flex-wrap: wrap; margin: 0 0 1.7rem; }
.section-num {
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1;
  color: var(--gold);
}
.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.1vw, 2.1rem);
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}
.section-sub { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- partners ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 250px)); gap: 16px; }
.partner-card {
  display: flex; align-items: center; justify-content: center;
  width: 250px; height: 150px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.partner-card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 12px 26px rgba(15, 8, 5, .45); }
.partner-card img { max-width: 214px; max-height: 128px; width: auto; height: auto; object-fit: contain; display: block; }

/* ---------- three silk-thread cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; }
.tcard {
  position: relative;
  background: linear-gradient(180deg, var(--panel-2) 0%, var(--panel) 100%);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1.7rem 1.4rem 1.5rem;
}
.tcard::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--saffron) 0%, rgba(201, 162, 75, .35) 62%, rgba(201, 162, 75, 0) 100%);
}
.tcard .thread-line { display: block; width: 118px; height: 12px; margin: 0 0 .9rem; }
.tcard h3 { font-family: var(--display); font-weight: 400; font-size: 1.12rem; margin: 0 0 .85rem; color: var(--ink); }
.fact-list { list-style: none; margin: 0; padding: 0; }
.fact-list li { display: flex; flex-direction: column; gap: .1rem; padding: .55rem 0; border-top: 1px solid var(--line-soft); }
.fact-list li:first-child { border-top: 0; padding-top: 0; }
.fact-list .k { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fact-list .v { color: var(--ink); font-size: .97rem; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: .84fr 1.16fr; gap: 2.4rem; align-items: start; }
.about-figure { margin: 0; position: relative; }
.about-figure img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: 3px; }
.about-figure::after {
  content: "";
  position: absolute; left: -12px; bottom: -12px; width: 78px; height: 78px;
  border-left: 2px solid var(--saffron); border-bottom: 2px solid var(--saffron);
  border-radius: 0 0 0 2px;
}
.prose p { margin: 0 0 1.05rem; color: var(--soft); }
.prose p:last-child { margin-bottom: 0; }
.prose .lead { color: var(--ink); font-size: 1.06rem; }

/* ---------- timeline (red silk thread) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute; left: 7px; top: .5rem; bottom: .5rem; width: 2px;
  background: linear-gradient(180deg, var(--saffron) 0%, rgba(181, 69, 31, .35) 100%);
  border-radius: 2px;
}
.timeline li { position: relative; padding: 0 0 1.15rem 2.15rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute; left: 0; top: .5rem; width: 16px; height: 16px;
  border-radius: 50%; border: 2px solid var(--saffron); background: var(--bg);
}
.timeline .when { display: block; color: var(--gold); font-weight: 700; font-size: .93rem; letter-spacing: .02em; }
.timeline .what { color: var(--soft); }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.gallery-grid figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 3px; background: var(--panel); }
.gallery-grid img { width: 100%; height: 100%; display: block; object-fit: cover; }
.tile-wide { aspect-ratio: 3 / 2; }
.tile-wide img { object-position: 50% 26%; }
.tile-tall { aspect-ratio: 4 / 5; }
.tile-tall img { object-position: 50% 16%; }

/* ---------- social ---------- */
.social-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; max-width: 800px; }
.social-list a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: .85rem 0; border-bottom: 1px solid var(--line-soft);
  color: var(--ink); text-decoration: none;
}
.social-list a:hover { color: var(--gold); }
.social-list .platform { font-weight: 700; font-size: .98rem; }
.social-list .handle { color: var(--muted); font-size: .92rem; }
.social-list a:hover .handle { color: var(--gold); }

/* ---------- inner pages ---------- */
.page-top { padding: 2.9rem 0 1.1rem; border-bottom: 1px solid var(--line-soft); }
.page-kicker { font-weight: 700; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 .7rem; }
.page-title { font-family: var(--display); font-weight: 400; font-size: clamp(2.05rem, 5vw, 3.3rem); line-height: 1.04; margin: 0 0 .9rem; }
.page-lede { max-width: 46rem; color: var(--soft); font-size: 1.03rem; margin: 0; }
.page-body { padding: 2.6rem 0 3.4rem; }

.bio-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2.4rem; align-items: start; }
.bio-figure { margin: 0; }
.bio-figure img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: 3px; }
.bio-section { margin-bottom: 2.1rem; }
.bio-section:last-child { margin-bottom: 0; }
.bio-section h2 {
  font-family: var(--display); font-weight: 400; font-size: 1.3rem; margin: 0 0 .7rem; color: var(--ink);
}
.bio-section h2::after {
  content: ""; display: block; width: 54px; height: 2px; margin-top: .55rem;
  background: linear-gradient(90deg, var(--saffron), rgba(181, 69, 31, 0));
}
.bio-section p { margin: 0 0 1rem; color: var(--soft); }
.bio-section p:last-child { margin-bottom: 0; }

/* filmography */
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; margin: 0 0 2.4rem; }
.stat {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: 3px; padding: 1.3rem 1.3rem 1.2rem;
}
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: 2.1rem; line-height: 1; color: var(--gold); }
.stat span { display: block; margin-top: .5rem; color: var(--muted); font-size: .88rem; }
.block-h2 { font-family: var(--display); font-weight: 400; font-size: 1.32rem; margin: 2.4rem 0 .5rem; }
.block-h2:first-child { margin-top: 0; }
.block-note { color: var(--muted); font-size: .9rem; margin: 0 0 1.1rem; }
.year-table { width: 100%; border-collapse: collapse; margin: 0 0 .6rem; }
.year-table caption { text-align: left; color: var(--muted); font-size: .9rem; padding-bottom: .6rem; }
.year-table th, .year-table td { text-align: left; padding: .48rem .7rem; border-bottom: 1px solid var(--line-soft); font-size: .96rem; }
.year-table th { color: var(--muted); font-weight: 400; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.year-table td.num { color: var(--gold); font-weight: 700; }
.year-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.2rem; }
.chip-list { list-style: none; margin: 0; padding: 0; }
.chip-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line-soft); }
.chip-list .name { color: var(--ink); }
.chip-list .count { color: var(--gold); font-weight: 700; font-size: .92rem; }
.title-list { list-style: none; margin: 0; padding: 0; }
.title-list li { padding: .75rem 0; border-bottom: 1px solid var(--line-soft); }
.title-list .t { color: var(--ink); font-weight: 700; }
.title-list .y { color: var(--gold); font-size: .9rem; margin-left: .5rem; }
.title-list .n { display: block; color: var(--soft); font-size: .95rem; margin-top: .2rem; }
.awards-note { color: var(--soft); }

/* faq */
.faq-list { list-style: none; margin: 0; padding: 0; counter-reset: q; }
.faq-list li { position: relative; padding: 1.5rem 0 1.4rem 3.1rem; border-bottom: 1px solid var(--line-soft); counter-increment: q; }
.faq-list li:last-child { border-bottom: 0; }
.faq-list li::before {
  content: counter(q, decimal-leading-zero);
  position: absolute; left: 0; top: 1.55rem;
  font-family: var(--display); font-size: 1.05rem; color: var(--gold);
}
.faq-list li::after {
  content: ""; position: absolute; left: 0; top: 2.75rem; width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--saffron), rgba(181, 69, 31, 0));
}
.faq-list h2 { font-family: var(--display); font-weight: 400; font-size: 1.13rem; margin: 0 0 .55rem; color: var(--ink); }
.faq-list p { margin: 0; color: var(--soft); }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line); margin-top: 1.5rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.05fr auto 1fr; gap: 1.2rem 2rem;
  align-items: center; padding: 1.9rem 0 2rem;
}
.footer-brand { display: flex; flex-direction: column; gap: .2rem; }
.brand-name { font-family: var(--display); color: var(--ink); font-size: 1.05rem; }
.brand-line { color: var(--muted); font-size: .88rem; }
.language-nav { display: flex; flex-wrap: wrap; gap: .3rem .95rem; justify-content: center; }
.language-nav a { color: var(--muted); text-decoration: none; font-size: .88rem; }
.language-nav a:hover { color: var(--ink); }
.language-nav a[aria-current="page"] { color: var(--gold); }
.footer-legal { color: var(--muted); font-size: .86rem; margin: 0; text-align: right; }

/* ---------- 404 ---------- */
.notfound { padding: 3.4rem 0 4.2rem; }
.notfound .big { font-family: var(--display); font-size: clamp(2.4rem, 7vw, 4.2rem); margin: 0 0 .8rem; color: var(--gold); }
.notfound p { color: var(--soft); max-width: 40rem; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .shell { width: min(100% - 2.2rem, var(--shell)); }
  .about-grid, .bio-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .about-figure { max-width: 460px; }
  .bio-figure { max-width: 420px; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .partner-card { width: auto; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero-inner { min-height: 68vh; padding: 3rem 0 2.4rem; }
  .hero-thread { width: 62vw; opacity: .7; }
  .cards-3 { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .partner-card { height: 122px; }
  .partner-card img { max-width: 168px; max-height: 100px; }
  .stat-row { grid-template-columns: 1fr; }
  .year-split { grid-template-columns: 1fr; }
  .social-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: .9rem; }
  .footer-legal { text-align: left; }
  .language-nav { justify-content: flex-start; }
  .section { padding: 2.4rem 0; }
}
@media (max-width: 460px) {
  .gallery-grid { gap: .7rem; }
  .main-nav { gap: .6rem .85rem; font-size: .9rem; }
  .main-nav a { font-size: .87rem; }
  .main-nav a.btn { order: 6; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
