/* Aspect uPVC — site styles */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/fraunces-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/manrope-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Sans Thai"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/noto-sans-thai.woff2) format("woff2"); unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }

:root {
  --ink: #0b2230;
  --ink-2: #14384a;
  --sea: #1d5a6e;
  --sea-soft: #dbe7ea;
  --sand: #f4efe6;
  --sand-2: #e9e1d2;
  --paper: #fbf9f5;
  --white: #ffffff;
  --coral: #c4521f;
  --coral-hover: #a8441a;
  --coral-text: #a8441a;
  --coral-soft: #f0b08c;
  --text: #1a2a33;
  --muted: #56666f;
  --line: rgba(11, 34, 48, 0.12);
  --line-strong: rgba(11, 34, 48, 0.22);
  --on-dark: #eef2f3;
  --on-dark-muted: #a9bcc5;

  --display: "Fraunces", "Noto Sans Thai", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Noto Sans Thai", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(11, 34, 48, 0.06), 0 2px 8px rgba(11, 34, 48, 0.05);
  --shadow: 0 2px 4px rgba(11, 34, 48, 0.05), 0 12px 32px -8px rgba(11, 34, 48, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(11, 34, 48, 0.35);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 76px;

  color-scheme: light;
}

html[lang="th"] {
  --display: "Noto Sans Thai", "Fraunces", system-ui, sans-serif;
  --sans: "Noto Sans Thai", "Manrope", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html[lang="th"] body { line-height: 1.8; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 500; }
html[lang="th"] :is(h1, h2, h3, h4) { line-height: 1.35; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--coral-soft); color: var(--ink); }

[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: var(--radius); text-decoration: none; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 9vw, 136px); }
.section--tight { padding-block: clamp(56px, 6vw, 88px); }
.section--sand { background: var(--sand); }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: var(--on-dark); }
.section--ink :is(h2, h3) { color: var(--white); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split { max-width: none; display: grid; gap: 20px 64px; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.1fr 1fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--coral-text); margin-bottom: 18px;
}
html[lang="th"] .eyebrow { letter-spacing: 0.04em; font-size: 0.85rem; }
.eyebrow::before {
  content: ""; width: 14px; height: 14px; flex: none;
  border: 2px solid currentColor; border-radius: 2px;
  background: linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat, linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
}
.section--ink .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--coral-soft); }

.h1, .h2 { font-family: var(--display); font-variation-settings: "opsz" 144, "SOFT" 30; letter-spacing: -0.02em; color: var(--ink); }
html[lang="th"] :is(.h1, .h2) { letter-spacing: 0; }
.h1 { font-size: clamp(2.5rem, 1.5rem + 4.2vw, 5rem); font-weight: 400; }
.h2 { font-size: clamp(2rem, 1.35rem + 2.3vw, 3.25rem); font-weight: 400; }
html[lang="th"] .h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 4rem); font-weight: 600; }
html[lang="th"] .h2 { font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.75rem); font-weight: 600; }
.h1 em, .h2 em { font-style: italic; font-weight: 300; color: var(--coral-text); }
html[lang="th"] :is(.h1, .h2) em { font-style: normal; font-weight: 600; }
.section--ink .h2, .hero .h1, .page-hero .h1 { color: var(--white); }
.section--ink .h2 em, .hero .h1 em, .page-hero .h1 em { color: var(--coral-soft); }
.h3 { font-family: var(--sans); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.lead { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); line-height: 1.6; color: var(--muted); margin-top: 20px; }
.section--ink .lead { color: var(--on-dark-muted); }
.muted { color: var(--muted); }
.prose p + p { margin-top: 1em; }
.prose { max-width: 68ch; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--coral); --fg: var(--white); --bd: var(--coral);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd); border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover { --bg: var(--coral-hover); --bd: var(--coral-hover); transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(196, 82, 31, 0.6); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-strong); }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--white); --bd: var(--ink); box-shadow: none; }
.btn--light { --bg: transparent; --fg: var(--white); --bd: rgba(255, 255, 255, 0.45); }
.btn--light:hover { --bg: var(--white); --fg: var(--ink); --bd: var(--white); box-shadow: none; }
.btn--ink { --bg: var(--ink); --fg: var(--white); --bd: var(--ink); }
.btn--ink:hover { --bg: var(--ink-2); --bd: var(--ink-2); box-shadow: var(--shadow); }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: 0.92rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover { color: var(--coral-text); }

/* ---------- Topbar & header ---------- */
.topbar { background: var(--ink); color: var(--on-dark-muted); font-size: 0.85rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar p { display: flex; align-items: center; gap: 8px; }
.topbar svg { width: 15px; height: 15px; color: var(--coral-soft); flex: none; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--coral-soft); }
.topbar__right { display: flex; align-items: center; gap: 20px; }
.topbar .topbar__area { display: none; }
@media (min-width: 760px) { .topbar .topbar__area { display: flex; } }
.topbar a { white-space: nowrap; }
@media (max-width: 759px) { .topbar__hours { display: none !important; } .topbar .wrap { justify-content: flex-end; } }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 245, 0.92);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11, 34, 48, 0.4); }
.header .wrap { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.logo__mark { width: 40px; height: 40px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: "Fraunces", Georgia, serif; font-size: 1.5rem; font-weight: 500; letter-spacing: 0.01em; font-variation-settings: "opsz" 72; }
.logo__tag { font-family: "Manrope", system-ui, sans-serif; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.logo--light { color: var(--white); }
.logo--light .logo__tag { color: var(--on-dark-muted); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__link { display: block; padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 0.97rem; text-decoration: none; color: var(--text); transition: background-color 0.2s, color 0.2s; }
.nav__link:hover { background: var(--sand); color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--coral-text); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; font-weight: 700; font-size: 0.88rem; text-decoration: none; color: var(--ink); border: 1px solid var(--line-strong); }
.lang-switch:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.lang-switch svg { width: 16px; height: 16px; }

.icon-btn { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); text-decoration: none; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.menu-toggle { display: none; }
.header__call { display: none; }

@media (max-width: 1099px) {
  .nav, .header__actions .lang-switch, .header__actions .btn { display: none; }
  .menu-toggle, .header__call { display: inline-grid; }
  .header__actions { margin-left: auto; }
  :root { --header-h: 68px; }
  .logo__mark { width: 36px; height: 36px; }
  .logo__name { font-size: 1.32rem; }
}

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 80; overflow: hidden; display: none; }
.drawer.is-mounted { display: block; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(11, 34, 48, 0.5); opacity: 0; transition: opacity 0.3s var(--ease); }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute; inset: 0 0 0 auto; width: min(420px, 100%);
  background: var(--paper); display: flex; flex-direction: column; overflow-y: auto;
  transform: translateX(100%); transition: transform 0.35s var(--ease);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gutter); min-height: var(--header-h); border-bottom: 1px solid var(--line); }
.drawer__nav { list-style: none; padding: 12px var(--gutter); }
.drawer__nav a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-family: var(--display); font-size: 1.6rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
html[lang="th"] .drawer__nav a { font-size: 1.35rem; font-weight: 600; }
.drawer__nav a[aria-current="page"] { color: var(--coral-text); }
.drawer__nav svg { width: 22px; height: 22px; color: var(--muted); }
.drawer__foot { margin-top: auto; padding: 24px var(--gutter) 32px; display: grid; gap: 12px; }
.drawer__foot .lang-switch { justify-self: start; }
.drawer__meta { font-size: 0.92rem; color: var(--muted); }
body.no-scroll { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: var(--on-dark); background: var(--ink); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
@media (prefers-reduced-motion: no-preference) { .hero__media img { animation: hero-zoom 18s var(--ease) both; } }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(8, 26, 37, 0.92) 0%, rgba(8, 26, 37, 0.78) 34%, rgba(8, 26, 37, 0.25) 68%, rgba(8, 26, 37, 0.1) 100%), linear-gradient(0deg, rgba(8, 26, 37, 0.75) 0%, rgba(8, 26, 37, 0) 38%); }
@media (max-width: 760px) { .hero::before { background: linear-gradient(180deg, rgba(8, 26, 37, 0.35) 0%, rgba(8, 26, 37, 0.78) 45%, rgba(8, 26, 37, 0.94) 100%); } .hero__trust span { display: none; } .hero__trust li { padding: 14px; gap: 10px; } .hero__trust svg { width: 24px; height: 24px; } }
.hero__inner { min-height: min(calc(100svh - var(--header-h) - 40px), 880px); display: flex; flex-direction: column; justify-content: center; padding-block: clamp(64px, 10vw, 120px) 40px; }
.hero__content { max-width: 680px; }
.hero .h1 { text-wrap: balance; }
.hero__lead { margin-top: 24px; font-size: clamp(1.08rem, 1rem + 0.45vw, 1.3rem); line-height: 1.6; color: rgba(238, 242, 243, 0.88); max-width: 580px; }
.hero .btn-row { margin-top: 40px; }
.hero__trust { margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius-lg); overflow: hidden; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); list-style: none; }
@media (min-width: 900px) { .hero__trust { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hero__trust li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: rgba(8, 26, 37, 0.45); font-size: 0.95rem; line-height: 1.35; }
.hero__trust strong { display: block; color: var(--white); font-weight: 700; }
.hero__trust span { color: var(--on-dark-muted); font-size: 0.85rem; }
.hero__trust svg { width: 30px; height: 30px; color: var(--coral-soft); flex: none; }

/* Frame overlay — thin uPVC-style mullions over the hero image */
.hero__frame { position: absolute; z-index: -1; right: var(--gutter); top: 56px; bottom: 170px; width: 34%; border: 10px solid rgba(255, 255, 255, 0.9); border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(11, 34, 48, 0.15), 0 30px 60px -20px rgba(0, 0, 0, 0.5); display: none; pointer-events: none; }
.hero__frame::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 10px; margin-left: -5px; background: rgba(255, 255, 255, 0.9); }
@media (min-width: 1200px) { .hero__frame { display: block; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; isolation: isolate; background: var(--ink); color: var(--on-dark); overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(8, 26, 37, 0.94) 0%, rgba(8, 26, 37, 0.8) 45%, rgba(8, 26, 37, 0.35) 100%); }
.page-hero--plain::before { background: radial-gradient(1200px 500px at 85% -10%, rgba(29, 90, 110, 0.65), transparent 60%), var(--ink); }
.page-hero .wrap { padding-block: clamp(56px, 8vw, 112px) clamp(56px, 7vw, 96px); }
.page-hero__content { max-width: 760px; }
.page-hero .lead { color: rgba(238, 242, 243, 0.85); }
.breadcrumbs { margin-bottom: 28px; font-size: 0.88rem; color: var(--on-dark-muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.breadcrumbs a { color: var(--on-dark); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); list-style: none; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li { padding: 32px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats__num { display: block; font-family: "Fraunces", Georgia, serif; font-size: clamp(2.6rem, 2rem + 2vw, 3.8rem); line-height: 1; color: var(--ink); font-variation-settings: "opsz" 144; letter-spacing: -0.03em; }
.stats__num small { font-family: var(--sans); font-size: 0.4em; font-weight: 700; letter-spacing: 0; margin-left: 4px; color: var(--coral-text); vertical-align: 0.9em; }
.stats__label { display: block; margin-top: 12px; color: var(--muted); font-size: 0.95rem; line-height: 1.45; }
@media (max-width: 480px) { .stats li { padding: 24px 16px; } }

/* ---------- Framed images (signature) ---------- */
.framed { position: relative; background: var(--white); padding: clamp(6px, 0.8vw, 10px); border-radius: 4px; box-shadow: var(--shadow); }
.framed img { width: 100%; height: 100%; object-fit: cover; border-radius: 1px; }
.framed::after { content: ""; position: absolute; inset: clamp(6px, 0.8vw, 10px); box-shadow: inset 0 0 0 1px rgba(11, 34, 48, 0.08), inset 0 2px 6px rgba(11, 34, 48, 0.15); pointer-events: none; border-radius: 1px; }

/* ---------- Climate cards ---------- */
.climate { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); list-style: none; }
@media (min-width: 1100px) { .climate { grid-template-columns: repeat(6, 1fr); } .climate > :nth-child(-n + 3) { grid-column: span 2; } .climate > :nth-child(n + 4) { grid-column: span 3; } }
.climate__card { position: relative; padding: 32px 28px 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s; }
.climate__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.climate__icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: var(--sand); color: var(--coral-text); margin-bottom: 22px; }
.climate__icon svg { width: 30px; height: 30px; }
.climate__card h3 { margin-bottom: 10px; }
.climate__card p { color: var(--muted); font-size: 0.99rem; }
.climate__fact { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-strong); font-size: 0.88rem; font-weight: 700; color: var(--sea); }

/* ---------- Split feature ---------- */
.split { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split--reverse > :first-child { order: 2; } }
.split__media { aspect-ratio: 4 / 3.4; }
.check-list { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.check-list li { position: relative; padding-left: 36px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 22px; height: 22px; border-radius: 50%; background: var(--sea-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d5a6e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.section--ink .check-list li::before { background-color: rgba(255, 255, 255, 0.1); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0b08c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.check-list strong { color: var(--ink); }
.section--ink .check-list strong { color: var(--white); }

/* ---------- Product grid ---------- */
.tabs { display: inline-flex; padding: 5px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; gap: 4px; margin-bottom: 36px; }
.tabs button { border: 0; background: transparent; padding: 10px 22px; border-radius: 999px; font-weight: 700; color: var(--muted); transition: background-color 0.2s, color 0.2s; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); }
.tabs button:hover:not([aria-selected="true"]) { color: var(--ink); }
html:not(.js-ready) .tabs { display: none; }

.products { display: grid; gap: 24px; grid-template-columns: 1fr; list-style: none; }
@media (min-width: 640px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .products { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.products[hidden] { display: none; }
.product { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-2); }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.product:hover .product__media img { transform: scale(1.05); }
.product__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.product__body p { color: var(--muted); font-size: 0.98rem; margin-top: 8px; flex: 1; }
.product__body .link-arrow { margin-top: 18px; }
.product__link { text-decoration: none; }
.product__link::after { content: ""; position: absolute; inset: 0; }
.product:hover .product__link { color: var(--coral-text); }
.product__tag { position: absolute; top: 14px; left: 14px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.94); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
html[lang="th"] .product__tag { letter-spacing: 0; font-size: 0.8rem; }

/* ---------- Profile explorer ---------- */
.explorer { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 960px) { .explorer { grid-template-columns: 1.25fr 1fr; align-items: start; } .explorer__figure { position: sticky; top: calc(var(--header-h) + 32px); } }
.explorer__figure { position: relative; align-self: start; background: radial-gradient(circle at 50% 40%, #1a4457 0%, var(--ink) 70%); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 48px); border: 1px solid rgba(255, 255, 255, 0.08); }
.explorer__svg { width: 100%; height: auto; }
.explorer__svg .part { transition: opacity 0.3s var(--ease), filter 0.3s var(--ease); }
.explorer__svg.has-active .part { opacity: 0.28; }
.explorer__svg.has-active .part.is-active { opacity: 1; filter: drop-shadow(0 0 10px rgba(240, 176, 140, 0.55)); }
.hotspot { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 0; background: var(--coral); color: var(--white); font-weight: 800; font-size: 0.9rem; display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(196, 82, 31, 0.6); transition: transform 0.2s var(--ease), background-color 0.2s; }
@media (prefers-reduced-motion: no-preference) { .hotspot { animation: pulse 2.4s infinite; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(196, 82, 31, 0.55); } 70% { box-shadow: 0 0 0 14px rgba(196, 82, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(196, 82, 31, 0); } }
.hotspot:hover, .hotspot[aria-pressed="true"] { transform: scale(1.12); background: var(--white); color: var(--coral); animation: none; }
.explorer__list { list-style: none; display: grid; gap: 10px; counter-reset: part; }
.explorer__item button { width: 100%; text-align: left; display: grid; grid-template-columns: 34px 1fr; gap: 16px; align-items: start; padding: 18px 20px; border-radius: var(--radius-lg); border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.03); color: var(--on-dark); transition: background-color 0.25s, border-color 0.25s; }
.explorer__item button:hover { background: rgba(255, 255, 255, 0.07); }
.explorer__item button[aria-pressed="true"] { background: rgba(240, 176, 140, 0.1); border-color: rgba(240, 176, 140, 0.5); }
.explorer__num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); font-weight: 800; font-size: 0.9rem; }
.explorer__item button[aria-pressed="true"] .explorer__num { background: var(--coral); color: var(--white); }
.explorer__title { display: block; font-weight: 700; color: var(--white); font-size: 1.05rem; }
.explorer__text { display: block; margin-top: 6px; color: var(--on-dark-muted); font-size: 0.95rem; line-height: 1.55; }

/* ---------- Colour picker ---------- */
.colours { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (min-width: 960px) { .colours { grid-template-columns: 1fr 1fr; } }
.colours__stage { position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; margin-inline: auto; border-radius: var(--radius-lg); background: linear-gradient(180deg, #e8eef0 0%, #f6f1e8 100%); display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); }
.colours__stage svg { width: 78%; height: auto; filter: drop-shadow(0 30px 30px rgba(11, 34, 48, 0.2)); }
.colours__stage .frame-fill { transition: fill 0.5s var(--ease); }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; list-style: none; }
.swatch { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 84px; padding: 0; border: 0; background: none; text-align: center; font-size: 0.8rem; font-weight: 600; color: var(--muted); line-height: 1.25; }
.swatch__chip { width: 56px; height: 56px; border-radius: 50%; border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--line-strong), var(--shadow-sm); transition: box-shadow 0.2s, transform 0.2s var(--ease); background-size: cover; }
.swatch:hover .swatch__chip { transform: scale(1.06); }
.swatch[aria-pressed="true"] { color: var(--ink); }
.swatch[aria-pressed="true"] .swatch__chip { box-shadow: 0 0 0 2px var(--coral), var(--shadow-sm); }
.chip--white { background: #f7f7f4; }
.chip--cream { background: #efe6cf; }
.chip--grey { background: #3b4246; }
.chip--black { background: #1c1d1f; }
.chip--oak { background: repeating-linear-gradient(100deg, #b47a3e 0 3px, #c48d4e 3px 7px, #a86f36 7px 9px); }
.chip--walnut { background: repeating-linear-gradient(100deg, #5a3a26 0 3px, #6b4630 3px 7px, #4d3120 7px 9px); }
.colours__name { margin-top: 20px; font-weight: 700; color: var(--ink); }
.colours__note { font-size: 0.9rem; color: var(--muted); margin-top: 6px; }

/* ---------- Comparison table ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 0.98rem; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 0.85rem; letter-spacing: 0.02em; color: var(--muted); font-weight: 800; background: var(--paper); }
html[lang="th"] .compare thead th { letter-spacing: 0; font-size: 0.9rem; }
.compare thead th.is-us { background: var(--ink); color: var(--white); }
.compare tbody th { font-weight: 700; color: var(--ink); width: 24%; }
.compare td.is-us { background: rgba(219, 231, 234, 0.45); color: var(--ink); font-weight: 600; }
.compare tr:last-child > * { border-bottom: 0; }
.rating { display: inline-flex; gap: 3px; margin-right: 8px; vertical-align: -1px; }
.rating i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.rating i.on { background: var(--sea); }
.is-us .rating i.on { background: var(--coral); }

/* ---------- Process ---------- */
.process { list-style: none; display: grid; gap: 0; counter-reset: step; }
@media (min-width: 960px) { .process { grid-template-columns: repeat(5, 1fr); } }
.process li { position: relative; padding: 28px 24px 28px 0; counter-increment: step; }
@media (max-width: 959px) { .process li { padding: 0 0 36px 64px; } .process li::after { content: ""; position: absolute; left: 21px; top: 48px; bottom: 6px; width: 2px; background: rgba(255, 255, 255, 0.12); } .process li:last-child::after { display: none; } }
@media (min-width: 960px) { .process li::after { content: ""; position: absolute; left: 56px; right: 12px; top: 50px; height: 2px; background: rgba(255, 255, 255, 0.14); } .process li:last-child::after { display: none; } }
.process__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--coral-soft); color: var(--coral-soft); font-weight: 800; margin-bottom: 22px; }
@media (max-width: 959px) { .process__num { position: absolute; left: 0; top: -6px; } }
.process__num::before { content: counter(step, decimal-leading-zero); font-size: 0.9rem; }
.process h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 8px; }
.process p { color: var(--on-dark-muted); font-size: 0.96rem; }
.process--light .process__num { border-color: var(--coral); color: var(--coral-text); }
.process--light h3 { color: var(--ink); }
.process--light p { color: var(--muted); }
@media (max-width: 959px) { .process--light li::after { background: var(--line); } }
@media (min-width: 960px) { .process--light li::after { background: var(--line); } }

/* ---------- Warranty band ---------- */
.warranty { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .warranty { grid-template-columns: auto 1fr auto; gap: 64px; } }
.seal { position: relative; width: 200px; height: 200px; display: grid; place-items: center; margin-inline: auto; }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (prefers-reduced-motion: no-preference) { .seal__ring { animation: spin 40s linear infinite; transform-origin: 50% 50%; } }
@keyframes spin { to { transform: rotate(360deg); } }
.seal__num { position: relative; text-align: center; line-height: 1; color: var(--ink); }
.seal__num b { display: block; font-family: "Fraunces", Georgia, serif; font-size: 3.6rem; font-weight: 400; letter-spacing: -0.04em; font-variation-settings: "opsz" 144; }
.seal__num span { display: block; max-width: 96px; margin-inline: auto; line-height: 1.25; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral-text); }
html[lang="th"] .seal__num span { letter-spacing: 0.02em; font-size: 0.95rem; }

/* ---------- Area map ---------- */
.area { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (min-width: 960px) { .area { grid-template-columns: 1fr 1fr; } }
.area__map { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(16px, 3vw, 32px); }
.area__map svg { width: 100%; height: auto; }
.area__map .town text { font-family: var(--sans); font-size: 15px; font-weight: 700; fill: var(--ink); }
.area__map .town--main text { font-size: 19px; }
.area__map .sea-label { font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: 18px; fill: var(--sea); letter-spacing: 0.06em; }
.area-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.area-list li { padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 0.92rem; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 900px; margin-inline: auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color 0.25s, box-shadow 0.25s; }
.faq details[open] { border-color: transparent; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; font-weight: 700; font-size: 1.07rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2230' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform 0.3s var(--ease), background-color 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--coral-soft); }
.faq__a { padding: 0 26px 24px; color: var(--muted); max-width: 72ch; }
.faq__a p + p { margin-top: 0.8em; }
.faq__group + .faq__group { margin-top: 56px; }
.faq__group-title { font-family: var(--display); font-size: 1.6rem; color: var(--ink); margin-bottom: 20px; max-width: 900px; margin-inline: auto; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; border-radius: clamp(14px, 2vw, 24px); background: var(--ink); color: var(--on-dark); padding: clamp(40px, 6vw, 80px); display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; } }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 100% 0%, rgba(196, 82, 31, 0.35), transparent 70%), radial-gradient(500px 300px at 0% 100%, rgba(29, 90, 110, 0.6), transparent 70%); }
.cta-band::after { content: ""; position: absolute; z-index: -1; right: -60px; bottom: -60px; width: 260px; height: 260px; border: 14px solid rgba(255, 255, 255, 0.06); border-radius: 6px; background: linear-gradient(rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06)) center / 14px 100% no-repeat, linear-gradient(rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06)) center / 100% 14px no-repeat; }
.cta-band .h2 { color: var(--white); }
.cta-band .lead { color: var(--on-dark-muted); }
.cta-band .btn-row { margin-top: 0; }
@media (min-width: 900px) { .cta-band .btn-row { flex-direction: column; align-items: stretch; } }

/* ---------- Product detail rows (windows/doors pages) ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: rgba(255, 255, 255, 0.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; white-space: nowrap; padding: 8px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.93rem; color: var(--muted); }
.subnav a:hover, .subnav a.is-active { background: var(--sand); color: var(--ink); }

.detail { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(56px, 7vw, 104px); border-bottom: 1px solid var(--line); }
.detail:last-child { border-bottom: 0; }
@media (min-width: 960px) { .detail { grid-template-columns: 1fr 1fr; } .detail:nth-child(even) .detail__media { order: 2; } }
.detail__media { aspect-ratio: 4 / 3; }
.detail__media--portrait { aspect-ratio: 4 / 4.2; }
.detail__kicker { font-weight: 800; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral-text); margin-bottom: 12px; }
html[lang="th"] .detail__kicker { letter-spacing: 0.02em; font-size: 0.88rem; }
.detail h2 { font-family: var(--display); font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); font-weight: 400; color: var(--ink); letter-spacing: -0.015em; font-variation-settings: "opsz" 144; }
html[lang="th"] .detail h2 { font-weight: 600; letter-spacing: 0; }
.detail .prose { margin-top: 18px; color: var(--muted); }
.detail__best { margin-top: 24px; padding: 16px 20px; border-left: 3px solid var(--coral); background: var(--sand); border-radius: 0 var(--radius) var(--radius) 0; font-size: 0.97rem; }
.detail__best strong { color: var(--ink); }
.spec-list { list-style: none; display: grid; grid-template-columns: 1fr; gap: 10px 24px; margin-top: 24px; }
@media (min-width: 560px) { .spec-list { grid-template-columns: 1fr 1fr; } }
.spec-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.96rem; }
.spec-list svg { width: 20px; height: 20px; color: var(--sea); flex: none; margin-top: 3px; }

/* Option cards (glazing etc.) */
.options { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); list-style: none; }
@media (min-width: 900px) { .options--3 { grid-template-columns: repeat(3, 1fr); } .options--4 { grid-template-columns: repeat(4, 1fr); } }
.option { padding: 26px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.option h3 { font-size: 1.08rem; margin-bottom: 8px; }
.option p { color: var(--muted); font-size: 0.96rem; }
.option__badge { display: inline-block; margin-bottom: 14px; padding: 4px 10px; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 999px; background: var(--sea-soft); color: var(--sea); }
html[lang="th"] .option__badge { letter-spacing: 0; font-size: 0.8rem; }
.section--ink .option { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.1); }
.section--ink .option h3 { color: var(--white); }
.section--ink .option p { color: var(--on-dark-muted); }

/* ---------- Quote form ---------- */
.contact-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1.5fr 1fr; } }
.quote { background: var(--white); border: 1px solid var(--line); border-radius: clamp(14px, 2vw, 22px); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }
.quote__progress { display: flex; gap: 8px; margin-bottom: 32px; list-style: none; }
.quote__progress li { flex: 1; }
.quote__progress span { display: block; height: 4px; border-radius: 4px; background: var(--sand-2); overflow: hidden; position: relative; }
.quote__progress span::after { content: ""; position: absolute; inset: 0; background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.quote__progress li.is-done span::after, .quote__progress li.is-current span::after { transform: scaleX(1); }
.quote__progress small { display: block; margin-top: 8px; font-size: 0.78rem; font-weight: 700; color: var(--muted); }
.quote__progress li.is-current small { color: var(--ink); }
html:not(.js-ready) .quote__progress { display: none; }
.quote__step { border: 0; padding: 0; margin: 0; min-width: 0; }
.quote__step + .quote__step { margin-top: 40px; }
.js-ready .quote__step + .quote__step { margin-top: 0; }
.js-ready .quote__step:not(.is-current) { display: none; }
.quote__step legend { padding: 0; font-family: var(--display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: var(--ink); margin-bottom: 8px; font-variation-settings: "opsz" 144; }
html[lang="th"] .quote__step legend { font-weight: 600; }
.quote__hint { color: var(--muted); margin-bottom: 24px; font-size: 0.97rem; }
.choice-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice label { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 18px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-lg); font-weight: 700; color: var(--ink); transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s; cursor: pointer; font-size: 0.97rem; line-height: 1.3; }
.choice label svg { width: 34px; height: 34px; color: var(--sea); }
.choice label small { font-weight: 500; color: var(--muted); font-size: 0.85rem; }
.choice input:hover + label { border-color: var(--ink); }
.choice input:checked + label { border-color: var(--coral); background: #fdf5f0; box-shadow: 0 0 0 1px var(--coral); }
.choice input:focus-visible + label { outline: 3px solid var(--coral); outline-offset: 2px; }
.choice--pill label { flex-direction: row; align-items: center; padding: 12px 18px; border-radius: 999px; }
.choice-grid--pills { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.field-group + .field-group { margin-top: 28px; }
.field-group > .label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.fields { display: grid; gap: 18px; }
@media (min-width: 640px) { .fields--2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 8px; font-size: 0.95rem; }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 13px 16px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: var(--paper); transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s; font-size: 1rem; }
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2230' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sea); background: var(--white); box-shadow: 0 0 0 4px rgba(29, 90, 110, 0.15); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b3261e; }
.field__error { display: none; margin-top: 6px; font-size: 0.88rem; color: #b3261e; font-weight: 600; }
.field__error.is-visible { display: block; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.quote__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.quote__nav .btn--ghost { margin-right: auto; }
html:not(.js-ready) .quote__nav [data-prev], html:not(.js-ready) .quote__nav [data-next] { display: none; }
.js-ready .quote__nav [type="submit"]:not(.is-visible) { display: none; }
.quote__note { margin-top: 16px; font-size: 0.86rem; color: var(--muted); }
.quote__status { margin-top: 18px; padding: 14px 18px; border-radius: 10px; font-weight: 600; display: none; }
.quote__status.is-error { display: block; background: #fdecea; color: #8c1d18; }
.quote__done { text-align: center; padding: clamp(24px, 4vw, 40px) 0; }
.quote__done[hidden] { display: none; }
.quote__done-icon { width: 76px; height: 76px; margin: 0 auto 24px; border-radius: 50%; background: var(--sea-soft); color: var(--sea); display: grid; place-items: center; }
.quote__done-icon svg { width: 38px; height: 38px; }
.quote__done h2 { font-family: var(--display); font-size: 2rem; color: var(--ink); margin-bottom: 12px; }
.quote__done p { color: var(--muted); max-width: 46ch; margin-inline: auto; }

.contact-card { background: var(--ink); color: var(--on-dark); border-radius: clamp(14px, 2vw, 22px); padding: clamp(28px, 4vw, 40px); }
.contact-card h2 { font-family: var(--display); color: var(--white); font-size: 1.7rem; margin-bottom: 8px; }
.contact-card p { color: var(--on-dark-muted); }
.contact-methods { list-style: none; display: grid; gap: 12px; margin-top: 28px; }
.contact-method { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); text-decoration: none; color: var(--white); transition: background-color 0.2s, border-color 0.2s; }
.contact-method:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(240, 176, 140, 0.5); }
.contact-method svg { width: 26px; height: 26px; color: var(--coral-soft); flex: none; }
.contact-method small { display: block; color: var(--on-dark-muted); font-size: 0.82rem; }
.contact-method strong { display: block; font-size: 1.08rem; }
.hours { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.hours h3 { color: var(--white); font-size: 1rem; margin-bottom: 6px; }
.open-now { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 0.9rem; font-weight: 700; color: var(--on-dark); }
.open-now::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #9aa7ad; }
.open-now.is-open::before { background: #4cc38a; box-shadow: 0 0 0 4px rgba(76, 195, 138, 0.2); }
.open-now[hidden] { display: none; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-dark-muted); padding-top: clamp(64px, 8vw, 104px); font-size: 0.96rem; }
.footer__grid { display: grid; gap: 40px; padding-bottom: 56px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.footer h2 { font-family: var(--sans); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--white); font-weight: 800; margin-bottom: 18px; }
html[lang="th"] .footer h2 { letter-spacing: 0.02em; font-size: 0.92rem; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a:not(.btn) { color: var(--on-dark); text-decoration: none; }
.footer a:not(.btn):hover { color: var(--coral-soft); text-decoration: underline; }
.footer__about { max-width: 38ch; margin-top: 20px; }
.footer .footer__phone { display: inline-block; margin-top: 4px; font-family: "Fraunces", Georgia, serif; font-size: 1.7rem; color: var(--white); font-variation-settings: "opsz" 72; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.86rem; }
.footer__bottom ul { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Mobile action bar ---------- */
.action-bar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(251, 249, 245, 0.96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform 0.35s var(--ease); }
.action-bar.is-visible { transform: none; }
html:not(.js-ready) .action-bar { transform: none; }
.action-bar a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; border-radius: 999px; font-weight: 700; font-size: 0.92rem; text-decoration: none; border: 1.5px solid var(--line-strong); color: var(--ink); }
.action-bar a svg { width: 18px; height: 18px; }
.action-bar a.is-primary { background: var(--coral); border-color: var(--coral); color: var(--white); }
@media (min-width: 900px) { .action-bar { display: none; } }
@media (max-width: 899px) { .footer { padding-bottom: 80px; } }

/* ---------- Misc ---------- */
.grid-2 { display: grid; gap: 24px; }
@media (min-width: 800px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.card { padding: clamp(24px, 3vw, 36px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }
.values { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); list-style: none; }
.values li { padding-top: 22px; border-top: 2px solid var(--ink); }
.values h3 { margin-bottom: 8px; font-size: 1.12rem; }
.values p { color: var(--muted); font-size: 0.97rem; }
.legal h2 { font-family: var(--display); font-size: 1.6rem; color: var(--ink); margin: 40px 0 12px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2em; margin-top: 10px; display: grid; gap: 6px; }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound__code { font-family: "Fraunces", Georgia, serif; font-size: clamp(6rem, 20vw, 12rem); line-height: 1; color: var(--sand-2); font-variation-settings: "opsz" 144; }

/* Reveal on scroll */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .js .reveal-stagger.is-in > * { opacity: 1; transform: none; }
  .js .reveal-stagger.is-in > :nth-child(2) { transition-delay: 0.08s; }
  .js .reveal-stagger.is-in > :nth-child(3) { transition-delay: 0.16s; }
  .js .reveal-stagger.is-in > :nth-child(4) { transition-delay: 0.24s; }
  .js .reveal-stagger.is-in > :nth-child(5) { transition-delay: 0.32s; }
  .js .reveal-stagger.is-in > :nth-child(n + 6) { transition-delay: 0.4s; }
}

@media print {
  .topbar, .header, .action-bar, .drawer, .cta-band, .hero__media, .page-hero__media { display: none !important; }
  .hero, .page-hero, .section--ink, .footer { background: none !important; color: #000 !important; }
  .hero .h1, .page-hero .h1, .section--ink .h2 { color: #000 !important; }
}

/* Utilities (CSP forbids inline styles) */
.mt-0 { margin-top: 0 !important; }
.mt-xs { margin-top: 8px; }
.mt-s { margin-top: 18px; }
.mt-m { margin-top: 28px; }
.mt-l { margin-top: 36px; }
.center { text-align: center; }
.justify-center { justify-content: center; }
.explorer__canvas { position: relative; }
.js-ready .products-heading { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.products-heading { margin-bottom: 20px; }
#panel-doors .products-heading { margin-top: 48px; }
.js-ready #panel-doors .products-heading { margin-top: 0; }
@media (prefers-reduced-motion: no-preference) {
  .js:not(.js-ready) .reveal, .js:not(.js-ready) .reveal-stagger > * { animation: reveal-safety 0.6s 2.5s forwards; }
}
@keyframes reveal-safety { to { opacity: 1; transform: none; } }

.nc { text-transform: none; letter-spacing: 0.04em; }

/* Comparison table → stacked cards on phones */
@media (max-width: 699px) {
  .compare-wrap { overflow: visible; background: none; border: 0; }
  .compare { min-width: 0; }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto !important; }
  .compare tr { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 12px; overflow: hidden; }
  .compare tbody th { padding: 16px 18px 10px; font-size: 1.05rem; border: 0; }
  .compare td { display: grid; grid-template-columns: 92px 1fr; gap: 4px 12px; align-items: baseline; padding: 10px 18px; border: 0; border-top: 1px solid var(--line); font-size: 0.95rem; }
  .compare td::before { content: attr(data-label); font-weight: 800; font-size: 0.82rem; color: var(--muted); }
  .compare td.is-us::before { color: var(--coral-text); }
  .compare td::before { grid-row: span 2; }
  .compare td .rating, .compare td > span:last-child { grid-column: 2; }
}

/* Footer logo on dark */
.logo--light .logo__mark > rect:first-child { fill: var(--ink-2); }

/* Mobile hero: let the photo breathe at the top */
@media (max-width: 760px) {
  .hero__inner { justify-content: flex-end; padding-top: 34vh; }
  .hero::before { background: linear-gradient(180deg, rgba(8, 26, 37, 0.1) 0%, rgba(8, 26, 37, 0.55) 28%, rgba(8, 26, 37, 0.92) 52%, rgba(8, 26, 37, 0.97) 100%) !important; }
}

/* Thai labels are longer: switch to the drawer menu earlier */
.nav__link { white-space: nowrap; }
@media (min-width: 1100px) and (max-width: 1239px) {
  .nav__link { padding: 10px 10px; }
  .header .wrap { gap: 16px; }
  html[lang="th"] .nav, html[lang="th"] .header__actions .lang-switch, html[lang="th"] .header__actions .btn { display: none; }
  html[lang="th"] .menu-toggle, html[lang="th"] .header__call { display: inline-grid; }
  html[lang="th"] .header__actions { margin-left: auto; }
}
