/* TXGirlKay creator hub. Palette and rules from docs/2026-10-10 Perplexity Creator Hub Website Research.md.
   Contrast on --ink: --paper ~16:1, --muted ~10:1, --jade ~8.5:1, --coral ~6.6:1. Lime is reserved for "live". */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/manrope-variable.woff2") format("woff2"); }

:root {
  --ink: #0b1020;
  --ink-2: #111930;
  --card: #161f38;
  --line: #2a3557;
  --paper: #f4f0e7;
  --muted: #b9bfcd;
  --jade: #19c7a3;
  --jade-strong: #36dcb9;
  --coral: #ff6b5e;
  --lime: #b8ff3d;
  --focus: #ffd166;
  --todo-bg: #fff3b0;
  --todo-text: #3d2f00;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 14px;
  --container: 72rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --pad: clamp(3.5rem, 8vw, 6.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; font-synthesis: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--jade); text-underline-offset: 0.2em; }
a:hover { color: var(--jade-strong); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { margin: 0 0 0.6em; line-height: 1.1; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(3rem, 9vw, 6.5rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p, ul { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 48rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--paper); color: var(--ink); padding: 0.7rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.small { font-size: 0.92rem; color: var(--muted); }
.lead { font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--muted); max-width: 40rem; }
.lead-sm { font-size: 1.15rem; color: var(--paper); }
.kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--coral); margin-bottom: 0.9rem; }
.icon { display: inline-block; vertical-align: -0.3em; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 16, 32, 0.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--paper); text-decoration: none; font-weight: 800; min-height: 44px; margin-right: auto; }
.brand-mark { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 10px; background: var(--jade); color: var(--ink); font-weight: 800; }
.brand-name { font-size: 1.15rem; letter-spacing: 0.02em; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.15rem; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.7rem; color: var(--paper); text-decoration: none; font-weight: 600; font-size: 0.95rem; border-radius: 8px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--jade); }
.live-btn { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0 1rem; border: 2px solid var(--lime); border-radius: 999px; color: var(--paper); font-weight: 700; text-decoration: none; white-space: nowrap; }
.live-btn::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--lime); }
.live-btn:hover { background: rgba(184, 255, 61, 0.12); color: var(--paper); }
.nav-toggle { display: none; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0 0.9rem; background: transparent; color: var(--paper); border: 1px solid var(--line); border-radius: 10px; font: inherit; font-weight: 700; cursor: pointer; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -6px; } .nav-toggle-bar::after { top: 6px; }
@media (max-width: 62rem) {
  .nav-toggle { display: inline-flex; order: 2; }
  .live-btn { order: 1; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding: 0.5rem var(--gutter) 1rem; }
  .site-nav a { width: 100%; border-bottom: 1px solid var(--line); border-radius: 0; }
  .no-js .site-nav { display: block; position: static; }
  .no-js .nav-toggle { display: none; }
}
@media (max-width: 26rem) {
  .header-inner { gap: 0.5rem; }
  .live-btn { padding: 0 0.85rem; }
  .live-btn .live-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav-toggle { padding: 0 0.6rem; }
  .brand { gap: 0.45rem; }
  .brand-name { font-size: 0.98rem; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 50px; padding: 0.7rem 1.35rem; border-radius: 12px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: transform 160ms ease, background-color 160ms ease; }
.btn-primary { background: var(--jade); color: var(--ink); }
.btn-primary:hover { background: var(--jade-strong); color: var(--ink); transform: translateY(-2px); }
.btn-ghost { border-color: var(--paper); color: var(--paper); }
.btn-ghost:hover { background: rgba(244, 240, 231, 0.08); color: var(--paper); transform: translateY(-2px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.cta-row.center { justify-content: center; }

/* hero */
.hero { position: relative; min-height: min(88vh, 46rem); display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; opacity: 0.9; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(11, 16, 32, 0.85) 38%, rgba(11, 16, 32, 0.15) 75%); }
.hero-copy { position: relative; z-index: 1; padding-top: 3rem; padding-bottom: 3rem; }
@media (max-width: 48rem) { .hero::after { background: linear-gradient(180deg, rgba(11,16,32,0.55) 0%, var(--ink) 75%); } .hero-art { object-position: 70% center; } }

/* sections */
.section { padding: var(--pad) 0; }
.section-alt { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.page-head { padding: clamp(3rem, 8vw, 5rem) 0 2rem; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 1.75rem); }
.card > :last-child { margin-bottom: 0; }
.grid-2, .schedule, .game, .lanes, .support-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 52rem) {
  .grid-2, .schedule, .lanes, .support-grid { grid-template-columns: 1fr 1fr; }
  .game { grid-template-columns: 1fr 1.1fr; align-items: center; }
}
.platform-row, .tag-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.platform-row a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 1rem; border: 1px solid var(--line); border-radius: 999px; color: var(--paper); text-decoration: none; font-weight: 600; }
.platform-row a:hover { border-color: var(--jade); color: var(--jade); }
.tag-list li { padding: 0.25rem 0.75rem; border-radius: 999px; background: rgba(25, 199, 163, 0.12); color: var(--paper); font-size: 0.92rem; border: 1px solid rgba(25, 199, 163, 0.35); }
.schedule-title { font-weight: 700; color: var(--jade); }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 1.6rem; margin-bottom: 0.45rem; }
.check-list li::before { content: ""; position: absolute; left: 0.15rem; top: 0.55em; width: 0.55rem; height: 0.3rem; border-left: 2px solid var(--jade); border-bottom: 2px solid var(--jade); transform: rotate(-45deg); }

/* watch */
.player-facade { aspect-ratio: 16 / 9; display: grid; place-items: center; align-content: center; gap: 0.75rem; text-align: center; padding: 1rem; margin: 1.5rem 0 2.5rem; border-radius: var(--radius); border: 1px solid var(--line); background: radial-gradient(ellipse at center, #1b2748 0%, var(--ink) 70%); }
.player-facade.is-loaded { padding: 0; display: block; }
.player-facade iframe { width: 100%; height: 100%; border: 0; border-radius: var(--radius); }
.facade-btn { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 56px; padding: 0 1.5rem; border: 0; border-radius: 999px; background: var(--paper); color: var(--ink); font: inherit; font-weight: 800; cursor: pointer; }
.facade-btn:hover { background: #fff; }
.lanes h3 { color: var(--coral); }
.video-list { list-style: none; padding: 0; margin: 0; }
.video-list a { display: flex; align-items: center; gap: 0.6rem; min-height: 44px; color: var(--paper); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.video-list a:hover { color: var(--jade); }
.video-list .icon { color: var(--coral); flex: none; }

/* game */
.game-poster { aspect-ratio: 16 / 9; border-radius: var(--radius); border: 1px dashed var(--line); display: grid; place-items: center; padding: 1rem; background: var(--card); }

/* thailand */
.journal { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); margin-top: 2rem; }
.journal-item { display: flex; gap: 0.75rem; align-items: flex-start; padding: 1.25rem; border-left: 2px dashed var(--coral); }
.journal-item .icon { color: var(--coral); flex: none; margin-top: 0.2rem; }
.journal-item p { margin: 0; }

/* support, stats */
.support-grid .icon { color: var(--coral); margin-bottom: 0.75rem; }
.cta-band { text-align: center; }
.cta-band h2 { margin-left: auto; margin-right: auto; }
.stats { list-style: none; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.stats li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.stat-num { display: block; font-size: 2.4rem; font-weight: 800; color: var(--jade); line-height: 1.1; }
.stat-label { color: var(--muted); }

/* draft + todo */
mark.todo { background: var(--todo-bg); color: var(--todo-text); border: 1px dashed #8a6d00; border-radius: 4px; padding: 0.05rem 0.35rem; font-size: 0.9em; font-weight: 600; }
.draft-banner { background: #8a1c1c; color: #fff; text-align: center; padding: 0.75rem var(--gutter); font-weight: 600; }
.prose h2 { font-size: 1.5rem; margin-top: 2rem; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 3rem 0 2rem; background: #080c18; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.footer-brand { font-weight: 800; font-size: 1.2rem; }
.site-footer p { margin: 0 0 0.35rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0 1.1rem; }
.footer-links a { color: var(--paper); display: inline-flex; min-height: 44px; align-items: center; }
.footer-links a:hover { color: var(--jade); }
.footer-legal { margin-top: 1.5rem; }

/* v2 personal layer: real photos, handwritten-feel serif, stamp */
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-400-italic.woff2") format("woff2"); }
.hello { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: clamp(1.6rem, 3.5vw, 2.3rem); line-height: 1.1; color: var(--coral); margin: 0 0 0.35rem; }
.hero { min-height: 0; display: block; }
.hero::after { content: none; }
.hero-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; padding-top: clamp(1.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.hero .hero-copy { padding: 0; }
.hero-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 35%; border-radius: var(--radius); order: -1; }
@media (min-width: 52rem) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; }
  .hero-photo { order: 0; aspect-ratio: 4 / 5; max-height: 40rem; }
}
.gallery-title { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; font-size: 2rem; color: var(--coral); margin-top: 3rem; }
.gallery { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 40rem) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } }
.gallery-item { margin: 0; }
.gallery-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.gallery-item figcaption { margin-top: 0.45rem; font-size: 0.92rem; color: var(--muted); }
.gamertag { font-size: 1.1rem; color: var(--paper); margin: -0.2rem 0 0.9rem; }
.gamertag strong { color: var(--jade); }
.hero-socials { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.hero-socials a { display: inline-flex; min-height: 44px; align-items: center; color: var(--paper); font-weight: 600; text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; }
.hero-socials a:hover { color: var(--jade); }
.photo-slot { border-radius: var(--radius); border: 1px dashed var(--line); background: var(--card); display: grid; place-items: center; padding: 1rem; text-align: center; }
.about-grid, .thailand-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; }
.about-photo { aspect-ratio: 4 / 5; width: 100%; max-width: 26rem; object-fit: cover; border-radius: var(--radius); transform: rotate(-2deg); box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.35); }
img.about-photo { border: 0.6rem solid var(--paper); }
.game-poster { width: 100%; object-fit: cover; }
img.game-poster { border: 0; padding: 0; box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.4); }
.stamp { justify-self: center; display: grid; place-items: center; text-align: center; width: 13rem; aspect-ratio: 1; border: 4px double var(--coral); border-radius: 50%; color: var(--coral); transform: rotate(-8deg); padding: 1rem; }
.stamp span { display: block; line-height: 1.15; }
.stamp-top, .stamp-bot { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.stamp-mid { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: 2.3rem; margin: 0.2rem 0; }
.photo-strip { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); margin-top: 2.5rem; }
.strip-photo { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 52rem) {
  .about-grid { grid-template-columns: 0.8fr 1.2fr; gap: 3.5rem; }
  .thailand-grid { grid-template-columns: auto 1fr; gap: 3.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media (max-width: 48rem) { .hero { min-height: 0; } .hero-copy { padding-top: 5rem; padding-bottom: 4rem; } }
