﻿:root {
  --bg: #f0fdf4;
  --bg-deep: #d8f3dc;
  --text: #1b4332;
  --text-muted: #40916c;
  --accent: #e76f51;
  --accent-soft: #f4a261;
  --garden: #2d6a4f;
  --meadow: #b7e4c7;
  --wood: #a9713f;
  --glass: rgba(255, 255, 255, 0.72);
  --border: rgba(27, 67, 50, 0.12);
  --radius: 20px;
  --font: "Nunito", "Segoe UI", system-ui, sans-serif;
  --king-blue: #7ec8f0;
  --king-gold: #f6c453;
  --hero-height: 85vh;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  min-height: 100vh;
}
a { color: var(--text-muted); }
a:hover { color: var(--accent); }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.site-header-inner {
  max-width: 1120px; margin: 0 auto; padding: 0.65rem 1.25rem;
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.site-header-king {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.site-header-simple {
  justify-content: space-between;
}
.logo-mark { display: flex; }
.site-header-king .logo-mark { justify-self: center; }
.logo-mark img { display: block; height: 52px; width: auto; }
.nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.nav-left { justify-self: start; }
.nav-right { justify-self: end; justify-content: flex-end; }
.nav a {
  text-decoration: none; font-weight: 800; color: #444; font-size: 0.95rem;
}
.nav a[aria-current="page"] {
  color: #e76f51;
  box-shadow: inset 0 -3px 0 #e76f51;
}
.logo { font-weight: 900; font-size: 1.5rem; color: var(--text); text-decoration: none; }
.btn-header {
  padding: 0.65rem 1.15rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Homepage hero — shorter, parallax-ready */
.home-hero {
  position: relative;
  width: 100%;
  height: var(--hero-height);
  min-height: 480px;
  max-height: 920px;
  overflow: hidden;
  background: #000 center / cover no-repeat url(/images/gow-hero-fallback.jpg);
}
.home-hero-media {
  position: absolute;
  inset: -4% 0 -2%;
  height: 108%;
  will-change: transform;
}
.home-hero-video,
.home-hero-fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}
.home-hero-video {
  position: relative;
  z-index: 1;
}
.home-hero-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.home-hero-angle {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 48px;
  background: #fff;
  clip-path: polygon(0 100%, 100% 62%, 100% 100%);
  z-index: 2;
  pointer-events: none;
}

main { max-width: 1080px; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; }
.home-main {
  max-width: none;
  padding: 0;
}
.section { margin-bottom: 3rem; }

/* King-style feature bands */
.features {
  padding: 0 0 4.5rem;
  background: #fff;
}
.features-intro {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.25rem 2.5rem;
  text-align: center;
}
.features-intro h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.08;
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
}
.features-lede {
  margin: 0 auto;
  max-width: 46ch;
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.feature-band {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) 1.25rem;
  overflow: hidden;
}
.feature-band--meadow {
  background: linear-gradient(135deg, #e8f8ef 0%, #d8f3dc 45%, #b7e4c7 100%);
}
.feature-band--gold {
  background: linear-gradient(160deg, #fff7e6 0%, #ffe8b8 40%, #f6c453 100%);
  color: #3d2e14;
}
.feature-band--gold .feature-copy p,
.feature-band--gold .feature-tag {
  color: #6b4f1d;
}
.feature-band--sky {
  background: linear-gradient(180deg, #d4eeff 0%, #7ec8f0 35%, #b7e4c7 100%);
}
.feature-band--bloom {
  background: linear-gradient(145deg, #f0fdf4 0%, #ffe8f0 50%, #f4a261 100%);
}
.feature-band--slant-left {
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
  margin-top: -1.5rem;
  padding-top: clamp(4.5rem, 9vw, 7rem);
}
.feature-band--slant-right {
  clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 96%);
  margin-top: -1.5rem;
  padding-top: clamp(4.5rem, 9vw, 7rem);
}

.feature-band-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.feature-deco {
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
  animation: feature-float 7s ease-in-out infinite;
}
.feature-deco--leaf {
  width: 120px;
  height: 80px;
  background: radial-gradient(ellipse at 30% 50%, #52b788, transparent 70%);
  border-radius: 0 80% 0 80%;
}
.feature-deco--bloom {
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, #ffb3c6 30%, transparent 70%);
}
.feature-deco--petal {
  width: 70px;
  height: 70px;
  background: radial-gradient(circle, #f4a261 25%, transparent 70%);
}
.feature-deco--spark {
  width: 48px;
  height: 48px;
  background: radial-gradient(circle, var(--king-gold) 20%, transparent 65%);
  animation-duration: 5s;
}
.feature-deco--cloud {
  width: 180px;
  height: 70px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 50px;
  filter: blur(2px);
}
.feature-deco--rain {
  width: 4px;
  height: 60px;
  background: linear-gradient(180deg, rgba(126, 200, 240, 0.6), transparent);
  border-radius: 2px;
  animation: feature-rain 2.5s linear infinite;
}
.feature-deco--1 { top: 12%; left: 6%; animation-delay: 0s; }
.feature-deco--2 { top: 55%; right: 8%; animation-delay: -2s; }
.feature-deco--3 { bottom: 18%; left: 18%; animation-delay: -4s; }
.feature-deco--4 { top: 20%; right: 12%; animation-delay: -1s; }
.feature-deco--5 { bottom: 22%; left: 10%; animation-delay: -3s; }
.feature-deco--6 { top: 15%; left: 15%; animation-delay: 0s; }
.feature-deco--7 { top: 40%; right: 20%; animation-delay: -0.8s; }
.feature-deco--8 { bottom: 25%; right: 10%; animation-delay: -2.5s; }
.feature-deco--9 { top: 18%; left: 8%; animation-delay: -1.5s; }
.feature-deco--10 { bottom: 20%; right: 14%; animation-delay: -3.5s; }

@keyframes feature-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(6deg); }
}
@keyframes feature-rain {
  0% { transform: translateY(-20px); opacity: 0; }
  30% { opacity: 0.6; }
  100% { transform: translateY(80px); opacity: 0; }
}

.feature-band-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}
.feature-band-inner--reverse .feature-copy { order: 1; }
.feature-band-inner--reverse .phone-mockup,
.feature-band-inner--reverse .year-phone-wrap,
.feature-band-inner--reverse .feature-art-frame { order: 2; }
.feature-band-inner--phone {
  align-items: center;
}

.feature-tag {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--garden);
}
.feature-band--gold .feature-tag {
  background: rgba(255, 255, 255, 0.65);
  color: #8b6914;
}

.feature-copy h3 {
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  line-height: 1.08;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
}
.feature-copy p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 38ch;
}

/* Hero art frames */
.feature-art-frame {
  margin: 0;
  position: relative;
  border-radius: calc(var(--radius) + 12px);
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(27, 67, 50, 0.18),
    0 0 0 4px rgba(255, 255, 255, 0.5);
  transform: rotate(-2deg);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.feature-art-frame--wide {
  transform: rotate(1.5deg);
}
.feature-band:hover .feature-art-frame,
.feature-band:hover .feature-art-frame--wide {
  transform: rotate(0deg) scale(1.02);
}
.feature-art-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.feature-art-frame--wide img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 42%;
}

/* Phone mockup */
.phone-mockup {
  position: relative;
  margin: 0 auto;
  width: min(100%, 280px);
  padding: 14px 10px 18px;
  border-radius: 38px;
  background: linear-gradient(155deg, #3a3a3a 0%, #1a1a1a 55%, #2d2d2d 100%);
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 0 0 2px rgba(0, 0, 0, 0.2);
  transform: perspective(800px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.phone-mockup--tilt {
  transform: perspective(800px) rotateY(6deg) rotateX(2deg);
}
.feature-band:hover .phone-mockup {
  transform: perspective(800px) rotateY(0deg) rotateX(0deg) translateY(-6px);
}
.phone-mockup-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 22px;
  border-radius: 0 0 14px 14px;
  background: #1a1a1a;
  z-index: 2;
}
.phone-mockup img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
  background: #b7e4c7;
}

/* Year carousel (phone mockup) */
.year-phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}
.year-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #b7e4c7;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
}
.year-carousel-viewport {
  overflow: hidden;
  border-radius: 26px;
  outline: none;
}
.year-carousel-viewport:focus-visible {
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.55);
}
.year-carousel-track {
  display: flex;
  will-change: transform;
}
.year-carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
}
.year-carousel-slide img {
  pointer-events: none;
  -webkit-user-drag: none;
}
.year-carousel-dots {
  display: flex;
  gap: 0.55rem;
  justify-content: center;
}
.year-carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(45, 106, 79, 0.28);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.year-carousel-dot.is-active {
  background: #2d6a4f;
  transform: scale(1.2);
}
.year-carousel-dot:hover,
.year-carousel-dot:focus-visible {
  background: #40916c;
  outline: none;
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
.feature-band[data-reveal] .feature-copy {
  transition-delay: 0.1s;
}
.feature-band[data-reveal] .phone-mockup,
.feature-band[data-reveal] .year-phone-wrap,
.feature-band[data-reveal] .feature-art-frame {
  transition-delay: 0.2s;
}

.features-cta {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.25rem 0;
  text-align: center;
}
.btn-lg {
  padding: 0.95rem 1.75rem;
  font-size: 1.05rem;
}
.features-note {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .home-hero-media {
    transform: none !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .feature-deco {
    animation: none;
  }
  .feature-art-frame,
  .phone-mockup,
  .feature-band:hover .feature-art-frame,
  .feature-band:hover .phone-mockup {
    transform: none;
    transition: none;
  }
  .year-carousel-track {
    transition: none !important;
  }
  .year-carousel-dot {
    transition: none;
  }
}

.section h2 { font-size: 1.6rem; margin: 0 0 1rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.card {
  background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem;
}
.card h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--text-muted); line-height: 1.5; }
.flagship-card { padding: 1.5rem; }
.note { font-size: 0.95rem; color: var(--text-muted); margin: 0.75rem 0 0; }
.lede { font-size: 1.15rem; line-height: 1.6; color: var(--text-muted); margin: 0 0 1.5rem; max-width: 42ch; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; font-weight: 800; color: var(--accent); margin: 0 0 0.5rem; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.05; margin: 0 0 1rem; letter-spacing: -0.03em; }
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem;
  align-items: center; margin-bottom: 3rem;
}
@media (max-width: 800px) {
  :root {
    --hero-height: 72vh;
  }
  .hero { grid-template-columns: 1fr; }
  .site-header-king { grid-template-columns: 1fr; justify-items: center; }
  .nav-left, .nav-right { justify-content: center; }
  .feature-band-inner,
  .feature-band-inner--reverse {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .feature-band-inner--reverse .feature-copy,
  .feature-band-inner--reverse .phone-mockup,
  .feature-band-inner--reverse .year-phone-wrap,
  .feature-band-inner--reverse .feature-art-frame {
    order: unset;
  }
  .feature-copy p {
    max-width: none;
    margin: 0 auto;
  }
  .feature-art-frame,
  .feature-art-frame--wide {
    transform: none;
    max-width: 420px;
    margin: 0 auto;
  }
  .phone-mockup,
  .phone-mockup--tilt {
    transform: none;
  }
  .feature-band--slant-left,
  .feature-band--slant-right {
    clip-path: none;
    margin-top: 0;
    padding-top: clamp(3.5rem, 8vw, 6rem);
  }
  .home-hero-angle {
    height: 32px;
    clip-path: polygon(0 100%, 100% 70%, 100% 100%);
  }
}
.btn-row { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.8rem 1.4rem; border-radius: 999px; font-weight: 800;
  text-decoration: none; border: 2px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, #52b788, #2d6a4f); color: #fff;
}
.btn-primary:hover,
.btn-primary:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, #40916c, #1b4332);
}
.btn-secondary { background: #fff; color: var(--text); border-color: var(--border); }
.hero-art {
  border-radius: calc(var(--radius) + 8px); overflow: hidden;
  border: 1px solid var(--border); background: linear-gradient(180deg, #c8ebf5, #b7e4c7); aspect-ratio: 1;
}
.hero-art img { display: block; width: 100%; height: auto; }
.coming-soon {
  font-weight: 800; font-size: 0.92rem; color: var(--garden);
  background: var(--glass); border: 1px solid var(--border);
  border-radius: 999px; padding: 0.55rem 1rem;
}
.gallery-placeholder {
  min-height: 160px; border: 1px dashed var(--border); border-radius: var(--radius);
  background: var(--glass); color: var(--text-muted); display: grid; place-items: center; padding: 1.5rem; text-align: center;
}
.site-footer {
  border-top: 1px solid var(--border); padding: 2rem 1.25rem; text-align: center;
  color: var(--text-muted); font-size: 0.9rem;
}
.footer-nav { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin: 0.75rem 0 0; }
.footer-nav a { font-weight: 700; text-decoration: none; }
.dba { opacity: 0.8; }
.markdown-page {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; line-height: 1.6; max-width: 720px;
}
.markdown-page h1 { margin-top: 0; font-size: clamp(2rem, 4vw, 2.8rem); }
.markdown-page h2 { font-size: 1.2rem; margin: 1.6rem 0 0.5rem; }
.fact dt { font-weight: 800; }
.fact dd { margin: 0 0 0.75rem; color: var(--text-muted); }
