/* ==========================================================================
   MEETANG24HR (มีตัง 24hr) — V2 Swiss-Express Daylight Bento
   Core Design Tokens, Typography, Reset & Two-Tier Header + Bright Footer
   ========================================================================== */

:root {
  --white: #FFFFFF;
  --paper: #F8F8F7;
  --cream: #FFFDF5;
  --yellow-soft: #FFFBEB;
  --crimson: #E00A1E;
  --crimson-deep: #B80014;
  --crimson-soft: #FFF0F2;
  --yellow: #FFD000;
  --yellow-hover: #F2C200;
  --ink: #161213;
  --ink-muted: #5A5254;
  --border-ink: #161213;
  --border-soft: #E5E2DC;

  --font-heading: 'Kanit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'IBM Plex Sans Thai', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --container: 1200px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --border-swiss: 1.5px solid #161213;
  --shadow-offset-yellow: 8px 8px 0 #FFD000;
  --shadow-offset-ink: 4px 4px 0 #161213;
  --shadow-soft: 0 8px 24px rgba(22, 18, 19, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 0.55em;
}
p { margin: 0 0 1em; color: var(--ink-muted); }

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 9999;
}
.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 10px 18px;
  background: var(--crimson);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 2px solid var(--yellow);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   TWO-TIER SWISS EXPRESS HEADER
   ========================================================================== */
.top-status-bar {
  background: var(--crimson-deep);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.top-status-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.status-ticker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #FFEAEF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(255, 208, 0, 0.25);
}
.top-utility-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.top-utility-links a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.76rem;
  transition: color 0.18s;
}
.top-utility-links a:hover { color: var(--yellow); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--white);
  border-bottom: var(--border-swiss);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Brand Logo ONLY — Zero Extra Text */
.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

/* Centered Bordered Pill Nav Dock (Matches Prototype V2) */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 7px;
  background: var(--paper);
  border: var(--border-swiss);
  border-radius: var(--radius-pill);
}
.main-nav a {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover {
  background: var(--yellow-soft);
  color: var(--crimson);
}
.main-nav a.is-active {
  background: var(--ink);
  color: var(--white);
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.94rem;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: var(--border-swiss);
  white-space: nowrap;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-outline-ink {
  background: var(--white);
  color: var(--ink);
  border: var(--border-swiss);
}
.btn-outline-ink:hover {
  background: var(--ink);
  color: var(--white);
}
.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
  border: var(--border-swiss);
}
.btn-yellow:hover {
  background: var(--yellow-hover);
  box-shadow: 0 5px 14px rgba(22, 18, 19, 0.14);
}
.btn-crimson {
  background: var(--crimson);
  color: var(--white);
  border: var(--border-swiss);
}
.btn-crimson:hover {
  background: var(--crimson-deep);
  box-shadow: 0 5px 14px rgba(224, 10, 30, 0.28);
}
.btn-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
}
.btn-square {
  border-radius: var(--radius-sm);
}

/* Mobile Toggle & Drawer */
.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: var(--border-swiss);
  background: var(--white);
  color: var(--ink);
  padding: 0;
}
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(22, 18, 19, 0.55);
  display: none;
  justify-content: flex-end;
}
.mobile-drawer.is-open { display: flex; }
.mobile-drawer-panel {
  width: min(320px, 86vw);
  height: 100%;
  background: var(--white);
  border-left: 2px solid var(--ink);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
}
.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: var(--border-swiss);
}
.mobile-drawer-head img { height: 34px; width: auto; }
.mobile-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: var(--border-swiss);
  background: var(--paper);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--ink);
}
.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-nav-list a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  color: var(--ink);
}
.mobile-nav-list a.is-active {
  background: var(--crimson);
  border-color: var(--ink);
  color: var(--white);
}
.mobile-drawer-ctas {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}

/* ==========================================================================
   BRIGHT EDITORIAL FOOTER (CRIMSON CTA STRIP + PAPER-WHITE BODY + INK BAR)
   ========================================================================== */
.footer-cta-strip {
  background: var(--crimson);
  color: var(--white);
  border-top: var(--border-swiss);
  border-bottom: var(--border-swiss);
  padding: 28px 0;
}
.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  font-weight: 800;
  color: var(--white);
  margin: 0;
}
.footer-cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer {
  background: var(--paper);
  color: var(--ink);
}
.footer-main {
  padding-top: 52px;
  padding-bottom: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 36px;
}
.footer-brand img {
  height: 46px;
  width: auto;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 0.92rem;
  color: var(--ink-muted);
  margin-bottom: 12px;
}
.footer-col h3 {
  font-size: 0.98rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--crimson);
  display: inline-block;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  font-size: 0.92rem;
  color: var(--ink-muted);
  transition: color 0.16s, padding-left 0.16s;
}
.footer-links a:hover {
  color: var(--crimson);
  padding-left: 4px;
}
.footer-bottom {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  padding: 16px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}
.age-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
}
