/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, p, figure, blockquote { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { display: block; }
.icon, .icon path { fill: currentColor; }

/* ---------- Tokens ---------- */
:root {
  --ink: #1C1A18;
  --ink-70: rgba(28, 26, 24, .72);
  --ink-55: rgba(28, 26, 24, .56);
  --paper: #FFFFFF;
  --paper-tint: #F2F4F1;
  --paper-tint-2: #E9F0EA;
  --accent: #FF5A36;
  --accent-soft: #FFE4D8;
  --accent-ink: #FFF6EE;
  --line: rgba(28, 26, 24, .12);
  --line-strong: rgba(28, 26, 24, .2);
  --shadow-soft: 0 20px 44px -26px rgba(28, 26, 24, .35);
  --shadow-card: 0 14px 30px -18px rgba(28, 26, 24, .28);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --font-display: 'Fredoka', ui-rounded, 'Segoe UI', sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1240px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #F4EFE9;
    --ink-70: rgba(244, 239, 233, .75);
    --ink-55: rgba(244, 239, 233, .55);
    --paper: #17140F;
    --paper-tint: #201C16;
    --paper-tint-2: #211D1A;
    --accent: #FF6A45;
    --accent-soft: #3A2117;
    --accent-ink: #1C1A18;
    --line: rgba(244, 239, 233, .14);
    --line-strong: rgba(244, 239, 233, .24);
    --shadow-soft: 0 20px 44px -22px rgba(0, 0, 0, .6);
    --shadow-card: 0 14px 30px -16px rgba(0, 0, 0, .55);
  }
}

html { color-scheme: light dark; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: var(--ink); padding: 12px 20px; border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus { left: 24px; top: 12px; }

#scrollSentinel { position: absolute; top: 0; height: 1px; width: 1px; }

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

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  --tilt: 0deg; --lift: 0px;
  opacity: 0; transform: translateY(calc(var(--lift) + 18px)) rotate(var(--tilt));
}
.reveal.is-visible {
  opacity: 1; transform: translateY(var(--lift)) rotate(var(--tilt));
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: .95rem; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn .icon { width: 19px; height: 19px; flex: none; }
.btn-sm { padding: 10px 18px; font-size: .85rem; }
.btn-sm .icon { width: 16px; height: 16px; }

.btn-primary {
  background: var(--accent); color: var(--ink);
  box-shadow: var(--shadow-card);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }

.btn-ghost {
  background: transparent; color: var(--ink); border: 1.5px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--paper-tint); }

.btn-outline {
  background: transparent; color: var(--ink); border: 1.5px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--paper); }

.btn-on-accent { background: var(--accent); color: var(--ink); box-shadow: var(--shadow-card); }
.btn-on-accent:hover { transform: translateY(-2px); }

.btn-ghost-on-accent { background: transparent; color: inherit; border: 1.5px solid rgba(255,255,255,.4); }
.btn-ghost-on-accent:hover { border-color: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -20px rgba(0,0,0,.4); }

.header-inner { display: flex; align-items: center; gap: 20px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-mark { width: 36px; height: 36px; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-word { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }

.main-nav { display: flex; align-items: center; gap: 28px; margin-inline: auto; }
.main-nav a { font-weight: 600; font-size: .95rem; color: var(--ink-70); transition: color .2s var(--ease); }
.main-nav a:hover { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.nav-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: var(--radius-sm); }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero { padding-block: 56px 72px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }

.hero-copy h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  line-height: 1.08;
  max-width: 21ch;
}
.hero-sub { margin-top: 20px; max-width: 46ch; font-size: 1.08rem; color: var(--ink-70); line-height: 1.55; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-art { position: relative; height: 420px; }
.art-blob {
  position: absolute; inset: 6% 10%; border-radius: 44% 56% 58% 42% / 48% 42% 58% 52%;
  background: linear-gradient(155deg, var(--accent-soft), var(--paper-tint-2));
}
.art-tile {
  position: absolute; border-radius: var(--radius-md); object-fit: cover;
  box-shadow: var(--shadow-soft); border: 5px solid var(--paper);
}
.art-tile-1 { width: 210px; height: 210px; top: 6%; left: 8%; transform: rotate(-7deg); z-index: 3; }
.art-tile-2 { width: 168px; height: 168px; top: 2%; right: 4%; transform: rotate(9deg); z-index: 2; }
.art-tile-3 { width: 158px; height: 158px; bottom: 4%; left: 20%; transform: rotate(6deg); z-index: 2; }
.art-tile-4 { width: 140px; height: 140px; bottom: 0; right: 14%; transform: rotate(-10deg); z-index: 1; }

/* ---------- Stats ---------- */
.stats { padding-block: 40px; border-block: 1px solid var(--line); }
.stats-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--accent); }
.stat-label { color: var(--ink-70); font-size: .92rem; max-width: 22ch; }

/* ---------- Section head ---------- */
.section-head { max-width: 60ch; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-head p { margin-top: 12px; color: var(--ink-70); font-size: 1.02rem; }
.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}

/* ---------- Products ---------- */
.products { padding-block: 88px; }
.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.product-card { background: none; }
.product-card:nth-child(6n+1) .product-photo,
.product-card:nth-child(6n+4) .product-photo { aspect-ratio: 4 / 5; }
.product-photo {
  aspect-ratio: 1 / 1; border-radius: var(--radius-md); overflow: hidden;
  background: var(--paper-tint); box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease);
}
.product-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .product-photo { transform: translateY(-4px); }
.product-card:hover img { transform: scale(1.06); }
.product-card figcaption { margin-top: 12px; font-weight: 600; font-size: .95rem; }

.products-note {
  margin-top: 40px; text-align: center; font-size: .85rem; color: var(--ink-55);
  max-width: 56ch; margin-inline: auto;
}

/* ---------- Story ---------- */
.story { padding-block: 96px; background: var(--paper-tint); }
.story-inner { max-width: 66ch; }
.story-kicker { font-family: var(--font-display); font-weight: 600; color: var(--accent); font-size: 1rem; margin-bottom: 18px; }
.story-text { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.5; color: var(--ink); }
.story-quote {
  margin-top: 28px; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--ink); font-style: italic;
  line-height: 1.15; padding-bottom: .15em;
}

/* ---------- Values ---------- */
.values { padding-block: 96px; }
.value-cluster { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.value-chip {
  flex: 1 1 240px; max-width: 280px; padding: 30px 26px; border-radius: var(--radius-lg);
  background: var(--paper-tint); border: 1px solid var(--line);
}
.value-chip .icon { width: 30px; height: 30px; color: var(--accent); }
.value-chip h3 { margin-top: 18px; font-size: 1.15rem; }
.value-chip p { margin-top: 8px; color: var(--ink-70); font-size: .92rem; }
.chip-a { --tilt: -1.4deg; }
.chip-b { --tilt: 1deg; --lift: 18px; }
.chip-c { --tilt: -0.8deg; --lift: 4px; }
.chip-d { --tilt: 1.6deg; --lift: 22px; }

@media (max-width: 720px) {
  .value-chip { --tilt: 0deg !important; --lift: 0px !important; }
}

/* ---------- Locations ---------- */
.locations { padding-block: 96px; background: var(--paper-tint); }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.location-card {
  padding: 34px; border-radius: var(--radius-lg); background: var(--paper);
  border: 1px solid var(--line); box-shadow: var(--shadow-card);
}
.location-card .icon { width: 30px; height: 30px; color: var(--accent); }
.location-card h3 { margin-top: 16px; font-size: 1.3rem; }
.location-card p { margin-top: 8px; color: var(--ink-70); }

/* ---------- CTA band ---------- */
.cta-band { padding-block: 96px; background: var(--ink); color: var(--accent-ink); text-align: center; }
.cta-inner { max-width: 56ch; margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
.cta-band .icon-lg { width: 46px; height: 46px; color: var(--accent); margin-bottom: 18px; }
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.cta-band p { margin-top: 14px; color: rgba(255,255,255,.72); font-size: 1.05rem; }
@media (prefers-color-scheme: dark) { .cta-band p { color: var(--ink-70); } }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }

/* ---------- Footer ---------- */
.site-footer { padding-top: 72px; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; }
.footer-brand p { margin-top: 14px; color: var(--ink-70); max-width: 32ch; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-family: var(--font-display); font-size: .95rem; margin-bottom: 4px; }
.footer-col a, .footer-col span { color: var(--ink-70); font-size: .92rem; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { padding-block: 22px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--ink-55); }

/* ---------- Floating WhatsApp button ---------- */
.fab-whatsapp {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: transform .25s var(--ease);
}
.fab-whatsapp .icon { width: 26px; height: 26px; }
.fab-whatsapp:hover { transform: scale(1.06); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { height: 320px; max-width: 460px; margin-inline: auto; width: 100%; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; row-gap: 36px; }
}

@media (max-width: 860px) {
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0; flex-direction: column;
    align-items: flex-start; gap: 4px; padding: 8px 24px 28px;
    background: var(--paper); border-top: 1px solid var(--line);
    box-shadow: 0 24px 40px -28px rgba(0, 0, 0, .45);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .main-nav a { width: 100%; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .main-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-sm span { display: none; }
  .header-actions .btn-sm { padding: 10px; }
  body.nav-locked { overflow: hidden; }
}

@media (max-width: 720px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .location-grid { grid-template-columns: 1fr; }
  .value-chip { flex: 1 1 100%; max-width: none; }
  .stats-inner { justify-content: flex-start; gap: 32px 40px; }
  .footer-inner { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  .wrap { padding-inline: 18px; }
  .hero { padding-block: 36px 48px; }
  .hero-ctas .btn { width: 100%; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .story, .values, .locations, .cta-band, .products { padding-block: 64px; }
}
