/* ════════════════════════════════════════════════
   KK RICE INC — Static Site Styles
   Fonts: Playfair Display · Plus Jakarta Sans · Inter
   Palette: White primary · Purple & Pink accents
   ════════════════════════════════════════════════ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { font-family: 'Inter', sans-serif; background: #fff; color: #1a0a2e; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; }

/* ── Design Tokens ── */
:root {
  --p50:  #fdf5ff;
  --p100: #f5e8f7;
  --p200: #ead0f0;
  --p300: #d4a0d8;
  --p400: #be78c8;
  --p500: #a050b0;
  --p600: #8b3fa8;
  --p700: #6b2f8a;
  --p800: #4a1870;
  --p900: #2d0b45;
  --p950: #1a0a2e;

  --pink-light: #f5e0f8;
  --pink-mid:   #d4a0d8;
  --pink-dark:  #a050b0;

  --text:   #1a0a2e;
  --text2:  #3d1565;
  --muted:  #8a6a9a;
  --border: rgba(107,47,138,.12);
  --border-hover: rgba(107,47,138,.35);
  --bg2:    #fdf8ff;
  --bg3:    #f7eefa;
  --white:  #ffffff;

  --font-h: 'Playfair Display', Georgia, serif;
  --font-s: 'Plus Jakarta Sans', sans-serif;
  --font-b: 'Inter', sans-serif;

  --max-w: 1200px;
  --pad:   1.5rem;
  --sec:   6.5rem;

  --r6:  6px;  --r8: 8px;  --r12: 12px;
  --r16: 16px; --r24: 24px;
  --rf:  9999px;

  --sh1: 0 1px 3px rgba(107,47,138,.06), 0 1px 2px rgba(0,0,0,.03);
  --sh2: 0 4px 14px rgba(107,47,138,.10), 0 2px 4px rgba(0,0,0,.04);
  --sh3: 0 8px 28px rgba(107,47,138,.13), 0 4px 8px rgba(0,0,0,.05);
  --sh4: 0 20px 56px rgba(107,47,138,.16), 0 8px 16px rgba(0,0,0,.06);

  --t: 200ms ease;
  --ts: 350ms ease;
}

/* ── Layout ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: var(--sec) 0; }
.section--tinted { background: var(--bg2); }

/* ── Chip / badge ── */
.chip {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--rf);
  background: var(--p100);
  color: var(--p700);
  font-family: var(--font-s);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ── Section header ── */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 {
  font-family: var(--font-h);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: .875rem;
}
.section-header p {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── Reveal animation ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}


/* ════════════════════════════════════════════════
   HEADER / NAV
   ════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), box-shadow var(--t);
}
.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--sh1);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 66px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-shrink: 0;
}
.logo-lotus { width: 34px; height: 30px; }
.logo-text {
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--p800);
  letter-spacing: -.01em;
}
.logo-text em {
  color: var(--p600);
}

/* Nav links */
nav { flex: 1; }
#nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
}
#nav-links a {
  font-family: var(--font-s);
  font-size: .875rem;
  font-weight: 600;
  color: var(--muted);
  transition: color var(--t);
  position: relative;
}
#nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--p600);
  border-radius: 2px;
  transition: width var(--t);
}
#nav-links a:hover,
#nav-links a.active-link { color: var(--p700); }
#nav-links a:hover::after,
#nav-links a.active-link::after { width: 100%; }

/* Nav CTA */
.nav-actions { flex-shrink: 0; }
.btn-nav-primary {
  display: inline-flex;
  align-items: center;
  padding: .5rem 1.25rem;
  border-radius: var(--rf);
  background: var(--p700);
  color: #fff;
  font-family: var(--font-s);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .01em;
  transition: background var(--t), box-shadow var(--t), transform var(--t);
}
.btn-nav-primary:hover {
  background: var(--p800);
  box-shadow: var(--sh2);
  transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--p800);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-actions { display: none; }

  nav {
    position: fixed;
    top: 66px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--sh3);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--ts), opacity var(--ts);
  }
  nav.mobile-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  #nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: .5rem 0;
  }
  #nav-links li { width: 100%; }
  #nav-links a {
    display: block;
    padding: .875rem var(--pad);
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }
  #nav-links a::after { display: none; }
}


/* ════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg, #fdf5ff 0%, #f5e8f7 40%, #ead0f0 100%);
  padding-top: 66px;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(160,80,176,.18) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  pointer-events: none;
  animation: glow-pulse 5s ease-in-out infinite alternate;
}
@keyframes glow-pulse {
  from { opacity: .6; transform: translate(-50%,-55%) scale(1); }
  to   { opacity: 1;  transform: translate(-50%,-55%) scale(1.08); }
}

.hero-body {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  padding: 3rem var(--pad) 6rem;
}

.hero-logo-wrap {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}
.hero-logo,
.hero-logo-svg {
  width: 160px;
  height: auto;
  filter: drop-shadow(0 8px 32px rgba(107,47,138,.25));
  animation: logo-float 6s ease-in-out infinite;
}
@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* Pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 1rem;
  border-radius: var(--rf);
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(160,80,176,.2);
  font-family: var(--font-s);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--p700);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.pill-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--p500);
  animation: dot-blink 2s ease infinite;
}
@keyframes dot-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .35; }
}

.hero-body h1 {
  font-family: var(--font-h);
  font-size: clamp(3rem, 7vw, 5.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--p900);
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--p600) 0%, var(--p400) 50%, var(--pink-mid) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text2);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
  opacity: .85;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 2rem;
  border-radius: var(--rf);
  background: var(--p700);
  color: #fff;
  font-family: var(--font-s);
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: 0 4px 20px rgba(107,47,138,.35);
  transition: background var(--t), transform var(--t), box-shadow var(--t);
}
.btn-primary-hero:hover {
  background: var(--p800);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(107,47,138,.45);
}

.btn-ghost-hero {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .875rem 1.75rem;
  border-radius: var(--rf);
  border: 1.5px solid rgba(107,47,138,.3);
  color: var(--p700);
  font-family: var(--font-s);
  font-size: .9375rem;
  font-weight: 700;
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(8px);
  transition: border-color var(--t), background var(--t), transform var(--t);
}
.btn-ghost-hero:hover {
  border-color: var(--p600);
  background: rgba(255,255,255,.9);
  transform: translateY(-2px);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #D4A0D8 20%, #E8B4EC 50%, #D4A0D8 80%, transparent 100%);
}




/* ════════════════════════════════════════════════
   ABOUT
   ════════════════════════════════════════════════ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .about-layout { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { order: -1; }
}

/* Visual stack */
.about-card-stack {
  position: relative;
  height: 380px;
}

.acard {
  position: absolute;
  border-radius: var(--r24);
  box-shadow: var(--sh3);
}

.acard-1 {
  width: 260px; height: 300px;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(145deg, var(--p700), var(--p900));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  z-index: 1;
}
.acard-lotus { width: 90px; height: 81px; }
.acard-year {
  font-family: var(--font-s);
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.acard-tagline {
  font-family: var(--font-h);
  font-size: 1.125rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  text-align: center;
  padding: 0 1.25rem;
}

.acard-2 {
  width: 150px;
  left: 0; top: 40px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
  z-index: 2;
  transform: rotate(-4deg);
}
.acard-2 svg { color: var(--p600); }
.acard-2 p {
  font-family: var(--font-s);
  font-size: .8rem;
  font-weight: 700;
  color: var(--text2);
  line-height: 1.4;
}

.acard-3 {
  width: 150px;
  right: 0; bottom: 40px;
  background: var(--p100);
  border: 1px solid var(--p200);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
  z-index: 2;
  transform: rotate(3deg);
}
.acard-3 svg { color: var(--p600); }
.acard-3 p {
  font-family: var(--font-s);
  font-size: .8rem;
  font-weight: 700;
  color: var(--text2);
  line-height: 1.4;
}

/* About text */
.about-text h2 {
  font-family: var(--font-h);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.025em;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.text-purple { color: var(--p600); }
.about-text p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1.0625rem;
}

.about-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}
.pillar {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  border-radius: var(--rf);
  background: var(--p100);
  border: 1px solid var(--p200);
  font-family: var(--font-s);
  font-size: .8125rem;
  font-weight: 700;
  color: var(--p700);
}
.pillar-icon {
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--p200);
  color: var(--p700);
  flex-shrink: 0;
}


/* ════════════════════════════════════════════════
   PRODUCTS
   ════════════════════════════════════════════════ */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 320px 320px 260px;
  gap: .875rem;
}

.prod-card {
  position: relative;
  border-radius: var(--r16);
  overflow: hidden;
  cursor: default;
}
.prod-card--featured {
  grid-column: span 2;
  grid-row: span 2;
}

.prod-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .65s ease;
}
.prod-card:hover .prod-card-img {
  transform: scale(1.06);
}

.prod-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,3,28,.92) 0%, rgba(14,3,28,.45) 45%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem 1.5rem 1.5rem;
  transition: background var(--t);
}
.prod-card:hover .prod-card-overlay {
  background: linear-gradient(to top, rgba(14,3,28,.96) 0%, rgba(14,3,28,.55) 55%, transparent 100%);
}

.prod-num {
  font-family: var(--font-s);
  font-size: .65rem;
  font-weight: 800;
  color: var(--p300);
  letter-spacing: .15em;
  margin-bottom: .4rem;
  text-transform: uppercase;
}

.prod-card h3 {
  font-family: var(--font-h);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
  margin-bottom: .625rem;
}
.prod-card--featured h3 {
  font-size: 1.875rem;
  margin-bottom: .75rem;
}

.prod-card p {
  font-size: .9rem;
  color: rgba(255,255,255,.78);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.prod-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.prod-tags li {
  padding: .2rem .65rem;
  border-radius: var(--rf);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  font-family: var(--font-s);
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.88);
  backdrop-filter: blur(4px);
}


/* ════════════════════════════════════════════════
   PROCESS
   ════════════════════════════════════════════════ */
.proc-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.proc-step {
  flex: 1;
  text-align: center;
  padding: 2.5rem 2rem;
  position: relative;
}

.proc-num {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--p700);
  color: #fff;
  font-family: var(--font-s);
  font-size: .8125rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.proc-icon {
  width: 64px; height: 64px;
  margin: 1.5rem auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r16);
  background: var(--p100);
  border: 1px solid var(--p200);
  color: var(--p700);
}

.proc-step h3 {
  font-family: var(--font-h);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .625rem;
  letter-spacing: -.01em;
}
.proc-step p {
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.75;
}

.proc-connector {
  flex-shrink: 0;
  width: 80px;
  margin-top: 50px;
  height: 1px;
  background: linear-gradient(90deg, var(--p300), var(--p200));
  position: relative;
}
.proc-connector::after {
  content: '';
  position: absolute;
  right: -6px; top: -4px;
  width: 0; height: 0;
  border-left: 8px solid var(--p300);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

@media (max-width: 768px) {
  .proc-grid { flex-direction: column; }
  .proc-connector {
    width: 1px; height: 40px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--p300), var(--p200));
  }
  .proc-connector::after {
    right: -4px; bottom: -6px; top: auto;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 8px solid var(--p300);
  }
}


/* ════════════════════════════════════════════════
   WHY CHOOSE US
   ════════════════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.25rem;
}

.why-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r16);
  padding: 1.875rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: border-color var(--ts), box-shadow var(--ts), transform var(--ts);
}
.why-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--sh2);
  transform: translateY(-3px);
}

.why-icon-wrap {
  width: 48px; height: 48px;
  border-radius: var(--r12);
  background: var(--p100);
  border: 1px solid var(--p200);
  color: var(--p700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-card h3 {
  font-family: var(--font-s);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
}
.why-card p {
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.75;
}


/* ════════════════════════════════════════════════
   CTA BAND
   ════════════════════════════════════════════════ */
.cta-band {
  position: relative;
  background: linear-gradient(135deg, var(--p900) 0%, var(--p700) 50%, var(--p800) 100%);
  padding: 6rem 0;
  overflow: hidden;
  text-align: center;
}

.cta-bg-petals { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.cta-petal {
  position: absolute;
  border-radius: 50% 50% 50% 0;
  opacity: .06;
  background: #fff;
  animation: cta-float 8s ease-in-out infinite;
}
.cta-petal-1 { width: 300px; height: 300px; top: -60px; left: -80px; animation-delay: 0s; }
.cta-petal-2 { width: 200px; height: 200px; bottom: -40px; right: -40px; animation-delay: -3s; transform: rotate(180deg); }
.cta-petal-3 { width: 150px; height: 150px; top: 30%; right: 15%; animation-delay: -5s; transform: rotate(90deg); }

@keyframes cta-float {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0)); }
  50%       { transform: translateY(-20px) rotate(var(--rot, 10deg)); }
}

.cta-inner { position: relative; z-index: 1; }

.cta-logo {
  margin: 0 auto 1.5rem;
  display: flex;
  justify-content: center;
  animation: logo-float 6s ease-in-out infinite;
}

.cta-overline {
  font-family: var(--font-s);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--p300);
  margin-bottom: .75rem;
}

.cta-band h2 {
  font-family: var(--font-h);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -.025em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.cta-body {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.7);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 2rem;
  border-radius: var(--rf);
  background: #fff;
  color: var(--p800);
  font-family: var(--font-s);
  font-size: .9375rem;
  font-weight: 800;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.btn-cta-primary:hover {
  background: var(--p100);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
}

.btn-cta-ghost {
  display: inline-flex;
  align-items: center;
  padding: .875rem 1.75rem;
  border-radius: var(--rf);
  border: 1.5px solid rgba(255,255,255,.35);
  color: rgba(255,255,255,.9);
  font-family: var(--font-s);
  font-size: .9375rem;
  font-weight: 700;
  transition: border-color var(--t), background var(--t), transform var(--t);
}
.btn-cta-ghost:hover {
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.08);
  transform: translateY(-2px);
}


/* ════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════ */
.footer {
  background: var(--p950);
  padding: 4.5rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .footer-top { grid-template-columns: 1fr; }
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .75rem;
}
.footer-logo-wrap span {
  font-family: var(--font-h);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;

}
.footer-tagline {
  font-family: var(--font-h);
  font-size: 1rem;

  color: var(--p300);
  margin-bottom: .875rem;
}
.footer-desc {
  font-size: .875rem;
  color: rgba(255,255,255,.4);
  line-height: 1.75;
  max-width: 300px;
}

.footer nav h4 {
  font-family: var(--font-s);
  font-size: .75rem;
  font-weight: 800;
  color: rgba(255,255,255,.5);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer nav ul { display: flex; flex-direction: column; gap: .75rem; }
.footer nav a {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  transition: color var(--t);
}
.footer nav a:hover { color: var(--p300); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom p {
  font-size: .8125rem;
  color: rgba(255,255,255,.3);
}


/* ════════════════════════════════════════════════
   HERO TAGLINE
   ════════════════════════════════════════════════ */
.hero-tagline {
  font-family: var(--font-h);
  font-size: clamp(1rem, 2vw, 1.25rem);

  color: var(--p600);
  margin-bottom: .875rem;
  letter-spacing: .01em;
}


/* ════════════════════════════════════════════════
   LEGACY TIMELINE
   ════════════════════════════════════════════════ */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 120px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: linear-gradient(180deg, var(--p200), var(--p400), var(--p200));
}

.tl-item {
  display: flex;
  gap: 2rem;
  padding: 0 0 2.5rem;
}
.tl-item:last-child { padding-bottom: 0; }

.tl-side {
  flex-shrink: 0;
  width: 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .5rem;
  padding-top: .25rem;
}

.tl-years {
  font-family: var(--font-s);
  font-size: .75rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .04em;
  text-align: right;
}

.tl-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--p300);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--p300);
  flex-shrink: 0;
  margin-right: -8px;
}
.tl-dot--active {
  background: var(--p600);
  box-shadow: 0 0 0 2px var(--p600), 0 0 12px rgba(107,47,138,.3);
  animation: dot-pulse 2.5s ease infinite;
}
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 2px var(--p600), 0 0 12px rgba(107,47,138,.3); }
  50%       { box-shadow: 0 0 0 2px var(--p600), 0 0 20px rgba(107,47,138,.5); }
}

.tl-card {
  flex: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r16);
  padding: 1.75rem;
  transition: box-shadow var(--ts), border-color var(--ts);
}
.tl-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--sh2);
}
.tl-card--active {
  border-color: var(--p300);
  background: linear-gradient(135deg, #fff 0%, var(--p50) 100%);
}

.tl-gen {
  font-family: var(--font-s);
  font-size: .72rem;
  font-weight: 800;
  color: var(--p500);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

.tl-card h3 {
  font-family: var(--font-h);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
  margin-bottom: .875rem;
}

.tl-card p {
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: .875rem;
}
.tl-card p:last-of-type { margin-bottom: 0; }

.tl-leaders {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 1rem;
}
.tl-leader {
  display: flex;
  align-items: center;
  gap: .875rem;
}
.tl-leader-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--p100);
  border: 1px solid var(--p200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--p600);
  flex-shrink: 0;
}
.tl-leader-name {
  font-family: var(--font-s);
  font-size: .875rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .125rem;
}
.tl-leader-title {
  font-size: .8rem;
  color: var(--muted);
}

.tl-badge {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: var(--rf);
  background: var(--p100);
  color: var(--p700);
  font-family: var(--font-s);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: .875rem;
}
.tl-badge--active {
  background: var(--p700);
  color: #fff;
}

@media (max-width: 640px) {
  .timeline::before { left: 0; }
  .tl-item { flex-direction: column; gap: .75rem; padding-left: 1.5rem; }
  .tl-side { width: auto; flex-direction: row; align-items: center; gap: .75rem; padding-top: 0; }
  .tl-years { text-align: left; }
  .tl-dot { margin-right: 0; }
}


/* ════════════════════════════════════════════════
   VISION & MISSION
   ════════════════════════════════════════════════ */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 768px) { .vm-grid { grid-template-columns: 1fr; } }

.vm-card {
  border-radius: var(--r24);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.vm-card--vision {
  background: linear-gradient(145deg, var(--p800), var(--p900));
  color: #fff;
}
.vm-card--mission {
  background: #fff;
  border: 1px solid var(--border);
}
.vm-card--mission:hover {
  border-color: var(--border-hover);
  box-shadow: var(--sh2);
}

.vm-icon {
  width: 56px; height: 56px;
  border-radius: var(--r12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.vm-card--vision .vm-icon {
  background: rgba(255,255,255,.12);
  color: var(--p300);
}
.vm-card--mission .vm-icon {
  background: var(--p100);
  color: var(--p700);
  border: 1px solid var(--p200);
}

.vm-card h2 {
  font-family: var(--font-h);
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
}
.vm-card--vision h2 { color: #fff; }
.vm-card--mission h2 { color: var(--text); }

.vm-card--vision p {
  color: rgba(255,255,255,.75);
  line-height: 1.8;
  font-size: 1.0625rem;
}

.mission-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.mission-list li {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.6;
}
.mission-list li svg {
  color: var(--p600);
  flex-shrink: 0;
  margin-top: 3px;
}


/* ════════════════════════════════════════════════
   TECHNOLOGY
   ════════════════════════════════════════════════ */
.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 900px) { .tech-grid { grid-template-columns: 1fr; } }

.tech-card {
  border-radius: var(--r24);
  padding: 2rem 2rem 1.75rem;
  border: 1px solid var(--border);
  background: #fff;
  transition: border-color var(--ts), box-shadow var(--ts);
}
.tech-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--sh3);
}
.tech-card--app { border-top: 3px solid var(--p600); }
.tech-card--ryzone { border-top: 3px solid var(--p400); }

.tech-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.tech-app-icon {
  width: 56px; height: 56px;
  border-radius: var(--r12);
  background: var(--p100);
  border: 1px solid var(--p200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--p700);
  flex-shrink: 0;
}
.tech-app-icon--ryzone {
  background: #1a0520;
}

.tech-card h3 {
  font-family: var(--font-h);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
  margin-bottom: .25rem;
}
.tech-sub {
  font-family: var(--font-s);
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
}

.tech-desc {
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.tech-list {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  margin-bottom: 1.5rem;
}
.tech-list li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--text2);
}
.tech-list li svg { color: var(--p600); flex-shrink: 0; }

.tech-store-row {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.store-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .875rem;
  border-radius: var(--rf);
  border: 1.5px solid var(--border);
  font-family: var(--font-s);
  font-size: .78rem;
  font-weight: 700;
  color: var(--text2);
  background: var(--bg2);
}

.ryzone-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-s);
  font-size: .875rem;
  font-weight: 700;
  color: var(--p600);
  transition: color var(--t), gap var(--t);
}
.ryzone-link:hover {
  color: var(--p800);
  gap: .6rem;
}


/* ════════════════════════════════════════════════
   WHY CHOOSE US — wide card
   ════════════════════════════════════════════════ */
.why-card--wide {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
}
.why-card--wide .why-bg-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}
.why-card--wide > *:not(.why-bg-img) {
  position: relative;
  z-index: 1;
}
@media (max-width: 640px) { .why-card--wide { grid-column: 1; } }


/* ════════════════════════════════════════════════
   LEADERSHIP
   ════════════════════════════════════════════════ */
.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 640px) { .lead-grid { grid-template-columns: 1fr; } }

.lead-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r24);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color var(--ts), box-shadow var(--ts), transform var(--ts);
}
.lead-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--sh3);
  transform: translateY(-3px);
}

.lead-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--p700), var(--p900));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.8);
}
.lead-avatar--f {
  background: linear-gradient(145deg, var(--p500), var(--p700));
}

.lead-info { display: flex; flex-direction: column; gap: .25rem; }

.lead-card h3 {
  font-family: var(--font-h);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
  line-height: 1.3;
}
.lead-cred {
  font-family: var(--font-s);
  font-size: .75rem;
  font-weight: 700;
  color: var(--p500);
  letter-spacing: .04em;
}
.lead-title {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: var(--rf);
  background: var(--p100);
  color: var(--p700);
  font-family: var(--font-s);
  font-size: .75rem;
  font-weight: 700;
  width: fit-content;
}
.lead-bio {
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.75;
}


/* ════════════════════════════════════════════════
   RESPONSIVE TWEAKS
   ════════════════════════════════════════════════ */
@media (max-width: 640px) {
  :root { --sec: 4.5rem; }
  .hero-body { padding-bottom: 5rem; }
  .hero-logo, .hero-logo-svg { width: 130px; }
  .hero-body h1 { font-size: 2.75rem; }
  .prod-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .prod-card { min-height: 240px; }
  .prod-card--featured { grid-column: 1; grid-row: 1; min-height: 320px; }
  .why-grid { grid-template-columns: 1fr; }
  .acard-2, .acard-3 { display: none; }
  .about-card-stack { height: 280px; }
  .acard-1 { width: 220px; height: 250px; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ════════════════════════════════════════════════
   HERO BACKGROUND IMAGE
   ════════════════════════════════════════════════ */
.hero-img-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply;
}

/* ════════════════════════════════════════════════
   ABOUT — image card
   ════════════════════════════════════════════════ */
.acard-1 {
  overflow: hidden;
}
.acard-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.acard-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  background: linear-gradient(to top, rgba(40,8,65,.92) 0%, transparent 75%);
  padding: 1.75rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .375rem;
}

/* ════════════════════════════════════════════════
   HERO SHOWCASE IMAGES
   ════════════════════════════════════════════════ */
.hero-showcase {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  justify-content: center;
  align-items: flex-end;
}
.hero-showcase-img {
  border-radius: var(--r24);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(80,20,120,.22);
  border: 2px solid rgba(255,255,255,.55);
  flex-shrink: 0;
}
.hero-showcase-img img {
  display: block;
  object-fit: cover;
  width: 100%; height: 100%;
}
.hero-showcase-img--main {
  width: 280px; height: 200px;
}
.hero-showcase-img--side {
  width: 170px; height: 160px;
}
.hero-showcase-img--side2 {
  width: 170px; height: 160px;
}
@media (max-width: 640px) {
  .hero-showcase-img--side2 { display: none; }
  .hero-showcase-img--main { width: 200px; height: 150px; }
  .hero-showcase-img--side { width: 130px; height: 120px; }
}

