/* =========================================================================
   Mahandra Collective — site styles
   Palette named after Balinese materials (see brand.html):
   Batu Candi (ink) · Kapur (limestone) · Paras (sandstone) · Kuningan (brass)
   ========================================================================= */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-var.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-italic-var.woff2") format("woff2");
  font-weight: 300 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-var.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* brand palette */
  --ink: #1B231E;          /* Batu Candi — temple stone */
  --ink-2: #26302A;
  --moss: #4A5641;         /* Lumut */
  --teak: #6B4C33;         /* Jati */
  --brass: #A6814C;        /* Kuningan */
  --brass-deep: #7F6136;   /* Kuningan Tua — accessible accent text on light */
  --brass-lt: #C9A56E;     /* Kuningan Muda — accent on dark */
  --paras: #E4D9C6;        /* Paras — sandstone */
  --lime: #F3EEE5;         /* Kapur — limestone */
  --lime-2: #EEE7DB;
  --ash: #5E5A52;          /* Abu vulkanik — muted text (5.9:1 on Kapur) */
  --error: #9A3B2E;

  /* semantic tokens (overridden in .theme-dark) */
  --bg: var(--lime);
  --fg: var(--ink);
  --fg-soft: #3E4640;
  --fg-muted: var(--ash);
  --accent: #94703F;       /* brass for large text on light grounds (≥3:1 on Kapur/Paras) */
  --accent-text: var(--brass-deep);
  --rule: rgba(27, 35, 30, .14);
  --rule-strong: rgba(27, 35, 30, .3);
  --logo-accent: var(--brass);

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

  --container: 1360px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section: clamp(5.5rem, 11vw, 10.5rem);
  --header-h: 88px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

.theme-dark {
  --bg: var(--ink);
  --fg: var(--lime);
  --fg-soft: rgba(243, 238, 229, .8);
  --fg-muted: rgba(243, 238, 229, .6);
  --accent: var(--brass-lt);
  --accent-text: var(--brass-lt);
  --rule: rgba(243, 238, 229, .14);
  --rule-strong: rgba(243, 238, 229, .3);
  --logo-accent: var(--brass-lt);
  background: var(--bg);
  color: var(--fg);
}

/* ---------- base ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  background: var(--lime);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 380;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
button { font: inherit; color: inherit; }
::selection { background: var(--brass); color: var(--lime); }
:focus-visible { outline: 1px solid var(--brass-deep); outline-offset: 4px; }
.theme-dark :focus-visible { outline-color: var(--brass-lt); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: .75rem 1.1rem;
  background: var(--ink);
  color: var(--lime);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- typography ---------- */
.display, .display-2, .display-3, .statement {
  font-family: var(--serif);
  font-weight: 300;
  margin: 0;
  text-wrap: balance;
}
.display {
  font-size: clamp(3rem, 6vw, 6.4rem);
  line-height: .98;
  letter-spacing: -.012em;
}
.display-2 {
  font-size: clamp(2.4rem, 4.8vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.01em;
}
.display-3 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.08;
}
.statement {
  font-size: clamp(1.8rem, 3.3vw, 3.15rem);
  line-height: 1.16;
  letter-spacing: -.005em;
}
.display em, .display-2 em, .display-3 em, .statement em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.lead {
  text-wrap: pretty;
  font-size: clamp(1.06rem, 1.25vw, 1.2rem);
  line-height: 1.72;
  color: var(--fg-soft);
  max-width: 34em;
}
.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  line-height: 1.6;
  color: var(--fg-muted);
  margin: 0;
}
.section-label {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin: 0;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.section-num {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  white-space: nowrap;
  color: var(--accent-text);
}
.section-num::after {
  content: "";
  width: 2.6rem;
  height: 1px;
  background: currentColor;
  opacity: .6;
}
.fineprint {
  margin: 2.2rem 0 0;
  font-size: .85rem;
  color: var(--fg-muted);
  font-style: italic;
  font-family: var(--serif);
  font-size: 1.08rem;
}

/* ---------- links & buttons ---------- */
.btn {
  --h: 3.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  height: var(--h);
  padding: 0 1.95rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.btn--solid { background: var(--fg); color: var(--bg); }
.btn--solid:hover { background: var(--brass-deep); color: var(--lime); }
.btn--outline { background: transparent; color: var(--fg); border-color: var(--rule-strong); }
.btn--outline:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--sm { --h: 2.65rem; padding: 0 1.3rem; font-size: .68rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  padding-block: .5rem;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
}
.arrow {
  position: relative;
  width: 2.4rem;
  height: 1px;
  background: currentColor;
  transition: width .6s var(--ease);
}
.arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.text-link:hover .arrow { width: 3.4rem; }

.link {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size .5s var(--ease);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--ink);
  transition: background-color .6s var(--ease), box-shadow .6s var(--ease), color .4s var(--ease);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: var(--header-h);
  transition: height .5s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(243, 238, 229, .86);
  -webkit-backdrop-filter: saturate(1.1) blur(14px);
  backdrop-filter: saturate(1.1) blur(14px);
  box-shadow: 0 1px 0 rgba(27, 35, 30, .1);
}
.site-header.is-scrolled .header-inner { height: 72px; }
.brand { display: inline-flex; text-decoration: none; }
.brand-logo {
  height: 32px;
  width: auto;
  aspect-ratio: 568.48 / 89.2;
  overflow: visible;
}
.nav ul {
  display: flex;
  gap: clamp(1.4rem, 2.4vw, 2.6rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  position: relative;
  padding: .4rem 0;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 1.4rem; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--fg-muted);
}
.site-header .lang-switch { color: #5E5A52; }
.lang-switch button {
  padding: .35rem .15rem;
  border: 0;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  cursor: pointer;
  transition: color .3s;
}
.lang-switch button:hover { color: var(--fg); }
.site-header .lang-switch button:hover { color: var(--ink); }
.lang-switch button[aria-pressed="true"] {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .5em;
}
.site-header .lang-switch button[aria-pressed="true"] { color: var(--ink); }

.menu-toggle {
  display: none;
  align-items: center;
  gap: .8rem;
  padding: .5rem 0;
  border: 0;
  background: none;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-toggle-icon { position: relative; width: 26px; height: 9px; }
.menu-toggle-icon i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.menu-toggle-icon i:first-child { top: 0; }
.menu-toggle-icon i:last-child { top: 8px; }
.menu-open .menu-toggle-icon i:first-child { top: 4px; transform: rotate(18deg); }
.menu-open .menu-toggle-icon i:last-child { top: 4px; transform: rotate(-18deg); }

/* full-screen menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: flex-end;
  padding: calc(120px + env(safe-area-inset-top, 0px)) 0 calc(clamp(2rem, 6vh, 3.5rem) + env(safe-area-inset-bottom, 0px));
  background: var(--ink);
  color: var(--lime);
  opacity: 0;
  transition: opacity .6s var(--ease);
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu-inner { display: grid; gap: 3rem; }
.menu-links { list-style: none; margin: 0; padding: 0; }
.menu-links a {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding: .35rem 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.3rem, 9vw, 4rem);
  line-height: 1.12;
  text-decoration: none;
  transform: translateY(18px);
  opacity: 0;
  transition: transform .8s var(--ease-out), opacity .8s var(--ease-out), color .3s;
}
.menu.is-open .menu-links a { transform: none; opacity: 1; }
.menu.is-open .menu-links li:nth-child(2) a { transition-delay: .05s; }
.menu.is-open .menu-links li:nth-child(3) a { transition-delay: .1s; }
.menu.is-open .menu-links li:nth-child(4) a { transition-delay: .15s; }
.menu.is-open .menu-links li:nth-child(5) a { transition-delay: .2s; }
.menu-links a:hover, .menu-links a[aria-current="page"] { color: var(--brass-lt); }
.menu-num { font-variant-numeric: lining-nums; font-family: var(--sans); font-size: .7rem; letter-spacing: .2em; color: var(--brass-lt); }
.menu-foot { display: grid; gap: 1rem; justify-items: start; color: rgba(243, 238, 229, .7); }
.menu-foot .eyebrow { color: rgba(243, 238, 229, .5); }
.menu .lang-switch { color: rgba(243, 238, 229, .5); font-size: .72rem; }
.menu .lang-switch button[aria-pressed="true"], .menu .lang-switch button:hover { color: var(--lime); }

body.menu-open { overflow: hidden; }
body.menu-open .site-header {
  color: var(--lime);
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  --logo-accent: var(--brass-lt);
}
body.menu-open .site-header .lang-switch { color: rgba(243, 238, 229, .5); }
body.menu-open .site-header .lang-switch button[aria-pressed="true"] { color: var(--lime); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 2.5rem);
  overflow: hidden;
}
.hero-light {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(58% 52% at 80% 28%, rgba(255, 239, 210, .95), rgba(255, 239, 210, 0) 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(228, 217, 198, .7), rgba(228, 217, 198, 0) 70%),
    linear-gradient(180deg, #F5F0E7 0%, #EFE8DC 100%);
}
.hero-shadow {
  position: absolute;
  top: -8%;
  right: -6%;
  z-index: -1;
  width: min(1100px, 82vw);
  aspect-ratio: 4 / 3;
  background: url("../img/palm-shadow.svg") no-repeat right top / contain;
  opacity: .1;
  filter: blur(5px);
  transform-origin: 96% 2%;
  animation: sway 15s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes sway {
  0% { transform: rotate(-1.6deg) translate3d(0, 0, 0); }
  100% { transform: rotate(1.8deg) translate3d(-1.2%, 1%, 0); }
}
.hero-inner {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 7.4fr) minmax(0, 4.6fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: end;
}
.hero-copy { padding-bottom: clamp(1.5rem, 5vw, 4.5rem); }
.hero-eyebrow .dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 .95em;
  border-radius: 50%;
  background: var(--brass);
  vertical-align: middle;
  transform: translateY(-1px);
}
.hero-title { margin: 1.7rem 0 2.1rem; }
.hero-title .line {
  display: block;
  overflow: hidden;
  padding: 0 .12em .16em 0;
  margin-bottom: -.16em;
}
.hero-title .line > span { display: inline-block; }
.hero-lead { margin: 0 0 2.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2.2rem; }

.hero-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 470px);
  aspect-ratio: 74 / 100;
  margin: 0;
}
.hero-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  color: var(--brass);
}
.hero-frame path { fill: none; stroke: currentColor; stroke-width: .17; }
.hero-sun-dot {
  position: absolute;
  top: -26px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass);
  transform: translateX(-50%);
}
.hero-visual .arch--hero { position: absolute; inset: 18px 18px 0; }
.hero-visual::after {
  content: "";
  position: absolute;
  left: -2.5rem;
  right: -2.5rem;
  bottom: 0;
  height: 1px;
  background: var(--rule-strong);
}
.hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.6rem 2rem;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.scroll-cue {
  position: relative;
  display: block;
  width: 1px;
  height: 44px;
  overflow: hidden;
  background: var(--rule);
}
.scroll-cue span {
  position: absolute;
  inset: 0;
  background: var(--brass);
  transform: translateY(-100%);
  animation: cue 2.6s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* intro choreography (only when JS is on and motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-title .line > span { transform: translateY(108%); animation: rise 1.5s var(--ease-out) .15s forwards; }
  .js .hero-title .line:nth-child(2) > span { animation-delay: .28s; }
  .js .hero-title .line:nth-child(3) > span { animation-delay: .41s; }
  .js .hero-eyebrow, .js .hero-lead, .js .hero-actions, .js .hero-meta, .js .site-header {
    animation: fade-up 1.4s var(--ease-out) both;
  }
  .js .hero-eyebrow { animation-delay: .05s; }
  .js .hero-lead { animation-delay: .7s; }
  .js .hero-actions { animation-delay: .85s; }
  .js .hero-meta { animation-delay: 1.1s; }
  .js .site-header { animation-name: fade-in; animation-delay: .2s; }
  .js .hero-frame path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s var(--ease) .3s forwards; }
  .js .hero-sun-dot { animation: fade-in 1s var(--ease) 2.4s both; }
  .js .arch--hero { animation: unveil 1.8s var(--ease-out) .5s both; }
}
@keyframes rise { to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes unveil { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ---------- arch + illustrated scenes (placeholders until photography) ---------- */
.arch {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 999px 999px 0 0;
  background: var(--paras);
}
.arch-photo { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; }
.scene { position: absolute; inset: 0; overflow: hidden; transition: transform 1.6s var(--ease-out); }
.scene > * { position: absolute; }
.scene-sky { inset: 0; }
.grain {
  inset: 0;
  opacity: .2;
  mix-blend-mode: multiply;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .1 0 0 0 0 .08 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.scene-fronds { top: -4%; width: 64%; height: auto; opacity: .92; }
.scene-fronds--l { left: -8%; transform-origin: 0 12%; animation: frond-l 9s ease-in-out infinite alternate; }
.scene-fronds--r { right: -10%; top: 4%; transform-origin: 100% 22%; animation: frond-r 11s ease-in-out infinite alternate; }
@keyframes frond-l { from { transform: rotate(-2.2deg); } to { transform: rotate(2.6deg); } }
@keyframes frond-r { from { transform: rotate(2deg); } to { transform: rotate(-2.8deg); } }

/* dusk — hero */
.scene--dusk .scene-sky {
  background: linear-gradient(180deg, #E6DCCB 0%, #EAD2AA 30%, #E3B27C 52%, #D29460 61%, #BD7F50 65%);
}
.scene--dusk .scene-sun, .scene--ocean .scene-sun {
  left: 50%;
  top: 60%;
  width: 38%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #FFF7E6 0 28%, rgba(255, 240, 214, .85) 34%, rgba(255, 226, 182, .35) 50%, rgba(255, 226, 182, 0) 70%);
}
.scene--dusk .scene-sea, .scene--ocean .scene-sea {
  left: 0;
  right: 0;
  bottom: 0;
  height: 36%;
  background: linear-gradient(180deg, #9A7552 0%, #735A43 24%, #4A3F31 62%, #2A2720 100%);
}
.scene-sea::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: rgba(255, 232, 196, .75);
}
.scene-glint {
  left: 50%;
  bottom: 0;
  width: 24%;
  height: 36%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255, 238, 206, .9), rgba(255, 238, 206, 0) 92%);
  -webkit-mask: repeating-linear-gradient(180deg, #000 0 2px, transparent 2px 7px), linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-composite: source-in;
  mask: repeating-linear-gradient(180deg, #000 0 2px, transparent 2px 7px), linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  mask-composite: intersect;
  filter: blur(.4px);
  animation: glint 5s ease-in-out infinite alternate;
}
@keyframes glint {
  from { opacity: .45; transform: translateX(-50%) scaleX(.85); }
  to { opacity: .85; transform: translateX(-50%) scaleX(1.12); }
}

/* ocean — collection I */
.scene--ocean .scene-sky { background: linear-gradient(180deg, #E8DED5 0%, #E9CFBC 40%, #DFB093 58%, #CE9579 64%); }
.scene--ocean .scene-sun { top: 57%; width: 30%; }
.scene--ocean .scene-sea { background: linear-gradient(180deg, #7E8784 0%, #5E6A69 26%, #3A4546 64%, #232B2C 100%); }

/* terraces — collection II */
.scene--terraces .scene-sky { background: linear-gradient(180deg, #EEECE1 0%, #E1E4D2 42%, #CDD4B8 62%); }
.scene--terraces .terraces { left: 0; bottom: 0; width: 100%; height: 100%; }
.scene-mist {
  inset: -6% -12%;
  background: linear-gradient(180deg, rgba(243, 238, 229, 0) 34%, rgba(243, 238, 229, .5) 47%, rgba(243, 238, 229, 0) 62%);
  animation: mist 14s ease-in-out infinite alternate;
}
@keyframes mist { from { transform: translate3d(-4%, 0, 0); } to { transform: translate3d(4%, -2%, 0); } }

/* valley — collection III */
.scene--valley .scene-sky { background: linear-gradient(180deg, #56654C 0%, #3A4735 48%, #243024 100%); }
.scene-rays {
  inset: -20% -40% 0 -12%;
  background: repeating-linear-gradient(112deg, rgba(255, 238, 196, .13) 0 18px, rgba(255, 238, 196, 0) 18px 58px);
  -webkit-mask: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0) 85%);
  mask: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0) 85%);
  animation: rays 12s ease-in-out infinite alternate;
}
@keyframes rays { from { opacity: .6; transform: translateX(-2%); } to { opacity: 1; transform: translateX(3%); } }
.scene--valley .scene-fronds { filter: brightness(.55); opacity: .95; }
.scene--valley .scene-mist { background: linear-gradient(0deg, rgba(222, 230, 210, .38) 0%, rgba(222, 230, 210, 0) 42%); }

/* ---------- sections ---------- */
.section { position: relative; padding-block: var(--section); }
.section-head {
  display: grid;
  gap: 1.6rem;
  max-width: 980px;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}
.section-head--split {
  max-width: none;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: end;
  column-gap: clamp(2rem, 7vw, 8rem);
}
.section-head--split .section-label { margin-bottom: 1.6rem; }
.section-intro { max-width: 32em; margin: 0 0 1.4rem; color: var(--fg-soft); }

/* 01 collective */
.collective-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: start;
  margin-top: clamp(2rem, 4vw, 3.4rem);
}
.collective-body {
  columns: 2;
  column-gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--fg-soft);
}
.collective-body p { break-inside: avoid; }
.pillars { display: grid; justify-items: center; gap: 1.8rem; margin: 0; }
.pillars-mark { width: min(100%, 360px); height: auto; color: var(--brass); overflow: visible; }
.pillars-mark text { font-family: var(--serif); font-style: italic; font-size: 5px; fill: var(--brass-deep); stroke: none; }
.pillars-base { stroke: var(--rule-strong); }
.pillars-legend {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: min(100%, 400px);
  margin: 0;
  padding: 1.4rem 0 0;
  list-style: none;
  border-top: 1px solid var(--rule);
  text-align: center;
}
.pillars-legend li {
  display: grid;
  gap: .3rem;
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .18em;
  line-height: 1.5;
  text-transform: uppercase;
}
.pillars-num { font-family: var(--serif); font-size: 1.35rem; font-style: italic; letter-spacing: 0; color: var(--accent-text); text-transform: none; }
.pillars figcaption {
  max-width: 21em;
  font-family: var(--serif);
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.45;
  text-align: center;
  color: var(--fg-muted);
}

/* 02 services — the arcade */
.services { background: var(--lime-2); }
.arcade {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.8rem, 1.4vw, 1.4rem);
  border-bottom: 1px solid var(--rule-strong);
}
.arcade-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 clamp(1rem, 1.5vw, 1.6rem) clamp(1.8rem, 2.4vw, 2.4rem);
  border: 1px solid var(--rule-strong);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  transition: background-color .8s var(--ease), color .8s var(--ease), border-color .8s var(--ease);
}
.arcade-top { display: grid; place-items: end center; aspect-ratio: 2 / 1.02; padding-bottom: 1.1rem; }
.arcade-num {
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 4.6rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1;
  color: var(--accent);
  transition: color .8s var(--ease);
}
.arcade-body h3 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 1.9vw, 2.1rem);
  font-weight: 400;
  line-height: 1.05;
  text-align: center;
}
.arcade-lead {
  max-width: 17.5em;
  margin: 0 auto 2rem;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.42;
  text-align: center;
  color: var(--fg-soft);
}
.arcade-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.arcade-list li {
  display: flex;
  gap: .85rem;
  align-items: baseline;
  padding: .75rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: .92rem;
  line-height: 1.5;
}
.arcade-list li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-2px);
}
@media (hover: hover) {
  .arcade-card:hover {
    --fg-soft: rgba(243, 238, 229, .8);
    --rule: rgba(243, 238, 229, .16);
    --accent: var(--brass-lt);
    background: var(--ink);
    border-color: var(--ink);
    color: var(--lime);
  }
}

/* 03 approach */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 14px;
  height: 1px;
  background: var(--rule-strong);
}
.step { position: relative; padding-top: 3.4rem; }
.step::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 9px;
  height: 9px;
  border: 1px solid var(--brass);
  border-radius: 50%;
  background: var(--bg);
}
.step-num {
  position: absolute;
  top: 0;
  left: 1.2rem;
  padding: 0 .6rem;
  background: var(--bg);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  font-variant-numeric: lining-nums;
  line-height: 28px;
  color: var(--accent-text);
}
.step h3 {
  margin: 0 0 .8rem;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2vw, 1.95rem);
  font-weight: 400;
  line-height: 1.1;
}
.step p { margin: 0; font-size: .98rem; color: var(--fg-soft); }

/* principles (dark) */
.principles { overflow: hidden; }
.principles-shadow {
  position: absolute;
  right: -8%;
  bottom: -18%;
  width: min(1000px, 80vw);
  aspect-ratio: 4 / 3;
  background: url("../img/palm-shadow.svg") no-repeat right bottom / contain;
  opacity: .06;
  filter: invert(1) blur(4px);
  transform: rotate(180deg);
  pointer-events: none;
}
.quote {
  display: grid;
  justify-items: center;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto clamp(4rem, 8vw, 7rem);
  text-align: center;
}
.quote-mark { width: 58px; height: auto; }
.quote blockquote { margin: 0; }
.quote .display-2 { font-size: clamp(2.4rem, 5.2vw, 5rem); }
.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}
.principles-grid li { padding: 2.4rem clamp(1rem, 2vw, 2.2rem) 0; }
.principles-grid li:first-child { padding-left: 0; }
.principles-grid li + li { border-left: 1px solid var(--rule); }
.principles-grid h3 {
  margin: 0 0 .8rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.2vw, 2.05rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--fg);
}
.principles-grid p { margin: 0; font-size: .96rem; color: var(--fg-soft); }

/* owners & guests */
.audiences { background: var(--paras); }
.audiences-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(3rem, 7vw, 8rem); }
.audience .display-3 { margin: 1.3rem 0 2.2rem; max-width: 15em; }
.tick-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule-strong); }
.tick-list li {
  position: relative;
  padding: 1rem 0 1rem 2.1rem;
  border-bottom: 1px solid var(--rule-strong);
  line-height: 1.55;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.78rem;
  width: 14px;
  height: 1px;
  background: var(--brass-deep);
}

/* 04 collection */
.settings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 3rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.setting:nth-child(2) { margin-top: clamp(0rem, 6vw, 5.5rem); }
.arch--setting { aspect-ratio: 72 / 100; }
.setting:hover .scene { transform: scale(1.035); }
.setting-num { margin: 1.6rem 0 .1rem; font-family: var(--serif); font-size: 1.2rem; font-style: italic; color: var(--accent-text); }
.setting h3 { margin: 0 0 .4rem; font-family: var(--serif); font-size: clamp(1.7rem, 2.2vw, 2rem); font-weight: 400; line-height: 1.1; }
.setting p { margin: 0; font-size: .97rem; color: var(--fg-soft); max-width: 24em; }

/* marquee */
.marquee {
  overflow: hidden;
  padding-block: clamp(1.4rem, 2.6vw, 2.2rem);
  border-block: 1px solid var(--rule);
  white-space: nowrap;
  user-select: none;
}
.marquee-track { display: inline-flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee span {
  padding-right: .45em;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.1;
  color: rgba(166, 129, 76, .82);
}
.marquee i { padding: 0 .3em; font-style: normal; color: var(--rule-strong); }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* 05 enquire */
.enquire-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
}
.enquire-intro .display-2 { margin: 1.6rem 0 1.6rem; }
.contact-list { display: grid; margin: 2.6rem 0 0; border-top: 1px solid var(--rule); }
.contact-list > div {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--rule);
}
.contact-list dt { padding-top: .28rem; font-size: .68rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--fg-muted); }
.contact-list dd { margin: 0; overflow-wrap: anywhere; }

.enquiry-form {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3.6vw, 3.2rem);
  border: 1px solid var(--rule);
  background: rgba(255, 255, 255, .38);
}
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.field { display: grid; gap: .45rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend {
  padding: 0;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.optional { font-weight: 400; letter-spacing: .04em; text-transform: none; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .55rem 0 .6rem;
  border: 0;
  border-bottom: 1px solid var(--rule-strong);
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 7rem; }
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 1.6rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231B231E'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right .2rem center;
  cursor: pointer;
}
.field input::placeholder { color: rgba(27, 35, 30, .38); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--brass-deep);
  box-shadow: 0 1px 0 var(--brass-deep);
}
.field [aria-invalid="true"] { border-bottom-color: var(--error); box-shadow: 0 1px 0 var(--error); }
.field-error { margin: 0; font-size: .8rem; color: var(--error); }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chips legend { width: 100%; margin-bottom: .55rem; }
.field .chip {
  position: relative;
  font-size: .88rem;
  font-weight: 400;
  letter-spacing: .01em;
  text-transform: none;
  color: var(--fg);
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex;
  align-items: center;
  height: 2.5rem;
  padding: 0 1.15rem;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  font-size: .88rem;
  cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.chip span:hover { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--lime); }
.chip input:focus-visible + span { outline: 1px solid var(--brass-deep); outline-offset: 3px; }
.privacy-notice {
  padding: 1rem 1.15rem;
  border-left: 2px solid var(--brass);
  background: rgba(166, 129, 76, .08);
  font-size: .84rem;
  line-height: 1.62;
  color: var(--fg-soft);
}
.privacy-notice p { margin: 0; }
.privacy-notice a { color: var(--brass-deep); }
.consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .85rem;
  align-items: start;
  font-size: .92rem;
  line-height: 1.55;
  cursor: pointer;
}
.consent input {
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  place-content: center;
  width: 1.15rem;
  height: 1.15rem;
  margin: .18rem 0 0;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
}
.consent input::after {
  content: "";
  width: .56rem;
  height: .3rem;
  border-left: 1.5px solid var(--lime);
  border-bottom: 1.5px solid var(--lime);
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
}
.consent input:checked { background: var(--ink); }
.consent input:checked::after { opacity: 1; }
.consent input[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.form-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .3rem; }
.form-status { min-height: 1.6em; margin: 0; font-size: .92rem; color: var(--moss); }

/* ---------- inner pages ---------- */
.page-first {
  isolation: isolate;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 6rem));
}
.page-first::before {
  content: "";
  position: absolute;
  top: -6%;
  right: -8%;
  z-index: -1;
  width: min(900px, 72vw);
  aspect-ratio: 4 / 3;
  background: url("../img/palm-shadow.svg") no-repeat right top / contain;
  opacity: .07;
  filter: blur(5px);
  pointer-events: none;
}
.section-head--solo { margin-bottom: 0; }
.quote--solo { margin-bottom: 0; }
.collective-link { margin-top: clamp(2rem, 4vw, 3rem); }

/* call-to-action band at the end of inner pages */
.cta-band { background: var(--lime-2); text-align: center; }
.cta-inner { display: grid; justify-items: center; gap: 1.4rem; }
.cta-inner .section-intro { margin: 0; }
.cta-inner .hero-actions { justify-content: center; margin-top: .6rem; }

/* home: compact service cards that link to the services page */
a.arcade-card { color: inherit; text-decoration: none; }
.arcade--compact .arcade-body { display: flex; flex-direction: column; flex: 1; }
.arcade--compact .arcade-lead { margin-bottom: 1.6rem; }
.arcade-more {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin: auto auto 0;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.arcade--compact .arcade-card:hover .arrow { width: 3.2rem; }
.arcade--compact .arcade-card:focus-visible { outline-offset: 6px; }

/* 03 compliance */
.compliance .hero-actions { margin-top: clamp(2.2rem, 4vw, 3rem); }
.compliance .fineprint { margin-top: 1.4rem; }

/* 02 services & fees — management plans: what is included, with the fee right below */
.plans-head { display: grid; gap: 1.1rem; max-width: 46rem; margin-bottom: clamp(2.4rem, 4vw, 3.4rem); }
.plans-intro { margin: 0; color: var(--fg-soft); }
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(7, auto);
  column-gap: clamp(.9rem, 1.6vw, 1.6rem);
}
.plan {
  grid-row: span 7;
  display: grid;
  grid-template-rows: subgrid;
  justify-items: center;
  padding: clamp(2.8rem, 4vw, 3.6rem) clamp(1.3rem, 2.2vw, 2.2rem) clamp(1.8rem, 2.6vw, 2.4rem);
  border: 1px solid var(--rule-strong);
  border-radius: 50% 50% 0 0 / 6rem 6rem 0 0;
  background: var(--bg);
  color: var(--fg);
  text-align: center;
}
.plan--featured { border-color: var(--ink); box-shadow: 0 40px 70px -50px rgba(27, 35, 30, .6); }
.plan-badge {
  grid-row: 1;
  margin: -1rem 0 1.3rem;
  padding: .3rem .95rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .24em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--accent-text);
}
.plan-kicker {
  grid-row: 2;
  margin: 0 0 .6rem;
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.plan-name {
  grid-row: 3;
  margin: 0 0 .8rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.4vw, 2.3rem);
  font-weight: 400;
  line-height: 1.05;
}
.plan-lead {
  grid-row: 4;
  max-width: 19em;
  margin: 0 auto 1.8rem;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.42;
  color: var(--fg-soft);
}
.plan-list {
  grid-row: 5;
  justify-self: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
  text-align: left;
}
.plan-list li {
  position: relative;
  padding: .66rem 0 .66rem 1.85rem;
  border-bottom: 1px solid var(--rule);
  font-size: .92rem;
  line-height: 1.45;
}
.plan-list li::before, .tier-list li::before { content: ""; position: absolute; }
.plan-list .is-in::before, .tier-list li::before {
  left: .32rem;
  top: .9rem;
  width: .34rem;
  height: .66rem;
  border: solid var(--accent);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.plan-list .is-out { color: var(--fg-muted); }
.plan-exc { font-size: .74em; font-weight: 500; letter-spacing: .06em; white-space: nowrap; color: var(--accent-text); }
.plan-list li { padding-right: 2.4rem; }
.plan-list .plan-exc { position: absolute; right: 0; top: .9rem; }
.plan-list .is-out::before {
  left: .14rem;
  top: 1rem;
  width: .66rem;
  height: .66rem;
  background:
    linear-gradient(45deg, transparent 45%, currentColor 45%, currentColor 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, currentColor 45%, currentColor 55%, transparent 55%);
  opacity: .8;
}
.plan-fee { grid-row: 6; justify-self: stretch; margin-top: 1.9rem; }
.plan-price, .tier-price {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.01em;
  font-variant-numeric: lining-nums;
  color: var(--accent);
}
.plan-price { font-size: clamp(2.6rem, 3.5vw, 3.4rem); white-space: nowrap; }
.plan-cur {
  margin-right: .3em;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  vertical-align: .95em;
  color: var(--fg-muted);
}
.plan-basis, .tier-basis {
  margin: .8rem 0 0;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .18em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.plan > .btn { grid-row: 7; margin-top: 1.6rem; }
.plans-terms { margin-top: clamp(2.6rem, 4vw, 3.6rem); }
.plans-terms .tick-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 5rem); }
.plans-terms .fineprint { margin-top: 1.4rem; }
.plans-terms .fineprint + .fineprint { margin-top: .3rem; }

/* III hospitality */
.hospitality-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.5rem, 7vw, 8rem); align-items: start; }
.hospitality .display-3 { margin: 1.3rem 0 1.6rem; max-width: 16em; }

/* IV sales & acquisition — tier cards on dark */
.tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.8rem); }
.tier {
  display: flex;
  flex-direction: column;
  padding: clamp(2rem, 3.4vw, 3rem);
  border: 1px solid var(--rule-strong);
  background: var(--ink-2);
}
.tier-kicker, .tier-inc {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.tier-kicker { margin: 0 0 1rem; }
.tier-name { margin: 0 0 1.8rem; font-family: var(--serif); font-size: clamp(1.9rem, 2.6vw, 2.5rem); font-weight: 400; line-height: 1.05; }
.tier-price { font-size: clamp(3rem, 4.6vw, 4.2rem); }
.tier-lead { margin: 1.8rem 0 0; padding-top: 1.8rem; border-top: 1px solid var(--rule); color: var(--fg-soft); }
.tier-inc { margin: 1.8rem 0 .8rem; }
.tier-list { margin: 0 0 2.2rem; padding: 0; list-style: none; }
.tier-list li { position: relative; padding: .45rem 0 .45rem 1.85rem; line-height: 1.55; color: var(--fg-soft); }
.tier-list li::before { top: .78rem; }
.tier > .btn { margin-top: auto; align-self: flex-start; }
.sales .fineprint { margin-top: 1.8rem; }

/* 07 FAQ */
.faq-list { max-width: 60rem; border-top: 1px solid var(--rule-strong); }
.faq-list details { border-bottom: 1px solid var(--rule-strong); }
.faq-list summary {
  position: relative;
  display: block;
  padding: 1.5rem 3rem 1.5rem 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.9vw, 1.7rem);
  font-weight: 400;
  line-height: 1.25;
  list-style: none;
  cursor: pointer;
  transition: color .3s var(--ease);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: .4rem;
  width: 16px;
  height: 1px;
  background: var(--accent);
  transition: transform .45s var(--ease);
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0deg); }
.faq-list summary:hover { color: var(--accent-text); }
.faq-list details p { max-width: 46rem; margin: 0 0 1.6rem; color: var(--fg-soft); }

/* floating WhatsApp button */
.wa-float {
  position: fixed;
  right: clamp(1rem, 2.5vw, 2rem);
  bottom: calc(clamp(1rem, 2.5vw, 2rem) + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  box-shadow: 0 12px 30px -12px rgba(27, 35, 30, .55);
  transition: transform .4s var(--ease), background-color .4s var(--ease), opacity .3s var(--ease);
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { transform: translateY(-3px); background: var(--brass-deep); }
body.menu-open .wa-float { opacity: 0; pointer-events: none; }

/* ---------- footer ---------- */
.site-footer { padding-block: clamp(4.5rem, 9vw, 8rem) 2.4rem; }
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}
.footer-brand { display: inline-block; margin-left: calc(clamp(160px, 16vw, 210px) * -.109); }
.footer-brand img { width: clamp(160px, 16vw, 210px); height: auto; }
.footer-tagline {
  margin: 1.8rem 0 0;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--fg-muted);
}
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.footer-cols ul { display: grid; gap: .55rem; margin: 1.2rem 0 0; padding: 0; list-style: none; font-size: .96rem; color: var(--fg-soft); }
.footer-cols a { text-decoration: none; overflow-wrap: anywhere; transition: color .3s; }
.footer-cols a:hover { color: var(--brass-lt); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  position: relative;
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding-top: 1.6rem;
  font-size: .8rem;
  color: var(--fg-muted);
}
.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: var(--rule);
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.footer-legal a { text-decoration: none; }
.footer-registry { flex-basis: 100%; font-size: .74rem; }
.footer-legal a:hover { color: var(--fg); }

/* ---------- scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

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

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .arcade { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.6rem clamp(1rem, 2vw, 1.6rem); border-bottom: 0; }
  .arcade-card { border-bottom: 1px solid var(--rule-strong); padding-inline: clamp(1.3rem, 2.6vw, 2.2rem); }
  .arcade-body h3 { font-size: clamp(1.8rem, 3vw, 2.3rem); }
  .arcade-lead { font-size: 1.2rem; }
}
@media (max-width: 699px) {
  .arcade { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .arcade-card { width: min(100%, 520px); margin-inline: auto; }
  .arcade-top { aspect-ratio: 2 / .9; }
}
@media (max-width: 999px) {
  .plans { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 2.6rem; max-width: 560px; margin-inline: auto; }
  .plan { grid-row: auto; display: flex; flex-direction: column; align-items: center; }
  .plan-list, .plan-fee { align-self: stretch; }
  .plan-badge { margin-top: -1.2rem; }
}
@media (max-width: 860px) {
  .tiers { grid-template-columns: minmax(0, 1fr); }
  .plans-terms .tick-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1200px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (min-width: 1201px) {
  .menu { display: none !important; }
}
@media (max-width: 960px) {
  :root { --header-h: 76px; }
  .hero { min-height: 0; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 3.5rem; }
  .hero-copy { padding-bottom: 0; }
  .hero-visual { justify-self: center; width: min(78%, 420px); margin-top: 1.5rem; }
  .collective-grid { grid-template-columns: minmax(0, 1fr); }
  .section-head--split { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
  .steps::before { display: none; }
  .step { border-top: 1px solid var(--rule-strong); padding-top: 2.6rem; }
  .step::before { top: -5px; }
  .step-num { top: -15px; }
  .principles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principles-grid li { padding: 2.2rem 1.6rem 2.2rem 0; border-bottom: 1px solid var(--rule); }
  .principles-grid li + li { border-left: 0; }
  .principles-grid li:nth-child(even) { padding-left: 1.6rem; border-left: 1px solid var(--rule); }
  .audiences-grid, .hospitality-grid { grid-template-columns: minmax(0, 1fr); }
  .settings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .setting:nth-child(2) { margin-top: 3rem; }
  .enquire-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand-logo { height: 23px; }
  .menu-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .header-actions { gap: 1.1rem; }
  .hero-eyebrow { font-size: .62rem; letter-spacing: .2em; }
  .hero-eyebrow .dot { margin: 0 .55em; }
  .hero-visual { width: 88%; }
  .hero-visual::after { left: -1rem; right: -1rem; }
  .hero-meta { font-size: .62rem; letter-spacing: .2em; }
  .collective-body { columns: 1; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .principles-grid { grid-template-columns: minmax(0, 1fr); }
  .principles-grid li, .principles-grid li:nth-child(even) { padding: 2rem 0; border-left: 0; }
  .settings { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .setting:nth-child(2) { margin-top: 0; }
  .arch--setting { width: min(100%, 360px); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .contact-list > div { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  .form-actions .btn { flex: 1 1 100%; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-cols > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 380px) {
  .brand-logo { height: 20px; }
  .btn { padding: 0 1.3rem; letter-spacing: .16em; }
}

/* ---------- print ---------- */
@media print {
  .site-header, .menu, .marquee, .hero-shadow, .scroll-cue, .enquiry-form, .wa-float { display: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .section { padding-block: 2.5rem; }
}

/* ---------- legal page ---------- */
.site-header.is-static { position: sticky; top: 0; background: rgba(243, 238, 229, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(27, 35, 30, .1); }
.site-header.is-static .header-inner { height: 76px; }
.header-back { color: var(--ink); }
.arrow--back { transform: scaleX(-1); width: 1.8rem; }
.header-back:hover .arrow--back { width: 2.4rem; }
.legal-head { padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)); padding-bottom: clamp(2rem, 4vw, 3rem); }
.legal-head .display-2 { margin-top: 1.4rem; }
.legal-body { padding-bottom: clamp(4.5rem, 9vw, 8rem); }
.legal-doc { max-width: 46rem; }
.legal-doc + .legal-doc { margin-top: 5rem; padding-top: 4rem; border-top: 1px solid var(--rule); }
.legal-doc .legal-meta { font-size: .72rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 2.6rem; }
.legal-doc h2 {
  font-variant-numeric: lining-nums;
  margin: 2.8rem 0 .9rem;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.2vw, 1.9rem);
  font-weight: 400;
  line-height: 1.2;
}
.legal-doc p, .legal-doc li { color: var(--fg-soft); font-size: 1rem; }
.legal-doc ul { margin: 0 0 1.1em; padding-left: 1.2rem; }
.legal-doc li { margin-bottom: .55rem; padding-left: .3rem; }
.legal-doc li::marker { color: var(--brass); }
.legal-doc a { color: var(--brass-deep); }
.legal-doc strong { font-weight: 500; color: var(--fg); }
html.js[lang="id"] [data-lang-block="en"],
html.js[lang="en"] [data-lang-block="id"] { display: none; }
@media (max-width: 640px) {
  .header-back [data-i18n] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
html.js .legal-doc + .legal-doc { margin-top: 0; padding-top: 0; border-top: 0; }
.site-footer--compact { padding-block: 0 2rem; }
.site-footer--compact .footer-bottom { margin-top: 0; padding-top: 2rem; }
.site-footer--compact .footer-bottom::before { display: none; }
.footer-legal a { overflow-wrap: anywhere; }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; min-height: 100svh; display: grid; align-items: center; }
.notfound-inner { display: grid; justify-items: start; gap: 1.6rem; padding-block: 4rem; max-width: 900px; }
.notfound-mark { width: 64px; height: auto; margin-bottom: 1.5rem; }
.notfound .lead { margin: 0 0 .6rem; }

/* =========================================================================
   Dark mode — html.dark (toggle in header; early script in <head> avoids a flash).
   Palette vars are flipped; .theme-dark sections and the menu overlay re-declare the
   original values so they stay deep stone with light text.
   ========================================================================= */
.theme-switch {
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  background: none;
  color: inherit;
  cursor: pointer;
  transition: border-color .3s, color .3s;
}
.theme-switch:hover { border-color: currentColor; }
.theme-switch svg { width: 1rem; height: 1rem; }
.theme-switch .i-sun { display: none; }
html.dark .theme-switch .i-sun { display: block; }
html.dark .theme-switch .i-moon { display: none; }
.menu .theme-switch { color: var(--lime); border-color: rgba(243, 238, 229, .3); }

html.dark {
  color-scheme: dark;
  --ink: #ECE6D8;
  --ink-2: #D9D3C4;
  --moss: #9BB08C;
  --teak: #C49A74;
  --brass-deep: #C9A56E;
  --lime: #121815;
  --lime-2: #1A221D;
  --paras: #222B25;
  --ash: #A8A397;
  --error: #E08072;
  --bg: var(--lime);
  --fg: var(--ink);
  --fg-soft: rgba(236, 230, 216, .82);
  --accent: var(--brass-lt);
  --accent-text: var(--brass-lt);
  --rule: rgba(236, 230, 216, .14);
  --rule-strong: rgba(236, 230, 216, .3);
  --logo-accent: var(--brass-lt);
}
html.dark .theme-dark,
html.dark .menu,
html.dark .skip-link {
  --ink: #0E1410;
  --ink-2: #26302A;
  --lime: #F3EEE5;
  --lime-2: #EEE7DB;
  --paras: #E4D9C6;
  --ash: #5E5A52;
  --moss: #4A5641;
  --brass-deep: #7F6136;
}
html.dark .theme-dark { --bg: var(--ink); --fg: var(--lime); --fg-soft: rgba(243, 238, 229, .8); --fg-muted: rgba(243, 238, 229, .6);
  --accent: var(--brass-lt); --accent-text: var(--brass-lt); --rule: rgba(243, 238, 229, .14); --rule-strong: rgba(243, 238, 229, .3); }
html.dark .menu { --lime: #F3EEE5; }
html.dark body.menu-open .site-header { --lime: #F3EEE5; }
html.dark body.menu-open .site-header .lang-switch { color: rgba(243, 238, 229, .5); }
html.dark body { background: var(--bg); color: var(--fg); }
html.dark .site-header.is-scrolled,
html.dark .site-header.is-static { background: rgba(18, 24, 21, .88); box-shadow: 0 1px 0 rgba(236, 230, 216, .1); }
html.dark body.menu-open .site-header { background: transparent; box-shadow: none; }
html.dark .site-header .lang-switch { color: var(--ash); }
html.dark .hero-light {
  background:
    radial-gradient(58% 52% at 80% 28%, rgba(201, 165, 110, .22), rgba(201, 165, 110, 0) 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(74, 86, 65, .35), rgba(74, 86, 65, 0) 70%),
    linear-gradient(180deg, #151C18 0%, #121815 100%);
}
html.dark .enquiry-form { background: rgba(236, 230, 216, .04); }
html.dark .field input::placeholder, html.dark .field textarea::placeholder { color: rgba(236, 230, 216, .38); }
html.dark .lx-card-flag .lx-badge { background: rgba(18, 24, 21, .92); color: var(--ink); }
html.dark .lx-card-flag .lx-badge--dark { background: var(--ink); color: var(--lime); }
html.dark .scene, html.dark .lx-d-media img, html.dark .lx-card img { filter: brightness(.88) saturate(.95); }
html.dark ::selection { background: var(--brass); color: #121815; }
