/* ============================================================
   VCTRIA — vctria.com · Victory, in full bloom
   Design tokens
   ============================================================ */
:root {
  --bg: #f7f4ee;
  --bg-soft: #f0ebe2;
  --card: #fffdf9;
  --ink: #0e221d;
  --ink-2: #41554e;
  --ink-3: #5d6f69;
  --line: rgba(14, 34, 29, .12);
  --rose: #e2688a;
  --rose-deep: #c94f72;
  --rose-soft: #fbe2ea;
  --gold: #eeb64a;
  --gold-soft: #fdf1d6;
  --teal: #2f9490;
  --teal-soft: #d9efee;
  --leaf: #4aa06f;
  --leaf-soft: #e0f1e5;
  --radius: 28px;
  --radius-lg: 40px;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 32px);
  --font: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow-soft: 0 30px 60px -35px rgba(14, 34, 29, .45);
}

/* ---- reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--rose); color: #fff; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  background: var(--ink); color: var(--bg);
  padding: 10px 18px; border-radius: 999px;
  text-decoration: none; font-weight: 600;
  transform: translateY(-250%);
  transition: transform .25s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---- typography ---- */
h1, h2, h3, h4 { line-height: 1.06; letter-spacing: -.03em; font-weight: 600; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.3rem; letter-spacing: -.02em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--rose); box-shadow: 0 0 0 4px var(--rose-soft);
}
.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: var(--ink-2); line-height: 1.7; font-weight: 400;
}
.accent {
  color: var(--rose);
  background: linear-gradient(100deg, var(--rose) 8%, var(--gold) 92%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section { padding-block: clamp(84px, 11vw, 150px); }
.section-head { max-width: 720px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { margin-top: 18px; }
.section-head .lede { margin-top: 18px; }

/* ---- buttons (pil, gaya mindrobotics: fill + ring offset saat hover) ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 32px; border-radius: 999px;
  font-weight: 600; font-size: 1.02rem; letter-spacing: .01em;
  text-decoration: none; border: 1.5px solid transparent;
  transition: transform .35s var(--ease), background .3s, color .3s,
              box-shadow .35s var(--ease), border-color .3s;
}
.btn span[aria-hidden] { transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-3px); }
.btn:hover span[aria-hidden] { transform: translateX(4px); }
.btn-primary {
  background: var(--rose); color: #fff;
  box-shadow: 0 14px 30px -16px rgba(201, 79, 114, .85);
}
.btn-primary:hover {
  background: var(--rose-deep);
  box-shadow: 0 0 0 5px var(--bg), 0 0 0 7px var(--rose), 0 18px 34px -16px rgba(201, 79, 114, .9);
}
.btn-ghost {
  border-color: var(--line); color: var(--ink);
  background: rgba(255, 255, 255, .5);
}
.btn-ghost:hover { background: #fff; border-color: rgba(14, 34, 29, .3); box-shadow: var(--shadow-soft); }
.btn-sm { padding: 11px 24px; font-size: .95rem; }
/* ---- header ---- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.scrolled {
  background: rgba(247, 244, 238, .85);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line), 0 20px 40px -35px rgba(14, 34, 29, .5);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-block: 20px;
  transition: padding .35s var(--ease);
}
.site-header.scrolled .header-inner { padding-block: 12px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; transition: transform .5s var(--ease); }
.brand:hover .brand-mark { transform: rotate(72deg); }
.brand-name { font-weight: 700; font-size: 1.12rem; letter-spacing: .2em; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; text-decoration: none; color: var(--ink-2);
  font-weight: 500; padding: 10px 16px; border-radius: 999px;
  transition: color .25s, background .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px;
  height: 2px; background: var(--rose); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--line); background: rgba(255, 255, 255, .6);
  place-items: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .3s var(--ease), opacity .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- hero ---- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: clamp(130px, 17vh, 180px);
  overflow: hidden;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(42% 34% at 50% 6%, rgba(226, 104, 138, .16), transparent 70%),
    radial-gradient(30% 30% at 12% 30%, rgba(238, 182, 74, .18), transparent 70%),
    radial-gradient(34% 34% at 88% 22%, rgba(47, 148, 144, .14), transparent 70%);
}
.hero-copy { position: relative; z-index: 3; text-align: center; max-width: 960px; }
.hero-title {
  font-size: clamp(3rem, 8.4vw, 6.6rem);
  font-weight: 600; line-height: .98; letter-spacing: -.04em;
  margin-top: 22px;
}
.hero-copy .lede { margin: 26px auto 0; max-width: 640px; }
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: center; margin-top: 38px;
}

.hero-scene {
  position: relative; z-index: 2;
  margin-top: auto; padding-top: 40px;
  will-change: transform;
}
.garden { width: min(1400px, 100%); margin-inline: auto; height: auto; }

/* bunga melayang */
.mini {
  position: absolute; left: var(--l); top: var(--t);
  width: calc(92px * var(--s, 1)); z-index: 2;
  transition: transform .6s var(--ease);
  pointer-events: none;
}
.mini-inner {
  animation: floaty var(--dur, 7s) ease-in-out infinite alternate;
  animation-delay: var(--fd, 0s);
}
.mini svg { width: 100%; height: auto; filter: drop-shadow(0 12px 16px rgba(44, 90, 65, .18)); }
@keyframes floaty {
  from { transform: translateY(-8px) rotate(-4deg); }
  to   { transform: translateY(10px) rotate(5deg); }
}

/* kelopak jatuh */
.petal-fall {
  position: absolute; top: -6vh; left: var(--l);
  width: calc(34px * var(--s, 1));
  z-index: 2; pointer-events: none;
  animation: petalFall var(--fall, 14s) linear var(--delay, 0s) infinite;
}
.petal-fall svg { width: 100%; height: auto; }
@keyframes petalFall {
  0%   { transform: translateY(-8vh) rotate(0deg); opacity: 0; }
  8%   { opacity: .95; }
  90%  { opacity: .8; }
  100% { transform: translateY(112vh) rotate(560deg); opacity: 0; }
}
/* ---- marquee ---- */
.marquee {
  background: var(--ink); color: var(--bg-soft);
  overflow: hidden; padding-block: 22px;
}
.marquee-track {
  display: flex; width: max-content;
  animation: marq 30s linear infinite;
}
.marquee-group { display: flex; align-items: center; flex-shrink: 0; }
.marquee-group .item {
  display: inline-flex; align-items: center; gap: 34px;
  padding-inline: 34px;
  font-size: clamp(.95rem, 1.6vw, 1.15rem); font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; white-space: nowrap;
}
.marquee-group .sep { color: var(--gold); letter-spacing: 0; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---- story ---- */
.story-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 84px); align-items: center;
}
.art-frame {
  position: relative; border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 70% at 20% 15%, rgba(226, 104, 138, .14), transparent 60%),
    radial-gradient(70% 60% at 85% 85%, rgba(238, 182, 74, .16), transparent 60%),
    var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.art-frame svg { width: 100%; height: auto; }
.art-chip {
  position: absolute; left: 22px; bottom: 22px;
  background: var(--ink); color: var(--bg);
  font-size: .8rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 10px 18px; border-radius: 999px;
}
.story-copy h2 { margin-top: 18px; }
.story-copy p { color: var(--ink-2); margin-top: 20px; line-height: 1.75; }
.story-copy em { font-style: normal; color: var(--rose-deep); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chips li {
  font-size: .9rem; font-weight: 600;
  padding: 9px 18px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2);
}
.chips li:nth-child(2) { background: var(--rose-soft); border-color: transparent; color: var(--rose-deep); }
.chips li:nth-child(3) { background: var(--gold-soft); border-color: transparent; color: #9a6b12; }
/* ---- ecosystem ---- */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 22px;
}
.card {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px 26px;
  display: flex; flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.card:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-soft); border-color: transparent;
}
.card-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.card-icon { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; }
.card-icon svg { width: 26px; height: 26px; }
.i-rose { background: var(--rose-soft); color: var(--rose-deep); }
.i-gold { background: var(--gold-soft); color: #a97615; }
.i-teal { background: var(--teal-soft); color: #1f6f6c; }
.i-leaf { background: var(--leaf-soft); color: #2e7c53; }
.badge {
  font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px;
}
.badge-live { background: var(--leaf-soft); color: #2e7c53; }
.badge-soon { background: transparent; color: var(--ink-3); border: 1px dashed rgba(14, 34, 29, .3); }
.card h3 { font-size: 1.45rem; }
.card-sub {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .86rem; color: var(--teal); letter-spacing: .02em;
}
.card-desc { color: var(--ink-2); font-size: .98rem; line-height: 1.65; margin-top: 6px; }
.card-link {
  margin-top: auto; padding-top: 18px;
  font-weight: 600; font-size: .95rem;
  display: inline-flex; gap: 8px; align-items: center;
  color: var(--ink); text-decoration: none;
}
.card-link span { transition: transform .35s var(--ease); }
.card:hover .card-link span { transform: translateX(5px); }
.card-link.is-muted { color: var(--ink-3); font-weight: 500; }

/* ---- values ---- */
.values { background: var(--bg-soft); }
.values-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px;
}
.value { padding-top: 26px; border-top: 1.5px solid var(--line); }
.value-icon {
  width: 60px; height: 60px; border-radius: 20px;
  display: grid; place-items: center; margin-bottom: 20px;
}
.value-icon svg { width: 28px; height: 28px; }
.value h3 { margin-bottom: 10px; }
.value p { color: var(--ink-2); font-size: .98rem; line-height: 1.7; }
/* ---- CTA ---- */
.cta-panel {
  position: relative; overflow: hidden; text-align: center;
  border: 1px solid var(--line); border-radius: 48px;
  padding: clamp(56px, 8vw, 100px) clamp(24px, 5vw, 60px);
  background:
    radial-gradient(90% 120% at 8% 0%, rgba(226, 104, 138, .2), transparent 55%),
    radial-gradient(90% 120% at 92% 100%, rgba(238, 182, 74, .24), transparent 55%),
    var(--card);
}
.cta-panel h2 { margin-top: 18px; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.cta-panel .lede { margin: 20px auto 0; max-width: 560px; }
.cta-actions {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 14px; margin-top: 36px;
}
.cta-deco {
  position: absolute; width: 150px; pointer-events: none;
  filter: drop-shadow(0 14px 18px rgba(44, 90, 65, .16));
}
.cta-deco.d1 { left: -34px; bottom: -30px; transform: rotate(-14deg); }
.cta-deco.d2 { right: -30px; top: -34px; transform: rotate(16deg); }

/* ---- footer ---- */
.site-footer {
  position: relative; overflow: hidden;
  background: var(--ink); color: #c6d2cc;
  margin-top: clamp(60px, 8vw, 100px);
  padding-top: clamp(64px, 8vw, 96px);
}
.footer-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px;
  padding-bottom: clamp(120px, 16vw, 230px);
}
.footer-brand .brand { color: var(--bg); }
.footer-brand p { margin-top: 18px; max-width: 340px; font-size: .98rem; line-height: 1.7; color: #9db0a8; }
.footer-mail {
  display: inline-block; margin-top: 16px;
  color: var(--gold); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid rgba(238, 182, 74, .4); padding-bottom: 2px;
  transition: border-color .25s;
}
.footer-mail:hover { border-color: var(--gold); }
.footer-col h4 {
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  color: #7e9189; font-weight: 600; margin-bottom: 18px;
}
.footer-col a {
  display: block; text-decoration: none; color: #c6d2cc;
  padding-block: 7px; transition: color .25s, transform .3s var(--ease);
}
.footer-col a:hover { color: var(--rose); transform: translateX(4px); }
.footer-bottom {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding-block: 26px; display: flex; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; font-size: .9rem; color: #8ba097;
}
.footer-wordmark {
  position: absolute; left: 50%; bottom: -.18em; transform: translateX(-50%);
  font-size: clamp(96px, 21vw, 300px); font-weight: 700;
  letter-spacing: .04em; line-height: 1; color: transparent;
  -webkit-text-stroke: 1.5px rgba(247, 244, 238, .07);
  pointer-events: none; user-select: none; z-index: 0; white-space: nowrap;
}
/* ---- reveal on scroll ---- */
.js .reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-art { max-width: 640px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
  .nav {
    position: absolute; top: calc(100% + 6px);
    right: var(--gutter); left: var(--gutter);
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--card); border: 1px solid var(--line);
    border-radius: 24px; padding: 14px;
    box-shadow: var(--shadow-soft);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 18px; font-size: 1.05rem; }
  .nav a::after { display: none; }
  .nav-toggle { display: grid; }
  .hero { padding-top: clamp(110px, 14vh, 150px); }
}

@media (max-width: 640px) {
  .header-actions .btn-sm { display: none; }
  .hero-actions .btn { width: 100%; max-width: 340px; }
  .mini-2, .mini-4 { display: none; }
  .cta-deco { width: 100px; }
  .cta-deco.d1 { left: -30px; bottom: -24px; }
  .cta-deco.d2 { right: -26px; top: -26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .marquee-group .item { padding-inline: 22px; gap: 22px; }
}

@media (max-width: 420px) {
  .mini-3 { display: none; }
  .brand-name { font-size: 1rem; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}





