:root {
  --paper: #fff8ee;
  --paper-2: #f4eadc;
  --ink: #171516;
  --muted: #665e5b;
  --purple: #6543d8;
  --purple-dark: #2e206c;
  --lime: #d7f542;
  --coral: #ff6f61;
  --pink: #ffc5dc;
  --sky: #bcecff;
  --white: #fff;
  --line: rgba(23,21,22,.2);
  --shadow: 12px 12px 0 #171516;
  --sans: Tahoma, "Noto Sans Thai", "Leelawadee UI", sans-serif;
  --display: Tahoma, "Noto Sans Thai", "Leelawadee UI", sans-serif;
  --max: 1180px;
  --read: 760px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 1rem; line-height: 1.78; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; z-index: -2; inset: 0; opacity: .22; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 32px 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--purple); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--coral); }
button { font: inherit; }
:focus-visible { outline: 4px solid var(--coral); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; top: .75rem; left: .75rem; padding: .65rem 1rem; background: var(--ink); color: white; transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 30; border-bottom: 3px solid var(--ink); background: rgba(255,248,238,.97); }
.header-inner { width: min(calc(100% - 2rem), var(--max)); min-height: 82px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--ink); text-decoration: none; }
.brand-mark { width: 48px; aspect-ratio: 1; display: grid; place-items: center; border: 3px solid var(--ink); border-radius: 50%; background: var(--lime); font-size: 1.15rem; font-weight: 900; transform: rotate(-8deg); }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-size: 1.05rem; font-weight: 900; letter-spacing: .05em; }
.brand-copy small { margin-top: .4rem; color: var(--muted); font-size: .64rem; font-weight: 700; letter-spacing: .08em; }
.site-nav ul { display: flex; align-items: center; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: block; padding: .45rem .2rem; border-bottom: 3px solid transparent; color: var(--ink); font-size: .78rem; font-weight: 800; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-color: var(--purple); color: var(--purple); }
.menu-toggle { display: none; width: 46px; height: 42px; border: 3px solid var(--ink); background: var(--lime); color: var(--ink); cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 20px; height: 2px; margin: 4px auto; background: currentColor; transition: transform .25s ease, opacity .25s ease; }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

.wrap { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 2rem), var(--read)); margin-inline: auto; }
.section { padding: clamp(4.5rem, 8vw, 8rem) 0; }
.section-tight { padding: 3rem 0; }
.paper-2 { background: var(--paper-2); }
.purple { background: var(--purple-dark); color: white; }
.lime { background: var(--lime); }
.coral { background: var(--coral); }
.purple a { color: var(--lime); }
.eyebrow { margin: 0 0 1.1rem; color: var(--purple); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.purple .eyebrow { color: var(--lime); }
h1, h2, h3 { margin-top: 0; color: var(--ink); font-family: var(--display); font-weight: 900; line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
.purple h1, .purple h2, .purple h3 { color: white; }
h1 { margin-bottom: 1.5rem; font-size: clamp(3rem, 8vw, 7.2rem); }
h2 { margin-bottom: 1.5rem; font-size: clamp(2.2rem, 5vw, 4.2rem); }
h3 { margin-bottom: .8rem; font-size: clamp(1.4rem, 2.5vw, 2rem); }
p { margin: 0 0 1.3rem; }
.lead { max-width: 790px; color: #4f4745; font-size: clamp(1.16rem, 2.2vw, 1.52rem); line-height: 1.65; }
.purple .lead { color: rgba(255,255,255,.82); }
.fine { color: var(--muted); font-size: .83rem; line-height: 1.65; }
.caps { font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }

.home-hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6.5rem) 0 clamp(4rem, 8vw, 7rem); background: var(--pink); }
.home-hero::before { content: "REVIEW / COMPARE / CHOOSE"; position: absolute; right: -9rem; top: 50%; color: rgba(23,21,22,.08); font-size: clamp(3rem, 8vw, 8rem); font-weight: 900; white-space: nowrap; transform: rotate(90deg) translateX(50%); transform-origin: right center; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0,.95fr) minmax(420px,1.05fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.hero-copy h1 span { display: block; color: var(--purple); -webkit-text-stroke: 1px var(--ink); text-shadow: 5px 5px 0 var(--lime); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: .7rem 1.25rem; border: 3px solid var(--ink); background: var(--ink); color: white; font-size: .75rem; font-weight: 900; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.button:hover { transform: translate(-3px,-3px); box-shadow: 6px 6px 0 var(--purple); color: white; }
.button-ghost { background: white; color: var(--ink); }
.button-ghost:hover { color: var(--ink); box-shadow: 6px 6px 0 var(--coral); }
.hero-collage { position: relative; min-height: 610px; }
.hero-photo-main { position: absolute; inset: 0 12% 12% 0; border: 4px solid var(--ink); overflow: hidden; box-shadow: var(--shadow); transform: rotate(2deg); }
.hero-photo-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-small { position: absolute; z-index: 2; width: 44%; right: 0; bottom: 0; border: 4px solid var(--ink); background: white; padding: 8px; box-shadow: 8px 8px 0 var(--purple); transform: rotate(-5deg); }
.hero-photo-small img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.sticker { position: absolute; z-index: 4; top: 1.2rem; left: -2rem; width: 110px; aspect-ratio: 1; display: grid; place-items: center; border: 3px solid var(--ink); border-radius: 50%; background: var(--lime); text-align: center; font-size: .72rem; font-weight: 900; line-height: 1.35; transform: rotate(-12deg); }
.hero-credit { position: absolute; z-index: 5; left: .5rem; bottom: 14%; max-width: 350px; padding: .55rem .75rem; background: rgba(23,21,22,.9); color: white; font-size: .66rem; line-height: 1.5; }
.hero-credit a { color: var(--lime); }

.intro-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(2rem, 8vw, 8rem); }
.issue { display: inline-block; padding: .45rem .8rem; border: 3px solid var(--ink); background: var(--sky); font-size: .7rem; font-weight: 900; transform: rotate(-3deg); }
.score-strip { display: grid; grid-template-columns: repeat(4,1fr); border: 3px solid var(--ink); }
.score-item { min-height: 180px; padding: 1.4rem; border-right: 3px solid var(--ink); background: white; }
.score-item:nth-child(2) { background: var(--lime); }
.score-item:nth-child(3) { background: var(--pink); }
.score-item:nth-child(4) { border-right: 0; background: var(--sky); }
.score-item strong { display: block; margin-bottom: .7rem; font-size: 2.5rem; line-height: 1; }
.score-item p { color: var(--muted); font-size: .85rem; }

.review-list { border-top: 4px solid var(--ink); }
.review-row { display: grid; grid-template-columns: 86px 1fr minmax(230px,.75fr) 40px; align-items: center; gap: 1.5rem; padding: 1.8rem 0; border-bottom: 2px solid var(--ink); color: var(--ink); text-decoration: none; transition: padding .3s var(--ease), background .2s ease; }
.review-row:hover { padding-left: .8rem; background: var(--lime); color: var(--ink); }
.review-row .num { width: 58px; aspect-ratio: 1; display: grid; place-items: center; border: 3px solid var(--ink); border-radius: 50%; background: white; font-weight: 900; }
.review-row h3 { margin: 0; }
.review-row p { margin: 0; color: var(--muted); font-size: .9rem; }
.review-row .arrow { font-size: 1.7rem; font-weight: 900; }

.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.4rem; }
.card { display: flex; min-height: 100%; flex-direction: column; border: 3px solid var(--ink); background: white; color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card:nth-child(2n) { transform: rotate(1deg); }
.card:hover { transform: translate(-4px,-4px) rotate(0); box-shadow: 9px 9px 0 var(--purple); color: var(--ink); }
.card-media { aspect-ratio: 4/3; overflow: hidden; border-bottom: 3px solid var(--ink); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.card:hover .card-media img { transform: scale(1.045); }
.card-body { flex: 1; display: flex; flex-direction: column; padding: 1.4rem; }
.card-body p { color: var(--muted); font-size: .9rem; }
.card-body .read { margin-top: auto; color: var(--purple); font-size: .7rem; font-weight: 900; }

.page-hero { position: relative; overflow: hidden; padding: clamp(3.5rem,7vw,7rem) 0 clamp(3.5rem,6vw,6rem); border-bottom: 3px solid var(--ink); background: var(--sky); }
.page-hero::after { content: ""; position: absolute; right: -90px; bottom: -130px; width: 340px; aspect-ratio: 1; border: 55px solid rgba(101,67,216,.16); border-radius: 50%; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 1050px; }
.breadcrumbs { margin-bottom: 2rem; color: var(--muted); font-size: .72rem; font-weight: 800; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .55rem; color: var(--purple); }
.breadcrumbs a { color: inherit; }

.article-header { padding: clamp(3rem,7vw,6.5rem) 0 2.5rem; }
.article-header h1 { max-width: 1080px; font-size: clamp(3rem,7vw,6.4rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: .7rem 1.8rem; margin-top: 2rem; padding: 1rem 0; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.article-hero { width: min(calc(100% - 2rem), 1280px); margin: 0 auto; }
.article-hero img { width: 100%; max-height: 740px; object-fit: cover; border: 4px solid var(--ink); box-shadow: 10px 10px 0 var(--purple); }
.article-hero figcaption, .inline-figure figcaption { padding: .8rem .2rem; color: var(--muted); font-size: .7rem; line-height: 1.55; }
.article-layout { width: min(calc(100% - 2rem), 1110px); margin: 0 auto; display: grid; grid-template-columns: 215px minmax(0,760px); gap: clamp(2rem,7vw,8rem); }
.article-aside-inner { position: sticky; top: 2rem; padding: 1.25rem; border: 3px solid var(--ink); background: var(--lime); box-shadow: 7px 7px 0 var(--ink); transform: rotate(-1deg); }
.article-aside strong { display: block; margin-bottom: .5rem; color: var(--purple-dark); font-size: .68rem; font-weight: 900; }
.article-aside p { color: #403a37; font-size: .8rem; line-height: 1.65; }
.prose { font-size: 1.08rem; line-height: 1.88; }
.prose > p:first-child { font-size: 1.28rem; line-height: 1.75; }
.prose h2 { margin: 3.3rem 0 1.15rem; font-size: clamp(2rem,4vw,3.1rem); }
.prose h3 { margin-top: 2.2rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .6rem; }
.prose blockquote { margin: 2.6rem 0; padding: 1.6rem; border: 3px solid var(--ink); background: var(--pink); box-shadow: 8px 8px 0 var(--coral); color: var(--purple-dark); font-size: 1.25rem; font-weight: 800; }
.inline-figure { margin: 2.8rem 0; }
.inline-figure img { width: 100%; max-height: 600px; object-fit: cover; border: 3px solid var(--ink); }
.verdict { margin: 2.8rem 0; padding: 1.6rem; border: 3px solid var(--ink); background: white; box-shadow: 8px 8px 0 var(--lime); font-size: .93rem; }
.verdict h3 { font-size: 1.6rem; }
.verdict dl { display: grid; grid-template-columns: 160px 1fr; margin: 0; }
.verdict dt, .verdict dd { margin: 0; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.verdict dt { color: var(--purple); font-size: .7rem; font-weight: 900; }
.source-note { margin-top: 3rem; padding-top: 1.2rem; border-top: 2px solid var(--ink); color: var(--muted); font-size: .78rem; line-height: 1.65; }

.index-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.2rem; }
.index-card { min-height: 280px; padding: clamp(1.5rem,4vw,3rem); border: 3px solid var(--ink); background: white; color: var(--ink); text-decoration: none; }
.index-card:nth-child(2) { background: var(--lime); }
.index-card:nth-child(3) { background: var(--pink); }
.index-card:nth-child(4) { background: var(--sky); }
.index-card:hover { color: var(--purple); box-shadow: 8px 8px 0 var(--ink); transform: translate(-2px,-2px); }
.index-card .num { display: block; margin-bottom: 3rem; font-size: .7rem; font-weight: 900; }
.index-card p { color: var(--muted); }
.checklist { margin: 2rem 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.checklist li { position: relative; padding: 1rem 0 1rem 2.2rem; border-bottom: 1px solid var(--line); }
.checklist li::before { content: "✓"; position: absolute; left: .25rem; color: var(--purple); font-weight: 900; }
.comparison { width: 100%; margin: 2rem 0; border-collapse: collapse; font-size: .87rem; }
.comparison th, .comparison td { padding: 1rem; border: 2px solid var(--ink); text-align: left; vertical-align: top; }
.comparison th { background: var(--purple-dark); color: white; font-size: .72rem; }
.link-ledger { border-top: 3px solid var(--ink); }
.link-ledger a { display: grid; grid-template-columns: 1.1fr 1.5fr auto; gap: 1rem; padding: 1.2rem 0; border-bottom: 2px solid var(--ink); color: var(--ink); text-decoration: none; }
.link-ledger a:hover { padding-left: .5rem; color: var(--purple); background: var(--lime); }
.link-ledger span { color: var(--muted); font-size: .85rem; }
.legal { padding: clamp(3.5rem,7vw,7rem) 0; }
.legal h1 { font-size: clamp(3rem,7vw,6rem); }
.legal h2 { margin-top: 2.8rem; font-size: 2rem; }

.site-footer { padding: 4.5rem 0 2rem; border-top: 4px solid var(--ink); background: var(--ink); color: white; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 3rem; }
.footer-brand { max-width: 430px; }
.footer-brand h2 { color: var(--lime); font-size: 2.4rem; }
.footer-brand p { color: rgba(255,255,255,.67); font-size: .88rem; }
.footer-title { margin: 0 0 1rem; color: var(--pink); font-size: .68rem; font-weight: 900; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { color: white; font-size: .85rem; text-decoration: none; }
.footer-links a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.5); font-size: .7rem; }
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal:not(.is-visible) { opacity: 0; transform: translateY(20px); }

@media (max-width: 880px) {
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: .8rem 1rem 1.2rem; border-bottom: 3px solid var(--ink); background: var(--paper); }
  .site-nav[data-open="true"] { display: block; }
  .site-nav ul { display: grid; gap: 0; }
  .site-nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-collage { min-height: 560px; margin-left: 2rem; }
  .intro-grid, .article-layout { grid-template-columns: 1fr; gap: 2rem; }
  .article-aside { order: 2; }
  .article-aside-inner { position: static; }
  .review-row { grid-template-columns: 70px 1fr 32px; }
  .review-row p { display: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .score-strip { grid-template-columns: 1fr 1fr; }
  .score-item:nth-child(2) { border-right: 0; }
  .score-item:nth-child(-n+2) { border-bottom: 3px solid var(--ink); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}

@media (max-width: 580px) {
  .brand-copy small { display: none; }
  .home-hero { padding-top: 2.5rem; }
  .hero-collage { min-height: 445px; margin-left: .5rem; }
  .hero-photo-main { inset: 0 8% 13% 0; box-shadow: 7px 7px 0 var(--ink); }
  .hero-photo-small { width: 48%; }
  .sticker { left: -.5rem; width: 88px; }
  .hero-credit { bottom: 15%; max-width: 76%; }
  .review-row { grid-template-columns: 53px 1fr 25px; gap: .7rem; }
  .review-row .num { width: 46px; }
  .cards, .index-grid { grid-template-columns: 1fr; }
  .score-strip { grid-template-columns: 1fr; }
  .score-item { border-right: 0; border-bottom: 3px solid var(--ink); }
  .score-item:last-child { border-bottom: 0; }
  .article-hero { width: 100%; }
  .article-hero img { border-left: 0; border-right: 0; box-shadow: 0 8px 0 var(--purple); }
  .article-hero figcaption { padding-inline: 1rem; }
  .prose { font-size: 1.03rem; }
  .prose > p:first-child { font-size: 1.16rem; }
  .verdict { padding: 1.1rem; box-shadow: 5px 5px 0 var(--lime); }
  .verdict dl { grid-template-columns: 1fr; }
  .verdict dt { padding-bottom: 0; border-bottom: 0; }
  .comparison { display: block; overflow-x: auto; }
  .link-ledger a { grid-template-columns: 1fr auto; }
  .link-ledger span { grid-column: 1/-1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
