/* Homepage styling follows the AHP Tour palette, typography, and composition. */
:root {
  color-scheme: dark;
  --bg: #030e18;
  --surface: #061520;
  --cyan: #41dff5;
  --lime: #9aff4e;
  --muted: #b7d3e6;
  --line: #233b4b;
  font-family: Arial, Helvetica, sans-serif;
  color: #f4f6fc;
  background: var(--bg);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
a:hover { color: var(--cyan); }
[hidden] { display: none !important; }
.skip { position: fixed; top: -60px; left: 16px; z-index: 20; background: var(--lime); color: #001015; padding: 12px; }
.skip:focus { top: 12px; }
.header { height: 80px; display: flex; align-items: center; padding: 0 4%; gap: 30px; border-bottom: 1px solid #29465a; background: #020c15; position: relative; z-index: 5; }
.brand { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; font-size: 22px; font-weight: 800; letter-spacing: -.4px; }
.header nav { display: flex; gap: 32px; margin-left: 24px; font-size: 14px; }
.header nav a, footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 21px; border-radius: 4px; text-transform: uppercase; font-size: 13px; font-weight: 800; letter-spacing: .3px; transition: background .18s, transform .18s; }
.button:hover { transform: translateY(-2px); }
.green { background: var(--lime); color: #07120c; box-shadow: 0 0 18px #91ff4822; }
.green:hover { background: #b7ff80; color: #07120c; }
.header-contact { margin-left: auto; white-space: nowrap; }
.outline { border: 1px solid #5bb9c5; background: #02101bb3; }
.outline:hover { background: #112b39; }
.menu { display: none; background: none; border: 1px solid var(--line); border-radius: 4px; width: 44px; height: 44px; flex-shrink: 0; }
.hero { min-height: 355px; position: relative; overflow: hidden; border-bottom: 1px solid #345363; background: #061323; }
.arena { position: absolute; right: 0; top: 0; width: 68%; height: 100%; object-fit: cover; object-position: 60% 22%; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #020b13 0%, #020b13ed 27%, #020b1340 52%, transparent 73%); }
.hero-copy { position: relative; z-index: 1; padding: 28px 4% 24px; animation: enter .6s ease-out; }
.eyebrow { font-size: 12px; letter-spacing: 8px; color: #96e6f4; margin: 0 0 8px; }
h1 { font-size: clamp(36px, 4vw, 65px); font-weight: 950; font-style: italic; text-transform: uppercase; letter-spacing: -.025em; line-height: .99; margin: 0 0 12px; max-width: 650px; }
.intro { font-size: 19px; line-height: 1.3; margin: 0 0 16px; color: #d3e8f4; max-width: 510px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-topics { display: flex; gap: 24px; padding: 0; margin: 30px 0 0; list-style: none; }
.hero-topics li { padding-right: 24px; border-right: 1px solid #456171; }
.hero-topics li:last-child { border: 0; padding-right: 0; }
.hero-topics strong { display: block; font-size: 18px; }
.hero-topics span { display: block; margin-top: 5px; font-size: 10px; color: var(--muted); }
.dashboard { padding: 12px 1.7%; display: grid; grid-template-columns: .85fr 1.15fr 1.05fr; gap: 12px 18px; background: #102130; }
.panel { min-width: 0; padding: 14px; background: linear-gradient(120deg, #04101b, #020c15); border-radius: 3px; box-shadow: 0 3px 12px #0002; }
.section-head { display: flex; align-items: center; min-height: 27px; margin-bottom: 8px; }
.section-head h2 { margin: 0; font-size: 17px; text-transform: uppercase; font-weight: 850; }
.panel p { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 6px 0 12px; max-width: 75ch; }
.panel h3 { font-size: 16px; line-height: 1.35; margin: 0; }
.path-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid #203441; transition: background .2s; }
.path-row:last-child { padding-bottom: 4px; }
.path-row:hover { background: #0b1d29; }
.path-row p { margin-bottom: 0; }
.kicker { display: block; text-transform: uppercase; color: #a6e6ff; font-size: 10px; letter-spacing: 1.5px; margin-bottom: 6px; }
.arrow { margin-left: auto; font-size: 28px; color: var(--cyan); }
.arc-list { padding: 0; margin: 0; list-style: none; }
.arc-list li { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid #203441; }
.arc-list li:last-child { padding-bottom: 0; }
.arc-list p { margin-bottom: 0; }
.step { color: var(--cyan); font-weight: 800; font-size: 22px; width: 30px; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.method .method-title { margin: 12px 0; font-size: 21px; max-width: 24ch; }
.coding-loop { padding: 12px 0 0; margin: 16px 0 0; border-top: 1px solid #203441; list-style: none; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; line-height: 1.5; }
.coding-loop li { padding: 8px 0; overflow-wrap: anywhere; }
.coding-loop li::before { content: '> '; color: var(--cyan); }
.coding-loop li:last-child { color: var(--lime); }
.coaching { grid-column: span 2; }
.coaching h3 { font-size: 19px; }
.contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 16px; }
.text-link { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; font-size: 14px; }
.about p { margin-bottom: 0; }
footer { display: flex; align-items: center; gap: 24px; padding: 16px 2.5%; border-top: 1px solid #283947; }
footer .brand { font-size: 18px; }
footer p { font-size: 12px; line-height: 1.5; margin: 0; max-width: 60ch; color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; flex: 1; font-size: 12px; gap: 0 24px; }
@keyframes enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1600px) {
  .header { height: 60px; }
  h1 { font-size: 65px; }
}
@media (max-width: 1280px) {
  .header { gap: 18px; padding: 0 3%; }
  .header nav { gap: 20px; margin-left: 0; }
  .hero { min-height: 365px; }
  h1 { font-size: 52px; }
  .intro { font-size: 17px; }
  .dashboard { grid-template-columns: 1fr 1.25fr; }
  .method { grid-column: span 2; }
  .coaching { grid-column: auto; }
  footer { flex-wrap: wrap; }
}
@media (max-width: 900px) {
  .header { height: auto; min-height: 80px; flex-wrap: wrap; gap: 8px 16px; }
  .header nav { flex-basis: 100%; flex-wrap: wrap; }
  .has-menu-script { flex-wrap: nowrap; }
  .has-menu-script nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #051522; padding: 8px 24px; border-bottom: 1px solid var(--line); }
  .has-menu-script nav.open { display: flex; }
  .has-menu-script .menu { display: block; }
  h1 { font-size: 44px; }
  .arena { width: 85%; opacity: .7; }
  .hero::after { background: linear-gradient(90deg, #020b13f5, #020b1388 60%, #020b1322); }
  .hero-copy { padding: 30px 4% 20px; }
  .section-head h2 { font-size: 15px; }
  footer nav { flex-basis: 100%; justify-content: flex-start; }
}
@media (max-width: 600px) {
  .header { min-height: 70px; gap: 10px; padding: 0 16px; }
  .brand { font-size: 18px; }
  .header-contact { display: none; }
  .menu { margin-left: auto; }
  .hero { min-height: 0; }
  .arena { width: 100%; height: 230px; opacity: 1; }
  .hero::after { height: 230px; background: linear-gradient(0deg, #061323 0%, transparent 35%); }
  .hero-copy { padding: 246px 20px 24px; }
  .eyebrow { font-size: 10px; letter-spacing: 6px; }
  h1 { font-size: clamp(34px, 9.3vw, 50px); line-height: 1.04; margin-top: 12px; }
  .intro { font-size: 15px; max-width: 340px; line-height: 1.55; margin-top: 15px; }
  .intro br { display: none; }
  .actions { gap: 8px; margin-top: 18px; }
  .button { font-size: 11px; padding: 0 13px; gap: 10px; }
  .hero-topics { gap: 12px; flex-wrap: wrap; margin-top: 24px; }
  .hero-topics li { padding-right: 12px; }
  .hero-topics strong { font-size: 15px; }
  .hero-topics span { font-size: 10px; }
  .dashboard { display: flex; flex-direction: column; padding: 12px; gap: 12px; }
  .panel { padding: 12px; }
  footer { padding: 20px; gap: 12px; }
  footer nav { gap: 0 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
