:root {
  --forest: #123c31;
  --forest-deep: #08271f;
  --forest-soft: #1c5142;
  --cream: #f4eedf;
  --paper: #fffaf0;
  --gold: #c7a24a;
  --gold-light: #ead493;
  --ink: #17251f;
  --muted: #65716b;
  --line: rgba(23, 37, 31, .13);
  --shadow: 0 24px 70px rgba(8, 39, 31, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
button, textarea { font: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 100; padding: 10px 16px; background: white; }
.skip-link:focus { top: 16px; }

.site-header { background: var(--forest-deep); color: white; }
.header-main { min-height: 88px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-light); font-family: Georgia, serif; font-size: .88rem; letter-spacing: .08em; }
.brand strong, .brand small { display: block; }
.brand strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.18rem; font-weight: 500; }
.brand small { margin-top: -2px; color: #bfcfc8; font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: 28px; font-size: .88rem; }
nav a { color: #dce8e2; text-decoration: none; }
nav a:hover { color: var(--gold-light); }
.nav-cta { padding: 9px 15px; border: 1px solid rgba(234,212,147,.55); border-radius: 999px; }
.hall-title { display: flex; justify-content: center; align-items: center; gap: 20px; padding: 10px 20px; color: var(--gold-light); border-top: 1px solid rgba(255,255,255,.08); font-family: Georgia, serif; font-size: .78rem; letter-spacing: .32em; }
.fame-strip {
  position: relative;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) #071522;
  border-block: 7px double var(--gold);
  background:
    linear-gradient(112deg, rgba(0,15,29,.28), rgba(29,70,98,.08) 48%, rgba(0,8,18,.34)),
    url("hall-granite-blue.webp") center 46% / 860px auto repeat;
  box-shadow:
    inset 0 15px 34px rgba(0,5,12,.52),
    inset 0 -9px 22px rgba(0,5,12,.48),
    inset 0 0 0 1px rgba(205,228,241,.16);
}
.fame-stars {
  display: grid;
  grid-template-columns: repeat(5, minmax(170px, 1fr));
  gap: 28px;
  min-width: 990px;
  padding-block: 24px 28px;
}
.fame-star {
  position: relative;
  display: grid;
  place-items: center;
  width: 176px;
  height: 168px;
  margin-inline: auto;
  background: linear-gradient(145deg, #fff0af 0%, #c89b31 43%, #74500d 72%, #e6c769 100%);
  clip-path: polygon(50% 0%, 61.8% 35.2%, 100% 36.4%, 69.1% 58.8%, 80.9% 95.1%, 50% 73%, 19.1% 95.1%, 30.9% 58.8%, 0% 36.4%, 38.2% 35.2%);
  filter: drop-shadow(0 9px 8px rgba(0,0,0,.62));
}
.fame-star__inner {
  display: grid;
  place-items: center;
  width: 158px;
  height: 150px;
  padding: 42px 26px 35px;
  background: linear-gradient(145deg, #f9dc7b 0%, #d3a63e 34%, #b98721 63%, #e7c561 100%);
  clip-path: inherit;
  text-align: center;
}
.fame-star__inner::before {
  content: "✦";
  position: absolute;
  top: 47px;
  color: #17120a;
  font-size: .66rem;
}
.fame-star strong {
  position: relative;
  z-index: 1;
  max-width: 112px;
  color: #17120a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.08;
  text-shadow: 0 1px 0 rgba(255,244,190,.45);
}
.fame-star:nth-child(4) strong { font-size: .82rem; }

.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--forest-deep), var(--forest) 60%, #174a3b); color: white; }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .15; background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0); background-size: 28px 28px; mask-image: linear-gradient(to left, black, transparent 70%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .85fr); gap: 70px; align-items: center; min-height: 640px; padding-block: 78px 90px; }
.hero-copy { max-width: 680px; }
.eyebrow { margin: 0 0 14px; color: #a88636; font-size: .73rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.hero .eyebrow { color: var(--gold-light); }
h1, h2, h3 { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.025em; }
h1 { margin-bottom: 22px; font-size: clamp(3rem, 5.2vw, 5.4rem); line-height: .98; }
.hero-intro { max-width: 620px; color: #d5e1db; font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.button { display: inline-flex; justify-content: center; padding: 13px 21px; border: 1px solid transparent; border-radius: 5px; font-weight: 750; text-decoration: none; }
.button--gold { color: #2b220b; background: linear-gradient(135deg, var(--gold-light), var(--gold)); }
.button--ghost { color: white; border-color: rgba(255,255,255,.32); }
.source-promise { display: flex; gap: 8px; align-items: center; margin-top: 28px; color: #b9ccc3; font-size: .83rem; }
.source-promise span { color: var(--gold-light); }

.ai-card { padding: 27px; border: 1px solid rgba(234,212,147,.42); border-radius: 18px; background: rgba(255,250,240,.97); color: var(--ink); box-shadow: var(--shadow); backdrop-filter: blur(16px); }
.ai-card__head { display: grid; grid-template-columns: auto 1fr auto; gap: 13px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.ai-card__head h2 { margin: 0; font-size: 1.42rem; }
.ai-label { margin: 0; color: var(--forest-soft); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ai-orb { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f4dc92, #b28b31); box-shadow: 0 0 0 5px rgba(199,162,74,.12); }
.ai-orb span { width: 15px; height: 15px; border: 1px solid white; border-radius: 50%; box-shadow: 8px 0 0 -5px white, -8px 0 0 -5px white; }
.status { display: flex; align-items: center; gap: 6px; color: #718078; font-size: .68rem; white-space: nowrap; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: #d5a62b; box-shadow: 0 0 0 4px rgba(213,166,43,.13); }
.question-form { padding-top: 20px; }
.question-form label { display: block; margin-bottom: 8px; color: #56645d; font-size: .78rem; font-weight: 700; }
textarea { width: 100%; resize: vertical; min-height: 115px; padding: 14px; border: 1px solid #d7d3c7; border-radius: 9px; outline: none; background: white; color: var(--ink); }
textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(199,162,74,.15); }
.suggestions { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 18px; }
.suggestions button { padding: 6px 10px; border: 1px solid #d8d4c9; border-radius: 999px; background: transparent; color: #66736d; font-size: .7rem; cursor: pointer; }
.suggestions button:hover { border-color: var(--gold); color: var(--forest); }
.ask-button { display: flex; justify-content: space-between; width: 100%; padding: 13px 16px; border: 0; border-radius: 7px; background: var(--forest); color: white; font-weight: 800; cursor: pointer; }
.ask-button:hover { background: var(--forest-soft); }
.ask-button:disabled { cursor: wait; opacity: .68; }
.answer-preview { grid-column: 1 / -1; width: min(100%, 1120px); margin: 18px auto 0; padding: clamp(28px, 4vw, 54px); border: 1px solid rgba(199,162,74,.55); border-top: 6px solid var(--gold); border-radius: 16px; background: #fbf7eb; color: #293a32; font-size: clamp(1.05rem, 1.35vw, 1.22rem); line-height: 1.75; box-shadow: 0 24px 70px rgba(0,24,18,.3); }
.answer-preview.is-error { border-left-color: #a3483d; background: #faece8; color: #642d27; }
.answer-preview__head { margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid rgba(23,37,31,.14); }
.answer-preview__head .ai-label { margin-bottom: 7px; }
.answer-preview__head h2 { margin: 0; color: var(--forest-deep); font-size: clamp(2rem, 3.5vw, 3.15rem); line-height: 1.05; }
.answer-content { max-width: 920px; }
.answer-content p { margin: 0 0 1.15em; }
.answer-content .answer-disclaimer { font-size: .84em; font-weight: 400; }
.answer-content ul { display: grid; gap: .75em; margin: 0 0 1.25em; padding-left: 1.4em; }
.answer-content strong { color: #142f25; font-weight: 800; }
.answer-citation { color: #075fbd; font-weight: 800; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.answer-citation:visited { color: #5843a5; }
.answer-citation:hover { color: #003f80; text-decoration-thickness: 2px; }
.answer-citation:focus-visible { border-radius: 3px; outline: 3px solid rgba(7,95,189,.28); outline-offset: 2px; }
.answer-sources { margin-top: 36px; padding-top: 30px; border-top: 2px solid rgba(23,37,31,.14); }
.answer-sources h3 { margin: 0 0 18px; color: var(--forest-deep); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem, 2vw, 1.85rem); }
.answer-sources ol { display: grid; gap: 18px; margin: 0; padding-left: 29px; }
.answer-sources li { padding-left: 7px; }
.answer-sources a { color: var(--forest); font-size: 1.02em; font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.answer-sources small { display: block; margin-top: 5px; color: #4f6259; font-size: .95em; font-weight: 650; }
.complementary-reels h3 { text-transform: uppercase; letter-spacing: .08em; font-size: 1.2rem; }
.complementary-reels > p { margin: -8px 0 18px; color: #66756e; font-size: .9rem; }
.ai-note { margin: 14px 0 0; color: #7d847f; font-size: .68rem; text-align: center; }

.section { padding-block: 96px; }
.section h2 { margin-bottom: 20px; font-size: clamp(2.25rem, 4vw, 4rem); line-height: 1.06; }
.section-heading > p:last-child { max-width: 570px; color: var(--muted); }
.mission { background: var(--paper); }
.mission-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; }
.mission-list article { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.mission-list article:last-child { border-bottom: 1px solid var(--line); }
.mission-number { color: var(--gold); font-family: Georgia, serif; font-size: 1.55rem; }
.mission-list h3 { margin-bottom: 7px; font-family: Georgia, serif; font-size: 1.45rem; }
.mission-list p { margin: 0; color: var(--muted); }
.referents { background: #eee6d4; }
.section-heading--center { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-heading--center > p:last-child { margin-inline: auto; }
.referent-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.referent-grid article { min-height: 205px; padding: 23px 20px; border: 1px solid rgba(154,120,39,.22); border-radius: 12px; background: rgba(255,250,240,.72); text-align: center; }
.referent-grid span { display: grid; place-items: center; width: 65px; height: 65px; margin: 0 auto 18px; border: 1px solid var(--gold); border-radius: 50%; color: var(--forest); font-family: Georgia, serif; }
.referent-grid h3 { margin-bottom: 4px; font-family: Georgia, serif; font-size: 1.1rem; }
.referent-grid p { margin: 0; color: var(--muted); font-size: .76rem; }
.catalog-note { max-width: 780px; margin: 30px auto 0; color: #747c76; font-size: .73rem; text-align: center; }
.how-it-works { background: var(--forest); color: white; }
.process-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.process-grid .eyebrow { color: var(--gold-light); }
.process-grid ol { list-style: none; margin: 0; padding: 0; }
.process-grid li { display: grid; grid-template-columns: 46px 1fr; gap: 20px; padding: 23px 0; border-top: 1px solid rgba(255,255,255,.15); }
.process-grid li:last-child { border-bottom: 1px solid rgba(255,255,255,.15); }
.process-grid li > span { color: var(--gold-light); font-family: Georgia, serif; font-size: 1.35rem; }
.process-grid strong { font-family: Georgia, serif; font-size: 1.25rem; }
.process-grid p { margin: 3px 0 0; color: #bbcec5; }
.disclaimer { background: var(--paper); }
.disclaimer-box { display: grid; grid-template-columns: auto 1fr; gap: 26px; padding: 38px; border: 1px solid rgba(199,162,74,.43); border-radius: 14px; background: #f8f2e5; }
.disclaimer-icon { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--gold); border-radius: 50%; color: #987425; font-family: Georgia, serif; font-size: 1.5rem; }
.disclaimer h2 { max-width: 800px; font-size: clamp(1.75rem, 3vw, 2.7rem); }
.disclaimer p { color: #56625c; }
footer { padding-block: 34px; background: var(--forest-deep); color: white; }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 40px; }
.brand--footer strong { font-size: 1rem; }
footer p { color: #9eb4a9; font-size: .72rem; }

@media (max-width: 960px) {
  nav a:not(.nav-cta) { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-copy { max-width: 760px; }
  .mission-grid, .process-grid { grid-template-columns: 1fr; gap: 45px; }
  .referent-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 26px, 1180px); }
  .header-main { min-height: 76px; }
  .brand small { display: none; }
  .nav-cta { padding: 8px 11px; font-size: .76rem; }
  .hall-title { font-size: .68rem; letter-spacing: .2em; }
  .hero-grid { padding-block: 60px; }
  h1 { font-size: 3.25rem; }
  .ai-card { padding: 19px; border-radius: 13px; }
  .ai-card__head { grid-template-columns: auto 1fr; }
  .status { grid-column: 2; }
  .section { padding-block: 68px; }
  .mission-list article { grid-template-columns: 48px 1fr; }
  .referent-grid { grid-template-columns: 1fr 1fr; }
  .referent-grid article:last-child { grid-column: 1 / -1; }
  .disclaimer-box { grid-template-columns: 1fr; padding: 26px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
