/* The Art Shop — design tokens come straight from the logo:
   red disc #CA2233, blue ring #38479A, white die-cut outline. */
:root {
  --red: #CA2233;
  --red-600: #B01C2C;
  --red-800: #8A1522;
  --red-50: #FCEDEE;
  --blue: #38479A;
  --blue-700: #2B3880;
  --blue-900: #161C45;
  --ink: #191D3A;
  --ink-2: #3D4263;
  --muted: #5B6080;
  --paper: #FBF7F0;
  --paper-2: #F3ECE0;
  --line: #E4DACA;
  --white: #FFFFFF;
  --gold: #E3B04B;

  --f-head: 'Anuphan', 'IBM Plex Sans Thai Looped', system-ui, sans-serif;
  --f-body: 'IBM Plex Sans Thai Looped', 'Noto Sans Thai Looped', system-ui, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --shadow-sticker: 0 1px 0 rgba(25, 29, 58, .06), 0 2px 6px -2px rgba(25, 29, 58, .12), 0 22px 44px -22px rgba(22, 28, 69, .45);
  --shadow-card: 0 1px 0 rgba(25, 29, 58, .04), 0 18px 40px -28px rgba(22, 28, 69, .35);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --t-fast: 180ms;
  --t-med: 320ms;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;

  --pj: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg transform='translate(16 16)'%3E%3Cpath d='M12 .8 23.2 12 12 23.2.8 12Z' fill='none' stroke='%23000' stroke-width='1'/%3E%3Cg fill='%23000'%3E%3Cpath d='M12 12C9.6 9.6 9.9 6 12 3.6 14.1 6 14.4 9.6 12 12Z'/%3E%3Cpath transform='rotate(90 12 12)' d='M12 12C9.6 9.6 9.9 6 12 3.6 14.1 6 14.4 9.6 12 12Z'/%3E%3Cpath transform='rotate(180 12 12)' d='M12 12C9.6 9.6 9.9 6 12 3.6 14.1 6 14.4 9.6 12 12Z'/%3E%3Cpath transform='rotate(270 12 12)' d='M12 12C9.6 9.6 9.9 6 12 3.6 14.1 6 14.4 9.6 12 12Z'/%3E%3C/g%3E%3C/g%3E%3Ccircle cx='0' cy='0' r='1.6'/%3E%3Ccircle cx='56' cy='0' r='1.6'/%3E%3Ccircle cx='0' cy='56' r='1.6'/%3E%3Ccircle cx='56' cy='56' r='1.6'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.75 var(--f-body);
  overflow-x: clip; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.3; margin: 0; letter-spacing: -.005em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
/* phrase-level no-break for Thai; a phrase longer than the line may still wrap */
.nw { white-space: nowrap; }
@media (max-width: 380px) { .nw { white-space: normal; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.i { width: 20px; height: 20px; flex: none; }

/* staging */
.staging-bar { background: #FFE27A; color: var(--ink); font-size: .8125rem; text-align: center; padding: 6px 12px; font-weight: 500; }
.todo { background: #FFE27A; box-shadow: 0 0 0 2px #FFE27A; border-radius: 3px; border-bottom: 1px dashed #9A7B00; color: var(--ink); }
body:not(.is-staging) .todo { background: none; box-shadow: none; border: 0; color: inherit; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font: 600 1rem/1 var(--f-head); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; touch-action: manipulation;
  transition: transform var(--t-fast) var(--ease-out), background-color var(--t-fast), box-shadow var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -12px rgba(202, 34, 51, .8), inset 0 -2px 0 rgba(0, 0, 0, .15); }
.btn-primary:hover { background: var(--red-600); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-on-red { background: #fff; color: var(--red); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); }
.btn-on-red:hover { background: var(--paper); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.btn .i { width: 20px; height: 20px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251, 247, 240, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color var(--t-med), box-shadow var(--t-med); }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(22, 28, 69, .5); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 4px 12px -4px rgba(22, 28, 69, .4); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font: 700 1.125rem/1.1 var(--f-head); letter-spacing: -.01em; }
.brand-text small { font-size: .8125rem; color: var(--muted); }
.nav ul { display: flex; gap: 4px; }
.nav a { display: block; padding: 10px 14px; border-radius: 999px; font: 500 .9688rem/1.2 var(--f-head); text-decoration: none; color: var(--ink-2); transition: background-color var(--t-fast), color var(--t-fast); }
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.nav a[aria-current] { color: var(--red); background: var(--red-50); }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: #fff; place-items: center; cursor: pointer; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 960px) {
  .nav-toggle { display: grid; }
  .header-cta { display: none; }
  .nav ul {
    position: absolute; left: 12px; right: 12px; top: calc(var(--header-h) - 4px);
    flex-direction: column; gap: 2px; padding: 10px; background: #fff; border: 1px solid var(--line);
    border-radius: var(--r-md); box-shadow: 0 30px 60px -30px rgba(22, 28, 69, .5);
    opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
    transition: opacity var(--t-fast), transform var(--t-fast) var(--ease-out), visibility 0s linear var(--t-fast);
  }
  .nav ul.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
  .nav a { padding: 14px 16px; font-size: 1.0625rem; border-radius: 10px; }
}

/* ---------- ornament / eyebrow ---------- */
.pj { color: var(--red); flex: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 .9375rem/1.2 var(--f-head); color: var(--red); margin-bottom: 14px; }
.eyebrow .num { font-variant-numeric: tabular-nums; color: var(--ink); opacity: .55; }
.sec-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-title { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 700; line-height: 1.22; }
.sec-sub { margin-top: 14px; color: var(--muted); font-size: 1.125rem; max-width: 36em; }
.on-dark .sec-title { color: #fff; }
.on-dark .eyebrow { color: #FF8C97; }
.on-dark .eyebrow .num { color: #fff; }
.on-dark .pj { color: #FF8C97; }
.split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.split-head .sec-head { margin-bottom: 0; }

/* the "die-cut sticker" frame, echoing the logo's white outline */
.sticker { display: block; background: #fff; padding: 7px; border-radius: 18px; box-shadow: var(--shadow-sticker); overflow: hidden; }
.sticker img, .sticker svg { border-radius: 12px; width: 100%; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(32px, 6vw, 80px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.hero-pattern, .svc-hero .hero-pattern, .page-hero .hero-pattern {
  position: absolute; inset: 0; pointer-events: none;
  background-color: var(--blue); opacity: .07;
  -webkit-mask: var(--pj) 0 0 / 56px 56px repeat; mask: var(--pj) 0 0 / 56px 56px repeat;
}
.hero-pattern::after { content: ""; }
.hero::before, .svc-hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(ellipse 70% 80% at 25% 40%, var(--paper) 35%, rgba(251, 247, 240, 0) 75%);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { display: flex; flex-direction: column; gap: 18px; }
.h1-kicker { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; font: 600 1rem/1 var(--f-head); color: var(--red); background: #fff; border: 1px solid var(--line); padding: 10px 16px 10px 12px; border-radius: 999px; box-shadow: var(--shadow-card); }
.h1-main { font-size: clamp(2.75rem, 6.6vw, 5.25rem); line-height: 1.16; font-weight: 700; letter-spacing: -.015em; }
.h1-main em { font-style: normal; color: var(--red); position: relative; white-space: nowrap; display: inline-block; }
.h1-main em::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -.08em; height: .22em; z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14C60 5 150 3 297 9' fill='none' stroke='%2338479A' stroke-width='6' stroke-linecap='round' opacity='.9'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.hero-lead { margin: 24px 0 32px; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 34em; }
.hero-proof { margin-top: 36px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-proof p { font-size: .875rem; color: var(--muted); }
.hero-proof ul { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-proof li { font: 500 .875rem/1 var(--f-head); padding: 9px 14px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }

.hero-art { position: relative; aspect-ratio: 1 / 1.02; max-width: 580px; justify-self: end; width: 100%; }
.ha { position: absolute; margin: 0; }
.ha img { aspect-ratio: inherit; object-fit: cover; height: 100%; }
.ha-1 { left: 4%; top: 0; width: 44%; aspect-ratio: 3 / 4; transform: rotate(-5deg); z-index: 2; }
.ha-2 { right: 0; top: 10%; width: 58%; aspect-ratio: 4 / 3; transform: rotate(4deg); z-index: 1; }
.ha-3 { left: 18%; bottom: 0; width: 56%; aspect-ratio: 4 / 3; transform: rotate(-2deg); z-index: 3; }
.ha-1 img, .ha-2 img, .ha-3 img { width: 100%; height: 100%; }
.ha-seal { position: absolute; right: 2%; bottom: 8%; z-index: 4; width: 26%; border-radius: 50%; background: #fff; padding: 6px; box-shadow: var(--shadow-sticker); animation: spin-in 900ms var(--ease-out) both 300ms; }
.ha-seal img { width: 100%; border-radius: 50%; }
.ha-note { position: absolute; left: -2%; top: 58%; z-index: 4; font: 700 .9375rem/1.25 var(--f-head); background: var(--gold); color: var(--ink); padding: 12px 16px; border-radius: 12px; transform: rotate(-7deg); box-shadow: var(--shadow-sticker); }
@keyframes spin-in { from { transform: rotate(-120deg) scale(.6); opacity: 0; } to { transform: rotate(0) scale(1); opacity: 1; } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { justify-self: center; max-width: 480px; margin-top: 8px; }
  .hero::before { background: radial-gradient(ellipse 90% 60% at 50% 25%, var(--paper) 40%, rgba(251, 247, 240, 0) 80%); }
}

/* ---------- marquee ---------- */
.marquee-clip { overflow: hidden; padding: 24px 0; margin: -36px 0 -24px; position: relative; z-index: 5; }
.marquee { background: var(--red); color: #fff; overflow: hidden; transform: rotate(-1.2deg); margin: 0 -20px; padding: 14px 0; box-shadow: 0 16px 30px -20px rgba(138, 21, 34, .8); position: relative; z-index: 5; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 48s linear infinite; font: 600 1.25rem/1 var(--f-head); white-space: nowrap; }
.marquee .pj { color: #FFD2D7; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.sec-tight { padding-top: clamp(24px, 4vw, 48px); }
.sec-tint { background: var(--paper-2); }
.sec-ink { background: var(--blue-900); color: #E6E8F5; overflow: hidden; }
.sec-ink::before { content: ""; position: absolute; inset: 0; background: #fff; opacity: .05; -webkit-mask: var(--pj) 0 0 / 56px 56px repeat; mask: var(--pj) 0 0 / 56px 56px repeat; pointer-events: none; }
.sec-ink .wrap { position: relative; }

/* services grid */
.svc-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 24px); }
.svc-card { grid-column: span 4; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px; text-decoration: none; box-shadow: var(--shadow-card); transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med), border-color var(--t-med); }
.svc-card.svc-big { grid-column: span 6; }
.svc-card:nth-child(n+6) { grid-column: span 6; }
.svc-card:hover { transform: translateY(-4px); border-color: #D4C7B2; box-shadow: 0 30px 50px -30px rgba(22, 28, 69, .45); }
.svc-media { box-shadow: none; padding: 0; border-radius: 16px; background: var(--paper-2); }
.svc-media img, .svc-media .illus { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; height: auto; border-radius: 16px; transition: transform 600ms var(--ease-out); }
.svc-big .svc-media img, .svc-big .svc-media .illus, .svc-card:nth-child(n+6) .svc-media img, .svc-card:nth-child(n+6) .svc-media .illus { aspect-ratio: 16 / 10; }
.svc-card:hover .svc-media img { transform: scale(1.04); }
.svc-media img { object-position: 50% 35%; }
.svc-body { padding: 20px 12px 12px; display: flex; flex-direction: column; flex: 1; }
.svc-num { font: 600 .875rem/1 var(--f-head); color: var(--red); margin-bottom: 10px; }
.svc-body h3 { font-size: clamp(1.375rem, 2vw, 1.625rem); font-weight: 700; }
.svc-short { font: 500 .9375rem/1.4 var(--f-head); color: var(--blue); margin-top: 6px; }
.svc-text { color: var(--muted); margin-top: 10px; font-size: 1rem; }
.svc-more { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 8px; font: 600 .9375rem/1 var(--f-head); color: var(--ink); }
.svc-more .i { transition: transform var(--t-fast) var(--ease-out); width: 18px; height: 18px; }
.svc-card:hover .svc-more .i { transform: translateX(4px); }
.svc-card:hover .svc-more { color: var(--red); }
@media (max-width: 1023px) { .svc-card, .svc-card.svc-big, .svc-card:nth-child(n+6) { grid-column: span 6; } }
@media (max-width: 639px) { .svc-card, .svc-card.svc-big, .svc-card:nth-child(n+6) { grid-column: 1 / -1; } }

/* gallery (masonry via columns) */
.gallery { columns: 4 200px; column-gap: clamp(14px, 1.8vw, 22px); }
.g-item { display: block; width: 100%; break-inside: avoid; margin: 0 0 clamp(14px, 1.8vw, 22px); padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; }
.g-item .sticker { transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med); }
.g-item:nth-child(3n+1) .sticker { transform: rotate(-.6deg); }
.g-item:nth-child(3n+2) .sticker { transform: rotate(.5deg); }
.g-item:hover .sticker { transform: rotate(0) translateY(-3px); box-shadow: 0 30px 50px -28px rgba(22, 28, 69, .55); }
.g-cap { display: block; font-size: .9375rem; line-height: 1.5; color: var(--ink-2); padding: 12px 4px 0; }
.gallery-all .g-item[hidden] { display: none; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 500 .9688rem/1 var(--f-head); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.chip span { font-size: .8125rem; color: var(--muted); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip[aria-pressed="true"] span { color: #C7CAE0; }

/* audiences */
.aud-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.aud { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-lg); padding: 10px 10px 22px; }
.aud-media { border-radius: 16px; overflow: hidden; margin-bottom: 18px; background: #0E1233; }
.aud-media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; opacity: .92; }
.aud h3 { color: #fff; font-size: 1.375rem; padding: 0 10px; }
.aud p { color: #BFC3DE; padding: 6px 10px 0; font-size: 1rem; }
@media (max-width: 1023px) { .aud-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .aud-grid { grid-template-columns: 1fr; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 28px 32px; box-shadow: var(--shadow-card); }
.step-n { display: block; font: 700 5rem/1 var(--f-head); color: transparent; -webkit-text-stroke: 2px var(--red); margin-bottom: 14px; }
.step h3 { font-size: 1.5rem; }
.step p { margin-top: 8px; color: var(--muted); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 58px; right: -22px; width: 24px; height: 2px; background: repeating-linear-gradient(90deg, var(--red) 0 6px, transparent 6px 10px); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .step:not(:last-child)::after { display: none; } }

/* faq */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-grid > div:first-child { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; align-items: center; gap: 16px; justify-content: space-between; padding: 22px 0; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); font-weight: 600; }
.faq-ic { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); transition: transform var(--t-med) var(--ease-out), background-color var(--t-fast), color var(--t-fast); }
.faq-item[open] .faq-ic { transform: rotate(45deg); background: var(--red); color: #fff; border-color: var(--red); }
.faq-item summary:hover h3 { color: var(--red); }
.faq-a { padding: 0 56px 24px 0; color: var(--ink-2); }
.faq-a a { color: var(--blue); font-weight: 500; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid > div:first-child { position: static; } .faq-a { padding-right: 0; } }

/* CTA band */
.cta-band { background: var(--red); color: #fff; position: relative; overflow: hidden; padding: clamp(56px, 8vw, 96px) 0; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(0, 0, 0, .05) 0 14px, transparent 14px 36px); }
.cta-inner { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 48px); align-items: center; }
.cta-logo { width: clamp(96px, 12vw, 140px); height: auto; border-radius: 50%; background: #fff; padding: 6px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; }
.cta-band p { margin-top: 10px; color: #FFE1E4; font-size: 1.125rem; }
@media (max-width: 960px) { .cta-inner { grid-template-columns: 1fr; text-align: left; } }

/* footer */
.site-footer { background: var(--ink); color: #C9CCE0; position: relative; }
.thai-band { height: 28px; background-color: var(--gold); -webkit-mask: var(--pj) 0 50% / 28px 28px repeat-x; mask: var(--pj) 0 50% / 28px 28px repeat-x; opacity: .9; transform: translateY(-14px); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-top: 32px; padding-bottom: 48px; }
.foot-brand img { border-radius: 50%; background: #fff; padding: 4px; }
.foot-name { font: 700 1.5rem/1.2 var(--f-head); color: #fff; margin: 16px 0 6px; }
.foot-brand p:not(.foot-name) { font-size: .9688rem; }
.foot-h { font: 600 .875rem/1 var(--f-head); color: var(--gold); letter-spacing: .02em; margin-bottom: 16px; }
.foot-list li { margin-bottom: 8px; }
.foot-list a { text-decoration: none; }
.foot-list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot-contact li { display: flex; gap: 12px; align-items: flex-start; }
.foot-contact .i { margin-top: 5px; color: var(--gold); width: 18px; height: 18px; }
.foot-social { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); margin-top: 16px; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 20px; padding-bottom: 28px; font-size: .875rem; color: #9296B4; }
.foot-base a { color: inherit; }
.site-footer .todo { color: var(--ink); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr; gap: 32px; } }

/* mobile action dock */
.dock { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .dock { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 50; padding: 8px; background: rgba(25, 29, 58, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 20px; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5); }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 14px; color: #fff; text-decoration: none; font: 600 1rem/1 var(--f-head); background: rgba(255, 255, 255, .08); }
  .dock .dock-main { background: var(--red); }
}

/* ---------- service page ---------- */
.svc-hero, .page-hero { position: relative; overflow: hidden; padding: 24px 0 clamp(56px, 7vw, 96px); }
.svc-hero .wrap, .page-hero .wrap { position: relative; z-index: 2; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .875rem; color: var(--muted); margin-bottom: clamp(24px, 4vw, 48px); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--red); text-decoration: underline; }
.svc-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.svc-h1, .page-h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); font-weight: 700; line-height: 1.18; letter-spacing: -.015em; }
.svc-h1-sub { font: 600 clamp(1.125rem, 1.8vw, 1.375rem)/1.4 var(--f-head); color: var(--blue); margin-top: 12px; }
.svc-hero-img { margin: 0; transform: rotate(2deg); }
.svc-hero-img img, .svc-hero-img .illus { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.page-hero .hero-lead { margin-bottom: 0; }
@media (max-width: 860px) { .svc-hero-grid { grid-template-columns: 1fr; } .svc-hero-img { transform: rotate(1deg); } }

.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.opt { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-card); }
.opt-n { font: 700 1rem/1 var(--f-head); color: #fff; background: var(--red); border-radius: 12px; width: 44px; height: 44px; display: grid; place-items: center; flex: none; }
.opt h3 { font-size: 1.375rem; }
.opt p { color: var(--muted); margin-top: 4px; }
.opt .opt-use { color: var(--ink-2); margin-top: 10px; font-size: .9688rem; }
.opt-use strong { font-family: var(--f-head); color: var(--blue); font-weight: 600; margin-right: 6px; }
@media (max-width: 760px) { .opts { grid-template-columns: 1fr; } }
.gallery-cap { columns: 3 240px; }
@media (max-width: 639px) { .gallery, .gallery-cap { columns: 2; } .g-cap { font-size: .875rem; } }

.others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.others a { display: flex; align-items: center; gap: 14px; padding: 18px 20px; min-height: 64px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; font: 600 1.0625rem/1.3 var(--f-head); transition: border-color var(--t-fast), transform var(--t-fast) var(--ease-out); }
.others a > .i:first-child { color: var(--red); width: 24px; height: 24px; }
.others a span { flex: 1; }
.others a > .i:last-child { color: var(--muted); width: 18px; height: 18px; transition: transform var(--t-fast); }
.others a:hover { border-color: var(--ink); }
.others a:hover > .i:last-child { transform: translateX(3px); color: var(--red); }
@media (max-width: 860px) { .others { grid-template-columns: 1fr; } }

.illus { width: 100%; aspect-ratio: 4 / 3; background: var(--paper-2); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.c-card { display: flex; flex-direction: column; gap: 6px; padding: 24px; min-height: 180px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; box-shadow: var(--shadow-card); transition: transform var(--t-med) var(--ease-out), border-color var(--t-fast); }
a.c-card:hover { transform: translateY(-3px); border-color: var(--ink); }
.c-card > .i { width: 28px; height: 28px; color: var(--red); margin-bottom: 8px; }
.c-l { font-size: .875rem; color: var(--muted); }
.c-card strong { font: 600 1.25rem/1.4 var(--f-head); }
.c-card .c-addr { font-size: 1.0625rem; line-height: 1.55; }
.c-go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font: 600 .9375rem/1 var(--f-head); color: var(--red); padding-top: 12px; }
.c-go .i { width: 16px; height: 16px; }
.c-line { background: var(--red); color: #fff; border-color: var(--red); }
.c-line > .i, .c-line .c-go { color: #fff; }
.c-line .c-l { color: #FFD2D7; }
.brief { background: var(--blue-900); color: #E6E8F5; border-radius: var(--r-lg); padding: 32px; }
.brief h2 { color: #fff; font-size: 1.5rem; margin-bottom: 20px; }
.brief li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.brief li .i { color: var(--gold); margin-top: 5px; width: 18px; height: 18px; }
.brief p { margin-top: 18px; color: #BFC3DE; font-size: .9688rem; }
.map { margin-top: 24px; padding: 7px; }
.map iframe { width: 100%; height: 420px; border: 0; border-radius: 12px; display: block; }
.map-ph { height: 320px; border-radius: 12px; background: var(--paper-2); display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--muted); }
.map-ph .i { width: 36px; height: 36px; color: var(--red); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .contact-cards { grid-template-columns: 1fr; } .c-card { min-height: 0; } }

/* 404 */
.nf-code { font: 700 clamp(5rem, 14vw, 9rem)/1 var(--f-head); color: transparent; -webkit-text-stroke: 3px var(--red); margin-bottom: 8px; }
.nf .cta-row { margin-top: 28px; }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(14, 18, 51, .88); backdrop-filter: blur(4px); }
.lightbox figure { margin: 0; background: #fff; padding: 8px; border-radius: 16px; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 10px; }
.lightbox figcaption { padding: 12px 8px 4px; font-size: 1rem; color: var(--ink-2); }
.lb-close { position: absolute; top: -56px; right: 0; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; display: grid; place-items: center; cursor: pointer; }
.lightbox[open] figure { animation: lb-in 260ms var(--ease-out); }
@keyframes lb-in { from { opacity: 0; transform: scale(.96); } }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

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