* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: linear-gradient(110deg, #061516, transparent 42%), radial-gradient(circle at 90% 4%, #17433a, transparent 33rem), var(--background); color: var(--text); font: 16px/1.65 "Trebuchet MS", "Segoe UI", sans-serif; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; opacity: .12; background: repeating-radial-gradient(ellipse at 95% 5%, transparent 0 38px, var(--accent) 39px 40px); }
a { color: var(--accent); text-underline-offset: .22em; }
a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--accent-alt); outline-offset: 4px; }
.skip-link { position: fixed; left: 1rem; top: -6rem; z-index: 20; padding: .75rem 1rem; background: var(--text); color: var(--background); }
.skip-link:focus { top: 1rem; }
.hero, main, footer { width: min(1160px, calc(100% - 2.2rem)); margin-inline: auto; }
.hero { min-height: 78vh; padding: 1.2rem 0 4rem; display: grid; align-content: space-between; gap: 4rem; }
nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
nav a:hover { color: var(--text); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: clamp(2rem, 8vw, 7rem); align-items: center; }
.hero-copy { min-width: 0; }
.eyebrow, .kicker { color: var(--accent-alt); font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, .route span, .metrics b { font-family: Georgia, "Times New Roman", serif; }
h1 { max-width: 11ch; margin: .15em 0 .22em; font-size: clamp(4rem, 9vw, 8rem); line-height: .84; letter-spacing: -.055em; text-wrap: balance; }
h2 { margin: .15em 0 .35em; font-size: clamp(2.35rem, 5vw, 4.8rem); line-height: .97; letter-spacing: -.04em; text-wrap: balance; }
.lede { max-width: 56ch; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.38rem); }
dl { display: flex; gap: 1.2rem 2.5rem; flex-wrap: wrap; margin-top: 2rem; }
dl div { display: grid; }
dt { color: var(--muted); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
dd { margin: 0; font-weight: 800; }
.tree-mark { position: relative; min-height: 370px; display: grid; place-items: center; }
.tree-mark i { position: absolute; bottom: 0; width: 28px; height: 205px; background: linear-gradient(#d8bd70, #6d552d); clip-path: polygon(35% 0, 70% 0, 100% 100%, 0 100%); }
.tree-mark .crown { position: absolute; display: block; border: 2px solid var(--accent); border-radius: 48% 52% 45% 55%; background: color-mix(in srgb, var(--surface) 82%, transparent); transform: rotate(20deg); }
.tree-mark .one { top: 0; width: 230px; height: 180px; }
.tree-mark .two { top: 70px; left: 0; width: 190px; height: 155px; transform: rotate(-24deg); }
.tree-mark .three { top: 92px; right: 0; width: 175px; height: 145px; transform: rotate(35deg); }
.tree-mark b { position: relative; z-index: 1; color: var(--text); font: 800 1.15rem/1.2 "Trebuchet MS", sans-serif; letter-spacing: .2em; text-align: center; }
.route, .guide, .catalog { padding: clamp(5rem, 10vw, 9rem) 0 1rem; }
.section-heading { max-width: 820px; }
.section-heading > p:not(.eyebrow) { color: var(--muted); max-width: 64ch; }
.route ol { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: route; }
.route li { position: relative; min-height: 170px; padding: 2.2rem 1.1rem 1.2rem; border-top: 1px solid #39685e; border-bottom: 1px solid #39685e; }
.route li:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; right: -1rem; top: 3.3rem; color: var(--accent-alt); font-size: 2rem; }
.route span { display: block; color: var(--accent); font-size: 2.2rem; }
.route small { display: block; max-width: 18ch; margin-top: 2rem; color: var(--muted); }
.metrics { display: grid; grid-template-columns: repeat(3, .75fr) 1.75fr; margin-top: 5rem; background: var(--surface); border: 1px solid #39685e; }
.metrics div { min-height: 130px; padding: 1.1rem; display: grid; align-content: space-between; border-right: 1px solid #39685e; }
.metrics div:last-child { border-right: 0; }
.metrics b { color: var(--accent-alt); font-size: 2.2rem; }
.metrics span { color: var(--muted); font-size: .8rem; overflow-wrap: anywhere; }
.metrics .wide b { font-size: 1.4rem; }
.guide-grid { margin-top: 2.7rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.guide-card { position: relative; min-height: 330px; padding: clamp(1.3rem, 3vw, 2.2rem); overflow: hidden; border: 1px solid #39685e; background: color-mix(in srgb, var(--surface) 92%, transparent); }
.guide-card::after { content: ""; position: absolute; width: 150px; aspect-ratio: 1; right: -55px; bottom: -75px; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 50%; box-shadow: 0 0 0 25px color-mix(in srgb, var(--accent) 4%, transparent), 0 0 0 50px color-mix(in srgb, var(--accent) 3%, transparent); }
.guide-card:nth-child(even) { transform: translateY(2rem); }
.guide-card h2 { max-width: 15ch; font-size: clamp(2rem, 3.4vw, 3.2rem); }
.guide-card > p:not(.kicker) { position: relative; z-index: 1; color: var(--muted); }
.section-cards { margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid #39685e; font-size: .86rem; }
.section-cards strong { color: var(--text); }
.catalog { margin-top: 2rem; }
.catalog-controls { position: sticky; top: .6rem; z-index: 5; margin: 2.3rem 0; padding: 1rem; display: grid; grid-template-columns: 1fr 1fr auto; gap: 1rem; align-items: end; border-radius: 999px; background: color-mix(in srgb, var(--surface) 94%, transparent); box-shadow: 0 8px 40px #03100c99; backdrop-filter: blur(12px); }
label { display: grid; gap: .3rem; color: var(--muted); font-size: .86rem; font-weight: 800; }
input, select { min-height: 48px; width: 100%; padding: .65rem 1rem; border: 1px solid #477a6e; border-radius: 999px; background: #071d1c; color: var(--text); font: inherit; }
#catalog-status { min-width: 10rem; margin: 0 1rem .65rem 0; color: var(--accent); font-size: .82rem; }
.deck-grid { list-style: none; margin: 0; padding: 0; columns: 3 280px; column-gap: .8rem; }
.deck-card { break-inside: avoid; margin: 0 0 .8rem; padding: 1rem; border: 1px solid #315b52; border-radius: .7rem; background: var(--surface); }
.deck-card div { display: grid; gap: .25rem; }
.deck-card strong { color: var(--text); }
.deck-card span, .deck-card p { margin: 0; color: var(--muted); font-size: .82rem; overflow-wrap: anywhere; }
.deck-card[hidden] { display: none; }
footer { margin-top: 7rem; padding: 2rem 0 4rem; border-top: 1px solid #39685e; display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); }
@media (max-width: 720px) {
  .hero { min-height: auto; }
  .hero-layout { grid-template-columns: 1fr; }
  .tree-mark { min-height: 280px; width: 100%; max-width: 360px; overflow: hidden; }
  .route ol, .metrics { grid-template-columns: repeat(2, 1fr); }
  .route li:not(:last-child)::after { display: none; }
  .route li { border: 1px solid #39685e; }
  .metrics div:nth-child(2) { border-right: 0; }
  .metrics div:nth-child(-n+2) { border-bottom: 1px solid #39685e; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card:nth-child(even) { transform: none; }
  .catalog-controls { grid-template-columns: 1fr; border-radius: 1rem; }
  #catalog-status { margin: 0; }
  footer { display: grid; }
}
@media (max-width: 440px) {
  h1 { font-size: 3rem; }
  .hero, main, footer { width: min(calc(100% - 2rem), 1160px); }
  .route ol, .metrics { grid-template-columns: 1fr; }
  .metrics div, .metrics div:nth-child(2) { border-right: 0; border-bottom: 1px solid #39685e; }
  .metrics div:last-child { border-bottom: 0; }
  .deck-grid { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
