/* AWR landing page — built on the "Crimson Hospitality" design system tokens.
   Prompt everywhere, near-black ink, one crimson focal point per view, rules not shadows. */

/* English text in Arial, Thai text in Prompt: "AWR Latin" maps the system Arial to Latin code points only,
   so Thai characters fall through to Prompt. Arial ships in two weights; 300–500 use Regular, 600+ use Bold. */
@font-face { font-family: "AWR Latin"; src: local("Arial"), local("ArialMT"); font-weight: 100 500; font-style: normal;
  unicode-range: U+0000-00FF, U+0100-024F, U+2000-206F, U+20A0-20CF, U+2100-214F, U+2190-21FF; }
@font-face { font-family: "AWR Latin"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 600 900; font-style: normal;
  unicode-range: U+0000-00FF, U+0100-024F, U+2000-206F, U+20A0-20CF, U+2100-214F, U+2190-21FF; }

:root {
  color-scheme: light;
  --brand: #a32035;
  --brand-hover: #8a1a2c;
  --brand-text: #a32035;
  --brand-soft: #f6e8ea;
  --brand-deep: #5c1220;
  --brand-on-image: #ec3b55; /* red that stays readable on the dark hero photos (4.6:1), client asked for red not pink 2026-10-28 */
  --ink: #1a1a1a;
  --text: #212529;
  --muted: #6d6f72;
  --surface-0: #ffffff;
  --surface-100: #f5f5f5;
  --surface-200: #ebebeb;
  --line: #e3e3e3;
  --line-strong: #6d6f72;
  --on-brand: #ffffff;
  --on-image: #ffffff;
  --overlay: rgba(0, 0, 0, 0.45);
  --success: #2e7d4f;

  --font: "AWR Latin", "Prompt", "Noto Sans Thai", Tahoma, sans-serif;
  --container: 1110px;
  --measure: 640px;
  --gutter: 16px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 80px;
  --space-8: 120px;
  --radius-sm: 4px;
  --radius-hero: 24px;
  --shadow-header: 0 1px 0 rgba(0, 0, 0, 0.08);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface-0);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.lang-th { line-height: 27px; letter-spacing: 0.2px; }
body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: var(--brand-text); text-decoration: none; }
a:hover { color: var(--brand-hover); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
h1, h2, h3, h4, p { margin: 0; }
sup { font-size: 0.6em; line-height: 0; vertical-align: super; letter-spacing: 0; }

.icon { width: 24px; height: 24px; flex: none; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 16px; z-index: 100; }
.skip-link:focus { left: 8px; color: #fff; }

/* ---------- type ---------- */
.eyebrow {
  display: block;
  font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--brand-text);
  margin-bottom: var(--space-3);
}
.section-bar { display: block; width: 32px; height: 3px; background: var(--brand); margin-bottom: var(--space-3); }
.h2 { font-size: 30px; line-height: 45px; font-weight: 600; letter-spacing: 1px; color: var(--ink); }
.h3 { font-size: 22px; line-height: 32px; font-weight: 600; letter-spacing: 1px; color: var(--ink); }
.h4 { font-size: 18px; line-height: 27px; font-weight: 600; letter-spacing: 1px; color: var(--ink); }
.lead { font-size: 18px; line-height: 30px; font-weight: 300; color: var(--text); max-width: var(--measure); }
.small { font-size: 14px; line-height: 22px; color: var(--muted); }
.caption { font-size: 13px; line-height: 20px; color: var(--muted); }
@media (max-width: 767px) {
  .h2 { font-size: 26px; line-height: 38px; }
  .h3 { font-size: 20px; line-height: 30px; }
  .lead { font-size: 16px; line-height: 27px; }
}

.section { padding: var(--space-7) 0; }
@media (min-width: 1024px) { .section { padding: var(--space-8) 0; } }
.section--band { background: var(--surface-100); }
.section--band + .section--band { border-top: 1px solid var(--line); }
.section-head { margin-bottom: var(--space-6); max-width: 760px; }
.section-head .lead { margin-top: var(--space-3); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .section-bar { margin-left: auto; margin-right: auto; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }
/* Portfolio: full-width heading, title on one line and the intro in two (option A, 2026-10-28) */
#portfolio .section-head { max-width: none; }
#portfolio .section-head .lead { max-width: none; font-size: 16px; line-height: 27px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.lang-th .btn { letter-spacing: 0.5px; font-size: 15px; }
.btn .icon { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--brand); color: var(--on-brand); }
.btn--primary:hover { background: var(--brand-hover); color: var(--on-brand); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: transparent; color: var(--on-image); border-color: rgba(255,255,255,.7); }
.btn--light:hover { background: rgba(255,255,255,.12); color: var(--on-image); }
.btn--sm { min-height: 40px; padding: 8px 16px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: var(--brand-text); }
.lang-th .link-arrow { letter-spacing: .3px; font-size: 15px; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface-0); box-shadow: var(--shadow-header); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: var(--space-4); }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 46px; width: auto; }
.brand__awc { height: 56px !important; }
.nav { display: none; flex: 1; justify-content: center; gap: 4px; }
.nav__link { position: relative; padding: 10px 10px; font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: .3px; color: var(--ink); white-space: nowrap; }
.nav__link::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__item.is-open > .nav__link::after { transform: scaleX(1); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 12px;
  background: none; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer;
  font-size: 13px; font-weight: 600; letter-spacing: 1px; color: var(--ink);
}
.lang-toggle:hover { border-color: var(--line-strong); }
.lang-toggle .icon { width: 18px; height: 18px; color: var(--brand); }
.lang-toggle span[aria-hidden] { color: var(--muted); font-weight: 400; }
.lang-toggle b { font-weight: 600; }
.lang-toggle .is-off { color: var(--muted); font-weight: 400; }
.header-cta { display: none; white-space: nowrap; }
.menu-btn { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; color: var(--ink); }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }
@media (min-width: 1180px) { .nav { display: flex; } .menu-btn { display: none; } }
@media (max-width: 479px) { .brand { gap: 8px; } .brand img { height: 36px; } .brand__awc { height: 44px !important; } }

.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--surface-0); }
.mobile-nav.is-open { display: block; }
/* the open menu scrolls on its own and the page behind it stays put */
.mobile-nav.is-open { max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
body.menu-open { overflow: hidden; }
@media (min-width: 1024px) { body.menu-open { overflow: visible; } }  /* menu hides at this width (e.g. tablet rotated): don't leave the page locked */
.mobile-nav a { display: block; padding: 14px var(--gutter); border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); }
/* the generic .mobile-nav a rule (dark text, left aligned, bottom rule) must not reach the Register button */
.mobile-nav .btn { margin: 16px var(--gutter); width: calc(100% - 2 * var(--gutter)); display: flex; justify-content: center; border-bottom: 0; }
.mobile-nav .btn--primary, .mobile-nav .btn--primary:hover { color: var(--on-brand); }
@media (min-width: 1180px) { .mobile-nav { display: none !important; } }

/* ---------- hero ---------- */
.hero { position: relative; color: var(--on-image); overflow: hidden; border-radius: 0 0 var(--radius-hero) var(--radius-hero); background: #1c1418; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; transform: scale(1.08); animation: heroZoom 9s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(12,8,10,.45) 0%, rgba(12,8,10,.29) 40%, rgba(12,8,10,.07) 70%, rgba(12,8,10,0) 100%),  /* lighter, 55% → 45% (2026-10-29) */
              linear-gradient(0deg, rgba(12,8,10,.32) 0%, rgba(12,8,10,0) 35%);
}
.hero__inner { min-height: min(86vh, 760px); display: flex; flex-direction: column; justify-content: center; padding-top: var(--space-7); padding-bottom: var(--space-7); }
.hero__name { font-size: clamp(18px, 2vw, 24px); line-height: 1.35; font-weight: 400; letter-spacing: .3px; color: var(--on-image); margin-bottom: var(--space-4); max-width: 30em; }
.lang-th .hero__name { letter-spacing: 0; }
.hero__title { font-size: clamp(30px, 4.4vw, 54px); line-height: 1.16; font-weight: 600; letter-spacing: .5px; max-width: 15em; text-wrap: balance; text-transform: uppercase; }
.lang-th .hero__title { text-transform: none; line-height: 1.3; max-width: 17em; font-size: clamp(28px, 4.4vw, 54px); text-wrap: wrap; }  /* no balance in Thai: balance + nowrap phrases crashes Chrome (2026-10-29) */
.hero__title .accent { color: var(--brand); }
/* EN title has set line breaks from 768px; phones wrap freely */
@media (min-width: 768px) { html[lang="en"] .hero__title { max-width: none; font-size: min(3.9vw, 46px); } }  /* longest line "And Lifestyle Commercial Properties" ≈ 22 × font size */
@media (max-width: 767px) { .hero__br { display: none; } }
.hero__actions { margin-top: var(--space-5); display: flex; flex-wrap: wrap; gap: 12px; }
.hero-rise { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.hero-rise:nth-child(2) { animation-delay: .12s; }
.hero-rise:nth-child(3) { animation-delay: .24s; }
.hero-rise:nth-child(4) { animation-delay: .36s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (max-width: 767px) {
  .hero::after { background: linear-gradient(0deg, rgba(12,8,10,.75) 0%, rgba(12,8,10,.45) 55%, rgba(12,8,10,.3) 100%); }  /* lighter so the red title reads (option A, 2026-10-29) */
  .hero__name { font-size: 16px; line-height: 22px; }
  .hero__inner { min-height: 620px; justify-content: flex-end; padding-bottom: var(--space-6); }
  .hero__actions .btn { width: 100%; }
}
.video { position: relative; aspect-ratio: 16 / 9; background: #111; overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.disc { width: 64px; height: 64px; border-radius: 9999px; background: var(--surface-200); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; flex: none; transition: background-color .3s var(--ease), color .3s var(--ease); }
.disc .icon { width: 28px; height: 28px; }
.footnotes { margin-top: var(--space-5); padding: 0; list-style: none; display: grid; gap: 4px; counter-reset: fn; }
.footnotes li { position: relative; padding-left: 24px; font-size: 12px; line-height: 18px; color: var(--muted); counter-increment: fn; }
.footnotes li::before { content: "(" counter(fn) ")"; position: absolute; left: 0; }
.footnotes--plain li { padding-left: 0; }
.footnotes--plain li::before { content: none; }
/* home portfolio strip: five tiles edge to edge, photo cropped 7:10, label band below (client reference) */
.pf-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 12px; scroll-padding-inline: var(--gutter); scrollbar-width: thin; }
@media (min-width: 640px) { .pf-strip { grid-auto-columns: 34%; } }
@media (min-width: 1024px) { .pf-strip { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; } }
.pf-tile { display: flex; flex-direction: column; color: var(--ink); scroll-snap-align: start; }
.pf-tile__img { display: block; aspect-ratio: 7 / 10; overflow: hidden; background: var(--surface-200); }
.pf-tile__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.pf-tile:hover .pf-tile__img img { transform: scale(1.05); }
.pf-tile__label { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 96px; padding: 16px 8px; background: linear-gradient(180deg, #ececec 0%, #f7f7f7 100%); text-align: center; font-size: 17px; line-height: 23px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; color: #2b2b2b; transition: color .25s var(--ease); }
.lang-th .pf-tile__label { font-size: 18px; line-height: 26px; letter-spacing: 0; }
.pf-tile:hover .pf-tile__label { color: var(--brand-text); }
@media (min-width: 1024px) and (max-width: 1279px) { .pf-tile__label { font-size: 15px; line-height: 21px; } }
.nowrap { white-space: nowrap; }
/* ---------- key figures strip (overlaps the hero) ---------- */
.highlights { position: relative; z-index: 3; margin-top: -96px; }
.hero__inner { padding-bottom: calc(var(--space-7) + 96px); }
.kf { background: var(--surface-0); border-top: 3px solid var(--brand); box-shadow: 0 28px 56px -28px rgba(40, 12, 20, .32); padding: 28px 28px 36px; }
.kf__label { font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--brand-text); margin-bottom: 20px; }
.lang-th .kf__label { letter-spacing: .3px; font-size: 15px; }
.kf__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.kf__item { padding: 4px 12px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.kf__item:first-child { border-left: 0; }
.kf__label { text-align: center; }
.kf__item { align-items: center; text-align: center; }
.kf__value { justify-content: center; }
.kf__text { margin: 0 auto; white-space: pre-line; } /* \n in a label is a forced line break */
.kf__icon { width: 44px; height: 44px; border-radius: 9999px; background: var(--brand-soft); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; }
.kf__icon .icon { width: 22px; height: 22px; }
.kf__value { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 5px; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.05; font-weight: 600; letter-spacing: -.5px; color: var(--brand-text); font-variant-numeric: tabular-nums; }
.kf__pre, .kf__unit { font-size: 18px; line-height: 1.2; font-weight: 500; letter-spacing: 0; color: var(--ink); }
/* The hidden final value holds the width, so the count-up never reflows the card. */
.kf__num { white-space: nowrap; position: relative; display: inline-block; }
.kf__ghost { visibility: hidden; }
.kf__live { position: absolute; left: 0; top: 0; }
.kf__text { font-size: 15px; line-height: 22px; color: var(--text); max-width: 22ch; }
@media (max-width: 899px) {
  .kf__value { font-size: 40px; }
  .kf__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kf__item { padding: 20px 10px; border-left: 0; border-top: 1px solid var(--line); }
  .kf__item:nth-child(-n+2) { border-top: 0; padding-top: 4px; }
  .kf__item:nth-child(even) { border-left: 1px solid var(--line); }
  .kf__item:last-child:nth-child(odd) { grid-column: 1 / -1; } /* 5th figure spans both columns */
}
@media (max-width: 767px) {
  .highlights { margin-top: -48px; }
  .hero__inner { padding-bottom: calc(var(--space-6) + 48px); }
  .kf { padding: 22px 20px 24px; }
  .kf__value { font-size: 32px; }
  .kf__pre, .kf__unit { font-size: 15px; }
  .kf__text { font-size: 13px; line-height: 19px; }
  .kf__icon { width: 36px; height: 36px; }
  .kf__icon .icon { width: 18px; height: 18px; }
}

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 0; }
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(10,8,9,.72); opacity: 0; transition: opacity .3s var(--ease); }
.modal.is-visible .modal__backdrop { opacity: 1; }
.modal__dialog { position: relative; background: var(--surface-0); width: 100%; height: 100%; overflow-y: auto; opacity: 0; transform: translateY(24px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.modal.is-visible .modal__dialog { opacity: 1; transform: none; }
.modal__dialog:focus { outline: none; }
@media (min-width: 768px) { .modal { padding: 32px; } .modal__dialog { height: auto; max-height: calc(100vh - 64px); max-width: 1120px; } }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 44px; height: 44px; border-radius: 9999px; border: 0; background: rgba(255,255,255,.92); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.modal__close:hover { background: #fff; color: var(--brand); }
.modal__dialog:has(.video-modal) { background: #000; overflow: visible; }
.video-modal { padding: 0; }
@media (max-width: 767px) { .modal__dialog:has(.video-modal) { height: auto; margin: auto 0; } .modal:has(.video-modal) { align-items: center; } }
.property-modal { display: grid; }
@media (min-width: 960px) { .property-modal { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .property-modal .slider { height: 100%; min-height: 560px; } }
.property-modal__info { padding: var(--space-5) var(--space-4) var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); }
@media (min-width: 960px) { .property-modal__info { padding: var(--space-6) var(--space-5); max-height: calc(100vh - 64px); overflow-y: auto; } }
.badge { align-self: flex-start; display: inline-flex; padding: 4px 10px; background: var(--brand-soft); color: var(--brand-text); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; border-radius: var(--radius-sm); }
.lang-th .badge { letter-spacing: .3px; font-size: 13px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: var(--space-2) 0 0; border-top: 1px solid var(--line); }
.facts div { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 12px; line-height: 16px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.lang-th .facts dt { letter-spacing: .3px; font-size: 13px; }
.facts dd { margin: 4px 0 0; font-size: 15px; line-height: 22px; font-weight: 500; color: var(--ink); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; font-size: 15px; line-height: 22px; }
.hl-num { color: var(--brand-text); font-weight: 600; font-size: 1.25em; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.check-list .icon { width: 20px; height: 20px; color: var(--brand); margin-top: 1px; }
.prose p + p { margin-top: 12px; }
.prose p { font-size: 15px; line-height: 25px; }

/* slider */
.slider { position: relative; background: #111; aspect-ratio: 3 / 2; overflow: hidden; touch-action: pan-y; }
@media (min-width: 960px) { .slider { aspect-ratio: auto; } }
.slider__track { display: flex; height: 100%; transition: transform .5s var(--ease); }
.slider__slide { flex: 0 0 100%; height: 100%; }
.slider__slide img { width: 100%; height: 100%; object-fit: cover; }
.slider__slide img.is-contain { object-fit: contain; }
/* controls below the image (option A, 2026-10-28): count · progress bar · round arrow buttons */
.slider-wrap:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
.slider__controls { display: flex; align-items: center; gap: 24px; margin-top: 20px; }
.slider__count { margin-right: auto; white-space: nowrap; font-size: 14px; line-height: 1; font-weight: 500; letter-spacing: 1px; color: var(--muted); font-variant-numeric: tabular-nums; }
.slider__bar { position: relative; flex: 0 1 200px; min-width: 64px; height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.slider__fill { position: absolute; top: 0; bottom: 0; left: 0; background: var(--ink); opacity: .62; border-radius: 2px; transition: transform .5s var(--ease); }
.slider__btn { flex: none; width: 48px; height: 48px; border-radius: 9999px; border: 1px solid var(--ink); background: var(--surface-0); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, opacity .2s; }
.slider__btn .icon { width: 22px; height: 22px; }
.slider__btn--prev { margin-right: -12px; }  /* 12px between the two buttons inside the 24px row gap */
.slider__btn:hover:not(:disabled) { background: var(--brand); border-color: var(--brand); color: #fff; }
.slider__btn:disabled { opacity: .35; cursor: default; }
@media (max-width: 479px) { .slider__controls { gap: 16px; } .slider__btn--prev { margin-right: -6px; } .slider__btn { width: 44px; height: 44px; } }

/* ---------- strengths ---------- */
.strengths { display: grid; gap: var(--space-6); }
@media (min-width: 1024px) { .strengths { grid-template-columns: minmax(0, 9fr) minmax(0, 14fr); gap: 56px; align-items: start; } .strengths__aside { position: sticky; top: calc(var(--header-h) + 32px); } }
.strengths__visual { margin-top: var(--space-5); position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; display: none; background: var(--surface-200); }
@media (min-width: 1024px) { .strengths__visual { display: block; } }
.strengths__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .5s var(--ease), transform .8s var(--ease); }
.strengths__visual img.is-on { opacity: 1; transform: none; }
.strengths__visual-num { position: absolute; left: 0; bottom: 0; z-index: 1; background: var(--brand); color: #fff; font-size: 40px; line-height: 1; font-weight: 600; padding: 18px 22px; font-variant-numeric: tabular-nums; }
.strength-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); counter-reset: s; }
.strength-row { border-bottom: 1px solid var(--line); }
.strength-row a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 20px; align-items: center; padding: 24px 16px; color: var(--ink); position: relative; transition: background-color .35s var(--ease); }
.strength-row a::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--brand); transition: width .45s var(--ease); }
/* hover only tints the row; padding stays fixed so the text never shifts */
.strength-row a:hover, .strength-row a:focus-visible { background: var(--brand-soft); }
.strength-row a:hover::before, .strength-row a:focus-visible::before { width: 100%; }
.strength-row a { align-items: start; }
.strength-row__num { font-size: 15px; line-height: 24px; font-weight: 600; letter-spacing: 1px; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 2px; }
/* top-aligned: a tall figure (two-line label) must not push its title down */
.strength-row__body { display: grid; grid-template-columns: minmax(0, 1fr) 264px; gap: 12px 24px; align-items: start; }
.strength-row__title { font-size: 16px; line-height: 24px; font-weight: 400; letter-spacing: .3px; color: var(--text); }
.strength-row__fig { display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--line); padding-left: 24px; }
.strength-row__val { font-size: clamp(24px, 2.2vw, 30px); line-height: 1; font-weight: 600; letter-spacing: -.5px; color: var(--brand-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.strength-row__unit { font-size: 20px; font-weight: 500; letter-spacing: 0; margin-left: 3px; }
.lang-th .strength-row__unit { font-size: 18px; }
.strength-row__val sup { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 2px; vertical-align: top; position: relative; top: 2px; }
.strengths__notes { margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--line); }
.strength-row__lab { align-items: flex-start; }
.strength-row__lab .icon { margin-top: 1px; }
.strength-row__lab { display: inline-flex; align-items: flex-start; gap: 6px; font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); }
.lang-th .strength-row__lab { font-size: 14px; letter-spacing: .2px; text-transform: none; }
.strength-row__lab .icon { width: 16px; height: 16px; flex: none; color: var(--brand); }
.strength-row__go { align-self: center; width: 48px; height: 48px; border-radius: 9999px; border: 1px solid var(--line-strong); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s, transform .3s var(--ease); }
.strength-row a:hover .strength-row__go { background: var(--brand); border-color: var(--brand); color: #fff; transform: rotate(-45deg); }
@media (max-width: 1199px) { .strength-row__body { grid-template-columns: minmax(0, 1fr) 250px; } }
@media (max-width: 639px) { .strength-row a { grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px 14px; } .strength-row__go { width: 40px; height: 40px; background: transparent; align-self: end; } .strength-row__go .icon { width: 20px; height: 20px; } .strength-row__body { grid-template-columns: 1fr; } .strength-row__fig { border-left: 0; padding-left: 0; } .strength-row__val { font-size: 28px; } }

/* ---------- faq ---------- */
/* A swipe strip of columns: three on phones (one in view, the next peeking in), four on desktop (two in view). */
.faq { display: grid; grid-auto-flow: column; align-items: start; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.faq::-webkit-scrollbar { display: none; }
.faq__page { scroll-snap-align: start; border-top: 1px solid var(--line-strong); }
@media (max-width: 899px) {
  .faq { grid-auto-columns: 86%; gap: 0 20px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scroll-padding-inline: var(--gutter); }
}
@media (min-width: 900px) {
  .faq { grid-auto-columns: calc((100% - var(--space-6)) / 2); gap: 0 var(--space-6); }
  .faq__page:nth-child(even) { scroll-snap-align: none; }  /* slides two columns at a time */
}
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 17px; line-height: 26px; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 22px; height: 22px; color: var(--brand); transition: transform .3s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq summary:hover { color: var(--brand-text); }
.faq__answer { padding: 0 32px 22px 0; }
.faq__answer p { font-size: 15px; line-height: 25px; }
.faq__answer p + p, .faq__answer p + ul, .faq__answer ul + p, .faq__answer p + ol, .faq__answer ol + p { margin-top: 10px; }
.faq__answer ul { margin: 6px 0 0; padding-left: 20px; list-style: disc; }
.faq__answer ol { margin: 6px 0 0; padding-left: 22px; list-style: decimal; }
.faq__answer li strong { font-weight: 600; color: var(--ink); }
.faq__answer li { font-size: 15px; line-height: 25px; }
.faq__answer li + li { margin-top: 4px; }
.faq__answer ol li + li { margin-top: 12px; }
.faq details[open] .faq__answer { animation: fadeDown .35s var(--ease); }
.faq__controls { margin-top: 24px; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- register ---------- */
.register { display: grid; gap: var(--space-6); }
@media (min-width: 960px) { .register { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-7); align-items: start; } }
.register__media { margin-top: var(--space-5); aspect-ratio: 16 / 10; overflow: hidden; display: none; }
@media (min-width: 960px) { .register__media { display: block; } }
.register__media img { width: 100%; height: 100%; object-fit: cover; }
.form { background: var(--surface-0); border: 1px solid var(--line); padding: var(--space-5) var(--space-4); }
@media (min-width: 640px) { .form { padding: var(--space-6) var(--space-6) var(--space-5); } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: .5px; color: var(--ink); }
.field label .req { color: var(--brand-text); margin-left: 2px; }
.field input { min-height: 52px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface-0); font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input::placeholder { color: #9a9c9f; }
/* The phone example (Thai + international) needs a smaller placeholder to fit on phones; typed text stays 16px. */
@media (max-width: 479px) { .field input::placeholder { font-size: 14px; } }
.field input:hover { border-color: var(--ink); }
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(163,32,53,.15); }
.field.has-error input { border-color: var(--brand); }
.field__error { display: none; font-size: 13px; line-height: 18px; color: var(--brand-text); }
.field.has-error .field__error { display: block; }
.field--check { margin: 4px 0 24px; }
.field .check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14px; line-height: 22px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand); cursor: pointer; }
.check input:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.check a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.check a:hover { color: var(--brand-text); }
.field--check .field__error { margin-left: 32px; }
.form .btn { width: 100%; }
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__error { font-size: 14px; line-height: 20px; color: var(--brand); margin: -12px 0 16px; }
.form-success { text-align: center; padding: var(--space-6) var(--space-4); display: flex; flex-direction: column; align-items: center; gap: 12px; }
@media (min-width: 640px) { .form-success { padding: var(--space-6) 64px; } }
.form-success .small { max-width: 52ch; }
.form-success .disc { background: var(--brand-soft); }

/* ---------- footer ---------- */
.site-footer { background: var(--surface-100); padding: var(--space-3) 0 var(--space-5); }
/* the last section runs straight into the footer (no rule between them), so trim its bottom space */
#main > .section:last-child { padding-bottom: var(--space-6); }
.site-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-4); padding-bottom: var(--space-5); border-bottom: 1px solid var(--line); }
.site-footer__brands { display: flex; align-items: center; justify-content: center; gap: var(--space-6); }
.site-footer__brands img { height: 56px; width: auto; mix-blend-mode: multiply; }
/* the AWC artwork has more padding in its canvas; 62px matches AWR's visible height */
.site-footer__brands .site-footer__awc { height: 62px; }
.site-footer__legal { padding-top: var(--space-4); display: grid; gap: 10px; text-align: center; }
.site-footer__privacy { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; padding-top: var(--space-4); }
.site-footer__privacy a, .site-footer__privacy button { font: inherit; font-size: 13px; line-height: 20px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; }
.site-footer__privacy a:hover, .site-footer__privacy button:hover { color: var(--brand-text); }

.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- cookie banner + preference centre (implementation-rules 15) ---------- */
/* ---------- AWC Cookie Consent SDK (reddot.js), styled to match the site (implementation-rules 15.1) ----------
   The SDK injects its own stylesheet; every rule here is scoped to #reddot so it wins. */
.site-footer [data-cookie-settings] { display: none; }
.has-cookie-sdk .site-footer [data-cookie-settings] { display: inline; }
#reddot .reddot { font-family: inherit; color: var(--ink); }
#reddot .reddot a { color: var(--brand-text); text-decoration: underline; text-underline-offset: 3px; }
#reddot .cm-btn { font: inherit; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; min-height: 36px; padding: 6px 14px; border-radius: 0; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; white-space: nowrap; box-shadow: none; }
#reddot .cm-btn.cm-btn-success, #reddot .cm-btn.cm-btn-accept { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
#reddot .cm-btn:hover { filter: none; opacity: .9; }
.lang-th #reddot .cm-btn { letter-spacing: .3px; }

/* banner: compact card, bottom right, beside the reCAPTCHA badge (8.6); slides in after the page animations */
#reddot .cookie-notice:not(.cookie-modal-notice) { position: fixed; left: auto; top: auto; right: 96px; bottom: 24px; z-index: 90; width: 380px; max-width: calc(100vw - 120px); margin: 0; padding: 0; background: var(--surface-0); border: 0; border-top: 3px solid var(--brand); border-radius: 0; box-shadow: 0 8px 32px rgba(10,8,9,.22); visibility: hidden; opacity: 0; transform: translateX(calc(100% + 120px)); transition: transform .7s var(--ease), opacity .7s var(--ease), visibility 0s linear .7s; }
#reddot.is-shown .cookie-notice:not(.cookie-modal-notice) { visibility: visible; opacity: 1; transform: none; transition: transform .7s var(--ease), opacity .7s var(--ease); }
#reddot .cookie-notice .cn-body { margin: 0; padding: 16px 18px; display: grid; gap: 10px; }
#reddot .cookie-notice .cn-body p { margin: 0; font-size: 13px; line-height: 20px; color: var(--ink); }
#reddot .cookie-notice .cn-ok { display: flex; align-items: center; gap: 8px; margin: 0; flex-wrap: nowrap; justify-content: flex-start; }
#reddot .cookie-notice .cn-learn-more { margin-right: auto; font-size: 12px; font-weight: 600; color: var(--ink); white-space: nowrap; }
#reddot .cookie-notice .cn-buttons { display: flex; gap: 8px; margin: 0; }
#reddot .cookie-notice .cn-buttons .cm-btn { margin: 0; width: auto; }
@media (max-width: 479px) { #reddot .cookie-notice:not(.cookie-modal-notice) { right: 12px; left: 12px; bottom: 12px; width: auto; max-width: none; } }

/* settings: same look as the site's dialogs */
#reddot .cookie-modal { z-index: 110; }
#reddot .cookie-modal .cm-bg { background: rgba(10,8,9,.72); }
#reddot .cookie-modal .cm-modal.cm-reddot { background: var(--surface-0); color: var(--ink); border-radius: 0; border-top: 3px solid var(--brand); box-shadow: 0 30px 60px rgba(0,0,0,.35); max-width: 640px; width: calc(100% - 32px); }
#reddot .cm-modal .cm-header { padding: 32px 32px 16px; border-bottom: 1px solid var(--line); }
#reddot .cm-modal .cm-header .title { font-size: 24px; line-height: 32px; font-weight: 600; color: var(--ink); margin: 0 40px 10px 0; }
#reddot .cm-modal .cm-header p { font-size: 14px; line-height: 22px; color: var(--text); margin: 0; }
#reddot .cm-modal .cm-header .hide { top: 16px; right: 16px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; }
#reddot .cm-modal .cm-header .hide svg { stroke: var(--ink); width: 14px; height: 14px; }
#reddot .cm-modal .cm-body { padding: 8px 32px; }
#reddot .cm-modal .cm-list-title { font-weight: 600; color: var(--ink); }
#reddot .cm-modal .cm-list-description, #reddot .cm-modal .cm-list-description span { font-size: 14px; line-height: 22px; color: var(--text); }
#reddot .cm-modal .cm-caret a { font-size: 13px; color: var(--brand-text); }
/* the service row repeats the category text (in English only), so it shows just its name and switch */
#reddot .cm-modal [id^="service-item-"][id$="-description"] { display: none; }
#reddot .cm-modal .cm-list-input:checked + .cm-list-label .slider { background-color: var(--brand); }
#reddot .cm-modal .cm-footer { padding: 16px 32px 24px; border-top: 1px solid var(--line); }
#reddot .cm-modal .cm-footer-buttons { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
#reddot .cm-modal .cm-btn-accept-all { display: none; } /* settings offer Reject and Accept selected only (2026-10-28) */
#reddot .cm-modal .cm-powered-by { font-size: 11px; }
#reddot .cm-modal .cm-powered-by a { color: var(--muted); }
@media (max-width: 639px) { #reddot .cm-modal .cm-header, #reddot .cm-modal .cm-body, #reddot .cm-modal .cm-footer { padding-left: 20px; padding-right: 20px; } #reddot .cm-modal .cm-footer-buttons .cm-btn { flex: 1 1 100%; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { 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; }
  .reveal, .hero-rise { opacity: 1; transform: none; }
  .hero__media img { transform: none; }
}

/* =================================================================
   Strength detail pages
   ================================================================= */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding: 20px 0 0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand-text); }
.crumbs .icon { width: 14px; height: 14px; }
.d-hero { padding: var(--space-5) 0 var(--space-6); }
.d-hero__grid { display: grid; gap: var(--space-5); align-items: center; }
@media (min-width: 960px) { .d-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-6); } }
.d-hero__head { display: flex; gap: 20px; align-items: flex-start; }
.d-num { flex: none; width: 72px; height: 72px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 600; }
@media (min-width: 768px) { .d-num { width: 96px; height: 96px; font-size: 44px; } }
.d-hero__title { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.28; font-weight: 600; letter-spacing: .5px; color: var(--ink); text-wrap: balance; }
.lang-th .d-hero__title { line-height: 1.42; }
.d-hero__intro { margin-top: var(--space-4); }
.d-hero__media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 0 0 var(--radius-hero) 0; }
.d-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.d-steps { display: flex; gap: 8px; margin-top: var(--space-5); flex-wrap: wrap; }
.d-steps a { min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; transition: border-color .2s, background-color .2s; }
.d-steps a:hover { border-color: var(--brand); color: var(--brand-text); }
.d-steps a[aria-current="page"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.d-steps span { align-self: center; margin-right: 8px; font-size: 13px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }

.d-block { padding: var(--space-7) 0; }
.d-block--band { background: var(--surface-100); padding: var(--space-7) 0 !important; }
.d-title { display: flex; flex-direction: column; margin-bottom: var(--space-5); }
.d-title p { margin-top: 8px; color: var(--muted); max-width: var(--measure); }
.d-ribbon { background: var(--brand-deep); color: #fff; padding: 14px 20px; font-size: 18px; line-height: 26px; font-weight: 600; letter-spacing: .5px; text-align: center; margin-bottom: var(--space-5); }

.grid-2 { display: grid; gap: var(--space-4); }
.grid-3 { display: grid; gap: var(--space-4); }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.panel { background: var(--surface-0); border: 1px solid var(--line); padding: var(--space-4); }
.panel--soft { background: var(--surface-100); border-color: transparent; }
.panel__label { font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--brand-text); margin-bottom: 12px; }
.lang-th .panel__label { letter-spacing: .3px; font-size: 14px; }

/* asset groups */
.asset-groups { display: grid; gap: var(--space-5); }
@media (min-width: 1024px) { .asset-groups { grid-template-columns: 1fr 2fr 2fr; } }
.asset-group__label { display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px 14px; background: var(--brand); color: #fff; font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: .5px; margin-bottom: 12px; }
/* same label height in every group so the photos below line up (first label wraps to two lines) */
@media (min-width: 1024px) { .asset-group__label { min-height: 60px; } }
.asset-group__items { display: grid; gap: 12px; }
@media (min-width: 640px) and (max-width: 1023px) { .asset-group__items { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .asset-groups > :not(:first-child) .asset-group__items { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.asset-mini { display: flex; flex-direction: column; background: var(--surface-0); border: 1px solid var(--line); }
.asset-mini img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.asset-mini__body { padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.asset-mini__name { font-weight: 600; color: var(--ink); line-height: 22px; }
.asset-mini__place { font-size: 13px; font-weight: 600; color: var(--brand-text); letter-spacing: .5px; }
.asset-mini__text { font-size: 14px; line-height: 21px; color: var(--text); }

/* donuts */
.donut-wrap { display: grid; gap: var(--space-4); align-items: center; grid-template-columns: 160px minmax(0, 1fr); }
@media (max-width: 520px) {
  .donut-wrap { grid-template-columns: 1fr; justify-items: center; }
  .donut-wrap .legend { width: 100%; max-width: 240px; }
  .donut-panel .panel__label, .donut-panel .caption { text-align: center; }
}
.donut { width: 160px; height: 160px; position: relative; }
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 22; }
.donut__seg { stroke-dasharray: 0 999; transition: stroke-dasharray 1.3s var(--ease) .15s; }
.is-in .donut__seg, .is-in.donut__seg { stroke-dasharray: var(--da); }
.is-in .bar__fill { width: var(--w); }
.own.is-in .own__bar div { width: var(--w); }
@media (min-width: 960px) { .empire-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); } }
.donut__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-size: 13px; line-height: 17px; font-weight: 600; color: var(--ink); padding: 0 28px; }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.legend li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 14px; }
.legend i { width: 12px; height: 12px; display: block; }
.legend b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }

/* stats */
.stat-card { padding: var(--space-4); background: var(--brand-soft); display: flex; flex-direction: column; gap: 4px; }
.stat-card__value { font-size: 30px; line-height: 38px; font-weight: 500; color: var(--brand-text); font-variant-numeric: tabular-nums; }
.lang-th .stat-card__value { font-size: 26px; }
.stat-card__label { font-size: 15px; font-weight: 600; color: var(--ink); }
.stat-card__text { font-size: 14px; line-height: 21px; color: var(--text); margin-top: 6px; }
.stat-row { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .stat-row { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.stat-row .stat-card:last-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .stat-row .stat-card:last-child { grid-column: auto; } }
.yield-card { display: flex; gap: 20px; align-items: flex-start; }
.yield-card .disc { background: var(--brand-soft); }

/* bar chart */
.bars { display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: minmax(110px, 190px) minmax(0, 1fr) 44px; gap: 12px; align-items: center; font-size: 14px; }
.bar__name { line-height: 18px; }
.bar__name b { display: block; font-weight: 600; color: var(--ink); }
.bar__name span { font-size: 12px; color: var(--muted); }
.bar__track { height: 14px; background: var(--surface-200); position: relative; }
.bar__fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--brand); width: 0; transition: width 1.1s var(--ease); }
.bar--other .bar__fill { background: #9a9c9f; }
.bar__val { text-align: right; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 479px) { .bar { grid-template-columns: minmax(0, 1fr) 44px; } .bar__track { grid-column: 1 / -1; grid-row: 2; } }

/* table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--surface-0); }
.table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.table th, .table td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.table th { background: var(--surface-100); font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .5px; color: var(--ink); }
.table td:first-child, .table th:first-child { text-align: left; font-weight: 600; color: var(--ink); }
.table tr:last-child td { border-bottom: 0; }
.table .hl { color: var(--brand-text); font-weight: 600; }
.table tr.is-awr td { background: var(--brand-soft); }
.cap-bar { display: flex; align-items: center; gap: 10px; }
.cap-bar i { display: block; height: 22px; background: #c9cacc; }
.is-awr .cap-bar i { background: var(--brand); }

/* rent structure */
.rent { display: grid; gap: 12px; }
@media (min-width: 768px) { .rent { grid-template-columns: 1fr auto 1.6fr; align-items: stretch; } }
.rent__plus { display: flex; align-items: center; justify-content: center; color: var(--brand); }
.rent__plus .icon { width: 32px; height: 32px; }
.tiers { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; counter-reset: t; }
.tiers li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; font-size: 14px; line-height: 21px; counter-increment: t; }
.tiers li::before { content: counter(t); width: 24px; height: 24px; border-radius: 9999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }

/* ROFR */
.rofr-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.rofr { background: var(--surface-0); border: 1px solid var(--line); display: flex; flex-direction: column; }
.rofr__media { position: relative; aspect-ratio: 308 / 125; overflow: hidden; background: var(--surface-200); }
.rofr__media img { width: 100%; height: 100%; object-fit: cover; }
.rofr__status { position: absolute; left: 10px; top: 10px; background: rgba(255,255,255,.94); color: var(--ink); font-size: 12px; line-height: 16px; padding: 4px 8px; font-weight: 600; }
.rofr__status.is-op { color: var(--success); }
.rofr__body { padding: 14px 16px 16px; }
.rofr__name { font-weight: 600; color: var(--ink); line-height: 22px; }
.rofr__place { font-size: 13px; color: var(--brand-text); font-weight: 600; margin-top: 2px; }

.keys-flow { display: grid; gap: var(--space-4); align-items: center; text-align: center; }
@media (min-width: 900px) { .keys-flow { grid-template-columns: 1fr 1.1fr 1fr; } }
.keys-flow__big { font-size: clamp(44px, 6vw, 64px); line-height: 1; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.keys-flow__big small { font-size: 18px; font-weight: 400; color: var(--muted); margin-left: 6px; }
.keys-flow__bridge { position: relative; padding: 20px 28px; border: 1px solid var(--brand); color: var(--brand-text); font-weight: 600; font-size: 15px; line-height: 22px; text-transform: uppercase; letter-spacing: .8px; }
.lang-th .keys-flow__bridge { text-transform: none; letter-spacing: .2px; }
.keys-flow__bridge .icon { position: absolute; top: 50%; right: -14px; transform: translateY(-50%); background: var(--surface-0); color: var(--brand); width: 28px; height: 28px; }
@media (max-width: 899px) { .keys-flow__bridge .icon { right: 50%; top: auto; bottom: -14px; transform: translateX(50%) rotate(90deg); } }

.stake { display: flex; align-items: center; gap: 20px; }
.stake__ring { width: 96px; height: 96px; flex: none; }
.stake__value { font-size: 40px; line-height: 1; font-weight: 600; color: var(--brand-text); }
.numbered { display: grid; gap: 16px; }
@media (min-width: 768px) { .numbered { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .numbered { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.numbered__item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; }
.numbered__item b { font-size: 34px; line-height: 1; font-weight: 600; color: var(--brand-text); font-variant-numeric: tabular-nums; }
.numbered__item p { font-size: 14px; line-height: 21px; }

/* pillar cards */
.pillar { display: flex; flex-direction: column; gap: 10px; padding: var(--space-5) var(--space-4); background: var(--surface-100); position: relative; overflow: hidden; }
.pillar__title { font-size: 20px; line-height: 28px; font-weight: 600; color: var(--brand-text); letter-spacing: .3px; }
.pillar__sub { font-weight: 600; color: var(--ink); }
.pillar .disc { background: var(--surface-0); margin-bottom: 8px; }
.pillar--white { background: var(--surface-0); }
.pillar--white .disc { background: var(--surface-100); }
.disc--num { font-size: 22px; font-weight: 600; color: var(--brand-text); }
.pillar:hover .disc { background: var(--brand); color: #fff; }
.pillar:hover .disc img { filter: brightness(0) invert(1); }

.gov { display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .gov { grid-template-columns: 1fr auto 1fr; align-items: center; } .gov__col { display: grid; gap: var(--space-4); } }
.gov__center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: var(--space-4); }
.gov__ring { width: 180px; height: 180px; border-radius: 9999px; border: 3px solid var(--brand); display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--surface-0); }
.gov__ring b { font-size: 52px; line-height: 1; font-weight: 600; color: var(--brand-text); }
.gov__ring span { font-size: 13px; line-height: 18px; padding: 6px 18px 0; color: var(--ink); }

.own { display: grid; gap: 12px; }
.own__bar { display: flex; height: 64px; }
.own__bar div { display: flex; align-items: center; padding: 0 16px; font-weight: 600; font-size: 20px; color: #fff; width: 0; transition: width 1.2s var(--ease); overflow: hidden; white-space: nowrap; }
.own__bar div:first-child { background: var(--brand); }
.own__bar div:last-child { background: var(--brand-soft); color: var(--brand-text); }
.own__legend { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }

.d-nav { display: grid; gap: 12px; padding: var(--space-6) 0; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .d-nav { grid-template-columns: 1fr 1fr; } }
.d-nav a { display: flex; flex-direction: column; gap: 6px; padding: var(--space-4); border: 1px solid var(--line); color: var(--ink); transition: border-color .2s, background-color .2s; }
.d-nav a:hover { border-color: var(--brand); background: var(--brand-soft); }
.d-nav small { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--brand-text); font-weight: 600; }
.d-nav small .icon { width: 16px; height: 16px; }
.d-nav b { font-weight: 600; line-height: 24px; }
.d-nav a.is-next { text-align: right; align-items: flex-end; }

.cta-band { background: var(--brand-deep); color: #fff; padding: var(--space-6) 0; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); }
.cta-band .h3 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); margin-top: 6px; }
.cta-band .btn--primary { background: #fff; color: var(--brand-deep); }
.cta-band .btn--primary:hover { background: var(--brand-soft); color: var(--brand-deep); }

/* ---------- dropdown menus (Phase 1 navigation) ---------- */
.nav__btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; font-family: inherit; }
.nav__btn .icon { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.nav__item { position: relative; }
.nav__item:hover .nav__btn .icon, .nav__item.is-open .nav__btn .icon { transform: rotate(180deg); }
.nav__panel { position: absolute; top: 100%; left: 50%; min-width: 280px; padding: 12px 0; background: var(--surface-0); box-shadow: 0 16px 32px rgba(0,0,0,.12); opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; z-index: 60; }
.nav__item:hover .nav__panel, .nav__item:focus-within .nav__panel, .nav__item.is-open .nav__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__group + .nav__group { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.nav__group-label { white-space: nowrap; margin: 0; padding: 8px 20px 4px; font-size: 12px; line-height: 16px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.lang-th .nav__group-label { letter-spacing: .3px; font-size: 13px; }
.nav__sub { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 20px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.nav__sub .icon { width: 15px; height: 15px; color: var(--muted); }
.nav__sub:hover { background: var(--brand-soft); color: var(--brand-text); }
.nav__sub[aria-current="page"] { color: var(--brand-text); font-weight: 600; }
.mobile-nav__sec { border-bottom: 1px solid var(--line); }
.mobile-nav__sec > a { border-bottom: 0; }
.mobile-nav__label { margin: 0; padding: 4px var(--gutter) 2px; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.mobile-nav .mobile-nav__sub { display: flex; align-items: center; gap: 8px; padding: 10px var(--gutter) 10px calc(var(--gutter) + 14px); border-bottom: 0; font-weight: 500; font-size: 15px; }
.mobile-nav__sub .icon { width: 15px; height: 15px; color: var(--muted); }
.mobile-nav__sec { padding-bottom: 8px; }
/* full menu from 1024px; below that the 4 menus + language + Register don't fit (Thai Register wrapped at 900px) */
@media (min-width: 1024px) and (max-width: 1179px) { .nav { display: flex; } .menu-btn { display: none; } .mobile-nav { display: none !important; } .nav__link { padding: 10px 6px; } }

/* ---------- inner pages ---------- */
.page-hero { background: var(--surface-100); padding: var(--space-6) 0 var(--space-5); border-bottom: 1px solid var(--line); }
.page-hero--img { position: relative; padding: 0; background: #1c1418; color: #fff; isolation: isolate; overflow: hidden; }
.page-hero--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero--img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,8,10,.78) 0%, rgba(12,8,10,.35) 60%, rgba(12,8,10,.1) 100%); }
.page-hero--img .container { padding-top: 120px; padding-bottom: 48px; }
.page-hero.page-hero--img .h1, .page-hero.page-hero--img .lead { color: #fff; }
.page-hero--img .eyebrow { color: var(--brand-on-image); }
.page-hero .h1 { font-size: 40px; line-height: 56px; font-weight: 600; letter-spacing: 1px; color: var(--ink); margin: 0; }
@media (max-width: 767px) { .page-hero .h1 { font-size: 30px; line-height: 42px; } .page-hero--img .container { padding-top: 80px; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 var(--space-3); padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; }
.crumbs a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.page-hero--img .crumbs { color: rgba(255,255,255,.8); }

.prop-page { display: grid; gap: var(--space-6); padding: var(--space-6) 0 var(--space-7); }
@media (min-width: 960px) { .prop-page { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; gap: var(--space-7); } .prop-page__info { position: sticky; top: calc(var(--header-h) + 24px); } }
.prop-page__info { display: flex; flex-direction: column; gap: var(--space-3); }
@media (max-width: 959px) { .prop-page__info { order: -1; } }  /* one column: logo and details first, gallery after */
/* hotel / building logo (from the AWC property pages), centred above the category badge;
   the width cap keeps wide logos (Marriott) visually the same size as the tall ones */
.prop-page__logo { align-self: center; width: auto; height: auto; max-height: 120px; max-width: 190px; margin: 24px 0; }  /* option A, 2026-10-28 */
.prop-others { padding: var(--space-6) 0 var(--space-7); border-top: 1px solid var(--line); background: var(--surface-100); }
.prop-others .pf-strip { margin-top: var(--space-4); }

.news-list { display: grid; gap: var(--space-5); padding: var(--space-6) 0 var(--space-7); }
.news-card { display: grid; gap: var(--space-4); color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: var(--space-5); }
@media (min-width: 768px) { .news-card { grid-template-columns: 360px minmax(0, 1fr); align-items: center; gap: var(--space-5); } }
.news-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-200); }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .news-card__img img { transform: scale(1.04); }
.news-card__date { font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--brand-text); font-weight: 600; }
.lang-th .news-card__date { letter-spacing: .3px; font-size: 14px; }
.news-card__title { margin: 6px 0 10px; font-size: 20px; line-height: 30px; font-weight: 600; letter-spacing: .3px; color: var(--ink); }
.news-card:hover .news-card__title { color: var(--brand-text); }
.news-card__sum { margin: 0 0 var(--space-3); color: var(--text); font-weight: 300; }

.article { max-width: 820px; margin: 0 auto; padding: var(--space-6) var(--gutter) var(--space-7); }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--muted); margin-bottom: var(--space-3); }
.article__meta strong { color: var(--brand-text); letter-spacing: 1px; text-transform: uppercase; }
.article__title { font-size: 30px; line-height: 44px; font-weight: 600; letter-spacing: .5px; color: var(--ink); margin: 0 0 var(--space-4); }
@media (max-width: 767px) { .article__title { font-size: 23px; line-height: 34px; } }
.article__body > * + * { margin-top: var(--space-3); }
.article__body p { font-size: 16px; line-height: 28px; color: var(--text); font-weight: 300; }
.article__body .article__lead { font-size: 18px; line-height: 30px; font-weight: 500; color: var(--ink); padding-left: 16px; border-left: 3px solid var(--brand); }
.article__body h2 { margin-top: var(--space-5); font-size: 20px; line-height: 30px; font-weight: 600; letter-spacing: .5px; color: var(--ink); }
.article__body figure { margin: var(--space-4) 0; }
.article__body figure img { width: 100%; height: auto; display: block; background: var(--surface-200); }
.article__body ul { padding-left: 0; list-style: none; display: grid; gap: 12px; }
.article__body li { position: relative; padding-left: 22px; font-size: 16px; line-height: 28px; font-weight: 300; }
.article__body li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; background: var(--brand); }
.article__body blockquote { margin: var(--space-4) 0; padding: var(--space-3) var(--space-4); background: var(--surface-100); border-left: 3px solid var(--brand); }
.article__body blockquote p { font-size: 17px; line-height: 29px; font-style: normal; }
.article__body blockquote cite { display: block; margin-top: 12px; font-size: 13px; line-height: 20px; font-style: normal; font-weight: 600; color: var(--ink); }
.article__tags { color: var(--brand-text); font-weight: 500; font-size: 14px; }
.article__disc { margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--line); }
.article__disc strong { display: block; margin-bottom: 6px; font-size: 13px; color: var(--ink); }
.article__more { margin-top: var(--space-6); display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }

.contact { display: grid; gap: var(--space-6); padding: var(--space-6) 0 var(--space-7); }
@media (min-width: 960px) { .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-7); } }
.contact__co { margin: 0; font-size: 22px; line-height: 32px; font-weight: 600; letter-spacing: .5px; color: var(--ink); }
.contact__alt { margin: 2px 0 var(--space-4); color: var(--muted); }
.contact__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.contact__list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact__list .disc { grid-row: span 2; width: 44px; height: 44px; border-radius: 9999px; background: var(--brand-soft); color: var(--brand-text); display: inline-flex; align-items: center; justify-content: center; }
.contact__list .disc .icon { width: 22px; height: 22px; }
.contact__list dt { font-size: 12px; line-height: 16px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.lang-th .contact__list dt { letter-spacing: .3px; font-size: 13px; }
.contact__list dd { margin: 0; font-size: 16px; line-height: 26px; color: var(--ink); font-weight: 500; }
.contact__list a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.contact__list a:hover { color: var(--brand-text); }
.contact__map { min-height: 360px; border: 1px solid var(--line); background: var(--surface-200); }
.contact__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- 404 ---------- */
.notfound { padding: var(--space-8) 0; text-align: center; border-bottom: 1px solid var(--line); }
.notfound__code { font-size: clamp(88px, 14vw, 160px); line-height: 1; font-weight: 600; letter-spacing: -2px; color: var(--brand); margin-bottom: var(--space-4); }
.notfound__lead { max-width: 34em; margin: 16px auto 0; }
.notfound__actions { margin-top: var(--space-5); display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
