/* ==========================================================================
   KOZU — plain CSS build
   Design tokens ported 1:1 from the React/Tailwind build so visuals stay
   pixel-identical. Breakpoint below 861px is "mobile", 861px+ is "desktop"
   (matches the `kz:` breakpoint used in the Tailwind version).
   ========================================================================== */

@font-face {
  font-family: 'Maheni';
  src: url('../fonts/Maheni-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Century Gothic Bold';
  src: url('../fonts/GOTHICB.TTF') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #FDFADA;
  --paper: #FBF8E8;
  --mauve: #DFC1DD;
  --mauve-deep: #6E4F6C;
  --blue: #5466AF;
  --blue-deep: #333F79;
  --brown: #603913;
  --ink: #231A0F;
  --green: #7C9A45;
  --green-dark: #587029;
  --orange: #D9704B;
  --orange-dark: #A84F2C;
  --line: rgba(96, 57, 19, 0.14);
  --line-dark: rgba(253, 250, 218, 0.14);

  --font-display: 'Maheni', 'Century Gothic Bold', sans-serif;
  --font-body: 'Raleway', sans-serif;

  --wrap: 1160px;
  --radius-sm: 2px;
  --shadow-bottle: 0 22px 26px rgba(35, 26, 15, 0.14);
}

/* ---------- Reset / base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

table { border-collapse: collapse; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  margin: 0;
}

p { margin: 0; }

::selection { background: var(--mauve); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--blue-deep);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 861px) {
  .wrap { padding: 0 40px; }
}

/* Extra breathing room on phones in the two content-dense sections. */
@media (max-width: 860px) {
  #inside .wrap,
  #contact .wrap {
    padding-left: 28px;
    padding-right: 28px;
  }
}

/* Tablet portrait (iPad mini/Air/Pro all fall in ~768–1024px) — desktop
   layout already kicks in here, but 40px reads tight on a taller, narrower
   canvas, so give it a bit more room. */
@media (min-width: 861px) and (max-width: 1112px) {
  .wrap,
  .hero-grid,
  .trust-inner,
  .nav-inner {
    padding-left: 56px;
    padding-right: 56px;
  }

  #inside .wrap,
  #contact .wrap {
    padding-left: 64px;
    padding-right: 64px;
  }
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(253, 250, 218, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 861px) {
  .nav-inner { padding: 16px 40px; }
}

.nav-logo-link { display: block; flex-shrink: 0; }
.nav-logo { height: 30px; width: auto; }

.nav-links {
  display: none;
  align-items: center;
  gap: 40px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--brown);
}

@media (min-width: 861px) {
  .nav-links { display: flex; }
}

.nav-links a {
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: -3px;
  height: 1px;
  background: var(--brown);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms ease-out;
}

.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  border-radius: var(--radius-sm);
  border: 1px solid var(--brown);
  padding: 9px 20px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--brown);
  transition: background-color 200ms, color 200ms;
}

.nav-cta:hover { background: var(--brown); color: var(--cream); }

/* ---------- Hero ---------- */

.hero {
  border-bottom: 1px solid var(--line);
  padding: 60px 0;
}

@media (min-width: 861px) {
  .hero { padding: 100px 0 60px; }
}

.hero-grid {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 40px;
}

@media (min-width: 861px) {
  .hero-grid {
    padding: 0 40px;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
  }
}

.eyebrow {
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brown);
}

.eyebrow-rule {
  height: 1px;
  width: 26px;
  background: var(--brown);
}

.hero-h1 {
  margin-bottom: 26px;
  font-size: 34px;
  line-height: 1.14;
  letter-spacing: 0.005em;
  color: var(--ink);
}

@media (min-width: 861px) {
  .hero-h1 { font-size: 50px; }
}

.hero-h1 .cross {
  color: var(--mauve-deep);
  text-decoration: line-through;
  text-decoration-color: var(--orange-dark);
  text-decoration-thickness: 2px;
}

.hero-h1 .accent { color: var(--blue-deep); }

.hero-sub {
  margin-bottom: 38px;
  max-width: 420px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--brown);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  padding: 15px 28px;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cream);
  transition: background-color 200ms;
}

.btn-primary:hover { background: var(--blue-deep); }

.btn-ghost {
  border-radius: var(--radius-sm);
  border: 1px solid var(--brown);
  padding: 14px 26px;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brown);
  transition: background-color 200ms;
}

.btn-ghost:hover { background: rgba(96, 57, 19, 0.05); }

.hero-stats {
  margin-top: 56px;
  display: flex;
  border-top: 1px solid var(--line);
}

.hero-stat {
  margin-right: 28px;
  border-right: 1px solid var(--line);
  padding-right: 28px;
  padding-top: 18px;
}

.hero-stat:last-child {
  margin-right: 0;
  border-right: none;
  padding-right: 0;
}

.hero-stat b {
  margin-bottom: 2px;
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--blue-deep);
}

.hero-stat span {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--brown);
}

/* ---------- Bottle stage ---------- */

.bottle-stage {
  position: relative;
  display: flex;
  height: 500px;
  align-items: flex-end;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--paper);
}

.bottle-stage-frame {
  position: absolute;
  inset: 26px;
  border: 1px solid var(--line);
  pointer-events: none;
}

.bottle-wrap {
  position: relative;
  margin: 0 auto 36px;
  height: 400px;
  width: 220px;
}

.bottle-img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(var(--shadow-bottle));
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

.bottle-img.is-active { opacity: 1; }

/* ---------- Trust strip ---------- */

.trust {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.trust-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  column-gap: 40px;
  row-gap: 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brown);
}

@media (min-width: 861px) {
  .trust-inner { padding: 0 40px; }
}

/* ---------- Section shell ---------- */

.section { padding: 96px 0; }

#flavours.section { border-bottom: 1px solid var(--line); }

.section-head {
  margin-bottom: 56px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.kicker {
  margin-bottom: 16px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.kicker-blue { color: var(--blue-deep); }
.kicker-mauve { color: var(--mauve); }

.section-head h2 {
  max-width: 560px;
  font-size: 34px;
  line-height: 1.16;
  color: inherit;
}

.section-head p {
  max-width: 320px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--brown);
}

.ink-section .section-head p { color: rgba(253, 250, 218, 0.62); }

/* ---------- Flavour cards (modern) ---------- */

.flavour-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 861px) {
  .flavour-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

.flavour-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 32px;
  text-align: left;
  transition: transform 300ms ease-out, border-color 300ms ease-out, background-color 300ms ease-out;
}

@media (min-width: 861px) {
  .flavour-card { padding: 36px; }
}

.flavour-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 57, 19, 0.25);
}

.flavour-card.is-active {
  background: #fff;
}

.flavour-card[data-flavour="guava"].is-active { border-color: var(--green); }
.flavour-card[data-flavour="peachPassion"].is-active { border-color: var(--orange); }

.fc-accent-bar {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 4px;
  opacity: 0;
  transition: opacity 300ms;
}

.flavour-card[data-flavour="guava"] .fc-accent-bar { background: var(--green); }
.flavour-card[data-flavour="peachPassion"] .fc-accent-bar { background: var(--orange); }

.flavour-card.is-active .fc-accent-bar { opacity: 1; }
.flavour-card:not(.is-active):hover .fc-accent-bar { opacity: 0.5; }

.fc-top {
  margin-bottom: 32px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.fc-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.flavour-card[data-flavour="guava"] .fc-chip {
  background: rgba(124, 154, 69, 0.1);
  color: var(--green-dark);
}

.flavour-card[data-flavour="peachPassion"] .fc-chip {
  background: rgba(217, 112, 75, 0.1);
  color: var(--orange-dark);
}

.fc-dot {
  height: 6px;
  width: 6px;
  border-radius: 999px;
}

.flavour-card[data-flavour="guava"] .fc-dot { background: var(--green); }
.flavour-card[data-flavour="peachPassion"] .fc-dot { background: var(--orange); }

.fc-check {
  display: flex;
  height: 28px;
  width: 28px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  transition: background-color 300ms, border-color 300ms;
}

.fc-check svg { height: 14px; width: 14px; display: none; }

.flavour-card.is-active .fc-check {
  border-color: transparent;
}

.flavour-card[data-flavour="guava"].is-active .fc-check { background: var(--green); }
.flavour-card[data-flavour="peachPassion"].is-active .fc-check { background: var(--orange); }

.flavour-card.is-active .fc-check svg { display: block; }

.flavour-card h3 {
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1.2;
  color: var(--ink);
}

.fc-desc {
  margin-bottom: 36px;
  max-width: 280px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--brown);
}

.fc-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.fc-pill {
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--brown);
}

.fc-select {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity 300ms;
}

.flavour-card[data-flavour="guava"] .fc-select { color: var(--green-dark); }
.flavour-card[data-flavour="peachPassion"] .fc-select { color: var(--orange-dark); }

.flavour-card:hover .fc-select { opacity: 1; }

.fc-arrow {
  height: 12px;
  width: 12px;
  transition: transform 300ms;
}

.flavour-card:hover .fc-arrow { transform: translateX(4px); }

/* ---------- What's inside (dark section) ---------- */

.ink-section {
  background: var(--ink);
  color: var(--cream);
}

.ink-section h2 { color: var(--cream); }

.ing-grid {
  margin-bottom: 64px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-dark);
}

@media (min-width: 861px) {
  .ing-grid { grid-template-columns: repeat(4, 1fr); }
}

.ing-item {
  background: var(--ink);
  padding: 28px;
}

.ing-num {
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 400;
  color: rgba(253, 250, 218, 0.4);
}

.ing-item h3 {
  margin-bottom: 10px;
  font-size: 16.5px;
  color: var(--cream);
}

.ing-item p {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(253, 250, 218, 0.58);
}

.nutri-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 56px;
}

@media (min-width: 861px) {
  .nutri-grid { grid-template-columns: 1.3fr 1fr; }
}

.subhead {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  color: var(--cream);
}

.nutri-table {
  width: 100%;
  font-size: 13.5px;
}

.nutri-table th {
  padding-bottom: 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mauve);
}

.nutri-table th.align-right { text-align: right; }

.nutri-table td {
  border-top: 1px solid var(--line-dark);
  padding: 10px 0;
  font-weight: 500;
  color: rgba(253, 250, 218, 0.82);
}

.nutri-table td.val {
  text-align: right;
  font-weight: 700;
  color: var(--cream);
}

.full-ing-list {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.8;
  color: rgba(253, 250, 218, 0.68);
}

.full-ing-list b { font-weight: 700; color: var(--cream); }

.advisory {
  margin-top: 24px;
  border-top: 1px solid var(--line-dark);
  padding-top: 16px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: rgba(217, 112, 75, 0.9);
}

/* ---------- Contact ---------- */

.contact-section { background: var(--paper); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: 60px;
}

@media (min-width: 861px) {
  .contact-inner { grid-template-columns: 1.2fr 0.8fr; }
}

.contact-inner h2 {
  margin-bottom: 14px;
  font-size: 34px;
  line-height: 1.15;
  color: var(--ink);
}

.contact-inner .lead {
  max-width: 400px;
  font-size: 16px;
  font-weight: 500;
  color: var(--brown);
}

.contact-list { border-top: 1px solid var(--line); }

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  transition: color 200ms;
}

.contact-row:hover { color: var(--blue-deep); }

.contact-row .label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brown);
}

/* ---------- Footer ---------- */

.footer { padding: 44px 0 40px; }

.foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.foot-logo {
  margin-bottom: 12px;
  height: 22px;
  width: auto;
}

.foot-tagline {
  max-width: 320px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brown);
}

.foot-legal {
  margin-top: 10px;
  max-width: 340px;
  font-size: 11px;
  line-height: 1.65;
  color: rgba(96, 57, 19, 0.75);
}

.foot-cert {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 380px;
}

.foot-cert-logo {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}

.foot-cert-text {
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.5;
  color: rgba(96, 57, 19, 0.75);
}

.foot-links {
  display: flex;
  gap: 24px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brown);
}

.foot-links a { transition: color 200ms; }
.foot-links a:hover { color: var(--ink); }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .bottle-img,
  .flavour-card,
  .fc-select,
  .fc-arrow {
    transition: none !important;
  }
}
