/* ════════════════════════════════════════════════════════════
   PMP · Phuket Mobile Phone
   Idea: kintsugi, broken things mended with gold.
   Palette: warm paper · ink · signal red (street sign) · seam gold (wall sign) · Andaman teal (SOS)
   Type: Bricolage Grotesque (display + text) · IBM Plex Sans Thai · Sriracha (hand notes, Thai + Latin)
   ════════════════════════════════════════════════════════════ */
:root {
  --paper: #F2EEE6;
  --paper2: #E9E3D7;
  --card: #FFFDF8;
  --ink: #1B1917;
  --ink2: #4A4540;
  --mute: #8A8378;
  --line: rgba(27, 25, 23, .12);
  --line2: rgba(27, 25, 23, .22);
  --red: #D9252B;
  --red-dk: #A8161C;
  --gold: #C4912A;
  --gold-lt: #E9C46A;
  --sea: #0E4F5C;
  --sea-dk: #0A3843;
  --sea-lt: #8FD0DA;

  --f: 'Bricolage Grotesque', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ft: 'IBM Plex Sans Thai', 'Bricolage Grotesque', sans-serif;
  --fh: 'Sriracha', 'Bricolage Grotesque', cursive;

  --r: 18px;
  --gut: 20px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.55 var(--f); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
html[lang="th"] body { font-family: var(--ft); line-height: 1.7; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--gold-lt); color: var(--ink); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gut); }
main, footer { overflow-x: clip; }
.hand { font-family: var(--fh); font-weight: 400; letter-spacing: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

/* paper fibres */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .25 0 0 0 0 .2 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ───────── Buttons: flat, pressed-in, no glow ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 54px; padding: 0 22px; border-radius: 14px;
  font: 600 16px/1 var(--f); letter-spacing: -.01em; white-space: nowrap;
  transition: transform .3s var(--spring), background .2s, border-color .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
html[lang="th"] .btn { font-family: var(--ft); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:active { transform: translateY(2px); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 3px 0 var(--red-dk); }
.btn--red:active { box-shadow: 0 1px 0 var(--red-dk); }
.btn--line { border: 1.5px solid var(--line2); color: var(--ink); background: transparent; }
@media (hover: hover) {
  .btn--red:hover { background: #E2312F; }
  .btn--line:hover { border-color: var(--ink); }
}

/* ───────── Header ───────── */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 64px; padding: env(safe-area-inset-top) var(--gut) 0;
  transition: background .3s, border-color .3s, transform .45s var(--ease); border-bottom: 1px solid transparent;
}
.hdr.is-hidden { transform: translateY(-100%); }
.hdr.is-solid { background: rgba(242,238,230,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark { width: 34px; height: 34px; }
.logo__word { display: flex; flex-direction: column; line-height: 1; }
.logo__word b { font-weight: 800; font-size: 18px; letter-spacing: .02em; }
.logo__word small { font-size: 11px; font-weight: 500; color: var(--ink2); margin-top: 3px; }
.lang { position: relative; display: flex; padding: 3px; border-radius: 12px; background: rgba(27,25,23,.05); border: 1px solid var(--line); }
.lang button { position: relative; z-index: 1; height: 30px; min-width: 44px; padding: 0 10px; border-radius: 9px; font: 600 13px/1 var(--f); color: var(--ink2); transition: color .3s; }
.lang button[lang="th"] { font-family: var(--ft); }
.lang button[aria-pressed="true"] { color: var(--paper); }
.lang__pill { position: absolute; top: 3px; bottom: 3px; left: 3px; width: var(--pw, 44px); border-radius: 9px; background: var(--ink); transform: translateX(var(--px, 0)); transition: transform .45s var(--spring), width .45s var(--spring); }

.status { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--mute); flex: none; }
.status.is-open i { background: #2FA45A; box-shadow: 0 0 0 0 rgba(47,164,90,.5); animation: ping 2.2s infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 7px rgba(47,164,90,0); } }

/* ───────── Reveal ───────── */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }

/* ───────── Section heads ───────── */
.sec { position: relative; padding: 96px 0; }
.sh { margin-bottom: 34px; }
.sh__k { display: inline-block; font-size: 21px; line-height: 1; color: var(--red); transform: rotate(-2deg); margin-bottom: 14px; }
.sh__k.rv.in { transform: rotate(-2deg); }
.sh__t { font-weight: 750; font-size: clamp(36px, 10vw, 72px); line-height: 1; letter-spacing: -.04em; }
.sh__t em { font-style: normal; color: var(--mute); }
html[lang="th"] .sh__t { font-family: var(--ft); font-weight: 700; font-size: clamp(32px, 8.6vw, 60px); line-height: 1.25; letter-spacing: 0; }

/* gold seam divider */
.divider { position: absolute; left: 0; top: 0; width: 100%; height: 22px; color: var(--gold); opacity: .55; transform: translateY(-50%); }

/* tape + print, shared by About and Visit */
.print { position: relative; background: var(--card); padding: 8px 8px 38px; border-radius: 3px; transform: rotate(var(--r, 0deg)); box-shadow: 0 1px 2px rgba(27,25,23,.1), 0 18px 30px -20px rgba(27,25,23,.45); }
.print.rv { transform: translateY(18px) rotate(var(--r, 0deg)); }
.print.rv.in { transform: rotate(var(--r, 0deg)); }
.print img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 1px; background: var(--paper2); }
.print::before { content: ''; position: absolute; top: -11px; left: 50%; width: 76px; height: 22px; transform: translateX(-50%) rotate(-4deg); background: rgba(233,222,196,.78); box-shadow: 0 1px 2px rgba(0,0,0,.06); clip-path: polygon(3% 0, 97% 4%, 100% 50%, 96% 100%, 2% 96%, 0 45%); z-index: 1; }
.print figcaption { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-size: 17px; color: var(--ink2); line-height: 1.2; }
.print--wide img { aspect-ratio: auto; height: auto; }

/* ═════════ 01 HERO ═════════ */
.hero { position: relative; display: flex; flex-direction: column; padding-top: calc(76px + env(safe-area-inset-top)); overflow: hidden; }
.hero::before { /* cutting-mat grid */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px; background-position: -1px -1px;
  -webkit-mask: radial-gradient(130% 75% at 75% 45%, #000 20%, transparent 75%); mask: radial-gradient(130% 75% at 75% 45%, #000 20%, transparent 75%);
  opacity: .7;
}
.ruler { position: absolute; left: 0; top: 64px; bottom: 0; width: 14px; pointer-events: none; opacity: .8;
  background-image: repeating-linear-gradient(180deg, var(--line2) 0 1px, transparent 1px 40px), repeating-linear-gradient(180deg, var(--line) 0 1px, transparent 1px 8px);
  background-size: 14px 100%, 7px 100%; background-repeat: no-repeat; }

.tag { position: absolute; z-index: 2; top: calc(96px + env(safe-area-inset-top)); right: 18px; width: 158px; padding: 12px 14px 12px 26px; background: var(--card); border-radius: 4px 12px 12px 4px; transform: rotate(7deg); box-shadow: 0 1px 2px rgba(27,25,23,.1), 0 16px 28px -18px rgba(27,25,23,.5); animation: tagIn 1s 1.6s var(--spring) both; }
.tag::before { content: ''; position: absolute; left: 9px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 1px 2px rgba(0,0,0,.25); }
.tag::after { content: ''; position: absolute; left: -46px; top: calc(50% - 26px); width: 60px; height: 30px; border: 1.5px solid #B9A98A; border-right: 0; border-bottom: 0; border-radius: 40px 0 0 0; transform: rotate(-18deg); }
@keyframes tagIn { from { opacity: 0; transform: rotate(18deg) translateY(-30px); } }
.tag__h { display: flex; justify-content: space-between; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); padding-bottom: 7px; border-bottom: 1px dashed var(--line2); }
html[lang="th"] .tag__h { font-family: var(--ft); letter-spacing: .02em; text-transform: none; font-size: 11px; }
.tag__l { margin-top: 8px; font-size: 17px; line-height: 1.15; color: var(--ink); }
.tag__ok { margin-top: 4px; font-size: 19px; line-height: 1; color: var(--red); }

.hero__in { position: relative; display: flex; flex-direction: column; padding-top: 150px; padding-bottom: 34px; }
.hero__k { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 500; color: var(--ink2); }
.pin { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(217,37,43,.14); }

.brk { position: relative; display: inline-grid; align-self: flex-start; margin: 14px 0 0 -.05em; font-weight: 800; font-variation-settings: 'opsz' 96; font-size: clamp(64px, 23vw, 290px); line-height: .9; letter-spacing: -.055em; cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none; }
html[lang="th"] .brk { font-family: var(--ft); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; font-size: clamp(96px, 30vw, 320px); }
.brk__p { grid-area: 1 / 1; padding: 0 .06em .08em 0; transition: transform 1.1s var(--spring); will-change: transform; }
.brk__a { clip-path: polygon(0 0, 100% 0, 100% 55%, 84% 45%, 71% 65%, 60% 45%, 46% 60%, 37% 40%, 22% 60%, 14% 45%, 0 55%); transform: translate(-.035em, -.05em) rotate(-2.4deg); }
.brk__b { clip-path: polygon(0 55%, 14% 45%, 22% 60%, 37% 40%, 46% 60%, 60% 45%, 71% 65%, 84% 45%, 100% 55%, 100% 100%, 0 100%); transform: translate(.045em, .035em) rotate(1.6deg); color: #3A3631; }
.brk__seam { position: absolute; left: 0; top: 0; width: calc(100% - .06em); height: calc(100% - .08em); overflow: visible; pointer-events: none; }
.brk__seam path { fill: none; stroke: var(--gold); stroke-width: 3.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.brk.is-fixed .brk__p { transform: none; }
.brk.is-fixed .brk__b { color: inherit; transition: transform 1.1s var(--spring), color .6s .4s; }
.brk.is-fixed .brk__seam path { animation: seam 1s .45s var(--ease) forwards; }
@keyframes seam { to { stroke-dashoffset: 0; } }

.hero__sub { margin-top: 22px; font-size: 19px; line-height: 1.45; color: var(--ink2); max-width: 22ch; }
.hero__sub b { font-weight: 650; color: var(--ink); }
html[lang="th"] .hero__sub { line-height: 1.6; }
.hero__cta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; margin-top: 28px; max-width: 420px; }
.hero__facts { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding-top: 16px; padding-bottom: 24px; font-size: 14px; color: var(--ink2); }
.hero__facts::before { content: ''; position: absolute; top: 0; left: var(--gut); right: var(--gut); height: 1px; background: var(--line); }
.hero__facts > span { display: inline-flex; align-items: center; gap: 5px; }
.hero__facts b { color: var(--ink); font-weight: 700; }
.hero__facts svg { width: 13px; height: 13px; color: var(--gold); }

/* ═════════ 02 WHAT WE FIX ═════════ */
.fix { position: relative; padding: 80px 0 90px; }
.fix__list { display: grid; margin-top: 8px; }
.fix__list li { position: relative; display: flex; align-items: flex-start; flex-wrap: wrap; column-gap: 10px; font-weight: 800; font-variation-settings: 'opsz' 96; font-size: clamp(46px, 13.4vw, 132px); line-height: 1.04; letter-spacing: -.05em; color: #D5CEC1; transition: color .5s var(--ease), transform .6s var(--ease); }
html[lang="th"] .fix__list li { font-family: var(--ft); font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.fix__list sup { font-size: 13px; font-weight: 600; letter-spacing: 0; margin-top: .75em; }
.fix__list li.on { color: var(--ink); }
.fix__list li.cur { color: var(--red); transform: translateX(.08em); }
.fix__list li.fix__sea.on { color: var(--sea); }
.fix__list li.fix__sea.cur { color: #12707F; }
.fix__hand { flex-basis: 100%; font-family: var(--fh); font-weight: 400; font-size: 19px; line-height: 1.1; letter-spacing: 0; color: var(--gold); transform: rotate(-2deg); margin: -.15em 0 .5em .15em; opacity: 0; transition: opacity .5s .2s; }
.fix__list li.on .fix__hand { opacity: 1; }
.fix__note { margin-top: 36px; max-width: 26ch; font-size: 19px; line-height: 1.45; color: var(--ink2); }

/* ═════════ 03 ABOUT ═════════ */
.about { position: relative; z-index: 2; background: var(--paper2); padding: 90px 0 120px; border-radius: 0 0 34px 34px; }
.about .divider { opacity: .8; }
.about__grid { display: grid; gap: 50px; }
.about__txt { position: relative; }
.about__p { margin-top: 18px; font-size: 18px; line-height: 1.6; color: var(--ink2); max-width: 34ch; }
.about__p--hl { color: var(--ink); font-weight: 600; }
.about__p--hl::first-letter { color: var(--red); }
.about__sign { margin-top: 18px; font-size: 26px; color: var(--ink); transform: rotate(-3deg); transform-origin: left; }
.about__sign.rv.in { transform: rotate(-3deg); }
.about__sign span::before { content: '— '; color: var(--gold); }
.stamp { position: absolute; right: 0; bottom: -18px; width: 96px; color: var(--red); opacity: .8; mix-blend-mode: multiply; transform: rotate(calc(-14deg + var(--rot, 0deg))); }
.stamp text { font-family: var(--f); font-weight: 700; }

.prints { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 16px; padding: 10px 4px 0; }
.prints .print:nth-child(2) { margin-top: 36px; }
.prints .print:nth-child(3) { margin-top: -18px; }
.about__bridge { margin-top: 70px; font-family: var(--fh); font-size: 24px; line-height: 1.3; color: var(--sea); max-width: 22ch; transform: rotate(-1.5deg); }
.about__bridge.rv.in { transform: rotate(-1.5deg); }
.about__bridge::after { content: ' ↓'; color: var(--gold); }

/* ═════════ 04 SEA SOS · water rises with scroll ═════════ */
.sea { position: relative; height: 260vh; margin-top: -34px; margin-bottom: -34px; color: var(--paper); --lvl: 8; }
.sea__stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: radial-gradient(100% 60% at 80% 0%, #145F6D, transparent 70%), linear-gradient(180deg, var(--sea) 0%, var(--sea-dk) 100%); }
.sea__stick::before { /* faint ripple lines */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .12;
  background-image: repeating-radial-gradient(circle at 85% 20%, transparent 0 22px, rgba(255,255,255,.6) 22px 23px);
  -webkit-mask: radial-gradient(60% 45% at 85% 20%, #000, transparent 70%); mask: radial-gradient(60% 45% at 85% 20%, #000, transparent 70%);
}
.sea__water { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--lvl) * 1%); }
.sea__body { position: absolute; inset: 18px 0 0; background: linear-gradient(180deg, #1C7F8F 0%, #0F5967 40%, #083640 100%); overflow: hidden; }
.sea__wave { position: absolute; left: 0; top: 0; width: 200%; height: 26px; animation: wave 6s linear infinite; }
.sea__wave path { fill: #1C7F8F; }
.sea__wave--b { top: -6px; opacity: .5; animation-duration: 9s; animation-direction: reverse; }
.sea__wave--b path { fill: var(--sea-lt); }
@keyframes wave { to { transform: translateX(-50%); } }
.sea__body i { position: absolute; bottom: -10px; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); animation: bubble 5s linear infinite; }
.sea__body i:nth-child(1) { left: 12%; }
.sea__body i:nth-child(2) { left: 28%; width: 5px; height: 5px; animation-delay: 1.4s; }
.sea__body i:nth-child(3) { left: 46%; animation-delay: 2.6s; }
.sea__body i:nth-child(4) { left: 61%; width: 12px; height: 12px; animation-delay: .8s; }
.sea__body i:nth-child(5) { left: 74%; width: 6px; height: 6px; animation-delay: 3.3s; }
.sea__body i:nth-child(6) { left: 86%; animation-delay: 2s; }
.sea__body i:nth-child(7) { left: 92%; width: 5px; height: 5px; animation-delay: 4.1s; }
@keyframes bubble { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(8px, -60vh); opacity: 0; } }
.sea__phone { position: absolute; right: 12%; top: -34px; width: 34px; z-index: 1; animation: bob 3.2s ease-in-out infinite; }
.sea__phone rect { fill: var(--ink); stroke: rgba(255,255,255,.7); stroke-width: 2; }
.sea__phone .f { fill: #000; stroke: none; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-14deg); } 50% { transform: translateY(8px) rotate(10deg); } }

.sea__in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 80px; padding-bottom: 50px; }
.sea__k { display: flex; align-items: center; gap: 10px; font-size: 21px; line-height: 1; color: var(--gold-lt); }
.sea__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(217,37,43,.25); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.sea__t { margin-top: 16px; font-weight: 800; font-variation-settings: 'opsz' 96; font-size: clamp(48px, 13.6vw, 112px); letter-spacing: -.05em; line-height: .95; }
.sea__t span:last-child { color: var(--sea-lt); }
html[lang="th"] .sea__t { font-family: var(--ft); font-weight: 700; font-size: clamp(42px, 11.6vw, 96px); letter-spacing: -.01em; line-height: 1.2; }
.sea__rules { counter-reset: r; display: grid; gap: 16px; margin-top: 28px; max-width: 520px; }
.sea__rules li { counter-increment: r; position: relative; padding-left: 44px; opacity: .2; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.sea__rules li.on { opacity: 1; transform: none; }
.sea__rules li::before { content: counter(r); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold-lt); color: var(--ink); font: 700 14px/1 var(--f); }
.sea__rules b { display: block; font-size: 19px; font-weight: 650; letter-spacing: -.015em; line-height: 1.3; }
.sea__rules span { display: block; margin-top: 3px; font-size: 15px; color: rgba(242,238,230,.75); line-height: 1.45; }
.sea__end { margin-top: 26px; display: grid; gap: 14px; max-width: 420px; opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.sea__end.on { opacity: 1; transform: none; pointer-events: auto; }
.sea__end .btn--red { box-shadow: 0 3px 0 #6E0E12; }
.sea__n { font-size: 13.5px; color: rgba(242,238,230,.7); line-height: 1.5; }

/* ═════════ 05 REVIEWS ═════════ */
.rev { position: relative; z-index: 2; background: var(--paper); border-radius: 34px 34px 0 0; padding-top: 72px; }
.rev__head { display: grid; gap: 4px; }
.score { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.score__n { font-weight: 800; font-variation-settings: 'opsz' 96; font-size: 104px; letter-spacing: -.06em; line-height: .8; color: var(--red); font-variant-numeric: tabular-nums; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 20px; height: 20px; }
.stars .half { -webkit-mask: linear-gradient(90deg, #000 70%, rgba(0,0,0,.2) 70%); mask: linear-gradient(90deg, #000 70%, rgba(0,0,0,.2) 70%); }
.score__s { margin-top: 8px; font-size: 15px; color: var(--ink2); }
.score__s b { color: var(--ink); font-weight: 650; }

.cards { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 14px var(--gut) 22px; }
.cards::-webkit-scrollbar { display: none; }
.card { flex: 0 0 84%; scroll-snap-align: center; position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 26px 22px 22px; border-radius: 4px; background: var(--card); transform: rotate(var(--r, 0deg)); box-shadow: 0 1px 2px rgba(27,25,23,.08), 0 18px 30px -22px rgba(27,25,23,.4); }
.card.rv { transform: translateY(18px) rotate(var(--r, 0deg)); }
.card.rv.in { transform: rotate(var(--r, 0deg)); }
.card::before { content: ''; position: absolute; top: -10px; left: 24px; width: 64px; height: 20px; transform: rotate(-5deg); background: rgba(233,222,196,.8); clip-path: polygon(3% 0, 97% 4%, 100% 50%, 96% 100%, 2% 96%, 0 45%); }
.card__q { position: absolute; top: 8px; right: 18px; font-size: 64px; line-height: 1; color: var(--red); opacity: .25; }
.card blockquote { font-size: 17px; line-height: 1.5; color: var(--ink); }
html[lang="th"] .card blockquote { line-height: 1.75; }
.card figcaption { display: flex; align-items: center; gap: 12px; }
.av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--paper2); color: var(--ink); font-weight: 700; }
.card figcaption b { display: block; font-size: 15px; font-weight: 650; }
.card figcaption small { display: block; font-size: 12.5px; color: var(--mute); margin-top: 2px; }

.rev__foot { display: grid; gap: 18px; margin-top: 22px; }
.rev__facts { font-size: 15px; color: var(--ink2); }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: 16px; justify-self: start; padding-bottom: 3px; background: linear-gradient(var(--red), var(--red)) 0 100% / 100% 2px no-repeat; }
.link svg { width: 18px; height: 18px; transition: transform .35s var(--spring); }
@media (hover: hover) { .link:hover svg { transform: translate(3px, -3px); } }

/* ═════════ 06 VISIT ═════════ */
.vis { padding-top: 90px; padding-bottom: 50px; }
.vis__grid { display: grid; gap: 34px; }
.photos { display: grid; gap: 30px; padding: 0 6px; }
.info { border-radius: var(--r); background: var(--card); border: 1px solid var(--line); padding: 24px; box-shadow: 0 18px 30px -26px rgba(27,25,23,.4); }
.info dl > div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px dashed var(--line2); }
.info dl > div:first-child { padding-top: 0; }
.info dt { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
html[lang="th"] .info dt { letter-spacing: .02em; text-transform: none; font-size: 13px; }
.info dd { font-size: 17px; font-weight: 500; line-height: 1.45; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.info dd .status { font-size: 14px; color: var(--ink2); }
.info__tel { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.info__cta { display: grid; grid-template-columns: repeat(auto-fit, minmax(136px, 1fr)); gap: 8px; margin-top: 22px; }
.vis__grid > *, .about__grid > *, .hero__cta > * { min-width: 0; }

/* ───────── Footer ───────── */
.ftr { position: relative; padding: 30px 0 calc(40px + env(safe-area-inset-bottom)); overflow: hidden; }
.ftr__big { position: relative; font-weight: 800; font-variation-settings: 'opsz' 96; font-size: 42vw; letter-spacing: -.06em; line-height: .8; margin-left: -.04em; color: var(--red); }
.ftr__big span { display: block; padding-bottom: .04em; }
.ftr__seam { position: absolute; left: 0; top: 42%; width: 92%; height: .1em; color: var(--gold-lt); }
.ftr__row { display: grid; gap: 6px; margin-top: 22px; }
.ftr__line { font-size: 26px; color: var(--ink); transform: rotate(-1.5deg); transform-origin: left; }
.ftr__s { font-size: 13px; color: var(--mute); }

/* ───────── Mobile action bar ───────── */
.bar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 6px; padding: 6px; border-radius: 18px;
  background: rgba(255,253,248,.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line); box-shadow: 0 16px 36px -14px rgba(27,25,23,.45);
  transform: translateY(140%); transition: transform .6s var(--spring);
}
.bar.is-on { transform: none; }
.bar a { display: flex; align-items: center; justify-content: center; gap: 7px; height: 50px; border-radius: 13px; font-size: 15px; font-weight: 650; color: var(--ink); -webkit-tap-highlight-color: transparent; }
.bar a:active { transform: scale(.96); }
.bar svg { width: 18px; height: 18px; }
.bar__main { background: var(--red); color: #fff !important; }

/* ═════════ small phones (≤ 359) ═════════ */
@media (max-width: 359px) {
  :root { --gut: 16px; }
  .btn { padding: 0 14px; font-size: 15px; }
  .tag { width: 140px; right: 10px; }
  .hero__in { padding-top: 136px; }
}

/* ═════════ ≥ 560 ═════════ */
@media (min-width: 560px) {
  :root { --gut: 28px; }
  .card { flex-basis: 60%; }
  .tag { right: 40px; }
  .prints { max-width: 600px; }
}

/* ═════════ ≥ 900 desktop ═════════ */
@media (min-width: 900px) {
  :root { --gut: 40px; }
  .bar { display: none; }
  .ftr { padding-bottom: 50px; }
  .hdr { height: 76px; }
  .sec { padding: 140px 0; }
  .sh { margin-bottom: 56px; }
  .hero { min-height: 100svh; }
  .hero__in { flex: 1; justify-content: center; padding-top: 40px; }
  .hero__sub { font-size: 22px; }
  .tag { top: 15%; right: 7%; width: 190px; transform: rotate(8deg) scale(1.1); }
  .ruler { width: 18px; }
  .fix { padding: 120px 0 140px; }
  .fix__note { font-size: 21px; }
  .about { padding: 140px 0 160px; }
  .about__grid { grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
  .about__txt { position: sticky; top: 130px; }
  .stamp { width: 124px; right: 6%; bottom: -40px; }
  .prints { gap: 40px 28px; }
  .about__bridge { font-size: 30px; }
  .sea__in { padding-top: 100px; }
  .sea__phone { width: 48px; top: -48px; }
  .rev { padding-top: 140px; }
  .rev__head { grid-template-columns: 1fr auto; align-items: end; }
  .score { margin-bottom: 56px; }
  .score__n { font-size: 150px; }
  .cards { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 14px 0 0; overflow: visible; gap: 22px; }
  .card { padding: 32px 28px 26px; }
  .rev__foot { grid-template-columns: 1fr auto; align-items: center; margin-top: 44px; }
  .vis { padding-bottom: 60px; }
  .vis__grid { grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
  .photos { grid-template-columns: 1fr 1fr; align-items: start; gap: 28px; }
  .photos .print:nth-child(2) { margin-top: 40px; }
  .info { padding: 32px; position: sticky; top: 120px; }
  .ftr__big { font-size: min(36vw, 460px); }
  .ftr__row { grid-template-columns: 1fr auto; align-items: end; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; }
  .brk__p { transform: none !important; }
  .brk__seam path { stroke-dashoffset: 0; }
  .sea { height: auto; }
  .sea__stick { position: relative; height: auto; min-height: 100svh; }
  .sea__rules li, .sea__end { opacity: 1; transform: none; pointer-events: auto; }
}
