/* BuaBlue — landing
   Palette: sand #F6F1E7 / #EFE6D4, navy #0A2A3A, deep #0B4F6C, ocean #1C7EA6, turquoise #7ED6CF
*/

/* Self-hosted fonts (OFL): Inter, Cormorant Garamond, Noto Sans Thai, Noto Serif Thai — see fonts/LICENSE.txt */
@font-face {
  font-family: Inter;
  src: url("/fonts/InterVariable.woff2?v=693b77d4f3") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+0E3F;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/CormorantGaramond.woff2?v=e5b07563a8") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif Thai";
  src: url("/fonts/NotoSerifThai.woff2?v=0eff64be56") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0E00-0E7F, U+02D7, U+0303, U+0331, U+200C-200D, U+25CC;
}
@font-face {
  font-family: "Noto Sans Thai";
  src: url("/fonts/NotoSansThai.woff2?v=7c9e568602") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0E00-0E7F;
}



:root {
  --sand: #F3EAD8;
  --sand-dark: #E6D8BE;
  --sand-light: #FBF6EC;
  --navy: #0A2A3A;
  --deep: #0B4F6C;
  --ocean: #1C7EA6;
  --turquoise: #7ED6CF;
  --turquoise-hover: #6BCBC3;
  --muted: #3E5A68;
  --muted-2: #5A7380;
  --line: #8FA9B4;
  --card: #FBF6EC;
  --calc-bg: #D7ECEF;
  --gold: #F0D199;
  --focus: #1C7EA6;
  --error: #9B2C2C;
  --success: #1F6B4A;

  --font-body: Inter, "Noto Sans Thai", system-ui, -apple-system, sans-serif;
  --font-head: "Cormorant Garamond", "Noto Serif Thai", Georgia, "Times New Roman", serif;

  --shadow-card: none;
  --hairline: color-mix(in srgb, var(--navy) 14%, transparent);
  --radius: 1.25rem;
  --radius-sm: 0.9rem;
  --radius-pill: 999px;
  --header-h: 4.85rem;
  --max: 72rem;
  --space: 1.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

html:lang(th) {
  --font-body: "Noto Sans Thai", Inter, system-ui, sans-serif;
  --font-head: "Noto Serif Thai", "Cormorant Garamond", Georgia, serif;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--navy);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: var(--deep); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 1000;
  background: var(--navy);
  color: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 0.4rem;
  text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--sand) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: color-mix(in srgb, var(--navy) 8%, transparent);
  box-shadow: 0 1px 0 rgba(10, 42, 58, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo-link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}
.logo-link img,
.logo-link .logo-img {
  height: 2.65rem;
  width: auto;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.15rem 1.35rem;
}

.nav-desktop a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0.15rem;
}
.nav-desktop a:hover { color: var(--ocean); }

.nav-desktop a.btn-navy,
.nav-mobile a.btn-navy {
  color: #fff;
  padding: 0.65rem 1.15rem;
}
.nav-desktop a.btn-navy:hover,
.nav-mobile a.btn-navy:hover {
  color: #fff;
  background: #123445;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.2;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-navy {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 0.7rem 1.25rem;
}
.btn-navy:hover { background: #123445; color: #fff; }

.btn-turquoise {
  background: var(--turquoise);
  color: var(--navy);
  border-radius: var(--radius-pill);
  padding: 0.85rem 1.4rem;
  font-weight: 600;
}
.btn-turquoise:hover { background: var(--turquoise-hover); color: var(--navy); }

.btn-link {
  background: none;
  color: var(--navy);
  padding: 0.7rem 0.4rem;
  border-radius: 0;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.28em;
  text-decoration-thickness: 1px;
}
.btn-link:hover { color: var(--ocean); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  background: color-mix(in srgb, var(--sand-dark) 70%, #fff);
  border-radius: var(--radius-pill);
  padding: 0.15rem;
}
.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.32rem 0.55rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  line-height: 1;
}
.lang-switch button[aria-pressed="true"],
.lang-switch button.is-active {
  background: var(--navy);
  color: #fff;
}
.lang-switch button:hover:not([aria-pressed="true"]) {
  color: var(--navy);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  border-radius: 0.5rem;
}
.menu-toggle svg { width: 1.4rem; height: 1.4rem; }

.nav-mobile {
  display: none;
  border-top: 1px solid color-mix(in srgb, var(--navy) 8%, transparent);
  background: var(--sand);
  padding: 0.75rem 0 1.25rem;
}
.nav-mobile.is-open { display: block; }
.nav-mobile a {
  display: block;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--navy) 6%, transparent);
}
.nav-mobile .btn-navy { margin-top: 0.85rem; width: 100%; }

@media (min-width: 880px) {
  .nav-desktop { display: flex; }
  .menu-toggle, .nav-mobile { display: none !important; }
  .logo-link img,
  .logo-link .logo-img { height: 3.1rem; }
}

/* ========== Hero ========== */
.hero {
  padding: 2.25rem 0 3.5rem;
}
.hero-eyebrow {
  margin: 0 0 1.15rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}
.hero h1 {
  margin: 0 0 0.7rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.15rem, 8vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--navy);
  max-width: 13em;
}
.hero h1 .accent { color: var(--ocean); white-space: nowrap; }
.hero h1 .hero-end { white-space: nowrap; }
.hero-sub {
  margin: 0 0 1.15rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--navy);
  max-width: 40em;
}
.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 36em;
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 400;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.15rem;
}
.hero-ctas .btn-navy { padding: 0.85rem 1.35rem; }

@media (min-width: 880px) {
  .hero { padding: 3.25rem 0 5rem; }
  .hero-lead { font-size: 1.125rem; }
}

/* ========== Calculator ========== */
.calculator {
  padding: 0 0 4.5rem;
}
.calc-panel {
  background: var(--calc-bg);
  border-radius: 1.75rem;
  padding: 1.5rem 1.25rem 1.35rem;
  display: grid;
  gap: 1.5rem;
}
.calc-label-pill {
  display: inline-block;
  background: var(--sand);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.1rem;
}
.calc-panel h2 {
  margin: 0 0 1.35rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.calc-field {
  margin-bottom: 1.15rem;
}
.calc-field:last-child { margin-bottom: 0; }
.calc-field-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}
.calc-field label {
  font-size: 0.95rem;
  color: var(--navy);
}
.calc-value {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
  background: transparent;
  border: 0;
  text-align: right;
  width: 9.5rem;
  padding: 0;
}
.calc-value:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 0.25rem;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 0.35rem;
  border-radius: var(--radius-pill);
  background: #fff;
  outline: none;
  margin: 0.35rem 0 0;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--navy);
  border: 0;
  cursor: pointer;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--navy) 12%, transparent);
}
input[type="range"]::-moz-range-thumb {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--navy);
  border: 0;
  cursor: pointer;
}
input[type="range"]::-moz-range-track {
  height: 0.35rem;
  background: transparent;
  border: 0;
}
input[type="range"]:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px var(--ocean);
}

.calc-result {
  background: var(--navy);
  color: #f3efe6;
  border-radius: 1.25rem;
  padding: 1.6rem 1.5rem 1.45rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 16rem;
}
.calc-result .kicker {
  margin: 0 0 0.2rem;
  font-size: 0.92rem;
  color: color-mix(in srgb, #fff 70%, var(--sand));
}
.calc-result .amount {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.3rem, 6vw, 3.15rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
}
.calc-result hr {
  border: 0;
  border-top: 1px solid color-mix(in srgb, #fff 16%, transparent);
  margin: 1.15rem 0 1.05rem;
}
.calc-result .kept {
  color: var(--turquoise);
}
.calc-result .year {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: var(--turquoise);
  opacity: 0.92;
}

@media (min-width: 880px) {
  .calc-panel {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    padding: 2.15rem 2rem 2rem;
    align-items: stretch;
  }
  .calc-panel h2 { font-size: 1.5rem; }
  .calc-result { padding: 2rem 2.1rem; min-height: 100%; }
}

/* ========== Services ========== */
.services {
  padding: 2rem 0 4rem;
}
.services h2,
.packs h2,
.about h2 {
  margin: 0 0 1.75rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.15rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.services h2 { max-width: 16.6em; }

.services-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}
.service-card {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.15rem 1.25rem;
  box-shadow: var(--shadow-card);
  min-height: 9.5rem;
}
.service-card .dash {
  display: block;
  width: 1.15rem;
  height: 3px;
  background: var(--ocean);
  border-radius: 2px;
  margin-bottom: 0.75rem;
}
.service-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.service-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

@media (min-width: 640px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .services { padding: 3rem 0 5rem; }
  .services h2 { margin-bottom: 2.25rem; }
}

/* ========== Process ========== */
.process {
  padding: 1rem 0 4.5rem;
}
.process-grid {
  display: grid;
  gap: 1.75rem 2rem;
}
.process-step .num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  color: var(--deep);
  line-height: 1;
  margin-bottom: 0.65rem;
}
.process-step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 700;
}
.process-step p {
  margin: 0;
  color: var(--muted);
  max-width: 32em;
}

@media (min-width: 800px) {
  .process-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .process { padding: 1.5rem 0 5.5rem; }
  .process-step .num { font-size: 2.75rem; }
}

/* ========== Packs ========== */
.packs {
  padding: 0 0 1.5rem;
}
.packs-grid {
  display: grid;
  gap: 1rem;
}
.pack {
  background: var(--card);
  border-radius: 1.35rem;
  padding: 1.6rem 1.4rem 1.5rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.pack-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}
.pack h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}
.pack .price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.85rem;
  letter-spacing: -0.03em;
  margin: 0 0 1.1rem;
  line-height: 1.1;
}
.pack .price .unit {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted-2);
  margin-left: 0.25rem;
}
.pack ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.pack li {
  font-size: 0.95rem;
  color: var(--muted);
}
.pack .popular {
  display: inline-block;
  background: var(--turquoise);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.28rem 0.6rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.pack-featured {
  background: var(--navy);
  color: #fff;
}
.pack-featured h3 { color: #fff; }
.pack-featured .price { color: #fff; }
.pack-featured .price .unit { color: color-mix(in srgb, #fff 65%, var(--turquoise)); }
.pack-featured li { color: color-mix(in srgb, #fff 88%, var(--turquoise)); }
.pack-featured .btn-turquoise {
  margin-top: 1.5rem;
  width: 100%;
}

.guarantee {
  margin: 1.25rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 54em;
}

@media (min-width: 900px) {
  .packs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
    align-items: stretch;
  }
  .pack { padding: 1.85rem 1.6rem 1.7rem; }
  .pack-featured { transform: none; }
  .packs h2 { margin-bottom: 2rem; }
}

/* ========== Audit form ========== */
.audit {
  padding: 3rem 0 3.5rem;
}
.audit-panel {
  background: var(--deep);
  color: #fff;
  border-radius: 1.5rem;
  padding: 1.75rem 1.35rem 1.5rem;
  display: grid;
  gap: 1.5rem;
}
.audit-panel h2 {
  margin: 0 0 0.7rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
}
.audit-copy {
  margin: 0;
  color: color-mix(in srgb, #fff 88%, var(--turquoise));
  max-width: 36em;
  font-size: 0.98rem;
}
.audit-form {
  display: grid;
  gap: 0.85rem;
}
.audit-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: color-mix(in srgb, #fff 92%, var(--turquoise));
}
.audit-form input,
.audit-form textarea {
  width: 100%;
  border: 0;
  border-radius: 0.7rem;
  padding: 0.8rem 0.95rem;
  background: #fff;
  color: var(--navy);
}
.audit-form textarea {
  resize: vertical;
  min-height: 6.5rem;
  line-height: 1.45;
}
.audit-form input::placeholder,
.audit-form textarea::placeholder {
  color: #8AA0AA;
}
.audit-form .btn-turquoise {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.95rem 1.4rem;
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
  color: #fff;
  min-height: 1.2em;
}
.form-status.is-error { color: #FFD5D5; }
.form-status.is-ok { color: var(--turquoise); }
.form-fallback {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
}
.form-fallback a { color: var(--turquoise); }
.turnstile-holder,
.cf-turnstile { margin: 0.25rem 0 0.15rem; }

@media (min-width: 880px) {
  .audit { padding: 4rem 0 5rem; }
  .audit-panel {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2.4rem 2.4rem 2.2rem;
    align-items: center;
  }
}

/* ========== Footer ========== */
.site-footer {
  padding: 1rem 0 2.5rem;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  padding: 0.5rem 0 1.5rem;
}
.footer-brand .lotus {
  width: 3.1rem;
  height: auto;
  margin-bottom: 0.65rem;
}
.footer-wordmark {
  font-family: Inter, var(--font-body);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.38em;
  padding-left: 0.38em; /* optical centering with letter-spacing */
  line-height: 1;
}
.footer-wordmark .bua { color: var(--navy); }
.footer-wordmark .blue { color: var(--ocean); }
.footer-tagline {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.7rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}
.footer-tagline::before,
.footer-tagline::after {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--line);
}

.footer-bar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
  padding-top: 1.15rem;
  border-top: 1px solid color-mix(in srgb, var(--navy) 10%, transparent);
  font-size: 0.8rem;
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: 0.35rem 0.85rem;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 0.2em; }

@media (min-width: 720px) {
  .footer-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .site-footer { padding-bottom: 3rem; }
}

/* ========== Legal / utility pages ========== */
.legal {
  padding: 2.5rem 0 4rem;
  max-width: 44rem;
}
.draft-banner {
  background: var(--sand-dark);
  border-left: 3px solid var(--ocean);
  padding: 0.85rem 1rem;
  border-radius: 0 0.6rem 0.6rem 0;
  margin: 0 0 1.5rem;
  color: var(--navy);
  font-size: 0.95rem;
}
.legal h1 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 0.5rem;
}
.legal .meta {
  color: var(--muted);
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
}
.legal h2 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  margin: 1.75rem 0 0.5rem;
}
.legal p { color: var(--muted); }

.page-404 {
  padding: 5rem 0 6rem;
  text-align: center;
}
.page-404 h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6vw, 3.5rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

/* ========== Misc ========== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ------------------------------------------------------------------
   Boutique refinements (preview variant only)
   ------------------------------------------------------------------ */

body {
  font-size: 1.0625rem;
  line-height: 1.65;
  background: var(--sand);
}

.wrap { padding: 0 clamp(1.25rem, 4vw, 2.25rem); }

.site-header {
  background: color-mix(in srgb, var(--sand) 92%, transparent);
  border-bottom: 1px solid var(--hairline);
}

.header-inner { min-height: var(--header-h); }

.nav-desktop a {
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

/* Larger, more open headings */
.hero h1 {
  font-size: clamp(2.5rem, 7.2vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 800;
  max-width: 14ch;
}

.hero-sub {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  line-height: 1.3;
  max-width: 22em;
  margin-top: 1.15rem;
}

.hero-lead {
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 34em;
  margin-top: 1.15rem;
}

.hero-eyebrow,
.section-eyebrow,
.calc-label-pill {
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.services h2,
.packs h2,
.about h2,
.audit-panel h2,
.calc-panel h2 {
  font-size: clamp(2.35rem, 5.4vw, 3.85rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.services h2 { max-width: 15.5em; margin-bottom: 2.75rem; }
.packs h2 { margin-bottom: 2.5rem; }

.service-card h3,
.pack h3,
.process-step h3 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.service-card,
.pack,
.calc-panel {
  background: var(--sand-light);
  border: 1px solid var(--hairline);
  box-shadow: none;
}
.audit-panel {
  background: var(--deep);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: none;
}

.pack-featured,
.pack.pack-featured {
  background: var(--navy);
  color: #fff;
  border-color: transparent;
}

.service-card {
  padding: 1.55rem 1.4rem 1.6rem;
  border-radius: var(--radius-sm);
}

.pack { padding: 2rem 1.7rem 1.85rem; }

/* Stronger sand bands and more air */
.hero { padding: 0 0 5.5rem; position: relative; overflow: hidden; }
.calculator { padding: 0 0 5.5rem; }
.services { padding: 4.5rem 0 5.5rem; }
.process { padding: 3.5rem 0 6rem; position: relative; }
.packs { padding: 0 0 2.5rem; }
.audit { padding: 4.5rem 0 5.5rem; }
.site-footer { background: var(--sand-dark); border-top: 1px solid var(--hairline); }

@media (min-width: 800px) {
  .hero { padding: 0 0 6.5rem; }
  .calculator { padding: 0 0 6.5rem; }
  .services { padding: 5.5rem 0 6.5rem; }
  .process { padding: 4.5rem 0 7rem; }
  .audit { padding: 5.5rem 0 6.5rem; }
  .services-grid { gap: 1.15rem; }
  .calc-panel { padding: 2.5rem 2.25rem 2.35rem; }
}

/* Hero with photograph and overlapping sand card */
.hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: min(72vh, 40rem);
  overflow: hidden;
  background: var(--sand-dark);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  display: block;
}

.hero-layout {
  position: relative;
  margin-top: -4.5rem;
  display: grid;
  gap: 0.85rem;
}

.hero-card {
  background: var(--sand);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.75rem 1.4rem 1.6rem;
  max-width: 42rem;
}

.hero-credit {
  margin: 0;
  font-size: 0.72rem;
  color: var(--muted-2);
  letter-spacing: 0.02em;
}

@media (min-width: 800px) {
  .hero-media {
    aspect-ratio: 16 / 8.2;
    max-height: min(78vh, 46rem);
  }
  .hero-layout { margin-top: -7.5rem; }
  .hero-card {
    padding: 2.6rem 2.5rem 2.3rem;
    max-width: 46rem;
  }
}


.section-eyebrow {
  margin: 0 0 0.85rem;
  color: var(--deep);
}

/* Thin-line lotus motifs */
.lotus-motif {
  position: absolute;
  width: 7.5rem;
  height: auto;
  opacity: 0.18;
  color: var(--ocean);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.lotus-motif-hero {
  right: clamp(0.5rem, 4vw, 3rem);
  bottom: 1.5rem;
  width: 8.5rem;
}
.lotus-motif-process {
  left: clamp(0.5rem, 3vw, 2rem);
  top: 0;
  width: 7rem;
}

.process-grid,
.hero-card { position: relative; z-index: 1; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(1.15rem);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .lang-switch button,
  input[type="range"] {
    transition: none;
  }
}

/* Calc panel sits on slightly cooler sand-mix, still hairline */
.calc-panel { background: color-mix(in srgb, var(--calc-bg) 55%, var(--sand-light)); }
.calc-result {
  border: 1px solid var(--hairline);
}

.service-card .dash {
  background: var(--ocean);
}


/* ------------------------------------------------------------------
   Typography variant — Serif
   Display: Cormorant Garamond (variable 300–700). Body stays Inter.
   Thai headings use Noto Serif Thai so they keep a matching serif voice.
   ------------------------------------------------------------------ */

.hero h1,
.legal h1,
.page-404 h1 {
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.06;
}
.hero h1 {
  font-size: clamp(2.7rem, 7.4vw, 5.1rem);
  line-height: 1.05;
  max-width: 14ch;
}

.hero-sub {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  letter-spacing: 0.01em;
  line-height: 1.32;
}

.services h2,
.packs h2,
.about h2,
.audit-panel h2,
.calc-panel h2,
.legal h2 {
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.services h2,
.packs h2,
.about h2,
.audit-panel h2,
.calc-panel h2 {
  font-size: clamp(2.5rem, 5.6vw, 4.05rem);
}

.service-card h3,
.pack h3,
.process-step h3 {
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.22;
}

.pack h3 {
  font-size: 1.65rem;
  font-weight: 500;
}

.hero h1,
.hero-sub,
.pack .price,
.calc-result .amount,
.process-step .num {
  font-variant-numeric: lining-nums;
}

.pack .price,
.calc-result .amount,
.process-step .num {
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.calc-result .amount {
  font-size: clamp(2.5rem, 6vw, 3.45rem);
}

.process-step .num {
  font-weight: 400;
  font-size: 2.9rem;
  letter-spacing: 0.06em;
}
@media (min-width: 900px) {
  .process-step .num { font-size: 3.2rem; }
}


@media (min-width: 880px) and (max-width: 1140px) {
  .nav-desktop { gap: 0.1rem 0.85rem; }
  .nav-desktop a { font-size: 0.88rem; }
}


/* ========== About / who we are ========== */
.about {
  padding: 3.5rem 0 5rem;
}
.about h2 { margin-bottom: 1.15rem; }
.about-lead {
  margin: 0 0 2.25rem;
  max-width: 38em;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--muted);
}
.about-team {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}
.about-person {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  background: var(--sand-light);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 1.6rem 1.5rem 1.55rem;
  box-shadow: none;
}
.about-mono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.35rem;
  height: 3.35rem;
  margin-bottom: 0.95rem;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--sand-dark);
  color: var(--navy);
  font-family: Inter, var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  padding-left: 0.14em; /* optical centering with tracking */
  line-height: 1;
}
.about-person h3 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.65rem;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.about-person p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 22em;
}
@media (min-width: 720px) {
  .about-team { grid-template-columns: 1fr 1fr; max-width: 40rem; }
}
@media (min-width: 800px) {
  .about { padding: 4.5rem 0 6rem; }
}
