:root {
  color-scheme: dark;
  --bg: #0f190f;
  --bg-2: #172516;
  --panel: rgba(28, 39, 24, 0.9);
  --panel-strong: rgba(39, 51, 31, 0.96);
  --ink: #fff8df;
  --text: #f4ead1;
  --muted: #d8c898;
  --faint: #a9996b;
  --leaf: #7aa35d;
  --leaf-bright: #a7d66d;
  --bark: #7a5434;
  --ore: #ffc857;
  --gem: #77f2c3;
  --line: rgba(255, 248, 218, 0.18);
  --line-strong: rgba(255, 200, 87, 0.44);
  --shadow: 0 24px 80px rgba(2, 7, 3, 0.46);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --max-panel: 800px;
  --max-wide: 1120px;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  background: radial-gradient(circle at 12% 8%, rgba(122, 163, 93, 0.18), transparent 34%), var(--bg);
  color: var(--text);
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(115deg, rgba(15, 25, 15, 0.88), rgba(15, 25, 15, 0.7)),
    url("/assets/gnome-photographers.png");
  background-position: center bottom;
  background-size: cover;
  background-attachment: fixed;
  opacity: 0.42;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(15, 25, 15, 0.96) 0%, rgba(15, 25, 15, 0.7) 18%, rgba(15, 25, 15, 0.48) 50%, rgba(15, 25, 15, 0.88) 100%),
    radial-gradient(circle at 82% 20%, rgba(255, 200, 87, 0.12), transparent 24%);
}

.site-background { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-orb { position: absolute; border-radius: 999px; filter: blur(12px); opacity: 0.28; }
.bg-orb--moss { width: 34vw; height: 34vw; left: -12vw; bottom: 6vh; background: var(--leaf); }
.bg-orb--ore { width: 22vw; height: 22vw; right: -5vw; top: 18vh; background: var(--ore); }
.bg-vines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(120deg, transparent 0 34%, rgba(255,255,255,0.045) 35%, transparent 36% 100%),
    radial-gradient(circle at 6% 25%, rgba(167, 214, 109, 0.16) 0 2px, transparent 3px),
    radial-gradient(circle at 94% 72%, rgba(255, 200, 87, 0.16) 0 2px, transparent 3px);
  background-size: 220px 220px, 80px 80px, 96px 96px;
  mask-image: linear-gradient(90deg, #000 0 14%, transparent 30% 70%, #000 86% 100%);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-180%);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--ore);
  color: #171204;
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
a { color: var(--leaf-bright); text-decoration: none; }
a:hover { color: var(--ore); }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--gem);
  outline-offset: 3px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 72px;
  padding: 10px clamp(16px, 3vw, 34px);
  border-bottom: 1px solid var(--line);
  background: rgba(15, 25, 15, 0.86);
  backdrop-filter: blur(18px) saturate(130%);
  box-shadow: 0 10px 40px rgba(0,0,0,0.18);
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(135deg, var(--ore), #836533 48%, var(--leaf));
  color: #161607;
  font-family: var(--font-serif);
  font-weight: 900;
  box-shadow: inset 0 0 0 2px rgba(255,248,218,0.28), 0 10px 24px rgba(0,0,0,0.24);
}
.brand__text { display: grid; line-height: 1.05; }
.brand__text strong { font-family: var(--font-serif); font-size: 1.22rem; letter-spacing: .01em; }
.brand__text small { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; }
.topnav { display: flex; align-items: center; justify-content: center; gap: 4px; flex-wrap: wrap; }
.topnav a {
  border-radius: 999px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 750;
  padding: 8px 10px;
}
.topnav a:hover, .topnav a:focus-visible { background: rgba(255,248,218,0.09); color: var(--ink); }
.topbar__actions { display: flex; align-items: center; justify-content: end; gap: 10px; }
.site-search input {
  width: 11rem;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255, 248, 218, 0.08);
  color: var(--ink);
}
.site-search input::placeholder { color: var(--faint); }
.button, .avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--ink);
  background: rgba(255,248,218,0.07);
  font: 800 .9rem/1 var(--font-sans);
  cursor: pointer;
}
.button--primary { background: linear-gradient(135deg, var(--ore), #f3a83a); border-color: rgba(255, 200, 87, 0.8); color: #191404; }
.button--secondary { background: rgba(119, 242, 195, 0.14); border-color: rgba(119,242,195,.45); color: var(--gem); }
.button--ghost:hover, .avatar:hover { border-color: var(--line-strong); }
.avatar { width: 42px; padding: 0; border-radius: 50%; }

.landing {
  display: grid;
  gap: clamp(28px, 5vw, 58px);
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: clamp(18px, 3vw, 42px);
}
.panel, .section-stack {
  width: min(var(--max-panel), 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 248, 218, 0.06), transparent 28%),
    var(--panel);
  box-shadow: var(--shadow);
}
.panel { padding: clamp(22px, 4vw, 38px); }
.panel--wide, .panel--hero { width: min(var(--max-wide), 100%); }
.section-stack { display: grid; gap: 18px; background: transparent; border: 0; box-shadow: none; }
.landing > .panel, .landing > .section-stack { justify-self: center; }
.section-heading { width: min(var(--max-panel), 100%); }
.section-heading--center { justify-self: center; text-align: center; }
.section-heading h2, .panel h2 { margin: 0; }
.section-heading p, .panel > p { color: var(--muted); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, .92fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: stretch;
  min-height: 540px;
  overflow: hidden;
}
.hero__copy { align-self: center; }
.hero__art {
  min-height: 410px;
  border-radius: 22px;
  border: 1px solid var(--line-strong);
  background-image:
    linear-gradient(180deg, rgba(15,25,15,0.03), rgba(15,25,15,0.34)),
    url("/assets/gnome-photographers.png");
  background-position: center bottom;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(255,248,218,0.08), 0 24px 70px rgba(0,0,0,0.34);
  position: relative;
  overflow: hidden;
}
.hero__art::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(transparent, rgba(10, 14, 8, .82));
}
.art-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 14px 16px;
  border: 1px solid rgba(255,248,218,.2);
  border-radius: 18px;
  background: rgba(15, 25, 15, .76);
  backdrop-filter: blur(10px);
}
.art-caption span, .art-caption strong { display: block; }
.art-caption span { color: var(--ore); font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.art-caption strong { color: var(--ink); font-family: var(--font-serif); font-size: 1.25rem; }
.eyebrow { margin: 0 0 10px; color: var(--ore); font: 900 .76rem/1.2 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { color: var(--ink); line-height: 1.1; text-wrap: balance; }
h1 { margin: 0; font: 800 clamp(2.55rem, 6vw, 5.4rem)/.96 var(--font-serif); letter-spacing: -.035em; }
h2 { font: 800 clamp(1.7rem, 3vw, 2.7rem)/1.05 var(--font-serif); }
h3 { margin: 0 0 8px; font-size: 1.05rem; }
.lede { max-width: 62ch; margin: 22px 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.28rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}
.trust-list li {
  border: 1px solid rgba(167, 214, 109, .26);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(167, 214, 109, .08);
  color: var(--muted);
  font-weight: 800;
  font-size: .86rem;
}

.role-grid, .creator-grid, .casting-grid, .pricing-grid {
  display: grid;
  gap: 14px;
  width: min(var(--max-wide), 100%);
}
.role-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.creator-grid, .pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.casting-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-card, .creator-card, .casting-card, .price-card, .safety-list article, .currency-stack article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
}
.feature-card p, .creator-card p, .casting-card p, .price-card p, .safety-list p, .currency-stack p { margin: 0; color: var(--muted); }
.icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 14px; background: rgba(167, 214, 109, .12); color: var(--leaf-bright); font-size: 1.4rem; }
.badge { display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border-radius: 999px; font-size: .72rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.badge--ore { background: rgba(255, 200, 87, .18); color: var(--ore); border: 1px solid rgba(255, 200, 87, .4); }
.badge--leaf { background: rgba(167, 214, 109, .15); color: var(--leaf-bright); border: 1px solid rgba(167, 214, 109, .36); }
.badge--gem { background: rgba(119, 242, 195, .13); color: var(--gem); border: 1px solid rgba(119, 242, 195, .34); }

.creator-card { min-height: 100%; }
.creator-card__image {
  height: 170px;
  margin: -4px -4px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,248,218,.14);
  background:
    radial-gradient(circle at 28% 20%, rgba(255,200,87,.32), transparent 22%),
    linear-gradient(135deg, rgba(122, 163, 93, .42), rgba(58, 41, 28, .65));
}
.creator-card__image--talent { background: radial-gradient(circle at 75% 18%, rgba(119,242,195,.34), transparent 20%), linear-gradient(135deg, rgba(35, 53, 31, .82), rgba(122,84,52,.72)); }
.creator-card__image--school { background: radial-gradient(circle at 18% 24%, rgba(255,200,87,.36), transparent 20%), linear-gradient(135deg, rgba(24,44,47,.82), rgba(35,53,31,.74)); }
.creator-card h3, .casting-card h3, .price-card h3 { margin-top: 12px; }
.creator-card a { display: inline-block; margin-top: 14px; font-weight: 850; }

.casting-card dl {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}
.casting-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,248,218,.12);
}
dt { color: var(--faint); font-weight: 900; }
dd { margin: 0; color: var(--ink); text-align: right; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: center; }
.currency-stack { display: grid; gap: 12px; }
.currency-stack article { display: flex; gap: 14px; align-items: start; }
.currency-symbol { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border-radius: 50%; font-weight: 900; }
.currency-symbol--gem { background: rgba(119,242,195,.14); color: var(--gem); }
.currency-symbol--ore { background: rgba(255,200,87,.16); color: var(--ore); }
.currency-symbol--rank { background: rgba(167,214,109,.14); color: var(--leaf-bright); }

.price-card { display: grid; align-content: start; gap: 14px; }
.price-card--featured { border-color: var(--line-strong); box-shadow: inset 0 0 0 1px rgba(255,200,87,.16); }
.price-card__price { color: var(--ore) !important; font-size: 1.25rem; font-weight: 900; }
.checklist { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.checklist li { position: relative; padding-left: 28px; color: var(--text); }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--leaf-bright); font-weight: 900; }

.safety-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr); gap: 24px; align-items: center; }
.safety-list { display: grid; gap: 12px; }
.community-panel { text-align: center; }
.community-panel .actions { justify-content: center; }
.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin: 24px auto 0;
  width: min(1240px, 100%);
  padding: 28px clamp(18px, 3vw, 36px) 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.footer strong { color: var(--ink); font-family: var(--font-serif); font-size: 1.25rem; }
.footer p { margin: 6px 0 0; }
.footer nav { display: flex; flex-wrap: wrap; gap: 14px; }
.footer a { color: var(--muted); font-weight: 800; }
.footer a:hover { color: var(--ore); }

@media (max-width: 1120px) {
  .topbar { grid-template-columns: 1fr; align-items: start; }
  .topnav { justify-content: start; }
  .topbar__actions { justify-content: start; flex-wrap: wrap; }
  .role-grid, .creator-grid, .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  body::before { background-attachment: scroll; }
  .hero, .split, .safety-panel, .footer, .casting-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero__art { min-height: 280px; }
  .role-grid, .creator-grid, .pricing-grid { grid-template-columns: 1fr; }
  .site-search input { width: min(100%, 18rem); }
}
@media (max-width: 560px) {
  .topbar { position: relative; }
  .landing { padding: 14px; }
  .panel { padding: 20px; }
  .topbar__actions .button--ghost { display: none; }
  .actions { flex-direction: column; }
  .button { width: 100%; }
  h1 { font-size: clamp(2.35rem, 14vw, 3.7rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
