/* =========================================================
   Glen York Voiceover — retro-but-client-safe theme
   Colors live here. Change a value once, it updates everywhere.
   ========================================================= */
:root {
  --ink: #1d261c;       /* outlines + text */
  --forest: #2e4430;    /* header, dark panels */
  --olive: #5d6b34;
  --moss: #8a9a5b;
  --sage: #b7c49a;
  --desk: #c9d1a8;      /* page background */
  --sand: #e6dcbc;
  --cream: #f7f2e1;     /* window bodies */
  --mustard: #e3a72f;   /* primary accent */
  --rust: #c8582b;
  --teal: #3f8f86;
  --lcd: #cdd7a2;

  --font-display: "Archivo Black", "Arial Black", sans-serif;
  --font-pixel: "Silkscreen", "Courier New", monospace;
  --font-lcd: "VT323", "Courier New", monospace;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, sans-serif;

  --wrap: min(1120px, 100% - 32px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--desk);
  background-image: radial-gradient(rgba(46, 68, 48, 0.2) 1px, transparent 1.5px);
  background-size: 14px 14px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--rust); }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--mustard); color: var(--ink); padding: 8px 14px;
  border: 3px solid var(--ink); font-family: var(--font-pixel);
}
.skip:focus { left: 16px; }

main {
  flex: 1;
  width: var(--wrap);
  margin: 40px auto 72px;
  display: grid;
  gap: 48px;
}

/* ---------- Type ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 6.2vw, 4.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.eyebrow {
  font-family: var(--font-pixel);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive);
  margin: 0 0 14px;
}
.lede { font-size: 1.2rem; max-width: 54ch; }
.hl { background: linear-gradient(transparent 58%, var(--mustard) 58%, var(--mustard) 92%, transparent 92%); padding: 0 2px; }
.muted { color: var(--olive); }
.small { font-size: 0.9rem; }

/* ---------- Header / taskbar ---------- */
.taskbar {
  position: sticky; top: 0; z-index: 20;
  background: var(--forest);
  border-bottom: 3px solid var(--ink);
}
.taskbar__inner {
  width: var(--wrap); margin: 0 auto; padding: 10px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px 20px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); }
.brand:hover { color: var(--cream); }
.brand__icon {
  width: 42px; height: 42px; padding: 4px;
  background: var(--cream); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
}
.brand__name { font-family: var(--font-display); font-size: 1.35rem; line-height: 1; display: block; }
.brand__tag { font-family: var(--font-pixel); font-size: 0.7rem; letter-spacing: 0.06em; color: var(--sage); display: block; margin-top: 3px; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nav a {
  display: block; text-decoration: none;
  font-family: var(--font-pixel); font-size: 0.85rem; color: var(--ink);
  background: var(--sand); border: 2px solid var(--ink); padding: 6px 12px;
  box-shadow: inset -2px -2px 0 rgba(0,0,0,.2), inset 2px 2px 0 rgba(255,255,255,.75);
}
.nav a:hover { background: var(--cream); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--sage); box-shadow: inset 2px 2px 0 rgba(0,0,0,.25); }
.nav a.nav__cta { background: var(--mustard); }

/* ---------- Retro window ---------- */
.win {
  position: relative;
  background: var(--cream);
  border: 3px solid var(--ink);
}
.win::after { /* halftone drop shadow */
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: translate(10px, 10px);
  background-image: radial-gradient(var(--ink) 1.1px, transparent 1.6px);
  background-size: 5px 5px;
}
.win__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 8px;
  background: var(--bar, var(--sage));
  border-bottom: 3px solid var(--ink);
}
.win__grip {
  flex: 1; min-width: 14px; height: 12px;
  background-image: radial-gradient(var(--ink) 1px, transparent 1.3px);
  background-size: 4px 4px; opacity: 0.7;
}
.win__title {
  font-family: var(--font-pixel); font-size: 0.9rem; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 75%;
}
.win__ctrls { display: flex; gap: 4px; }
.win__ctrls span {
  width: 20px; height: 20px; display: grid; place-items: center;
  border: 2px solid var(--ink); background: var(--cream);
  font: 700 12px/1 "Courier New", monospace;
}
.win__body { padding: clamp(20px, 3.2vw, 36px); }
.win__body--tight { padding: 12px; }
.win--mustard { --bar: var(--mustard); }
.win--rust    { --bar: var(--rust); }
.win--teal    { --bar: var(--teal); }
.win--sand    { --bar: var(--sand); }
.win--moss    { --bar: var(--moss); }
.win--forest  { --bar: var(--forest); }
.win--forest .win__title { color: var(--cream); }
.win--forest .win__grip { background-image: radial-gradient(var(--cream) 1px, transparent 1.3px); }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 16px; margin-top: 24px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-pixel); font-size: 1rem; line-height: 1.2; text-decoration: none;
  color: var(--ink); background: var(--cream);
  border: 3px solid var(--ink); padding: 11px 18px;
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer; transition: transform .08s, box-shadow .08s;
}
.btn:hover { color: var(--ink); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn--primary { background: var(--mustard); }
.btn--green { background: var(--forest); color: var(--cream); }
.btn--green:hover { color: var(--cream); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; align-items: start; }
.hero h1 { margin-bottom: 0.35em; }

/* ---------- Demo player ---------- */
.player {
  margin-top: 28px;
  background: var(--forest);
  border: 3px solid var(--ink);
  padding: 14px;
  color: var(--cream);
}
.player__lcd {
  display: flex; align-items: center; gap: 12px;
  background: var(--lcd); color: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: inset 3px 3px 0 rgba(0,0,0,.15);
  padding: 6px 12px;
  font-family: var(--font-lcd); font-size: 1.45rem; line-height: 1.1;
}
.player__name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
main > *, .hero > *, .grid-2 > *, .grid-3 > * { min-width: 0; }
.player__time { white-space: nowrap; }
.player__eq { display: flex; align-items: flex-end; gap: 3px; height: 20px; }
.player__eq i { width: 4px; height: 25%; background: var(--forest); }
.player.is-playing .player__eq i { animation: eq .9s ease-in-out infinite alternate; }
.player.is-playing .player__eq i:nth-child(2) { animation-delay: -.3s; }
.player.is-playing .player__eq i:nth-child(3) { animation-delay: -.6s; }
.player.is-playing .player__eq i:nth-child(4) { animation-delay: -.15s; }
.player.is-playing .player__eq i:nth-child(5) { animation-delay: -.45s; }
@keyframes eq { from { height: 15%; } to { height: 100%; } }

.player__controls { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.player__play {
  flex: none; width: 54px; height: 54px; display: grid; place-items: center;
  background: var(--mustard); border: 3px solid var(--ink); cursor: pointer;
  box-shadow: inset -3px -3px 0 rgba(0,0,0,.2), inset 3px 3px 0 rgba(255,255,255,.5);
}
.player__play:active { box-shadow: inset 3px 3px 0 rgba(0,0,0,.25); }
.player__play svg { width: 22px; height: 22px; fill: var(--ink); }
.player__play .i-pause, .player.is-playing .player__play .i-play { display: none; }
.player.is-playing .player__play .i-pause { display: block; }
.player__progress {
  flex: 1; height: 28px; position: relative; cursor: pointer;
  background: var(--cream); border: 3px solid var(--ink);
}
.player__fill {
  position: absolute; inset: 3px auto 3px 3px; width: 0;
  background: repeating-linear-gradient(90deg, var(--olive) 0 10px, transparent 10px 13px);
}
.player__foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 10px; font-family: var(--font-pixel); font-size: 0.75rem; }
.player__foot a { color: var(--sage); }
.player__foot a:hover { color: var(--mustard); }

/* ---------- Client ticker ---------- */
.ticker {
  display: flex; overflow: hidden;
  background: var(--ink); color: var(--cream);
  border: 3px solid var(--ink);
}
.ticker__label {
  flex: none; position: relative; z-index: 1;
  font-family: var(--font-pixel); font-size: 0.85rem;
  background: var(--rust); color: var(--cream);
  padding: 12px 16px; border-right: 3px solid var(--ink);
  display: flex; align-items: center;
}
.ticker__viewport { overflow: hidden; flex: 1; display: flex; }
.ticker__track { display: flex; flex: none; animation: ticker 40s linear infinite; }
.ticker__track ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker__track li {
  font-family: var(--font-display); font-size: 1.05rem; white-space: nowrap;
  padding: 12px 22px; display: flex; align-items: center; gap: 22px;
}
.ticker__track li::after { content: "✦"; color: var(--mustard); font-size: 0.9rem; margin-left: 22px; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Grids / cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: start; }
.stat { font-family: var(--font-lcd); font-size: 3.2rem; line-height: 1; color: var(--forest); margin: 0 0 8px; }
.win h3 { margin-bottom: 0.4em; }
.win p:last-child { margin-bottom: 0; }

.cta { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta img { width: 220px; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { padding-left: 30px; position: relative; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.35em;
  width: 16px; height: 16px; border: 2px solid var(--ink); background: var(--mustard);
  box-shadow: inset 3px 3px 0 var(--cream);
}

.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.tags li {
  font-family: var(--font-pixel); font-size: 0.8rem;
  background: var(--sand); border: 2px solid var(--ink); padding: 5px 10px;
}

/* ---------- Spec table (studio) ---------- */
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; padding: 12px 14px; border-bottom: 2px dotted var(--moss); vertical-align: top; }
.specs th { font-family: var(--font-pixel); font-size: 0.8rem; font-weight: 400; color: var(--olive); width: 38%; white-space: nowrap; }
.specs td { font-weight: 600; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }

.meter { margin: 6px 0 18px; }
.meter__label { display: flex; justify-content: space-between; font-family: var(--font-pixel); font-size: 0.8rem; margin-bottom: 6px; }
.meter__bar { height: 26px; border: 3px solid var(--ink); background: var(--cream); padding: 3px; }
.meter__fill { height: 100%; background: repeating-linear-gradient(90deg, var(--teal) 0 10px, transparent 10px 13px); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-family: var(--font-pixel); font-size: 0.8rem; margin-bottom: 6px; }
.field .req { color: var(--rust); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 3px solid var(--ink); padding: 10px 12px; border-radius: 0;
  box-shadow: inset 3px 3px 0 rgba(0,0,0,.08);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.form__note { font-size: 0.9rem; color: var(--olive); margin: 0; }

/* ---------- Photo frames ---------- */
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }

/* ---------- Footer / status bar ---------- */
.statusbar { background: var(--sand); border-top: 3px solid var(--ink); }
.statusbar__inner {
  width: var(--wrap); margin: 0 auto; padding: 10px 0;
  display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between;
  font-family: var(--font-pixel); font-size: 0.75rem;
}
.statusbar__cell {
  border: 2px solid var(--ink); background: var(--cream);
  padding: 4px 10px; box-shadow: inset 2px 2px 0 rgba(0,0,0,.12);
}
.statusbar a { color: var(--ink); }
.statusbar__clock { font-family: var(--font-lcd); font-size: 1.15rem; line-height: 1; }

/* ---------- Representation ---------- */
.reps { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 24px; }
.rep {
  display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: start;
  background: #fffaf0; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
  padding: 18px;
}
.rep__logo { display: block; border: 3px solid var(--ink); background: var(--ink); }
.rep__logo img { width: 100%; height: auto; }
.rep h3 { margin: 0 0 4px; }
.rep__region { font-family: var(--font-pixel); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--olive); margin: 0 0 10px; }
.rep__agent { font-weight: 600; margin: 0 0 6px; }
.rep__contact { list-style: none; margin: 0; padding: 0; font-size: 0.95rem; display: grid; gap: 2px; }
.rep__contact a { overflow-wrap: anywhere; }

/* ---------- Placeholder ("coming soon") player ---------- */
.player--soon .player__play { opacity: 0.55; cursor: not-allowed; }
.player--stack { margin-top: 14px; }
.player--soon .player__progress { cursor: default; background: repeating-linear-gradient(-45deg, var(--cream) 0 8px, var(--sand) 8px 16px); }
.blink { animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Under construction ---------- */
.caution {
  height: 30px; border: 3px solid var(--ink);
  background: repeating-linear-gradient(-45deg, var(--mustard) 0 18px, var(--ink) 18px 36px);
}
.construction { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; }
.construction img { width: 300px; }
.loading { margin: 28px 0 8px; }
.loading__label { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-lcd); font-size: 1.5rem; line-height: 1; margin-bottom: 8px; }
.loading__bar { height: 38px; border: 3px solid var(--ink); background: var(--cream); padding: 4px; box-shadow: inset 3px 3px 0 rgba(0,0,0,.1); }
.loading__fill {
  height: 100%; width: var(--pct, 35%);
  background: repeating-linear-gradient(90deg, var(--olive) 0 14px, transparent 14px 18px);
  animation: march 1.2s steps(6) infinite;
}
@keyframes march { to { background-position: 18px 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero, .grid-2 { grid-template-columns: 1fr; }
  .grid-3, .reps { grid-template-columns: 1fr; }
  .hero__photo { max-width: 420px; }
}
@media (max-width: 640px) {
  main { margin-top: 28px; gap: 40px; }
  .cta { grid-template-columns: 1fr; }
  .cta img { width: 160px; }
  .form__row, .photo-pair { grid-template-columns: 1fr; }
  .win::after { transform: translate(7px, 7px); }
  .win__ctrls span:not(:last-child) { display: none; }
  .specs th { white-space: normal; }
  .nav a { font-size: 0.78rem; padding: 6px 9px; }
  .player__lcd { font-size: 1.2rem; padding: 6px 8px; gap: 8px; }
  .construction { grid-template-columns: 1fr; }
  .rep { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
  .rep__logo { width: 110px; }
  .construction img { width: 240px; }
  .player__eq { display: none; }
  .eyebrow { letter-spacing: 0.04em; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  .ticker__track ul[aria-hidden] { display: none; }
  .ticker__viewport { overflow-x: auto; }
  .player.is-playing .player__eq i { animation: none; height: 70%; }
  .btn { transition: none; }
  .blink, .loading__fill { animation: none; }
}

.hero__photo img { width: 100%; }

/* ---------- About: photo inside the bio box ---------- */
.about::after { content: ""; display: block; clear: both; }
.about__photo {
  float: right; width: min(320px, 40%);
  margin: 0 0 20px 32px;
  border: 3px solid var(--ink); background: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}
.about__photo img { width: 100%; }
@media (max-width: 640px) {
  .about__photo { float: none; width: 100%; max-width: 320px; margin: 0 0 22px; }
}

/* ---------- Representation: logo centered beside text ---------- */
.rep { align-items: center; }
