/* =========================================================
   Natha Niaga Nusantara — Landing Page
   Brand palette & type from Brand_Guide_Natha_Niaga_Nusantara.md
   ========================================================= */

:root {
  --forest: #1F4D25;
  --forest-2: #2D6A33;
  --gold: #C9A24A;
  --pale-gold: #D9C27A;
  --black: #0A0A0C;
  --teal: #8CC6C6;
  --mint: #BFE6D3;
  --sand: #ECE9E4;
  --ink: #1E2A28;
  --ink-soft: #4A5755;
  --white: #FFFFFF;

  --f-head: "Questrial", "Poppins", system-ui, sans-serif;
  --f-body: "Poppins", system-ui, sans-serif;
  /* elegant, readable italic accent (replaces the handwritten script) */
  --f-script: "Playfair Display", Georgia, "Times New Roman", serif;

  --radius-card: 28px;
  --radius-pill: 999px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--ink);
  background: #FDFCF9;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--f-head);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
h3 { font-size: 1.4rem; letter-spacing: -0.01em; }

.script {
  font-family: var(--f-script);
  font-style: italic;
  font-weight: 500;
  color: var(--forest);
  font-size: 1em;
  line-height: 1;
  letter-spacing: -0.015em;
  padding-right: .04em;
}

/* ---------- Pills & buttons ---------- */
.pill {
  display: inline-block;
  padding: .42rem 1rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--mint) 70%, white);
  color: var(--forest);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .01em;
}
.pill--white { background: rgba(255,255,255,.85); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .95rem 1.6rem;
  border-radius: var(--radius-pill);
  font: 500 .95rem/1 var(--f-body);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), background .3s, box-shadow .35s var(--ease), color .3s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn--sm { padding: .65rem 1.15rem; font-size: .85rem; }

.btn--forest {
  background: var(--forest);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(31, 77, 37, .7), inset 0 0 0 1px rgba(201,162,74,.35);
}
.btn--forest:hover { background: var(--forest-2); box-shadow: 0 16px 30px -14px rgba(31, 77, 37, .8), inset 0 0 0 1px rgba(201,162,74,.6); }

.btn--ghost {
  background: rgba(255,255,255,.6);
  color: var(--forest);
  border-color: rgba(31,77,37,.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: #fff; }

.btn--glass {
  background: rgba(255,255,255,.22);
  color: var(--ink);
  border-color: rgba(255,255,255,.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn--glass:hover { background: rgba(255,255,255,.5); }

/* ---------- Nav (floating pill) ---------- */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 6px 6px 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 6px 24px -12px rgba(30,42,40,.35);
  border: 1px solid rgba(30,42,40,.06);
  transition: box-shadow .4s var(--ease), background .4s;
  white-space: nowrap;
}
.nav.is-scrolled {
  background: rgba(255,255,255,.9);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 14px 40px -16px rgba(30,42,40,.45);
}
.nav__brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; }
.nav__brand img { width: 34px; height: 34px; border-radius: 50%; }
.nav__word { font-family: var(--f-head); font-size: 1rem; line-height: 1; letter-spacing: -0.01em; color: var(--ink); }
.nav__links { display: flex; gap: 1.3rem; }
.nav__links a {
  font-size: .88rem;
  text-decoration: none;
  color: var(--ink-soft);
  position: relative;
  transition: color .25s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .35s var(--ease);
}
.nav__links a:hover { color: var(--forest); }
.nav__links a:hover::after { transform: scaleX(1); }

/* EN / ID language switch */
.lang {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: rgba(30, 42, 40, .06);
  isolation: isolate;
}
.lang__btn {
  position: relative;
  z-index: 1;
  min-width: 36px;
  padding: .42rem .55rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: none;
  font: 600 .74rem/1 var(--f-body);
  letter-spacing: .06em;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color .3s;
}
/* bigger tap area on touch screens */
@media (pointer: coarse), (max-width: 860px) {
  .lang__btn { min-width: 40px; min-height: 34px; }
}
.lang__btn[aria-pressed="true"] { color: var(--forest); }
.lang__btn:hover { color: var(--forest); }
.lang__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.lang__thumb {
  position: absolute;
  z-index: 0;
  top: 3px; bottom: 3px; left: 3px;
  width: calc(50% - 3px);
  border-radius: var(--radius-pill);
  background: #fff;
  box-shadow: 0 2px 8px -3px rgba(30,42,40,.35), inset 0 0 0 1px rgba(201,162,74,.45);
  transition: transform .4s var(--ease);
}
.lang[data-active="id"] .lang__thumb { transform: translateX(100%); }

/* soft fade while text swaps language */
main, .footer, .nav__links, .nav__cta { transition: opacity .22s ease; }
body.is-switching main,
body.is-switching .footer,
body.is-switching .nav__links,
body.is-switching .nav__cta { opacity: 0; }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav { gap: .7rem; }
}
@media (max-width: 480px) {
  /* phones: keep logo + wordmark + language switch; the hero already carries the CTA */
  .nav { gap: .9rem; padding: 6px 6px 6px 8px; }
  .nav__cta { display: none; }
  .nav__word { font-size: .95rem; }
}
@media (max-width: 330px) {
  .nav__word { font-size: .82rem; }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
  transition-delay: var(--delay, 0s);
}
.reveal.is-in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: max(100svh, 760px);
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 50% 62%, rgba(246, 226, 196, .55), transparent 70%),
    linear-gradient(180deg, #FFFFFF 0%, #FBFAF6 45%, #F3F0E8 100%);
  isolation: isolate;
}

.hero__copy {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(7.5rem, 17vh, 10rem) 1.5rem 0;
  text-align: center;
}
.hero__title {
  margin-top: 1.2rem;
  font-size: clamp(2.8rem, 6.6vw, 5.6rem);
  line-height: 1.06;
}
.hero__title .script { color: var(--forest); }
.hero__sub {
  max-width: 640px;
  margin: 1.4rem auto 0;
  color: var(--ink-soft);
  font-size: clamp(.98rem, 1.3vw, 1.08rem);
}
.hero__cta {
  display: flex;
  gap: .8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.hero .reveal:nth-child(2) { --delay: .1s; }
.hero .reveal:nth-child(3) { --delay: .2s; }
.hero .reveal:nth-child(4) { --delay: .3s; }

/* background video (aerial beach) */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #CFE7E1 url("assets/video/beach-poster.jpg") center / cover no-repeat;
}
.hero__video {
  position: absolute;
  top: -10%;                   /* extra height above for the parallax drift */
  left: 0;
  width: 100%;
  height: 110%;
  object-fit: cover;
  will-change: transform;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero__video.is-playing { opacity: 1; }
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    /* soft light pool behind the headline */
    radial-gradient(58% 46% at 50% 44%, rgba(253, 252, 249, .82) 0%, rgba(253, 252, 249, .55) 45%, rgba(253, 252, 249, 0) 100%),
    /* keep the floating nav readable */
    linear-gradient(180deg, rgba(253, 252, 249, .55) 0%, rgba(253, 252, 249, 0) 22%),
    /* melt into the page below the tickets */
    linear-gradient(0deg, #FDFCF9 0%, rgba(253, 252, 249, 0) 16%);
}

/* clouds */
.cloud {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}
.cloud--a { width: clamp(220px, 30vw, 440px); aspect-ratio: 300/140; top: 7%; left: -4%; animation: drift 26s ease-in-out infinite alternate; }
.cloud--b { width: clamp(200px, 26vw, 380px); aspect-ratio: 300/140; top: 11%; right: -5%; transform: scaleX(-1); animation: drift 32s ease-in-out infinite alternate-reverse; }
.cloud--c { width: clamp(110px, 12vw, 180px); aspect-ratio: 300/140; top: 30%; left: 4%; opacity: .8; animation: drift 22s ease-in-out infinite alternate; }
.hero .cloud { opacity: .88; }
.hero .cloud--c { opacity: .7; }
@keyframes drift {
  from { translate: 0 0; }
  to   { translate: 40px 6px; }
}

/* landscape */
.landscape {
  position: absolute;
  inset: auto 0 0 0;
  height: 54%;
  z-index: 2;
  pointer-events: none;
}
.landscape .layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
}
.landscape--day {
  --far: url(#gFarDay);
  --peak: #F2D5B8;
  --mid: #7FA79A;
  --sea: url(#gSeaDay);
  --island: #5E8C6E;
  --shimmer: rgba(255,255,255,.75);
  --terr1: #9CC266;
  --terr2: #74A44A;
  --terr3: #4F8138;
  --line: rgba(255, 255, 240, .45);
  --front: #1F4D25;
  --palm: #1F4D25;
  --tree: #2F6236;
}

/* glass tiles */
.tiles { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.tiles i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: clamp(38px, 4.6vw, 66px);
  aspect-ratio: 1;
  border-radius: 12px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.55);
  backdrop-filter: blur(9px) saturate(1.2);
  -webkit-backdrop-filter: blur(9px) saturate(1.2);
  box-shadow: 0 8px 24px -14px rgba(30,42,40,.35);
  animation: bob 7s ease-in-out infinite;
  animation-delay: var(--d);
}
.tiles i.sm { width: clamp(26px, 3vw, 42px); border-radius: 9px; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* floating gold leaves */
.leaves { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.leaf {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 34px;
  fill: var(--gold);
  opacity: .45;
  rotate: var(--r);
  animation: leaf 9s ease-in-out infinite;
  animation-delay: var(--d);
}
@keyframes leaf {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(14px, 18px) rotate(18deg); }
}

@media (prefers-reduced-motion: reduce) {
  .cloud, .tiles i, .leaf { animation: none; }
}

@media (max-width: 600px) {
  .hero { min-height: 900px; }
  .hero .landscape { height: 36%; }
  .hero .tiles i:not(.sm) { display: none; }
  .hero__cta .btn { width: min(280px, 100%); justify-content: center; }
  .cloud--c { display: none; }
}

/* =========================================================
   STATS — ticket cards
   ========================================================= */
.stats {
  position: relative;
  z-index: 5;
  margin-top: -64px;
  padding: 0 1.5rem;
}
.tickets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1080px;
  margin: 0 auto;
  filter: drop-shadow(0 22px 30px rgba(31, 77, 37, .16));
}
.ticket {
  --notch: 26px;
  position: relative;
  min-height: 190px;
  padding: 1.6rem 1.8rem 1.5rem;
  border-radius: var(--radius-card);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255,255,255,.55), transparent 60%),
    var(--mint);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  -webkit-mask:
    radial-gradient(circle var(--notch) at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle var(--notch) at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
          mask:
    radial-gradient(circle var(--notch) at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle var(--notch) at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
  transition: transform .5s var(--ease);
}
.ticket:hover { transform: translateY(-6px); }
.ticket:nth-child(2) { --delay: .08s; }
.ticket:nth-child(3) { --delay: .16s; }
.ticket:nth-child(4) { --delay: .24s; }
.ticket__label { font-size: .86rem; font-weight: 500; color: var(--forest); }
.ticket__num {
  font-family: var(--f-head);
  font-weight: 400;
  font-size: clamp(2.6rem, 4.6vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.ticket::after {
  content: "";
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,162,74,.2);
}

@media (max-width: 860px) {
  .tickets { grid-template-columns: repeat(2, 1fr); row-gap: 0; }
}
@media (max-width: 480px) {
  .ticket { min-height: 150px; padding: 1.3rem 1.4rem; --notch: 18px; }
}

/* =========================================================
   COMMODITIES MARQUEE
   ========================================================= */
.commodities {
  padding: 3rem 1.5rem 1rem;
}
.marquee {
  max-width: 1080px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(30,42,40,.04), 0 18px 40px -26px rgba(30,42,40,.35);
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.marquee__group li {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: 1.7rem 2.4rem;
  font-family: var(--f-head);
  font-size: 1.35rem;
  color: var(--ink);
  border-right: 1px solid rgba(30,42,40,.07);
}
.marquee__group svg {
  width: 30px;
  height: 30px;
  fill: var(--forest);
  color: var(--forest);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* =========================================================
   SECTION HEAD
   ========================================================= */
.section-head {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.section-head h2 { margin-top: 1.2rem; }
.section-head p {
  max-width: 560px;
  margin: 1.2rem auto 0;
  color: var(--ink-soft);
}
.section-head .reveal:nth-child(2) { --delay: .08s; }
.section-head .reveal:nth-child(3) { --delay: .16s; }

/* =========================================================
   ABOUT / PILLARS
   ========================================================= */
.about {
  position: relative;
  padding: clamp(6rem, 12vw, 9rem) 1.5rem clamp(5rem, 10vw, 8rem);
  overflow: hidden;
}
.grid-squares {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,42,40,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,42,40,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask: radial-gradient(60% 55% at 50% 45%, #000, transparent 75%);
          mask: radial-gradient(60% 55% at 50% 45%, #000, transparent 75%);
  pointer-events: none;
}
.pillars {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1080px;
  margin: clamp(3rem, 6vw, 4.5rem) auto 0;
}
.pillar {
  position: relative;
  padding: 2rem 1.8rem 2.2rem;
  border-radius: var(--radius-card);
  background: linear-gradient(160deg, rgba(191,230,211,.75), rgba(191,230,211,.35));
  border: 1px solid rgba(255,255,255,.7);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.pillar:nth-child(2) { --delay: .1s; }
.pillar:nth-child(3) { --delay: .2s; }
.pillar:hover { transform: translateY(-6px); box-shadow: 0 26px 40px -28px rgba(31,77,37,.45); }
.pillar::before {
  content: "";
  position: absolute;
  right: -40px; top: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  border: 1px solid rgba(201,162,74,.45);
}
.pillar__icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--forest);
  box-shadow: inset 0 0 0 2px var(--gold);
  margin-bottom: 1.6rem;
}
.pillar__icon svg { width: 24px; height: 24px; fill: var(--pale-gold); color: var(--pale-gold); }
.pillar h3 { font-size: 1.6rem; }
.pillar p { margin: .7rem 0 0; color: var(--ink-soft); font-size: .95rem; }

@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; max-width: 520px; }
}

/* =========================================================
   FOCUS — horizontal sticky scroll
   ========================================================= */
.focus {
  position: relative;
  height: 400vh;
  background: #FDFCF9;
}
.focus__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 5rem;
}
.section-head--tight h2 { font-size: clamp(2rem, 4vw, 3.2rem); }

.cloud--d {
  width: clamp(180px, 24vw, 360px);
  aspect-ratio: 300/140;
  top: 9vh;
  left: -4%;
  opacity: .95;
  animation: drift 24s ease-in-out infinite alternate;
}
.cloud--e {
  width: clamp(120px, 14vw, 210px);
  aspect-ratio: 300/140;
  top: 44vh;
  right: 6%;
  opacity: .85;
  animation: drift 20s ease-in-out infinite alternate-reverse;
}

.focus__viewport {
  position: relative;
  margin-top: clamp(2rem, 5vh, 3.5rem);
}
.focus__track {
  display: flex;
  width: max-content;
  will-change: transform;
  padding-left: 6vw;
}
.step {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  width: min(68vw, 820px);
  padding: 0 4vw;
  border-left: 1px solid rgba(30,42,40,.08);
}
.step__num {
  font-family: var(--f-head);
  font-size: clamp(11rem, 28vw, 25rem);
  line-height: .78;
  letter-spacing: -0.06em;
  color: var(--c);
  flex: none;
}
.step__body { max-width: 340px; padding-bottom: .6rem; }
.step__body h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); }
.step__body p { margin: .7rem 0 0; color: var(--ink-soft); font-size: .98rem; }

.focus__progress {
  width: min(320px, 60vw);
  height: 3px;
  margin: clamp(2rem, 6vh, 3.5rem) auto 0;
  background: rgba(30,42,40,.08);
  border-radius: 3px;
  overflow: hidden;
}
.focus__progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--forest), var(--gold));
  transform-origin: left;
  transform: scaleX(0);
}

/* stacked layout on small screens */
@media (max-width: 820px) {
  .focus { height: auto; padding: 6rem 0 4rem; }
  .focus__sticky { position: relative; height: auto; padding-top: 0; }
  .focus__track { flex-direction: column; width: auto; padding: 0 1.5rem; gap: 3rem; transform: none !important; }
  .step { width: auto; padding: 0; border-left: 0; flex-direction: column; align-items: flex-start; gap: .6rem; }
  .step__num { font-size: 8rem; }
  .focus__progress, .cloud--d { display: none; }
}

/* =========================================================
   VALUES — beach mosaic (Instagram feed concept)
   ========================================================= */
.values {
  position: relative;
  padding: clamp(6rem, 12vw, 9rem) 1.5rem;
  background:
    radial-gradient(80% 60% at 20% 10%, rgba(255,255,255,.35), transparent 60%),
    linear-gradient(180deg, var(--teal) 0%, #A8D5CF 38%, #DDEBE2 66%, var(--sand) 100%);
  overflow: hidden;
}
.values::before {
  /* foam line */
  content: "";
  position: absolute;
  left: -10%; right: -10%;
  top: 58%;
  height: 90px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255,255,255,.7), transparent 70%);
  filter: blur(8px);
}
.hex {
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='97' viewBox='0 0 84 97'%3E%3Cpath d='M42 1 L83 24.5 V72.5 L42 96 L1 72.5 V24.5Z' fill='none' stroke='%23D9C27A' stroke-width='1.2'/%3E%3C/svg%3E");
  background-size: 84px 97px;
  -webkit-mask: radial-gradient(45% 55% at 85% 30%, #000, transparent 70%);
          mask: radial-gradient(45% 55% at 85% 30%, #000, transparent 70%);
  pointer-events: none;
}
.values__inner {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.values__card {
  padding: clamp(2rem, 4vw, 3.2rem);
  border-radius: var(--radius-card);
  background: rgba(191, 230, 211, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.6);
}
.values__card h2 { margin-top: 1.2rem; font-size: clamp(2rem, 3.8vw, 3.1rem); }
.values__card p { margin: 1.1rem 0 0; color: var(--ink-soft); max-width: 460px; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.checks li { display: flex; align-items: center; gap: .9rem; }
.checks { gap: .8rem; }
.checks li:nth-child(even) { margin-left: 2rem; }
/* ---- pop-up on scroll: circle bounces in, tick draws, pill springs out ---- */
.checks li:nth-child(1) { --i: 0; }
.checks li:nth-child(2) { --i: 1; }
.checks li:nth-child(3) { --i: 2; }
.checks li:nth-child(4) { --i: 3; }
.checks li:nth-child(5) { --i: 4; }
.checks li:nth-child(6) { --i: 5; }
.pop-group .check { position: relative; }
.pop-group .check::after {             /* gold ripple that fades out */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--gold);
  opacity: 0;
  pointer-events: none;
}
.pop-group .check svg path { stroke-dasharray: 22; stroke-dashoffset: 22; }
.pop-group:not(.is-in) .check { transform: scale(0); }
.pop-group:not(.is-in) .check__pill { opacity: 0; transform: translateX(-24px) scale(.6); }
.pop-group.is-in .check {
  animation: popCircle .7s cubic-bezier(.34, 1.56, .64, 1) both;
  animation-delay: calc(var(--i) * .14s);
}
.pop-group.is-in .check::after {
  animation: popRipple .9s ease-out both;
  animation-delay: calc(var(--i) * .14s + .25s);
}
.pop-group.is-in .check svg path {
  animation: drawTick .45s ease-out forwards;
  animation-delay: calc(var(--i) * .14s + .3s);
}
.pop-group.is-in .check__pill {
  transform-origin: left center;
  animation: popPill .75s cubic-bezier(.34, 1.56, .64, 1) both;
  animation-delay: calc(var(--i) * .14s + .12s);
}
@keyframes popCircle {
  0%   { transform: scale(0) rotate(-90deg); }
  60%  { transform: scale(1.18) rotate(8deg); }
  80%  { transform: scale(.94) rotate(-2deg); }
  100% { transform: scale(1) rotate(0); }
}
@keyframes popPill {
  0%   { opacity: 0; transform: translateX(-24px) scale(.6); }
  55%  { opacity: 1; transform: translateX(4px) scale(1.05); }
  100% { opacity: 1; transform: none; }
}
@keyframes popRipple {
  0%   { opacity: .8; transform: scale(1); }
  100% { opacity: 0;  transform: scale(1.7); }
}
@keyframes drawTick { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .pop-group .check, .pop-group .check__pill { animation: none !important; opacity: 1 !important; transform: none !important; }
  .pop-group .check svg path { animation: none !important; stroke-dashoffset: 0; }
  .pop-group .check::after { display: none; }
}
.check {
  flex: none;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--pale-gold);
  box-shadow: 0 8px 18px -10px rgba(201,162,74,.9), inset 0 0 0 3px rgba(255,255,255,.35);
}
.check svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.check__pill {
  padding: .95rem 1.6rem;
  border-radius: var(--radius-pill);
  background: #fff;
  font-family: var(--f-head);
  font-size: 1.15rem;
  box-shadow: 0 10px 24px -18px rgba(30,42,40,.5);
}

@media (max-width: 860px) {
  .values__inner { grid-template-columns: 1fr; }
  .checks li:nth-child(n) { margin-left: 0; }
}

/* =========================================================
   CTA — dusk landscape + frosted card
   ========================================================= */
.cta {
  position: relative;
  min-height: clamp(620px, 92vh, 880px);
  /* equal breathing room above and below the card, card centred */
  padding: clamp(5rem, 10vw, 7.5rem) clamp(1rem, 4vw, 1.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #CFE7E1;
  overflow: hidden;
  isolation: isolate;
}
/* background video (same aerial beach as the hero) */
.cta__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #CFE7E1 url("assets/video/beach-poster.jpg") center / cover no-repeat;
}
.cta__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.cta__video.is-playing { opacity: 1; }
.cta__veil {
  position: absolute;
  inset: 0;
  background:
    /* melt out of the sand-coloured Impact section above —
       long, eased fade (many stops) so there is no visible band */
    linear-gradient(180deg,
      rgb(236 233 228 / 1)    0%,
      rgb(236 233 228 / .985) 4%,
      rgb(236 233 228 / .95)  8%,
      rgb(236 233 228 / .9)   12%,
      rgb(236 233 228 / .82)  16%,
      rgb(236 233 228 / .72)  20%,
      rgb(236 233 228 / .6)   24.5%,
      rgb(236 233 228 / .47)  29%,
      rgb(236 233 228 / .35)  33.5%,
      rgb(236 233 228 / .24)  38%,
      rgb(236 233 228 / .15)  42.5%,
      rgb(236 233 228 / .08)  47%,
      rgb(236 233 228 / .03)  51.5%,
      rgb(236 233 228 / 0)    56%),
    /* settle into the green footer below (eased as well) */
    linear-gradient(0deg,
      rgb(31 77 37 / .45) 0%,
      rgb(31 77 37 / .36) 5%,
      rgb(31 77 37 / .25) 10%,
      rgb(31 77 37 / .14) 16%,
      rgb(31 77 37 / .06) 22%,
      rgb(31 77 37 / 0)   30%),
    /* soft light pool behind the card */
    radial-gradient(60% 55% at 50% 50%, rgba(253, 252, 249, .35) 0%, rgba(253, 252, 249, 0) 100%);
}

.cta__card {
  position: relative;
  z-index: 2;
  width: min(820px, 100%);
  margin: 0 auto;
  padding: clamp(2.25rem, 6vw, 4rem) clamp(1.25rem, 5vw, 4rem);
  border-radius: clamp(24px, 3vw, 34px);
  text-align: center;
  /* even frosted fill so the text sits on one consistent tone */
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.58));
  backdrop-filter: blur(22px) saturate(1.15);
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: 0 40px 80px -40px rgba(15, 34, 48, .55);
}
.cta__card h2 { margin-top: 1.2rem; font-size: clamp(2rem, 4.2vw, 3.4rem); }
.cta__card p { margin: 1rem auto 0; max-width: 520px; color: var(--ink); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 2rem; }
.cta__quote {
  font-family: var(--f-script);
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.45;
  color: var(--forest);
  max-width: 560px;
}

/* =========================================================
   PROJECTS — region tabs + cards
   ========================================================= */
.projects {
  position: relative;
  padding: clamp(6rem, 11vw, 8.5rem) 1.5rem clamp(4rem, 8vw, 6rem);
  background:
    radial-gradient(70% 40% at 50% 0%, rgba(191,230,211,.35), transparent 70%),
    #FDFCF9;
}
.tabs {
  display: flex;
  justify-content: center;
  gap: .4rem;
  width: max-content;
  max-width: 100%;
  margin: 2.4rem auto 0;
  padding: 5px;
  border-radius: var(--radius-pill);
  background: #fff;
  box-shadow: 0 1px 0 rgba(30,42,40,.04), 0 14px 30px -22px rgba(30,42,40,.4);
  border: 1px solid rgba(30,42,40,.06);
}
.tabs__btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .75rem 1.3rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: none;
  font: 500 .92rem/1 var(--f-body);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .3s, color .3s;
}
.tabs__btn:hover { color: var(--forest); }
.tabs__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.tabs__btn[aria-selected="true"] { background: var(--forest); color: #fff; }
.tabs__count {
  min-width: 22px;
  padding: .18rem .45rem;
  border-radius: var(--radius-pill);
  background: rgba(30,42,40,.07);
  font-size: .75rem;
  text-align: center;
}
.tabs__btn[aria-selected="true"] .tabs__count { background: var(--gold); color: var(--forest); }

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 1.1rem;
  max-width: 1080px;
  margin: 2.4rem auto 0;
}
.project-grid[hidden] { display: none; }
.project-grid.is-entering .project { animation: cardIn .6s var(--ease) both; }
.project-grid.is-entering .project:nth-child(2) { animation-delay: .05s; }
.project-grid.is-entering .project:nth-child(3) { animation-delay: .1s; }
.project-grid.is-entering .project:nth-child(4) { animation-delay: .15s; }
.project-grid.is-entering .project:nth-child(5) { animation-delay: .2s; }
.project-grid.is-entering .project:nth-child(6) { animation-delay: .25s; }
.project-grid.is-entering .project:nth-child(7) { animation-delay: .3s; }
@keyframes cardIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

.project {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(30,42,40,.06);
  box-shadow: 0 18px 36px -30px rgba(30,42,40,.5);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.project:hover { transform: translateY(-6px); box-shadow: 0 28px 44px -30px rgba(31,77,37,.55); }
.project__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--mint);
}
.project__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.project:hover .project__media img { transform: scale(1.05); }

/* photos sourced from Wikimedia Commons: credit + "illustration" tag */
.project__media { position: relative; }
.project__media:has(.project__credit)::after {      /* soft shade so the credit stays legible */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  background: linear-gradient(0deg, rgba(15, 34, 24, .45), rgba(15, 34, 24, 0));
  pointer-events: none;
}
.project__credit {
  position: absolute;
  z-index: 1;
  left: .7rem;
  bottom: .55rem;
  right: .7rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .72rem;
  line-height: 1.2;
  color: rgba(255, 255, 255, .92);
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.project__credit svg { flex: none; width: 13px; height: 13px; fill: currentColor; opacity: .85; }
.project__credit:hover, .project__credit:focus-visible { color: #fff; text-decoration: underline; }
.project__tag {
  position: absolute;
  z-index: 1;
  top: .8rem;
  left: .8rem;
  padding: .3rem .65rem;
  border-radius: var(--radius-pill);
  background: rgba(30, 42, 40, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .02em;
}

.project__area {
  position: absolute;
  top: .8rem;
  right: .8rem;
  padding: .35rem .7rem;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: .78rem;
  font-weight: 600;
  color: var(--forest);
  box-shadow: inset 0 0 0 1px rgba(201,162,74,.5);
}
.project__body { padding: 1.1rem 1.2rem 1.3rem; }
.project__body h3 { font-size: 1.2rem; line-height: 1.2; }
.project__loc {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin: .5rem 0 0;
  font-size: .86rem;
  color: var(--ink-soft);
}
.project__loc svg { flex: none; width: 15px; height: 15px; fill: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  .project-grid.is-entering .project { animation: none; }
}

/* =========================================================
   EQUITY STRUCTURE — range bars
   ========================================================= */
.structure {
  position: relative;
  padding: clamp(4rem, 8vw, 6rem) 1.5rem clamp(6rem, 11vw, 8.5rem);
  background: #FDFCF9;
}
.shares {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  max-width: 1080px;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
}
.share {
  padding: 1.7rem 1.8rem 1.8rem;
  border-radius: var(--radius-card);
  background: linear-gradient(160deg, rgba(191,230,211,.6), rgba(191,230,211,.25));
  border: 1px solid rgba(255,255,255,.8);
}
.share:nth-child(2) { --delay: .08s; }
.share:nth-child(3) { --delay: .16s; }
.share:nth-child(4) { --delay: .24s; }
.share__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.share__top h3 { font-size: 1.35rem; }
.share__range {
  font-family: var(--f-head);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  color: var(--forest);
  white-space: nowrap;
}
.share__bar {
  position: relative;
  height: 10px;
  margin: 1rem 0 1.1rem;
  border-radius: 10px;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgba(30,42,40,.12) calc(10% - 1px) 10%),
    rgba(255,255,255,.8);
  overflow: hidden;
}
.share__bar span {
  position: absolute;
  top: 0; bottom: 0;
  left: calc(var(--min) * 1%);
  width: calc((var(--max) - var(--min)) * 1%);
  border-radius: 10px;
  background: linear-gradient(90deg, var(--forest), var(--gold));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.1s var(--ease) .3s;
}
.share__bar::before {
  /* solid part = guaranteed minimum */
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: calc(var(--min) * 1%);
  border-radius: 10px 0 0 10px;
  background: rgba(31,77,37,.18);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.1s var(--ease);
}
.share.is-in .share__bar span,
.share.is-in .share__bar::before { transform: scaleX(1); }
.share p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

@media (prefers-reduced-motion: reduce) {
  .share__bar span, .share__bar::before { transform: none; transition: none; }
}
@media (max-width: 760px) {
  .shares { grid-template-columns: 1fr; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative;
  background: var(--forest);
  color: #E9EFE6;
  padding: 3rem clamp(1.5rem, 4vw, 3rem) 1.8rem;
  border-top: 3px solid var(--gold);
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}
.footer__brand { display: flex; align-items: center; gap: 1rem; text-decoration: none; }
.footer__brand img {
  width: 88px; height: 88px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(217,194,122,.5), 0 0 0 8px rgba(255,255,255,.04);
}
.footer__word { font-family: var(--f-head); font-size: 1.45rem; letter-spacing: -0.01em; color: var(--pale-gold); line-height: 1.1; }
.footer__links { display: flex; gap: 1.8rem; }
.footer__links a { text-decoration: none; font-size: .95rem; opacity: .9; transition: color .25s; }
.footer__links a:hover { color: var(--pale-gold); }
.footer__social { display: flex; gap: .7rem; justify-content: flex-end; }
.footer__social a {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(217,194,122,.45);
  color: var(--pale-gold);
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.footer__social a:hover { background: var(--pale-gold); color: var(--forest); transform: translateY(-2px); }
.footer__social svg { width: 20px; height: 20px; fill: currentColor; }
.footer__bottom {
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .85rem;
  font-weight: 600;
  color: rgba(233,239,230,.78);
}

@media (max-width: 860px) {
  .footer__top { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer__brand { flex-direction: column; }
  .footer__links { flex-wrap: wrap; justify-content: center; gap: 1.2rem; }
  .footer__social { justify-content: center; }
  .footer__bottom { justify-content: center; text-align: center; }
}
