:root {
  --fg: #1c1c1c;
  --bg: #ffffff;
  --alt: #707070;
  --divider: #c4c4c4;
  --light-bg: #f5f5f5;
  --accent: #c87358;
  --teal: #6bafb3;
  --radius: 14px;
  --pill: 52px;
  --font: "Noto Sans Thai", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { margin: 0; font-family: var(--font); color: var(--fg); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 999; padding: 10px 14px; background: var(--fg); color: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.top-bar { height: 40px; padding: 0 32px; background: var(--fg); color: rgba(255,255,255,.65); display: flex; align-items: center; justify-content: space-between; font-size: 11px; letter-spacing: .06em; }
.top-bar a { color: inherit; text-decoration: none; }
.top-bar a:hover { color: #fff; }
.top-actions, .language-switcher { display: flex; align-items: center; gap: 14px; }
.language-switcher { gap: 7px; font-size: 10px; }
.language-switcher [aria-current="page"] { color: #fff; font-weight: 700; }
.line-link { padding: 3px 11px; border-radius: var(--pill); background: #06c755; color: #fff !important; font-weight: 700; }
.site-nav { position: sticky; top: 0; z-index: 100; height: 58px; padding: 0 32px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--divider); backdrop-filter: blur(12px); }
.site-nav__left, .site-nav__right { display: flex; align-items: center; gap: 26px; }
.site-nav__right { justify-content: flex-end; }
.site-nav__left a, .site-nav__right a:not(.book-button) { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); }
.brand { font-size: 18px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.book-button, .button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--fg); border-radius: var(--pill); padding: 10px 22px; background: var(--fg); color: #fff !important; font-size: 11px; font-weight: 600; line-height: 1; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.book-button:hover, .button:hover { background: var(--teal); border-color: var(--teal); }
.menu-button { display: none; border: 0; background: transparent; padding: 6px; }
.menu-button span { display: block; width: 22px; height: 1.5px; margin: 5px 0; background: var(--fg); }
.mobile-menu { display: none; position: fixed; inset: 98px 0 0; z-index: 99; padding: 28px 24px; background: var(--bg); overflow: auto; }
.mobile-menu.open { display: flex; flex-direction: column; }
.mobile-menu a { padding: 15px 0; border-bottom: 1px solid var(--divider); font-size: 13px; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.mobile-menu .book-button { margin-top: 24px; border-bottom: 0; }
.mobile-book { display: none; }
.wrap { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }
.eyebrow { margin: 0 0 14px; color: var(--alt); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.listing-hero { padding: 84px 0 66px; background: var(--light-bg); border-bottom: 1px solid var(--divider); }
.listing-hero h1 { max-width: 760px; margin: 0; font-size: clamp(2.25rem, 6vw, 4.75rem); font-weight: 300; line-height: 1.02; letter-spacing: -.03em; }
.listing-hero p:last-child { max-width: 680px; margin: 24px 0 0; color: var(--alt); font-size: 17px; font-weight: 300; }
.post-list { padding: 72px 0 90px; }
.post-card { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); overflow: hidden; border: 1px solid var(--divider); border-radius: var(--radius); background: var(--bg); }
.post-card__image { min-height: 380px; }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: clamp(32px, 6vw, 64px); align-self: center; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 20px; color: var(--alt); font-size: 12px; }
.post-card h2 { margin: 0 0 18px; font-size: clamp(1.7rem, 3.4vw, 2.8rem); font-weight: 300; line-height: 1.15; letter-spacing: -.02em; }
.post-card h2 a { text-decoration: none; }
.post-card h2 a:hover { color: var(--accent); }
.post-card__description { margin: 0 0 28px; color: var(--alt); font-weight: 300; }
.empty-state { padding: 50px; border: 1px dashed var(--divider); border-radius: var(--radius); text-align: center; color: var(--alt); }
.editorial-note { padding: 54px 0; border-top: 1px solid var(--divider); background: var(--light-bg); }
.editorial-note .wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; }
.editorial-note h2 { margin: 0; font-size: 1.55rem; font-weight: 400; }
.editorial-note p { margin: 0; color: var(--alt); }
.article-shell { width: min(1180px, calc(100% - 64px)); margin: 0 auto; padding: 28px 0 90px; }
.breadcrumbs { margin: 8px 0 52px; color: var(--alt); font-size: 12px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.article-header { width: min(850px, 100%); margin: 0 auto 46px; text-align: center; }
.article-header h1 { margin: 0; font-size: clamp(2.15rem, 5.5vw, 4.5rem); font-weight: 300; line-height: 1.05; letter-spacing: -.035em; }
.article-dek { max-width: 720px; margin: 24px auto 22px; color: var(--alt); font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 300; }
.article-header .post-meta { justify-content: center; }
.hero-figure { margin: 0 0 64px; }
.hero-figure img { width: 100%; max-height: 650px; border-radius: var(--radius); object-fit: cover; }
.hero-figure figcaption, .article-media figcaption { margin-top: 10px; color: var(--alt); font-size: 12px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 720px) 220px; gap: 80px; justify-content: center; align-items: start; }
.article-body { font-size: 17px; }
.article-body section { margin-bottom: 48px; scroll-margin-top: 86px; }
.article-body h2 { margin: 0 0 20px; font-size: clamp(1.55rem, 3vw, 2.1rem); font-weight: 400; line-height: 1.2; letter-spacing: -.015em; }
.article-body p { margin: 0 0 18px; }
.article-body ul { margin: 0 0 20px; padding-left: 22px; }
.article-links { padding: 22px 26px; border-left: 3px solid var(--accent); background: var(--light-bg); list-style: none; }
.article-links li + li { margin-top: 10px; }
.article-links a { color: var(--fg); font-weight: 600; text-underline-offset: 3px; }
.article-media { margin: 30px 0; }
.article-media img { width: 100%; border-radius: var(--radius); }
.video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.article-aside { position: sticky; top: 90px; padding: 22px 0; border-top: 1px solid var(--fg); border-bottom: 1px solid var(--divider); }
.article-aside strong { display: block; margin-bottom: 8px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.article-aside p { margin: 0; color: var(--alt); font-size: 13px; }
.article-cta { margin-top: 58px; padding: 34px; border-radius: var(--radius); background: var(--fg); color: #fff; }
.article-cta h2 { margin: 0 0 10px; font-size: 1.65rem; font-weight: 300; }
.article-cta p { margin: 0 0 22px; color: rgba(255,255,255,.68); }
.article-cta .button { border-color: #fff; background: #fff; color: var(--fg) !important; }
.article-cta .button:hover { border-color: var(--teal); background: var(--teal); color: #fff !important; }
footer { background: var(--fg); color: rgba(255,255,255,.55); }
.footer-inner { width: min(1180px, calc(100% - 64px)); margin: 0 auto; padding: 58px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 44px; }
.footer-brand { color: #fff; font-size: 20px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.footer-title { color: rgba(255,255,255,.35); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.footer-grid p, .footer-grid a { font-size: 13px; }
.footer-grid a { display: block; margin: 9px 0; color: rgba(255,255,255,.62); text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { margin-top: 42px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 11px; }

@media (max-width: 1000px) {
  .site-nav__left, .site-nav__right { display: none; }
  .site-nav { grid-template-columns: 1fr auto 1fr; }
  .menu-button { display: block; justify-self: start; }
  .mobile-book { display: inline-flex; justify-self: end; padding: 8px 14px; }
  .article-layout { grid-template-columns: minmax(0, 720px); }
  .article-aside { position: static; }
}

@media (max-width: 720px) {
  .top-bar { padding: 0 18px; }
  .top-bar > span { display: none; }
  .top-actions { width: 100%; justify-content: space-between; }
  .site-nav { padding: 0 18px; }
  .brand { font-size: 15px; }
  .wrap, .article-shell, .footer-inner { width: min(100% - 40px, 1180px); }
  .listing-hero { padding: 60px 0 50px; }
  .post-list { padding: 46px 0 64px; }
  .post-card { grid-template-columns: 1fr; }
  .post-card__image { min-height: 230px; aspect-ratio: 4 / 3; }
  .editorial-note .wrap { grid-template-columns: 1fr; gap: 14px; }
  .article-shell { padding-top: 18px; }
  .breadcrumbs { margin-bottom: 36px; }
  .hero-figure { margin-bottom: 42px; }
  .article-body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
