:root {
  --ink: #13161C;
  --paper: #F7F6F2;
  --graphite: #5B6069;
  --line: #DFDCD4;
  --amber: #A9752F;
  --amber-deep: #8A5F24;
  --max-width: 1080px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

a { color: inherit; }
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 10;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.01em;
}

/* Language switch */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  margin-right: 20px;
  font-size: 13px;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 2px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--graphite);
}
.lang-btn.is-active {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--amber);
}
.lang-sep { color: var(--line); }

/* Thai typography */
body.lang-th {
  --font-display: "Noto Serif Thai", serif;
  --font-body: "Noto Sans Thai", sans-serif;
  line-height: 1.75;
}
body.lang-th h1,
body.lang-th h2,
body.lang-th h3,
body.lang-th .spotlight-title {
  line-height: 1.4;
}
body.lang-th .hero-headline {
  line-height: 1.35;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
}

.primary-nav a {
  text-decoration: none;
  color: var(--graphite);
}

.primary-nav a:hover { color: var(--ink); }

.nav-cta {
  color: var(--ink) !important;
  border: 1px solid var(--ink);
  padding: 8px 16px;
  border-radius: 3px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--ink);
}

/* Hero */
.hero {
  padding: 96px 32px 72px;
  max-width: 780px;
}

.hero-kicker {
  font-size: 14px;
  color: var(--amber-deep);
  margin: 0 0 20px;
}

.hero-headline {
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  color: var(--graphite);
  max-width: 560px;
  margin: 0 0 36px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 3px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: var(--amber-deep); }

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); }

/* Intro */
.intro { padding: 56px 32px 0; }
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
  align-items: start;
}
.intro h2 { font-size: 28px; }
.intro-text { color: var(--graphite); margin: 0; }

/* Tracks */
.tracks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 40px 32px 96px;
}

.track {
  padding: 32px 28px;
  border-left: 1px solid var(--line);
}
.track:first-child { border-left: none; padding-left: 0; }
.track:last-child { padding-right: 0; }

.track-label {
  font-size: 20px;
  margin-bottom: 14px;
}

.track-premium {
  position: relative;
  border-left: 2px solid var(--amber);
}
.track-premium:first-child { padding-left: 28px; }

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--amber-deep);
  background: rgba(44, 95, 130, 0.12);
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.track-desc {
  color: var(--graphite);
  font-size: 15px;
  margin: 0 0 18px;
}

.track-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--ink);
}
.track-list li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.track-link {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--amber);
  padding-bottom: 2px;
}
.track-link:hover { color: var(--amber-deep); }

/* Spotlight (Thai Talk Breaks) */
.spotlight { padding: 0 32px 24px; }

.spotlight-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: 4px;
  padding: 40px;
  max-width: 720px;
}

.spotlight-eyebrow {
  font-size: 13px;
  color: var(--amber-deep);
  margin: 0 0 12px;
}

.spotlight-title {
  font-family: var(--font-display);
  font-size: 30px;
  margin: 0 0 8px;
}

.spotlight-tagline {
  font-size: 17px;
  color: var(--ink);
  margin: 0 0 18px;
}

.spotlight-desc {
  color: var(--graphite);
  font-size: 15px;
  max-width: 560px;
  margin: 0 0 18px;
}

.spotlight-trial {
  font-weight: 500;
  font-size: 15px;
  margin: 0 0 18px;
}

.spotlight-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  font-size: 14px;
}
.spotlight-list li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.spotlight-list li:last-child { border-bottom: 1px solid var(--line); }

.spotlight-community {
  font-size: 14px;
  color: var(--graphite);
  margin: 0 0 24px;
}

.spotlight-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Quiet ventures + creative placeholder */
.ventures-quiet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 8px 32px 64px;
}

.quiet-card, .creative-card {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px;
}

.creative { padding: 0 32px 96px; }
.creative-card { max-width: 720px; }

.quiet-title {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 0 0 10px;
}

.quiet-desc {
  color: var(--graphite);
  font-size: 14px;
  margin: 0 0 14px;
}

.quiet-status {
  font-size: 12px;
  color: var(--amber-deep);
  background: rgba(44, 95, 130, 0.1);
  padding: 3px 10px;
  border-radius: 3px;
}

/* About */
.about { padding: 40px 32px 96px; }
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 56px;
}

.about-photo {
  aspect-ratio: 4 / 5;
  background: linear-gradient(155deg, #DAD5C8, #B9AF9A);
  border-radius: 3px;
}

.about-copy h2 { font-size: 28px; margin-bottom: 18px; }
.about-copy p { color: var(--graphite); margin: 0 0 16px; max-width: 480px; }

.text-link {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--amber);
  color: var(--ink);
  padding-bottom: 2px;
}

/* Contact */
.contact {
  padding: 40px 32px 120px;
  border-top: 1px solid var(--line);
  max-width: 620px;
}
.contact h2 { font-size: 30px; margin-bottom: 12px; }
.contact-sub { color: var(--graphite); margin: 0 0 32px; }

.form-row { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 14px; color: var(--graphite); }
.form-row input, .form-row textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--amber);
}

.form-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--graphite);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--graphite);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { text-decoration: none; color: var(--graphite); }
.footer-links a:hover { color: var(--ink); }

/* Responsive */
@media (max-width: 860px) {
  .tracks { grid-template-columns: 1fr; }
  .track { border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-right: 0; }
  .track:first-child { border-top: none; }
  .track-premium:first-child { padding-left: 0; }
  .intro-grid, .about-grid { grid-template-columns: 1fr; }
  .about-photo { aspect-ratio: 16 / 9; }
  .ventures-quiet { grid-template-columns: 1fr; }
  .spotlight-card { padding: 28px 24px; }
}

@media (max-width: 680px) {
  .primary-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 32px 20px;
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 12px 0; width: 100%; }
  .nav-toggle { display: flex; }
  .hero { padding: 56px 24px 48px; }
  .wrap { padding: 0 24px; }
}
