/* Heliconia Cantik Ventures: redesign 2026-10
   Layout follows the Wix "Financial Coaching Professional (Calm)" template.
   Colors come from the Heliconia crest: black disc, gold lettering, red and green heliconia. */

:root {
  --ink: #15130f;
  --ink-soft: #3b372f;
  --cream: #f4efe6;
  --sand: #e9e2d4;
  --dark: #1b1915;
  --dark-line: #3a352c;
  --gold: #d8bf89;
  --gold-deep: #b89a5a;
  --red: #d9452f;
  --red-deep: #b8361f;
  --green: #7fb24a;
  --line: #c9bfad;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --wrap: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.45rem; margin-bottom: .6rem; }
p + p { margin-top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.section { padding: 120px 0; }
.section-sand { background: var(--sand); }
.section-dark { background: var(--dark); color: var(--cream); }

.eyebrow { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--red); font-weight: 600; margin-bottom: 1.2rem; }
.eyebrow-gold { color: var(--gold); }
.lead { font-size: 1.15rem; color: var(--ink-soft); margin-bottom: 1rem; }
.section-dark .lead { color: var(--sand); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: 1rem 2.2rem; background: var(--red); color: #fff; border: 1px solid var(--red); font: 500 1rem var(--sans); text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s; position: relative; }
.btn:hover { background: var(--ink); border-color: var(--ink); }
.section-dark .btn:hover, .contact .btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-sm { padding: .6rem 1.3rem; font-size: .9rem; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); margin-top: 2rem; }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-wide { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }
.text-link { display: inline-block; margin-top: 2rem; color: var(--red-deep); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 239, 230, .94); backdrop-filter: blur(8px); }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-top: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.nav-left { display: flex; gap: 1.8rem; }
.nav-left a, .nav-link { text-decoration: none; font-size: .95rem; }
.nav-left a:hover, .nav-link:hover { color: var(--red); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.brand-sub { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-deep); }
.nav-right { display: flex; justify-content: flex-end; align-items: center; gap: 1.5rem; }
.menu-toggle { display: none; background: none; border: 0; width: 36px; height: 36px; cursor: pointer; justify-self: end; }
.menu-toggle span { display: block; height: 1.5px; background: var(--ink); margin: 7px 4px; transition: transform .25s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.mobile-menu { display: flex; flex-direction: column; padding: 12px 32px 24px; border-bottom: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: .7rem 0; text-decoration: none; font-family: var(--serif); font-size: 1.4rem; border-bottom: 1px solid var(--line); }

/* Hero */
.hero { padding: 110px 0 0; }
.hero-kicker { font-size: 1.05rem; color: var(--ink-soft); margin-bottom: 1rem; }
.hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.hero h1 { font-size: clamp(3rem, 8vw, 7.2rem); line-height: 1; letter-spacing: -.01em; max-width: 11ch; }
.hero-row .btn { flex-shrink: 0; margin-bottom: 1rem; }
.hero-tagline { font-size: 1.25rem; color: var(--ink-soft); max-width: 40ch; margin: 1.8rem 0 3.5rem; }
.hero-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--dark); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }

/* Kinetic headline */
.kinetic .word { display: inline-block; white-space: nowrap; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.kinetic .char { display: inline-block; transform: translateY(110%) rotate(8deg); opacity: 0; animation: char-in .9s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i) * 45ms + 150ms); transition: transform .35s cubic-bezier(.2,.7,.2,1), color .35s; }
.kinetic .word:nth-child(2) .char { color: var(--red); }
.kinetic.is-done .char { animation: char-wave 7s ease-in-out infinite; animation-delay: calc(var(--i) * 90ms); opacity: 1; transform: none; }
.kinetic .char:hover { transform: translateY(-.12em) !important; color: var(--gold-deep); }
@keyframes char-in { to { transform: none; opacity: 1; } }
@keyframes char-wave { 0%, 82%, 100% { transform: none; } 88% { transform: translateY(-.09em); } 94% { transform: translateY(.02em); } }
@media (prefers-reduced-motion: reduce) {
  .kinetic .char, .kinetic.is-done .char { animation: none !important; opacity: 1; transform: none; }
}

/* About */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: center; }
.display-text { font-size: clamp(2rem, 3.6vw, 3rem); }
.about-image img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center center; }

/* Ventures */
.ventures-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; }
.venture { display: grid; grid-template-columns: 180px 1fr; gap: 36px; padding: 36px 0; border-top: 1px solid var(--dark-line); }
.venture:last-child { border-bottom: 1px solid var(--dark-line); }
.venture img { width: 180px; height: 180px; object-fit: cover; object-position: center; }
.venture h3 { font-size: 1.7rem; }
.venture p { color: #cfc7b8; font-size: .98rem; max-width: 52ch; }
.venture-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 1.6rem; font-size: .88rem; color: var(--gold); }
.venture-meta a { color: var(--cream); font-weight: 600; text-decoration: none; }
.venture-meta a:hover { color: var(--gold); }

/* Numbers */
.numbers { background: var(--cream); padding: 90px 0; border-bottom: 1px solid var(--line); }
.numbers-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stat { display: flex; flex-direction: column; gap: .4rem; padding: 0 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 4.4rem); line-height: 1; color: var(--ink); }
.stat-num.tbc { color: var(--line); }
.stat-label { font-size: .92rem; color: var(--ink-soft); }

/* Approach */
.approach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 2rem; }
.box { border: 1px solid var(--ink-soft); padding: 28px 24px 32px; min-height: 280px; display: flex; flex-direction: column; transition: background .25s; }
.box:hover { background: var(--sand); }
.box-num { font-size: .8rem; color: var(--red); font-weight: 600; letter-spacing: .1em; padding-bottom: 4rem; }
.box p { font-size: .95rem; color: var(--ink-soft); }

/* Why Bali */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-image img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.points { list-style: none; }
.points li { padding: 1.2rem 0 1.2rem 1.8rem; border-top: 1px solid var(--line); position: relative; color: var(--ink-soft); }
.points li:last-child { border-bottom: 1px solid var(--line); }
.points li::before { content: ""; position: absolute; left: 0; top: 1.75rem; width: 9px; height: 9px; background: var(--green); transform: rotate(45deg); }
.points strong { color: var(--ink); font-weight: 600; }

/* Partner */
.partner-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: end; margin-bottom: 3rem; }
.partner-head p { color: #cfc7b8; font-size: 1.1rem; margin-bottom: 1.5rem; }
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.partner-tile { position: relative; display: block; padding: 32px 28px 72px; border: 1px solid var(--dark-line); text-decoration: none; transition: border-color .25s, background .25s; }
.partner-tile:hover { border-color: var(--gold); background: #23201b; }
.partner-tile p { color: #cfc7b8; font-size: .95rem; }
.tile-arrow { position: absolute; right: 24px; bottom: 22px; font-size: 1.4rem; color: var(--gold); transition: transform .25s; }
.partner-tile:hover .tile-arrow { transform: translate(4px, -4px); }

/* Coming soon */
.coming { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.inline-form { display: flex; margin-top: 2rem; max-width: 480px; }
.inline-form input { flex: 1; padding: 1rem; border: 1px solid var(--ink); border-right: 0; background: transparent; font: 1rem var(--sans); }
.coming-card { position: relative; overflow: hidden; }
.coming-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;  }
.coming-badge { position: absolute; inset: 0; background: rgba(21,19,15,.28); display: grid; place-items: center; font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 2.8rem); color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.4); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 1.5rem 3rem 1.5rem 0; font-family: var(--serif); font-size: 1.35rem; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.6rem; color: var(--red); transition: transform .25s; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 3rem 1.6rem 0; color: var(--ink-soft); }

/* Gallery */

/* Gallery marquee */
.gallery-section { overflow: hidden; }
.gallery-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 2.5rem; }
.gallery-head h2 { margin-bottom: 0; }
.gallery-tabs { display: flex; border: 1px solid var(--ink); }
.gallery-tabs button { background: transparent; border: 0; padding: .8rem 1.4rem; font: 500 .95rem var(--sans); color: var(--ink); cursor: pointer; transition: background .25s, color .25s; }
.gallery-tabs button + button { border-left: 1px solid var(--ink); }
.gallery-tabs button[aria-selected="true"] { background: var(--ink); color: var(--cream); }
.gallery-tabs button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.marquee { width: 100%; overflow: hidden; }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 216s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 380px; width: auto; object-fit: cover; flex-shrink: 0; }
.marquee-empty { text-align: center; padding: 120px 16px; color: var(--ink-soft); font-family: var(--serif); font-size: 1.5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 7px)); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
  .marquee-track img[aria-hidden="true"] { display: none; }
}

/* Free guide */
.guide { position: relative; padding: 120px 0; background: url("/guide-tents.jpg") center 45% / cover no-repeat; }
.guide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,19,15,.55), rgba(21,19,15,.1)); }
.guide-inner { position: relative; color: #fff; }
.guide h2 { max-width: 12ch; }
.guide-sub { max-width: 42ch; font-size: 1.1rem; margin-bottom: 3rem; }
.guide-card { background: var(--cream); color: var(--ink); padding: 28px; max-width: 440px; }

/* Forms */
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-size: .85rem; font-weight: 500; }
.field input, .field textarea { padding: .8rem; border: 1px solid var(--ink-soft); background: #fff; font: 1rem var(--sans); color: var(--ink); resize: vertical; }
input:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.form-status { margin-top: .8rem; font-size: .92rem; min-height: 1.4em; }
.form-status.ok { color: #4f8a2a; }
.form-status.err { color: var(--red); }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; position: absolute; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Contact + footer (dark) */
.contact { background: var(--dark); color: var(--cream); padding: 110px 0 40px; }
.contact-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 3rem; }
.contact-head h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); }
.contact-head p { color: #cfc7b8; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.contact-form .field-full { grid-column: 1 / -1; }
.contact-form .field input, .contact-form .field textarea { background: transparent; border: 0; border-bottom: 1px solid #6f685b; color: var(--cream); padding: .6rem 0; }
.contact-form .field label { color: #cfc7b8; font-weight: 400; }
.contact .form-status.ok { color: var(--green); }
.wordmark { font-family: var(--sans); font-weight: 500; font-size: clamp(1.9rem, 7.4vw, 6.6rem); line-height: 1; letter-spacing: -.02em; color: var(--cream); margin: 100px 0 80px; white-space: nowrap; overflow: hidden; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 28px; border-top: 1px solid var(--dark-line); font-size: .9rem; }
.footer-cols div { display: flex; flex-direction: column; gap: .4rem; }
.footer-cols a { text-decoration: none; color: #cfc7b8; }
.footer-cols a:hover { color: var(--gold); }
.copyright { margin-top: 60px; font-size: .8rem; color: #8d8577; }

/* Reveal on scroll */
.reveal-ready .reveal, .reveal-ready .section h2, .reveal-ready .venture, .reveal-ready .box, .reveal-ready .partner-tile, .reveal-ready .stat { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal-ready .is-in { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-ready * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Responsive */
@media (max-width: 1000px) {
  .nav-left, .nav-right { display: none; }
  .header-row { grid-template-columns: 1fr auto; }
  .menu-toggle { display: block; }
  .about-grid, .split, .coming, .ventures-grid, .faq-grid, .partner-head, .contact-head { grid-template-columns: 1fr; gap: 40px; }
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .section { padding: 80px 0; }
  .hero { padding-top: 60px; }
  .hero-row { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .hero-row .btn { order: 3; }
  .hero-media { aspect-ratio: 4 / 3; }
  .venture { grid-template-columns: 1fr; gap: 18px; }
  .venture img { width: 220px; height: 220px; margin: 0 auto; }
  .approach-grid, .partner-grid, .contact-form, .footer-cols { grid-template-columns: 1fr; }
  .box { min-height: 0; }
  .marquee-track img { height: 240px; }
  .gallery-tabs { width: 100%; }
  .gallery-tabs button { flex: 1; padding: .8rem .6rem; }
  .inline-form { flex-direction: column; gap: 10px; }
  .inline-form input { border-right: 1px solid var(--ink); }
  .brand-name { font-size: 1.15rem; }
  .numbers { padding: 56px 0; }
  .numbers-row { grid-template-columns: 1fr; }
  .stat { border-left: 0; padding: 18px 0; border-top: 1px solid var(--line); flex-direction: row; align-items: baseline; gap: 16px; }
  .stat:first-child { border-top: 0; padding-top: 0; }
  .stat-num { min-width: 4.2ch; }
}
