:root {
  --bg: #0b0c0e;
  --bg-soft: #121418;
  --panel: rgba(255,255,255,0.08);
  --panel-strong: rgba(255,255,255,0.12);
  --line: rgba(255,255,255,0.12);
  --text: #f5f1e8;
  --muted: rgba(245,241,232,0.78);
  --accent: #f0d6aa;
  --accent-2: #7ed6ff;
  --accent-3: #ffb36b;
  --shadow: 0 24px 80px rgba(0,0,0,0.35);
  --radius: 24px;
  --radius-sm: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(126,214,255,0.10), transparent 28%),
    radial-gradient(circle at 15% 15%, rgba(240,214,170,0.08), transparent 26%),
    linear-gradient(180deg, #090a0c 0%, #0d1015 55%, #0b0c0e 100%);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: radial-gradient(rgba(255,255,255,0.8) 0.5px, transparent 0.5px);
  background-size: 8px 8px;
  mix-blend-mode: soft-light;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section { padding: 96px 0; position: relative; }
.grid-2 {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
  align-items: center;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(8,10,12,0.74);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand-pair {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.logo {
  object-fit: contain;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,0.25));
}
.fivi-logo { height: 54px; width: auto; }
.gome-logo { height: 42px; width: auto; }
.brand-x {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.55);
}
.topbar-cta {
  white-space: nowrap;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(240,214,170,0.22), rgba(126,214,255,0.16));
  border: 1px solid rgba(255,255,255,0.12);
  font-weight: 600;
}

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: clip;
}
.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8,10,12,0.94) 0%, rgba(8,10,12,0.80) 36%, rgba(8,10,12,0.42) 100%),
    linear-gradient(180deg, rgba(8,10,12,0.06), rgba(8,10,12,0.72));
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-top: 88px;
  padding-bottom: 48px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
h1, h2, h3 {
  margin: 0 0 14px;
  line-height: 1.04;
  overflow-wrap: anywhere;
}
h1, h2 {
  font-family: 'Fraunces', Georgia, serif;
}
h1 {
  font-size: clamp(2.7rem, 6.4vw, 5.3rem);
  max-width: 12ch;
}
h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  max-width: 16ch;
}
h3 {
  font-size: 1.2rem;
}
p {
  margin: 0 0 16px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.hero-copy {
  font-size: 1.08rem;
  max-width: 62ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 30px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.btn:hover, .topbar-cta:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, rgba(240,214,170,0.95), rgba(255,179,107,0.92));
  color: #1a140d;
}
.btn-secondary {
  background: rgba(255,255,255,0.08);
}
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.fact-pill {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(12,16,22,0.48);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--shadow);
}
.fact-pill strong { display: block; margin-bottom: 4px; }
.fact-pill span { color: var(--muted); font-size: 0.92rem; }

.section-head {
  margin-bottom: 32px;
  max-width: 860px;
}
.section-head.narrow { max-width: 760px; }

.card-grid,
.module-grid,
.timeline-grid,
.gallery-grid,
.audience-cards {
  display: grid;
  gap: 20px;
}
.card-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.timeline-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.audience-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kitchen-hero {
  min-height: 420px;
  margin: 0 0 24px;
}
.kitchen-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card,
.timeline-card,
.closing-card,
.contact-box {
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.05));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}
.card,
.timeline-card,
.module-card,
.contact-box,
.mini-card {
  padding: 24px;
}
.card:hover,
.timeline-card:hover,
.module-card:hover,
.image-card:hover,
.closing-card:hover,
.contact-box:hover {
  transform: translateY(-4px);
  transition: transform 220ms ease;
}
.image-card {
  overflow: hidden;
  padding: 0;
}
.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-stack {
  position: relative;
  min-height: 560px;
}
.image-stack .tall {
  height: 560px;
}
.floating-card {
  position: absolute;
  right: -10px;
  bottom: -28px;
  width: min(320px, 72%);
  height: 250px;
}

.facility-grid,
.audience-grid { align-items: start; }
.mosaic {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}
.mosaic .large {
  grid-row: span 2;
  min-height: 520px;
}
.mosaic .image-card:not(.large) { min-height: 250px; }
.feature-list {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}
.feature-list li { margin-bottom: 10px; }

.timeline-card {
  position: relative;
  overflow: hidden;
}
.timeline-card::after {
  content: "";
  position: absolute;
  inset: auto -15% -35% auto;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(126,214,255,0.24), transparent 70%);
}
.step {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: rgba(240,214,170,0.16);
  color: var(--accent);
  font-weight: 700;
}

.spotlight-column {
  display: grid;
  gap: 18px;
}
.spotlight { min-height: 320px; }
.spotlight.secondary { min-height: 240px; }

.module-card {
  min-height: 205px;
  position: relative;
}
.module-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(240,214,170,0.35), rgba(126,214,255,0.18), transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}

.gallery-grid .image-card { min-height: 240px; }

.closing-card {
  padding: 36px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}
.contact-box {
  background: linear-gradient(180deg, rgba(240,214,170,0.12), rgba(126,214,255,0.08));
}
.contact-link {
  display: block;
  margin-top: 12px;
  font-weight: 700;
  color: var(--accent);
}

.footer {
  padding: 32px 0 56px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px 30px;
}
.footer p { margin-top: 8px; font-size: 0.96rem; }
.footer a { text-decoration: underline; text-decoration-color: rgba(240,214,170,0.4); }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .card-grid-4,
  .timeline-grid,
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2,
  .closing-card { grid-template-columns: 1fr; }
  .image-stack { min-height: auto; }
  .image-stack .tall { height: 500px; }
  .floating-card { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 18px; }
}

@media (max-width: 760px) {
  .section { padding: 74px 0; }
  .container { width: min(var(--container), calc(100% - 24px)); }
  .topbar-inner { min-height: 74px; }
  .fivi-logo { height: 42px; }
  .gome-logo { height: 32px; }
  .topbar-cta { display: none; }
  .hero { min-height: auto; padding-top: 72px; }
  .hero-facts,
  .card-grid-4,
  .timeline-grid,
  .module-grid,
  .gallery-grid,
  .audience-cards,
  .mosaic { grid-template-columns: 1fr; }
  .mosaic .large,
  .spotlight,
  .spotlight.secondary,
  .gallery-grid .image-card,
  .mosaic .image-card:not(.large),
  .kitchen-hero { min-height: 220px; }
  .hero-copy { font-size: 1rem; }
  h1 { max-width: 100%; }
  h2 { max-width: 100%; }
  .card,
  .timeline-card,
  .module-card,
  .contact-box,
  .mini-card,
  .closing-card { padding: 20px; }
}
