/* ==========================================================================
   Miguelito's International Corporation — Site Stylesheet
   Design tokens: warm Filipino pantry palette + factory-stamp signature motif
   ========================================================================== */

:root {
  /* Color — sampled straight from the miguelitos wordmark */
  --atsuete:      #D71F14; /* logo red — primary accent */
  --red-bright:   #FF5B3F; /* brighter red for gradient highlights */
  --red-deep:     #8F130A; /* deep red for gradient shadow */
  --turmeric:     #FFC93C; /* warm gold — secondary accent */
  --banana-leaf:  #2B0E09; /* deep maroon-ink — dark surfaces, header, footer */
  --banana-leaf-2:#3D140C; /* lighter tone for hover states */
  --rice-cream:   #FFF7EA; /* warm cream — page background */
  --sack-tan:     #FCE7C6; /* warm tan — card / panel background */
  --char:         #1C0B06; /* near-black ink — primary text */
  --char-soft:    #8A6A5C; /* softened text / captions */
  --white:        #FFFCF6;

  /* Gradients — the "alive" layer */
  --gradient-brand: linear-gradient(135deg, var(--red-bright), var(--atsuete) 55%, var(--red-deep));
  --gradient-warm:  linear-gradient(120deg, var(--turmeric), var(--red-bright));
  --gradient-dark:  linear-gradient(160deg, #3D140C, #1C0B06 70%);
  --glow-red:  0 10px 26px rgba(215,31,20,0.32);
  --glow-gold: 0 0 0 3px rgba(255,201,60,0.28);

  /* Type — rounded, bold, matching the logo wordmark */
  --font-display: 'Baloo 2', 'Fredoka', sans-serif;
  --font-body:    'Nunito', -apple-system, Segoe UI, sans-serif;
  --font-mono:    'Space Mono', 'Courier New', monospace;

  /* Layout */
  --container: 1180px;
  --radius: 14px;
  --radius-sm: 10px;
  --border: 1px solid rgba(28,11,6,0.12);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--rice-cream);
  color: var(--char);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; margin: 0; line-height: 1.08; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }


/* ================================
   PRELOADER
================================ */

#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #FFFFFF;

    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
}

/* Logo */
.preloader-logo {
    display: flex;
    align-items: center;
    justify-content: center;

    animation: logoAppear 2s ease forwards;
}

.preloader-logo img {
    width: 195px;
    height: auto;
    display: block;
}

/* Logo entrance */
@keyframes logoAppear {
    0% {
        opacity: 0;
        transform: scale(0.85);
    }

    60% {
        opacity: 1;
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Fade EVERYTHING together */
#preloader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

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

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

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--atsuete);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--atsuete);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color .15s ease;
}
.btn {
  border-radius: 999px;
}
.btn-primary {
  background: var(--gradient-brand);
  color: var(--white);
  box-shadow: var(--glow-red);
}
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn-ghost {
  border-color: currentColor;
  color: var(--rice-cream);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-dark {
  background: var(--gradient-dark);
  color: var(--rice-cream);
  box-shadow: 0 10px 24px rgba(0,0,0,0.28);
}
.btn-dark:hover { filter: brightness(1.15); transform: translateY(-2px); }

/* ==========================================================================
   Business Package Tiers
   ========================================================================== */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(28,11,6,0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(28,11,6,0.1);
}
.tier-card.featured {
  border-color: var(--atsuete);
  box-shadow: 0 16px 32px rgba(215,31,20,0.14);
}

.tier-badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--gradient-brand);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}

.tier-card h3 { font-size: 24px; margin-top: 4px; }
.tier-for {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--char-soft);
  margin-top: 8px;
}

.tier-card ul {
  margin: 24px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.tier-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--char-soft);
  line-height: 1.5;
}

/* This is the fix — the checkmark SVGs had no size rule at all */
.tier-card ul li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  padding: 3px;
  color: var(--white);
  background: var(--gradient-brand);
  border-radius: 50%;
  box-sizing: content-box;
}

.tier-card .btn { width: 100%; justify-content: center; margin-top: auto; }

.check-list { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; max-width: 60ch; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--char-soft); line-height: 1.6; }
.check-list li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  padding: 3px;
  color: var(--white);
  background: var(--gradient-brand);
  border-radius: 50%;
  box-sizing: content-box;
}

/* ---------- About page: mission/vision, photos, logo walls ---------- */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 26px;
}
.mv-card { background: var(--white); border: var(--border); border-radius: var(--radius); padding: 30px; }
.mv-card h3 {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--atsuete);
  margin-bottom: 12px;
}
.mv-card p { font-size: 16px; color: var(--char); line-height: 1.7; }

.about-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  margin-top: 28px;
  box-shadow: 0 14px 30px rgba(36,27,20,0.12);
}

/* Our Story — gradient accent under the headline */
.accent-bar { display: block; width: 64px; height: 4px; border-radius: 2px; margin-top: 18px; background: var(--gradient-brand); }

/* Our Founders — large overlapping portraits with frosted name tags, text card below */
.value-highlight { color: var(--atsuete); font-weight: 800; }
.founders-showcase { margin-top: 8px; }
.founders-photos { position: relative; display: flex; justify-content: center; align-items: flex-end; padding-top: 10px; }
.founders-glow {
  position: absolute; inset: -10% 10%; z-index: 0; border-radius: 50%;
  background: var(--gradient-brand); filter: blur(70px); opacity: 0.24; pointer-events: none;
}
.founder-portrait { position: relative; z-index: 1; }
.founder-portrait--overlap { margin-left: -48px; z-index: 2; }
.founder-portrait img { height: 480px; width: auto; max-width: 100%; display: block; filter: drop-shadow(0 20px 30px rgba(36,27,20,0.22)); }
.founders-text-card {
  max-width: 920px; margin: 4px auto 0; background: var(--white); border: var(--border); border-radius: var(--radius);
  padding: 34px 38px;
}
.founders-text-card p { text-align: justify; }
.founders-text-card p + p { margin-top: 16px; }
.founder-signature { margin-top: 28px; font: 700 17px var(--font-body); color: var(--char); }
.founder-signature span { display: block; margin-top: 4px; font: 500 13px var(--font-mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--atsuete); }
@media (max-width: 720px) {
  .founder-portrait img { height: 300px; }
  .founder-portrait--overlap { margin-left: -24px; }
  .founders-text-card { padding: 26px 22px; }
}
@media (max-width: 480px) {
  .founder-portrait img { height: 220px; }
}

.logo-wall {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 28px;
}
.logo-wall img { width: 100%; height: auto; display: block; }

.facility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  margin-top: 28px;
}
.facility-grid .about-photo { margin-top: 0; height: 100%; object-fit: cover; }
.facility-map {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(36,27,20,0.12);
}
@media (max-width: 900px) {
  .facility-grid { grid-template-columns: 1fr; }
  .facility-map { min-height: 280px; }
}

.compliance-list { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
.compliance-row {
  display: flex; align-items: center; gap: 20px;
  padding: 22px 26px; background: var(--white); border: var(--border); border-radius: var(--radius);
}
.compliance-row-icon {
  flex-shrink: 0; width: 160px; height: 120px;
  display: flex; align-items: center; justify-content: center;
}
.compliance-row-icon img { width: 100%; height: 100%; object-fit: contain; }
.compliance-row-body { flex: 1; }
.compliance-row-body h4 {
  font-family: var(--font-body); font-weight: 600; font-size: 17px; color: var(--char);
}
.compliance-row-body p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--char-soft); }
@media (max-width: 560px) {
  .compliance-row { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; }
  .compliance-row-icon { width: 120px; height: 90px; }
}

/* About — In the News press cards */
.press-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 24px; margin-top: 30px; }
.press-card {
  display: flex; border: var(--border); border-radius: var(--radius); overflow: hidden; background: var(--white);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.press-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(28,11,6,0.1); }
.press-card-media { flex: 0 0 42%; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sack-tan); }
.press-card-media img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 10px; box-sizing: border-box; transition: transform 0.3s ease; }
.press-card:hover .press-card-media img { transform: scale(1.03); }
.press-card-body { flex: 1; min-width: 0; padding: 20px 22px; display: flex; flex-direction: column; }
.press-card-source { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--atsuete); }
.press-card-body h3 { margin-top: 8px; font-size: 16.5px; line-height: 1.3; font-family: var(--font-body); font-weight: 700; }
.press-card-body h3 a { color: var(--char); text-decoration: none; }
.press-card-body h3 a:hover { color: var(--atsuete); }
.press-card-body p { margin-top: 8px; font-size: 13.5px; line-height: 1.55; color: var(--char-soft); flex: 1; }
.press-card-link { margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--atsuete); text-decoration: none; }
.press-card-link:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .press-card { flex-direction: column; }
  .press-card-media { flex: none; width: 100%; aspect-ratio: 16 / 9; }
}

@media (max-width: 900px) {
  .tier-grid { grid-template-columns: 1fr; }
}

/* About — Awards & Recognition */
.awards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 30px; }
.award-card {
  margin: 0; display: flex; flex-direction: column; height: 100%; border: var(--border); border-radius: var(--radius);
  overflow: hidden; background: var(--white); transition: transform 0.18s ease, box-shadow 0.18s ease; cursor: zoom-in;
}
.award-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(28,11,6,0.1); }
.award-card-media { aspect-ratio: 4 / 3; min-height: 0; background: var(--sack-tan); display: flex; align-items: center; justify-content: center; padding: 14px; }
.award-card-media img { width: 100%; height: 100%; object-fit: contain; }
.award-card figcaption { margin-top: auto; padding: 16px 18px 20px; }
.award-card h4 { font: 700 15px var(--font-body); color: var(--char); line-height: 1.3; }
.award-card figcaption p { margin-top: 8px; font-size: 12.5px; line-height: 1.5; color: var(--char-soft); }

/* Award lightbox */
.award-lightbox {
  position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center;
  background: rgba(20,10,6,0.86); padding: 40px 20px;
}
.award-lightbox.is-open { display: flex; }
.award-lightbox-box {
  position: relative; max-width: 880px; width: 100%; max-height: 90vh; display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
}
.award-lightbox-stage { position: relative; background: var(--sack-tan); display: flex; align-items: center; justify-content: center; min-height: 280px; flex: 1; overflow: hidden; }
.award-lightbox-stage img { max-width: 100%; max-height: 72vh; object-fit: contain; }
.award-lightbox-caption { padding: 16px 24px 20px; border-top: var(--border); }
.award-lightbox-caption h4 { font: 700 16px var(--font-body); color: var(--char); }
.award-lightbox-caption p { margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--char-soft); }
.award-lightbox-close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: none;
  background: rgba(20,10,6,0.55); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; z-index: 2;
  display: flex; align-items: center; justify-content: center; transition: background 0.15s ease;
}
.award-lightbox-close:hover { background: rgba(20,10,6,0.8); }
.award-lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
  border: none; background: rgba(20,10,6,0.45); color: #fff; font-size: 20px; cursor: pointer; z-index: 2;
  display: flex; align-items: center; justify-content: center; transition: background 0.15s ease;
}
.award-lightbox-nav:hover { background: rgba(20,10,6,0.75); }
.award-lightbox-nav--prev { left: 14px; }
.award-lightbox-nav--next { right: 14px; }
.award-lightbox-nav[hidden] { display: none; }
.award-lightbox-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 7px; z-index: 2; }
.award-lightbox-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.55); border: none; cursor: pointer; padding: 0; }
.award-lightbox-dot.is-active { background: #fff; }
@media (max-width: 640px) {
  .award-lightbox-nav { width: 36px; height: 36px; }
}

/* ==========================================================================
   Scroll reveal — fade + rise on entering the viewport
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.22,1,.36,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Header / Stamp Logo / Nav
   ========================================================================== */
.site-header {
  background: var(--gradient-dark);
  color: var(--rice-cream);
  position: sticky;
  top: 0;
  /* Must be higher than .nav-backdrop (z-index: 55) — the toggle button
     and the slide-in menu both live inside this header, so if the header's
     own stacking context sits below the backdrop, the backdrop's blur/dim
     ends up covering the menu too, even though the menu has its own
     higher z-index (that z-index only ranks it within the header). */
  z-index: 70;
  border-bottom: 1px solid rgba(255,201,60,0.14);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo-stamp {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-stamp .stamp-badge {
  height: 44px;
  width: auto;
  flex-shrink: 0;
  border-radius: 999px;
  transition: transform 0.2s ease;
}
.logo-stamp:hover .stamp-badge { transform: scale(1.03); }

.site-nav {
    margin-left: auto;
    position: relative;
}

/* ==========================================================================
   Futuristic Hamburger Menu
   ========================================================================== */

/* Toggle button — always the entry point into nav, on every screen size */
.nav-toggle {
  position: relative;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(255,247,234,0.04);
  border: 1px solid rgba(255,201,60,0.3);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}
.nav-toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,201,60,0.35), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--turmeric);
  box-shadow: 0 0 0 4px rgba(255,201,60,0.14), 0 0 18px rgba(255,201,60,0.28);
}
.nav-toggle:hover::after { opacity: 1; }
.nav-toggle.active {
  border-color: var(--atsuete);
  box-shadow: 0 0 0 4px rgba(215,31,20,0.16), 0 0 22px rgba(215,31,20,0.4);
}

.nav-toggle-bar {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--rice-cream);
  transition: transform 0.45s cubic-bezier(.65,0,.35,1), opacity 0.3s ease, background 0.35s ease, width 0.3s ease;
}
.nav-toggle.active .nav-toggle-bar { background: var(--turmeric); }
.nav-toggle.active .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active .nav-toggle-bar:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.active .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Dimmed, blurred backdrop behind the panel */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10,4,2,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  z-index: 55;
}
.nav-backdrop.open { opacity: 1; visibility: visible; }
body.nav-locked { overflow: hidden; }

/* The slide-in nav panel — used for both plain <ul> and richer .nav-panel markup */
.site-nav > ul,
.nav-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 58;
  height: 100vh;
  width: min(340px, 86vw);
  margin: 0;
  padding: 96px 30px 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  overflow-y: auto;
  background: linear-gradient(165deg, rgba(61,20,12,0.98), rgba(21,8,4,0.99));
  border-left: 1px solid rgba(255,201,60,0.22);
  box-shadow: -24px 0 60px rgba(0,0,0,0.5);
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.55s cubic-bezier(.65,0,.35,1), opacity 0.4s ease, visibility 0.55s;
}
.site-nav > ul::before,
.nav-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,201,60,0.09), transparent 30%);
}
.site-nav > ul.open,
.nav-panel.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

/* Staggered entrance for each link */
.site-nav > ul li,
.nav-panel .nav-links li {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.site-nav > ul.open li,
.nav-panel.open .nav-links li {
  opacity: 1;
  transform: translateX(0);
}
.site-nav > ul.open li:nth-child(1), .nav-panel.open .nav-links li:nth-child(1) { transition-delay: .08s; }
.site-nav > ul.open li:nth-child(2), .nav-panel.open .nav-links li:nth-child(2) { transition-delay: .13s; }
.site-nav > ul.open li:nth-child(3), .nav-panel.open .nav-links li:nth-child(3) { transition-delay: .18s; }
.site-nav > ul.open li:nth-child(4), .nav-panel.open .nav-links li:nth-child(4) { transition-delay: .23s; }
.site-nav > ul.open li:nth-child(5), .nav-panel.open .nav-links li:nth-child(5) { transition-delay: .28s; }
.site-nav > ul.open li:nth-child(6), .nav-panel.open .nav-links li:nth-child(6) { transition-delay: .33s; }
.site-nav > ul.open li:nth-child(7), .nav-panel.open .nav-links li:nth-child(7) { transition-delay: .38s; }

.site-nav a {
    font-family: var(--font-mono);
    font-size: 14px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    display: block;
    position: relative;
    padding: 13px 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        padding-left 0.3s ease;
}
.site-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  background: var(--turmeric);
  border-radius: 2px;
  transform: translateY(-50%);
  transition: height 0.3s ease;
}
.site-nav a:hover,
.site-nav a.active {
    background: rgba(255,201,60,0.08);
    color: var(--turmeric);
    border-color: transparent;
    padding-left: 22px;
}
.site-nav a:hover::before,
.site-nav a.active::before { height: 60%; }

/* Richer panel markup (business-packages / toll-manufacturing pages) */
.nav-panel { justify-content: flex-start; }
.nav-panel .nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-cta {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px dashed rgba(255,247,234,0.18);
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease 0.4s, transform 0.45s ease 0.4s;
}
.nav-panel.open .nav-cta { opacity: 1; transform: translateY(0); }

.shop-dropdown { position: relative; }
.shop-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,247,234,0.05);
  border: 1px solid rgba(255,247,234,0.16);
  border-radius: 10px;
  color: var(--rice-cream);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.shop-toggle:hover,
.shop-toggle[aria-expanded="true"] {
  border-color: var(--turmeric);
  background: rgba(255,201,60,0.08);
}
.shop-toggle .chev { width: 11px; height: 8px; transition: transform 0.3s ease; }
.shop-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.shop-menu {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.shop-dropdown.open .shop-menu { max-height: 200px; }
.shop-menu li a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: #D9D3C0;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}
.shop-menu li a:hover { background: rgba(255,247,234,0.06); color: var(--turmeric); }
.btn-inquiry { justify-content: center; }

@media (max-width: 460px) {
  .site-nav > ul,
  .nav-panel { width: 100vw; padding: 90px 22px 32px; }
}

/* ---------- Stamp ticker strip ---------- */
.ticker {
  background: linear-gradient(90deg, #1C0B06, #2B0E09 50%, #1C0B06);
  color: var(--sack-tan);
  overflow: hidden;
  white-space: nowrap;
  border-bottom: var(--border);
}
.ticker-track {
  display: inline-block;
  padding: 9px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: ticker 32s linear infinite;
}
.ticker-track span { margin: 0 22px; }
.ticker-track span::before { content: "◆ "; color: var(--turmeric); }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background: var(--gradient-dark);
  color: var(--rice-cream);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 15%, rgba(255,201,60,0.24), transparent 45%),
    radial-gradient(circle at 8% 95%, rgba(255,91,63,0.30), transparent 45%);
  pointer-events: none;
  z-index: 1;
}
.hero h1 { font-size: clamp(38px, 4.6vw, 60px); margin-top: 18px; }
.hero h1 em { color: var(--turmeric); font-style: normal; font-weight: 800; }
.hero p.lede { font-family: var(--font-body); font-size: 18px; color: #D9D3C0; max-width: 46ch; margin-top: 20px; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.page-hero { background: var(--gradient-dark); color: var(--rice-cream); padding: 62px 0 50px; }
.page-hero h1 { font-size: clamp(36px, 4.4vw, 52px); margin-top: 14px; }
.page-hero p { color: #D9D3C0; max-width: 60ch; margin-top: 14px; font-size: 17px; }
.package-hero-photo {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius);
}
.package-detail {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px; align-items: start;
}
.package-detail-media { position: sticky; top: 150px; }
@media (max-width: 900px) {
  .package-detail { grid-template-columns: 1fr; gap: 32px; }
  .package-detail-media { position: static; max-width: 480px; margin: 0 auto; }
}

/* ==========================================================================
   HERO SLIDER — full-width slides with edge arrows
   ========================================================================== */
.hero-slider {
  position: relative;
  min-height: 560px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateX(24px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.65,0,.35,1), visibility 0.6s;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  z-index: 3;
}
.hero-slide-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  padding-top: 86px;
  padding-bottom: 86px;
}
.hero-slide-art { width: 100%; height: 400px; }
.hero-slide-art--icon { display: flex; align-items: center; justify-content: center; }
.hero-slide-art--icon svg { width: 78%; height: 78%; }
.hero-slide-art img { width: 100%; height: 100%; object-fit: contain; }

.hero-product-stack { position: relative; display: block; }
.hero-product-glow {
  position: absolute;
  inset: -18%;
  background:
    radial-gradient(circle at 60% 35%, rgba(255,201,60,0.38), transparent 55%),
    radial-gradient(circle at 30% 70%, rgba(215,31,20,0.32), transparent 60%);
  filter: blur(46px);
  z-index: 0;
}
.hero-slide-art.hero-product-stack .hero-product-img {
  position: absolute;
  height: 68%;
  width: auto;
  object-fit: contain;
  -webkit-mask-image: radial-gradient(ellipse 68% 68% at center, black 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 68% 68% at center, black 58%, transparent 100%);
  filter: drop-shadow(0 18px 34px rgba(15,8,5,0.45));
  transition: transform 0.4s ease;
}
.hero-product-img--back {
  top: 0;
  right: -2%;
  transform: rotate(11deg);
  opacity: 0.85;
  z-index: 1;
}
.hero-product-img--front {
  bottom: 0;
  left: -2%;
  transform: rotate(-8deg);
  z-index: 2;
}

.hero-slot-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--turmeric);
  border: 1px solid rgba(255,201,60,0.35);
  border-radius: 20px;
  padding: 5px 14px;
}
.hero-slot-tag--alt { color: var(--atsuete); border-color: rgba(215,31,20,0.4); }
.hero-slot-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #A69C88;
}
.hero-slot-meta svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Edge arrow buttons */
.hero-slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,247,234,0.25);
  color: var(--rice-cream);
  background: rgba(28,11,6,0.35);
  backdrop-filter: blur(6px);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.hero-slide-btn svg { width: 20px; height: 20px; }
.hero-slide-btn:hover { border-color: var(--turmeric); background: rgba(255,201,60,0.14); transform: translateY(-50%) translateY(-2px); }
.hero-slide-prev { left: 20px; }
.hero-slide-next { right: 20px; }

.hero-slide-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}
.hero-slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,247,234,0.3);
  transition: background 0.3s ease, transform 0.3s ease;
}
.hero-slide-dot.is-active { background: var(--turmeric); transform: scale(1.3); }


/* ==========================================================================
   Sections generic
   ========================================================================== */
section { padding: 84px 0; }
.section-head { max-width: 900px; margin-bottom: 50px; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 42px); margin-top: 14px; }
.section-head p { margin-top: 14px; color: var(--char-soft); font-size: 17px; }
.section-alt { background: var(--sack-tan); }
.section-dark { background: var(--gradient-dark); color: var(--rice-cream); }
.section-dark .section-head p { color: #C9BFAE; }

/* ==========================================================================
   Business Packages promo (homepage)
   ========================================================================== */
.section-packages {
  background: linear-gradient(135deg, var(--sack-tan) 0%, var(--rice-cream) 65%);
  position: relative;
  overflow: hidden;
}
.section-packages::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: var(--gradient-brand);
  opacity: 0.08;
  pointer-events: none;
}
.section-packages-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.section-packages-text .eyebrow { margin-bottom: 2px; }
.section-packages-text h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  margin-top: 14px;
}
.section-packages-text p {
  margin-top: 16px;
  font-size: 17px;
  color: var(--char-soft);
  max-width: 46ch;
}
.section-packages-text .btn { margin-top: 28px; }

.package-preview-card {
  position: relative;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: 0 18px 40px rgba(28,11,6,0.1);
}
.package-preview-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--atsuete);
  border: 1px solid rgba(215,31,20,0.3);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 22px;
}
.package-preview-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px dashed rgba(28,11,6,0.14);
}
.package-preview-item:first-of-type { border-top: none; padding-top: 0; }
.package-preview-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-warm);
  color: var(--white);
}
.package-preview-icon svg { width: 19px; height: 19px; }
.package-preview-item h4 { font-family: var(--font-body); font-weight: 700; font-size: 15px; }
.package-preview-item p { margin-top: 3px; font-size: 13.5px; color: var(--char-soft); }

@media (max-width: 900px) {
  .section-packages-inner { grid-template-columns: 1fr; }
  .section-packages-preview { order: -1; }
}

/* ==========================================================================
   Shop Online — platform cards in each platform's own brand color
   ========================================================================== */
.section-shop { background: var(--rice-cream); }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .eyebrow::before { display: none; }

.shop-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.shop-platform-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 44px 24px;
  border-radius: var(--radius);
  color: var(--white);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.shop-platform-card:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(28,11,6,0.16); }

.shop-platform-name { font-family: var(--font-display); font-weight: 700; font-size: 24px; }
.shop-platform-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}

.shop-platform-card--shopee { background: linear-gradient(135deg, #FF7337, #EE4D2D); }
.shop-platform-card--lazada { background: linear-gradient(135deg, #1E2A78, #0F146D); }
.shop-platform-card--tiktok {
  background: #0A0A0A;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.shop-platform-card--tiktok::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(37,244,238,0.35), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(254,44,85,0.35), transparent 45%);
  opacity: 0.6;
}
.shop-platform-card--tiktok .shop-platform-name,
.shop-platform-card--tiktok .shop-platform-cta { position: relative; z-index: 1; }

@media (max-width: 680px) {
  .shop-platform-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Business Packages + Shop Online — merged, side by side
   ========================================================================== */
.section-packages-shop {
  background: linear-gradient(135deg, var(--sack-tan) 0%, var(--rice-cream) 65%);
}
.packages-shop-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 50px;
  align-items: center;
}

.packages-col h2,
.shop-col h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 12px; }
.packages-col p,
.shop-col p { margin-top: 14px; font-size: 16px; color: var(--char-soft); max-width: 42ch; }
.packages-col .btn { margin-top: 26px; }

/* Minimalist fading vertical line between the two columns */
.packages-shop-divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(28,11,6,0.16) 20%,
    rgba(28,11,6,0.16) 80%,
    transparent
  );
}

/* Compact shop links — a slim list instead of full-width cards */
.shop-platform-mini-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.shop-platform-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.shop-platform-mini svg { width: 16px; height: 16px; transition: transform 0.25s ease; }
.shop-platform-mini:hover { transform: translateX(4px); box-shadow: 0 8px 20px rgba(28,11,6,0.14); }
.shop-platform-mini:hover svg { transform: translateX(3px); }

.shop-platform-mini--shopee { background: linear-gradient(120deg, #FF7337, #EE4D2D); }
.shop-platform-mini--lazada { background: linear-gradient(120deg, #2A3792, #0F146D); }
.shop-platform-mini--tiktok {
  background: #0A0A0A;
  position: relative;
  overflow: hidden;
}
.shop-platform-mini--tiktok::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(37,244,238,0.35), transparent 55%),
    radial-gradient(circle at 85% 70%, rgba(254,44,85,0.35), transparent 55%);
}
.shop-platform-mini--tiktok span,
.shop-platform-mini--tiktok svg { position: relative; z-index: 1; }

@media (max-width: 900px) {
  .packages-shop-inner { grid-template-columns: 1fr; gap: 36px; }
  .packages-shop-divider {
    width: auto;
    height: 1px;
    background: linear-gradient(
      to right,
      transparent,
      rgba(28,11,6,0.16) 20%,
      rgba(28,11,6,0.16) 80%,
      transparent
    );
  }
}

/* ==========================================================================
   Final B2B CTA — closing banner with three distinct paths
   ========================================================================== */
.section-final-cta {
  position: relative;
  background: var(--gradient-dark);
  color: var(--rice-cream);
  padding: 90px 0;
  overflow: hidden;
}
.section-final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(215,31,20,0.28), transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(255,201,60,0.2), transparent 50%);
  pointer-events: none;
}
.section-final-cta-inner {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.eyebrow--light { color: var(--turmeric); }
.eyebrow--light::before { background: var(--turmeric); }
.section-final-cta h2 { font-size: clamp(30px, 3.6vw, 44px); margin-top: 16px; }
.section-final-cta p { margin-top: 16px; font-size: 17px; color: #D9D3C0; }

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}
.final-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255,247,234,0.3);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rice-cream);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.2s ease;
}
.final-cta-btn svg { width: 15px; height: 15px; transition: transform 0.25s ease; }
.final-cta-btn:hover {
  border-color: var(--turmeric);
  background: rgba(255,201,60,0.08);
  transform: translateY(-2px);
}
.final-cta-btn:hover svg { transform: translateX(3px); }
.final-cta-btn--primary {
  background: var(--gradient-brand);
  border-color: transparent;
  box-shadow: var(--glow-red);
}
.final-cta-btn--primary:hover { background: var(--gradient-brand); filter: brightness(1.1); }

@media (max-width: 680px) {
  .final-cta-actions { flex-direction: column; align-items: stretch; }
  .final-cta-btn { justify-content: center; }
}

/* ==========================================================================
   Explore Products — category tile grid
   ========================================================================== */
.section-explore {
  position: relative;
  background: var(--gradient-dark);
  color: var(--rice-cream);
  overflow: hidden;
}
.section-explore::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(115deg, transparent 40%, rgba(255,201,60,0.06) 50%, transparent 60%),
    radial-gradient(circle at 90% 90%, rgba(215,31,20,0.22), transparent 45%);
  pointer-events: none;
}
.section-explore .section-head { position: relative; }
.section-explore .section-head p { color: #D9D3C0; }

.category-tile-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,247,234,0.08);
  border: 1px solid rgba(255,247,234,0.1);
  border-radius: var(--radius);
  overflow: hidden;
}

.category-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 34px 22px 26px;
  min-height: 160px;
  background: var(--banana-leaf);
  overflow: hidden;
  isolation: isolate;
}

/* Photo background + dark gradient so the label stays legible */
.category-tile-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -2;
  transition: transform 0.6s ease;
}
.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,8,4,0.88) 0%, rgba(20,8,4,0.45) 50%, rgba(20,8,4,0.12) 100%);
  z-index: -1;
  transition: opacity 0.4s ease;
}

.category-tile-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  max-width: 15ch;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}
.category-tile-arrow {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--tile-accent, var(--turmeric));
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.category-tile:hover .category-tile-bg {
  transform: scale(1.07);
}
.category-tile:hover::after {
  opacity: 0.85;
}
.category-tile:hover .category-tile-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Cycle accent colors per tile across the brand palette */
.category-tile:nth-child(8n+1) { --tile-accent: var(--turmeric); }
.category-tile:nth-child(8n+2) { --tile-accent: var(--red-bright); }
.category-tile:nth-child(8n+3) { --tile-accent: var(--turmeric); }
.category-tile:nth-child(8n+4) { --tile-accent: var(--atsuete); }
.category-tile:nth-child(8n+5) { --tile-accent: var(--red-bright); }
.category-tile:nth-child(8n+6) { --tile-accent: var(--turmeric); }
.category-tile:nth-child(8n+7) { --tile-accent: var(--atsuete); }
.category-tile:nth-child(8n+8) { --tile-accent: var(--red-bright); }

.section-explore-cta {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

/* ---------- Process steps (legitimate sequence) ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.process-step {
  padding: 28px 24px;
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  border: var(--border);
  box-shadow: 0 6px 18px rgba(28,11,6,0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(28,11,6,0.12);
}
.process-step::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--gradient-brand);
}
.process-step .num {
  font-family: var(--font-mono);
  color: var(--atsuete);
  font-size: 13px;
}
.process-step h3 {
  font-size: 22px;
  margin-top: 14px;
}
.process-step p {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--char-soft);
}
.process-step .step-icon {
  width: 34px; height: 34px; margin-top: 18px; padding: 7px;
  color: var(--white);
  background: var(--gradient-warm);
  border-radius: 999px;
  box-sizing: content-box;
}

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 26px;
}
.product-card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(36,27,20,0.12);
}
.product-media {
  aspect-ratio: 4/3;
  flex: 0 0 auto;
  background: linear-gradient(150deg, var(--sack-tan), #F6CE93);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.product-media svg { width: 58%; height: 58%; color: var(--banana-leaf); }
.product-media img { position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); object-fit: contain; }
.product-media .qc-seal {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 56px;
  height: 56px;
  opacity: 0.9;
}
.product-body { padding: 20px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.product-cat {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--atsuete);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-body h3 {
  font-size: 23px;
  margin-top: 8px;
  min-height: 2.4em;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-body p {
  font-size: 14px; color: var(--char-soft); margin-top: 8px;
  min-height: 4.8em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.product-meta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(36,27,20,0.2);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--char-soft);
  min-height: 1.4em;
}
.product-meta span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Category filter tabs ---------- */
.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-tab {
  padding: 9px 18px;
  border: 1px solid var(--char);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: transparent;
  transition: background .15s ease, color .15s ease;
}
.filter-tab.active, .filter-tab:hover {
  background: var(--gradient-brand);
  border-color: transparent;
  color: var(--white);
}

/* ---------- Partner strip ---------- */
.partner-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  padding: 34px 0;
}
.partner-strip .partner-name {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--char-soft);
  opacity: 0.75;
}

/* ---------- Timeline (about page — legitimate chronology) ---------- */
.timeline { position: relative; padding-left: 34px; border-left: 1px solid rgba(36,27,20,0.2); }
.timeline-item { position: relative; padding-bottom: 46px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -39px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gradient-brand);
  box-shadow: 0 0 0 4px rgba(215,31,20,0.14);
}
.timeline-item .year {
  font-family: var(--font-mono);
  color: var(--atsuete);
  font-size: 13px;
}
.timeline-item h3 { font-size: 22px; margin-top: 8px; }
.timeline-item p { margin-top: 8px; color: var(--char-soft); max-width: 60ch; }

/* ---------- Cert badges ---------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 22px;
}
.cert-grid--serve, .cert-grid--inquiry { grid-template-columns: repeat(7, 1fr); }
@media (max-width: 1100px) {
  .cert-grid--serve, .cert-grid--inquiry { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .cert-grid--serve, .cert-grid--inquiry { grid-template-columns: repeat(2, 1fr); }
}
.cert-card {
  border: var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--white);
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.cert-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(28,11,6,0.1); }
.cert-card svg {
  width: 40px; height: 40px; margin: 0 auto 12px; padding: 9px;
  color: var(--white);
  background: var(--gradient-brand);
  border-radius: 999px;
  box-sizing: content-box;
}
.cert-card h4 { font-family: var(--font-body); font-weight: 600; font-size: 14.5px; }
.cert-card p { font-size: 12.5px; color: var(--char-soft); margin-top: 6px; }

.cert-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.cert-card--link:hover { border-color: var(--atsuete); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}
.info-item { display: flex; gap: 16px; padding: 20px 0; border-top: 1px dashed rgba(36,27,20,0.2); }
.info-item:first-child { border-top: none; }
.info-item svg { width: 22px; height: 22px; color: var(--atsuete); flex-shrink: 0; margin-top: 2px; }
.info-item h4 { font-family: var(--font-body); font-weight: 600; font-size: 15px; }
.info-item p { font-size: 14.5px; color: var(--char-soft); margin-top: 4px; }

.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--char-soft);
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(36,27,20,0.28);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--char);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid var(--atsuete);
  outline-offset: 1px;
  border-color: var(--atsuete);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 12.5px; color: var(--char-soft); margin-top: -6px; margin-bottom: 20px; }
#form-status { font-family: var(--font-mono); font-size: 13px; margin-top: 6px; min-height: 20px; }
#form-status.success { color: #2f6b3f; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: var(--gradient-brand);
  color: var(--white);
  padding: 36px 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(22px, 2.6vw, 28px); }
.cta-band p { margin-top: 8px; opacity: 0.92; font-size: 15px; }
.cta-band .hero-actions { justify-content: center; margin-top: 18px; }

/* ---------- Filter bar (tabs + search) ---------- */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-bar .filter-tabs { margin-bottom: 0; flex: 1; }

.product-search {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 240px;
}
.product-search svg {
  position: absolute;
  left: 14px;
  width: 16px;
  height: 16px;
  color: var(--char-soft);
  pointer-events: none;
}
.product-search input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border: 1px solid rgba(28,11,6,0.2);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--char);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.product-search input::placeholder { color: var(--char-soft); }
.product-search input:focus {
  outline: none;
  border-color: var(--atsuete);
  box-shadow: 0 0 0 3px rgba(215,31,20,0.12);
}
.product-search input[type="search"]::-webkit-search-decoration,
.product-search input[type="search"]::-webkit-search-cancel-button,
.product-search input[type="search"]::-webkit-search-results-button,
.product-search input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
}

.no-results {
  text-align: center;
  padding: 40px 0;
  color: var(--char-soft);
  font-size: 15px;
}

@media (max-width: 680px) {
  .filter-bar { flex-direction: column; align-items: stretch; }
  .product-search { width: 100%; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--gradient-dark);
  color: #D6BFAF;
  padding: 20px 0 18px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(245,238,220,0.12);
}

.footer-logo { display: flex; align-items: flex-start; }
.footer-brand { display: flex; flex-direction: column; justify-content: flex-start; }
.footer-brand .footer-logo { color: var(--rice-cream); margin-top: 0; }
.footer-brand p { margin-top: 14px; font-size: 15px; max-width: 38ch; color: #A69C88; }
.footer-brand p a { color: inherit; 
  text-underline-offset: 3px; 
  text-decoration-color: rgba(166,156,136,0.5); 
  transition: color 0.15s ease, text-decoration-color 0.15s ease; 
}

.footer-company-name {
    text-align: center;
    margin-top: 0px;
    margin-bottom: 5px;
}

.company-main {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.10em;
    color: var(--rice-cream);
}

.company-sub {
    margin-top: 0px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--turmeric);
}

.footer-brand .footer-tagline {
  margin-top: 8px;
  font-size: 13px;
  color: #8A6A5C;
}
.footer-social {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-social-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--turmeric);
}
.footer-social-icons {
  display: flex;
  gap: 10px;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,247,234,0.2);
  color: #D9D3C0;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.social-icon svg { width: 17px; height: 17px; }
.social-icon:hover {
  border-color: var(--turmeric);
  color: var(--rice-cream);
  background: rgba(255,201,60,0.08);
  transform: translateY(-3px);
}

.footer-col a.footer-address:hover {
  color: var(--turmeric);
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--turmeric);
  margin-bottom: 16px;
  margin-top: 1rem;
}
.footer-col ul li { margin-bottom: 3px; font-size: 14.5px; }
.footer-col a:hover { color: var(--rice-cream); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 5px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-col .footer-social-icons {
  margin-top: 4px;
}

/* ==========================================================================
   PRODUCT PAGES
   ========================================================================== */
.page-hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  margin-top: 14px;
}
.page-hero-art { width: 100%; max-width: 920px; }
.export-globe { max-width: 400px; aspect-ratio: 1 / 1; margin-left: auto; }
.export-globe canvas { display: block; cursor: grab; touch-action: none; }
.export-globe.is-dragging canvas { cursor: grabbing; }
.page-hero-note {
  margin-top: 18px !important;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: #A69C88;
  max-width: 60ch;
}

@media (max-width: 900px) {
  .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero-art { max-width: 520px; margin: 0 auto; order: -1; }
  .export-globe { max-width: 320px; }
}

/* ==========================================================================
   Category Accordion — interactive expand/collapse
   ========================================================================== */
.cat-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cat-item {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.cat-item:has(.cat-item-trigger[aria-expanded="true"]) {
  border-color: var(--atsuete);
  box-shadow: 0 14px 30px rgba(215,31,20,0.1);
}

.cat-item-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  background: transparent;
  border: none;
  text-align: left;
}

.cat-item-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sack-tan);
  color: var(--atsuete);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.cat-item-icon svg { width: 22px; height: 22px; }
.cat-item-trigger[aria-expanded="true"] .cat-item-icon {
  background: var(--gradient-brand);
  color: var(--white);
  transform: scale(1.08) rotate(-6deg);
}

.cat-item-title {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--char);
}
.cat-item-num {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  color: var(--char-soft);
  letter-spacing: 0.06em;
}

.cat-item-chev {
  flex-shrink: 0;
  display: flex;
  color: var(--char-soft);
  transition: transform 0.35s cubic-bezier(.65,0,.35,1), color 0.3s ease;
}
.cat-item-chev svg { width: 18px; height: 18px; }
.cat-item-trigger[aria-expanded="true"] .cat-item-chev {
  transform: rotate(180deg);
  color: var(--atsuete);
}

.cat-item-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(.65,0,.35,1);
}
.cat-item-panel-inner {
  padding: 0 26px 26px 90px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s ease 0.05s, transform 0.35s ease 0.05s;
}
.cat-item.is-open .cat-item-panel-inner {
  opacity: 1;
  transform: translateY(0);
}
.cat-item-panel-inner p {
  font-size: 15px;
  color: var(--char-soft);
  line-height: 1.7;
  max-width: 68ch;
}

.sku-gallery {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px;
}
.sku-card {
  margin: 0;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.sku-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(36,27,20,0.12); }
.sku-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  background: var(--white);
  padding: 18px;
}
.sku-card { height: 100%; }
.sku-card figcaption { padding: 4px 16px 18px; display: flex; flex-direction: column; gap: 4px; }
/* Every card clamps name/sub/description to a fixed number of lines — with
   an ellipsis on overflow — so every card in the gallery is the same height,
   whether its description is one sentence or several. */
.sku-name {
  font-family: var(--font-body); font-weight: 700; font-size: 16px; color: var(--char); line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em;
}
.sku-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--char-soft);
  letter-spacing: 0.02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.sku-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 26px;
}
.sku-page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  border: var(--border);
  background: var(--white);
  color: var(--char);
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.sku-page-btn svg { width: 17px; height: 17px; }
.sku-page-btn:hover:not(:disabled) { border-color: var(--atsuete); color: var(--atsuete); transform: translateY(-2px); }
.sku-page-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.sku-page-indicator {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--char-soft);
  letter-spacing: 0.04em;
  min-width: 52px;
  text-align: center;
}

@media (max-width: 680px) {
  .cat-item-trigger { padding: 18px 18px; gap: 12px; }
  .cat-item-title { font-size: 16px; }
  .cat-item-panel-inner { padding: 0 18px 20px 18px; }
  .sku-gallery { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
  .sku-card img { padding: 14px; }
  .sku-name { font-size: 14.5px; }
}

/* ==========================================================================
   Machines & Equipment — closing banner
   ========================================================================== */
.section-machines {
  background: var(--gradient-dark);
  color: var(--rice-cream);
  position: relative;
  overflow: hidden;
}
.section-machines::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 90% 20%, rgba(255,201,60,0.2), transparent 45%),
    radial-gradient(circle at 5% 90%, rgba(215,31,20,0.25), transparent 45%);
  pointer-events: none;
}
.section-machines-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.section-machines-text h2 { font-size: clamp(28px, 3.2vw, 38px); margin-top: 14px; }
.section-machines-text p { margin-top: 16px; font-size: 17px; color: #D9D3C0; max-width: 52ch; }
.section-machines-text .btn { margin-top: 26px; }
.section-machines-art { width: 100%; max-width: 280px; margin: 0 auto; }

.input-needed-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(215,31,20,0.06);
  border: 1px dashed rgba(215,31,20,0.35);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-top: 20px;
}
.input-needed-icon { flex-shrink: 0; font-size: 16px; line-height: 1.4; }
.input-needed-notice p { font-size: 13.5px; color: var(--char-soft); margin: 0; }
.input-needed-notice strong { color: var(--atsuete); }

.input-needed-notice--dark {
  background: rgba(255,201,60,0.08);
  border: 1px dashed rgba(255,201,60,0.35);
}
.input-needed-notice--dark p { color: #D9D3C0; }
.input-needed-notice--dark strong { color: var(--turmeric); }

/* ---------- Business Package tiles ---------- */
.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.package-card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.package-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(36,27,20,0.12); }
.package-card-media {
  aspect-ratio: 4 / 3;
  background: var(--sack-tan);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.package-card-media img { width: 100%; height: 100%; object-fit: cover; }
.package-card-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.package-card h3 { font-size: 21px; }
.package-card p { margin-top: 10px; color: var(--char-soft); font-size: 14.5px; flex: 1; line-height: 1.6; }
.package-link {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--atsuete);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .15s ease;
}
.package-link:hover { gap: 10px; }

.hero-subhead {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  color: var(--rice-cream);
  margin-top: 16px;
  max-width: 46ch;
}

@media (max-width: 900px) {
  .section-machines-inner { grid-template-columns: 1fr; }
  .section-machines-art { max-width: 200px; order: -1; }
}


/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .hero-slide-inner { grid-template-columns: 1fr; padding-top: 70px; padding-bottom: 100px; }
  .hero-slide-art { height: 260px; order: -1; }
  .hero-slider { min-height: 640px; }
  .hero-slide-btn { width: 42px; height: 42px; }
  .hero-slide-prev { left: 10px; }
  .hero-slide-next { right: 10px; }
}
@media (max-width: 680px) {
  .process-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  section { padding: 60px 0; }
}


/* ==========================================================================
   DESIGN V2 — from the Claude Design file "Miguelitos Home v2"
   Flat, editorial look: cream + maroon + brand red, heavy condensed headings,
   square corners, thin rules. Global tokens/header/footer/buttons apply to every
   page; the section layouts are scoped to body.home.
   ========================================================================== */
:root {
  --atsuete:      #C9251B;
  --red-bright:   #DB3A2E;
  --red-deep:     #9C1A12;
  --maroon:       #3B0F0B;
  --maroon-2:     #451A16;
  --turmeric:     #F1E4D4;
  --banana-leaf:  #231715;
  --banana-leaf-2:#2E201D;
  --rice-cream:   #F5EEE7;
  --sack-tan:     #EBE2D8;
  --char:         #231815;
  --char-soft:    #6B5B54;
  --white:        #FBF8F4;

  --gradient-brand: #C9251B;
  --gradient-warm:  #C9251B;
  --gradient-dark:  #3B0F0B;
  --glow-red:  none;
  --glow-gold: none;

  --font-display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --font-body:    'Figtree', -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'Figtree', -apple-system, 'Segoe UI', sans-serif;

  --container: 1348px;
  --radius: 0;
  --radius-sm: 0;
  --border: 1px solid rgba(35,24,21,0.16);
  --rule: rgba(35,24,21,0.16);
}
.container { padding: 0 34px; }
:focus-visible { outline: 2px solid var(--atsuete); outline-offset: 2px; }

h1, h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.005em; line-height: 0.98; }
h3, h4 { font-family: var(--font-body); font-weight: 700; line-height: 1.2; }
.cat-item-title { font-family: var(--font-body); font-weight: 700; font-size: 19px; }

/* ---------- Buttons ---------- */
.btn {
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  padding: 14px 24px;
  gap: 10px;
}
.btn-primary { background: var(--atsuete); color: #fff; box-shadow: none; }
.btn-primary:hover { filter: none; background: #A91E15; transform: none; }
.btn-ghost:hover { background: rgba(255,255,255,0.08); transform: none; }
.btn-dark { background: var(--char); box-shadow: none; }
.btn-dark:hover { filter: none; background: #3A2A25; transform: none; }

/* ---------- Header ---------- */
.site-header { background: var(--rice-cream); color: var(--char); border-bottom: 1px solid rgba(35,24,21,0.1); }
.header-inner { padding-top: 15px; padding-bottom: 15px; gap: 32px; }
.logo-stamp .stamp-badge { height: 41px; }
.logo-stamp:hover .stamp-badge { transform: none; }

.nav-toggle { background: none; border: 1px solid rgba(35,24,21,0.35); border-radius: 2px; }
.nav-toggle::after { display: none; }
.nav-toggle:hover, .nav-toggle:focus-visible, .nav-toggle.active { border-color: var(--atsuete); box-shadow: none; }
.nav-toggle-bar { background: var(--char); border-radius: 0; }
.nav-toggle.active .nav-toggle-bar { background: var(--atsuete); }

/* Slide-in menu (phones / tablets) */
.nav-panel { color: var(--rice-cream); background: var(--maroon); border-left: 1px solid rgba(255,255,255,0.12); box-shadow: -24px 0 60px rgba(0,0,0,0.4); }
.nav-panel::before { display: none; }
.site-nav a { font-family: var(--font-body); border-radius: 0; }
.site-nav a::before { background: var(--atsuete); border-radius: 0; }
.site-nav a:hover, .site-nav a.active { background: rgba(255,255,255,0.06); color: #fff; }
.shop-toggle { border-radius: 0; font-family: var(--font-body); }
.shop-menu li a { border-radius: 0; }
.site-nav a.btn { justify-content: center; font: 600 15px var(--font-body); letter-spacing: 0; text-transform: none; padding: 14px 22px; border: 0; border-radius: 2px; color: #fff; }
.site-nav a.btn::before { display: none; }
.site-nav a.btn-primary:hover { background: #A91E15; color: #fff; padding-left: 22px; }

/* Inline menu (desktop) */
@media (min-width: 1100px) {
  .header-inner { flex-wrap: wrap; align-items: center; padding-top: 12px; padding-bottom: 0; gap: 0 32px; }
  .nav-toggle { display: none; }
  .site-nav, .nav-panel { display: contents; color: var(--char); }
  .nav-panel { visibility: visible; opacity: 1; transform: none; }
  .logo-stamp { order: 1; }
  .nav-cta { order: 2; margin: 0 0 0 auto; padding: 0; border: 0; flex-direction: row; align-items: center; gap: 22px; opacity: 1; transform: none; transition: none; }
  .nav-panel .nav-links {
    order: 3; flex: 0 0 100%; flex-direction: row; justify-content: center; gap: 6px;
    margin: 12px 0 0; padding: 0; border-top: 1px solid rgba(35,24,21,0.1);
  }
  .nav-panel .nav-links li { opacity: 1; transform: none; transition: none; }
  .site-nav .nav-links a {
    position: relative; font: 500 15.5px/1 var(--font-body); letter-spacing: 0; text-transform: none;
    padding: 16px 18px 17px; border: 0; border-radius: 0; color: var(--char); background: none;
  }
  .site-nav .nav-links a::before { display: none; }
  .site-nav .nav-links a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--atsuete);
    transform: scaleY(0); transform-origin: bottom; transition: transform 0.18s ease;
  }
  .site-nav .nav-links a:hover, .site-nav .nav-links a.active { color: var(--atsuete); background: none; padding-left: 18px; }
  .site-nav .nav-links a:hover::after { transform: scaleY(1); }
  .shop-toggle {
    width: auto; gap: 7px; padding: 10px 6px; background: none; border: 0; color: var(--char);
    font: 500 15.5px var(--font-body); letter-spacing: 0; text-transform: none;
  }
  .shop-toggle:hover, .shop-toggle[aria-expanded="true"] { background: none; color: var(--atsuete); }
  .shop-toggle .chev { width: 9px; height: 6px; }
  .shop-menu {
    position: absolute; top: 100%; right: 0; min-width: 190px; margin: 6px 0 0; padding: 6px 0;
    max-height: none; overflow: visible; background: var(--white); border: 1px solid var(--rule);
    box-shadow: 0 12px 30px rgba(35,24,21,0.12); opacity: 0; visibility: hidden; transition: opacity 0.2s ease;
  }
  .shop-dropdown.open .shop-menu { opacity: 1; visibility: visible; }
  .shop-menu li a { color: var(--char); padding: 10px 16px; font-size: 14.5px; }
  .shop-menu li a:hover { background: var(--sack-tan); color: var(--atsuete); }
}

/* ---------- Product cards (flat, lined) ---------- */
.product-card { background: transparent; border: 1px solid rgba(35,24,21,0.14); border-radius: 0; box-shadow: none; }
.product-card:hover { transform: none; box-shadow: none; border-color: var(--char); }
.product-media { aspect-ratio: 1 / 1; background: #EBE2D8; }
.product-media img { inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); }
.product-body h3 { order: 1; font-size: 18px; margin-top: 0; min-height: 2.5em; }
.product-cat { order: 2; margin-top: 4px; font: 500 12px var(--font-body); letter-spacing: 0.06em; color: var(--char-soft); }
.product-body p { order: 3; font-size: 14px; color: var(--char-soft); }
.product-meta { order: 4; border-top: 1px solid rgba(35,24,21,0.14); font-family: var(--font-body); font-size: 12.5px; }

/* ---------- Footer ---------- */
.site-footer { background: #231715; color: #E6D6C6; padding: 56px 0 22px; }
.footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.4fr 0.9fr; gap: 40px; border-bottom: 0; padding-bottom: 0; }
.footer-logo { height: 40px; width: auto; align-self: flex-start; }
.footer-brand .footer-company-name {
  text-align: left; margin: 16px 0 0; font: 700 19px var(--font-body); color: #fff; max-width: 34ch;
}
.footer-brand .footer-tagline { margin-top: 8px; font-size: 14px; line-height: 1.6; color: #E6D6C6; max-width: 34ch; }
.footer-col h4 { font: 600 14px var(--font-body); letter-spacing: 0; text-transform: none; color: #fff; margin: 0 0 14px; }
.footer-col ul li { font-size: 14px; margin-bottom: 7px; }
.footer-col a:hover, .footer-col a.footer-address:hover { color: #fff; text-decoration: underline; }
.social-icon { border-radius: 2px; width: 34px; height: 34px; }
.social-icon:hover { border-color: #fff; color: #fff; background: none; transform: none; }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); font-family: var(--font-body); font-size: 13px; letter-spacing: 0; color: rgba(230,214,198,0.7); }

/* ==========================================================================
   HOME PAGE
   ========================================================================== */
.home section { padding: 88px 0; }
.home .section-head .eyebrow { display: none; }
.home .section-head { max-width: none; margin-bottom: 40px; padding-bottom: 26px; border-bottom: 1px solid var(--char); }
.home .section-head h2 { font-size: clamp(38px, 4.2vw, 60px); margin: 0; color: var(--char); }
.home .section-head p { margin-top: 14px; font-size: 15.5px; color: var(--char); }
.home .section-alt { background: var(--rice-cream); }

/* Hero — fixed left, cycling right */
.home .hero { background: var(--maroon); padding: 0; }
.home .hero::after { display: none; }
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; min-height: 640px; max-width: var(--container); margin: 0 auto; padding: 0 34px; }
.hero-static {
  display: flex; flex-direction: column; justify-content: center;
  padding: 72px 20px 72px 0;
}
.home .hero h1 { font-size: clamp(34px, 3.6vw, 58px); line-height: 1.08; margin: 0; color: var(--rice-cream); }
.home .hero p.lede { font-size: 20px; line-height: 1.5; color: rgba(245,238,231,0.88); max-width: 430px; margin-top: 30px; }
.home .hero-actions { margin-top: 34px; }
.hero-script {
  display: block; margin: 0.05em 0 0.03em; font: 400 0.6em/1.1 'Kaushan Script', cursive;
  text-transform: none; letter-spacing: 0; color: #F3C5B5; transform: rotate(-3deg); transform-origin: left center;
}
.home .hero .btn {
  gap: 12px; padding: 16px 30px; border-radius: 999px;
  font: 600 14px/1 var(--font-body); letter-spacing: 0.09em; text-transform: uppercase;
}
.home .hero .btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.home .hero .btn-primary:hover { background: #A91E15; }
.home .hero .btn-ghost { border: 1px solid rgba(245,238,231,0.6); color: var(--rice-cream); }
.hero-dots { display: flex; align-items: center; gap: 9px; margin-top: 44px; }
.hero-dot {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(245,238,231,0.4);
  cursor: pointer; transition: width 0.3s ease, background 0.3s ease;
}
.hero-dot:hover { background: rgba(245,238,231,0.7); }
.hero-dot.is-active { width: 32px; background: var(--rice-cream); }

/* the cycling panel */
.home .hero-stage { --cap-h: 200px; position: relative; display: grid; height: 640px; min-height: 0; background: #451A16; overflow: hidden; }
.home .hero-slide { position: relative; inset: auto; grid-area: 1 / 1; align-items: stretch; }
.home .hero-slide-art { position: absolute; inset: 0; height: auto; margin: 0; overflow: hidden; background: #451A16; display: flex; align-items: center; justify-content: center; }
.home .hero-product-art { background: transparent; padding: 36px 56px 4px; bottom: var(--cap-h); }
.home .hero-product-art img { width: 100%; height: 100%; max-height: none; object-fit: contain; filter: drop-shadow(0 24px 28px rgba(10, 4, 3, 0.45)); }
.hero-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 14px 24px; background: rgba(35, 24, 21, 0.9); color: var(--rice-cream); font: 500 13.5px var(--font-body);
}
.hero-caption strong { display: inline-block; margin-right: 12px; padding: 3px 8px; background: var(--atsuete); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-caption a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hero-caption a:hover { color: #F1E4D4; }
.hero-caption--feature {
  display: block; min-height: var(--cap-h);
  padding: 22px 28px 24px; background: transparent; border-top: 1px solid rgba(245, 238, 231, 0.14);
}
.hero-caption--feature h2 { font-size: clamp(22px, 1.8vw, 30px); line-height: 1.04; color: #fff; margin-top: 8px; }
.hero-caption--feature p { margin-top: 8px; max-width: 58ch; font: 400 14px/1.5 var(--font-body); color: rgba(245,238,231,0.86); }
.hero-caption--feature a { white-space: nowrap; }
.hero-caption-tag { display: inline-block; padding: 3px 8px; background: var(--atsuete); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-caption-detail { display: block; margin-top: 10px; font-size: 12.5px; color: rgba(245,238,231,0.7); }

/* arrows sit on the edges of the cycling panel only */
.home .hero-slide-btn {
  width: 44px; height: 44px; border-radius: 0; top: 50%; bottom: auto; transform: translateY(-50%); z-index: 6;
  border: 1px solid rgba(245,238,231,0.5); background: rgba(35,24,21,0.75); backdrop-filter: none;
}
.home .hero-slide-btn:hover { background: var(--atsuete); border-color: var(--atsuete); transform: translateY(-50%); }
.home .hero-slide-prev { left: 12px; right: auto; }
.home .hero-slide-next { right: 12px; left: auto; }


/* Tag cloud band — after What's New */
.home .section-tagcloud { padding: 0 0 88px; }
.tagcloud-band { background: var(--atsuete); border-radius: 24px; padding: 44px 40px 36px; text-align: center; }
.tagcloud-heading {
  font: 400 clamp(19px, 2.2vw, 27px) var(--font-display); text-transform: uppercase; letter-spacing: 0.005em;
  line-height: 1.3; color: #fff; max-width: 56ch; margin: 0 auto;
}
.tagcloud-script {
  display: inline-block; margin-left: 10px; font: 400 0.82em 'Kaushan Script', cursive;
  text-transform: none; letter-spacing: 0; color: #fff; opacity: 0.94;
}
.tagcloud-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin: 26px 0 0; padding: 0; list-style: none;
}
.tagcloud-list li {
  border: 1px solid rgba(255,255,255,0.7); border-radius: 999px; padding: 9px 20px;
  font: 700 12px var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: #fff;
}
@media (max-width: 560px) {
  .tagcloud-band { padding: 32px 22px 28px; border-radius: 18px; }
  .tagcloud-list li { padding: 8px 16px; font-size: 11px; }
}

/* Red tagline strip */
.tagline-strip { background: var(--atsuete); color: #fff; font: 500 14px var(--font-body); }
.tagline-strip-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 13px; padding-bottom: 13px; }

/* What's New */
.new-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.new-media { position: relative; aspect-ratio: 4 / 5; background: #EBE2D8; border: 1px solid rgba(35,24,21,0.12); }
.new-media img { position: absolute; inset: 28px; width: calc(100% - 56px); height: calc(100% - 56px); object-fit: contain; }
.new-tag { position: absolute; top: 0; left: 0; z-index: 1; background: var(--atsuete); color: #fff; font: 700 12px var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 11px; }
.new-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 16px; }
.new-head h3 { font-size: 19px; }
.new-head span { font-size: 13px; color: var(--char-soft); white-space: nowrap; }
.new-card p {
  margin-top: 6px; font-size: 14.5px; color: var(--char-soft); max-width: 46ch;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* Featured — lined grid */
.home #featured-products-grid { grid-template-columns: repeat(4, 1fr); gap: 0; border-bottom: 1px solid rgba(35,24,21,0.14); }
.home #featured-products-grid .product-card { border: 0; border-right: 1px solid rgba(35,24,21,0.14); padding: 16px; }
.home #featured-products-grid .product-card:last-child { border-right: 0; }
.home #featured-products-grid .product-body { padding: 14px 0 0; }
.home #featured-products-grid .product-body h3 { min-height: 0; }
.home #featured-products-grid .product-card:hover .product-body h3 { text-decoration: underline; }

/* Explore — photo grid */
.home .section-explore { background: var(--rice-cream); color: var(--char); }
.home .section-explore::before { display: none; }
.home .section-head--split { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 40px; }
.section-head-side { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.home .section-head--split p { margin: 0; max-width: 34ch; }
.text-link { color: var(--atsuete); font-weight: 600; font-size: 15px; white-space: nowrap; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link:hover { color: #A91E15; }
.home .category-tile-grid { gap: 30px 20px; background: none; border: 0; border-radius: 0; overflow: visible; }
.home .category-tile { background: none; padding: 0; min-height: 0; gap: 12px; justify-content: flex-start; color: var(--char); cursor: pointer; transition: transform 0.25s ease; }
.home .category-tile-bg { position: relative; inset: auto; display: block; width: 100%; aspect-ratio: 1 / 1; background-size: contain; background-position: center; background-color: var(--sack-tan); border-radius: var(--radius); z-index: auto; transition: filter 0.3s ease, box-shadow 0.25s ease; }
.home .category-tile::after { display: none; }
.home .category-tile:hover { transform: translateY(-6px); }
.home .category-tile:hover .category-tile-bg { transform: none; filter: brightness(1.06); box-shadow: 0 16px 28px rgba(28,11,6,0.18); }
.home .category-tile-label { max-width: none; font: 600 16px var(--font-body); text-shadow: none; color: var(--char); }
.home .category-tile:hover .category-tile-label { color: var(--atsuete); }
.home .category-tile-arrow { display: none; }

/* Business packages */
.section-biz { background: var(--maroon); color: var(--rice-cream); }
.biz-head { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 60px; padding-bottom: 40px; }
.biz-script { display: block; margin-bottom: 6px; font: 400 26px/1 'Kaushan Script', cursive; text-transform: none; letter-spacing: 0; color: #F3C5B5; }
.biz-head h2 { font-size: clamp(36px, 3.8vw, 54px); color: var(--rice-cream); }
.biz-head-side p { font-size: 15.5px; line-height: 1.6; color: rgba(245,238,231,0.9); max-width: 44ch; }
.biz-head-side .biz-note {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(245,238,231,0.3);
  font-size: 13.5px; color: rgba(245,238,231,0.6);
}
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-bottom: 44px; }
.biz-card {
  display: flex; flex-direction: column; padding: 14px; background: var(--rice-cream);
  border-radius: 14px; color: var(--char); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.biz-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,0.28); }
.biz-card-media {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3;
  background: var(--sack-tan); border-radius: 8px; color: var(--atsuete); overflow: hidden;
}
.biz-card-media img { width: 100%; height: 100%; object-fit: cover; }
.biz-card h3 { margin-top: 14px; font: 700 13px var(--font-body); letter-spacing: 0.01em; text-transform: uppercase; color: var(--atsuete); }
.biz-card p { margin-top: 8px; font-size: 13px; line-height: 1.55; color: var(--char-soft); flex: 1; }
.biz-card-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  font: 700 11.5px var(--font-body); letter-spacing: 0.04em; text-transform: uppercase; color: var(--atsuete);
}
.biz-card-link svg { transition: transform 0.2s ease; }
.biz-card:hover .biz-card-link svg { transform: translateX(3px); }
.biz-foot { display: flex; justify-content: center; }
.biz-foot .btn { border-radius: 999px; }

/* Shop Online + final CTA — plain lists */
.section-shop-list { padding: 72px 0; background: #F3C5B5; }
.shop-row, .cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.shop-row { align-items: center; }
.shop-row h2 { font-size: clamp(38px, 4.2vw, 60px); color: var(--maroon); }
.shop-row h2 .script-word { font: 400 0.82em/1 'Kaushan Script', cursive; text-transform: none; letter-spacing: 0; color: var(--atsuete); margin-left: 0.12em; }
.shop-row p { color: var(--maroon); }
.shop-row p { margin-top: 10px; font-size: 15px; }
.shop-list { display: flex; flex-direction: column; gap: 14px; }
.shop-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 28px; background: #FBF6EF; border-radius: 999px; font: 400 19px/1.2 var(--font-display); text-transform: uppercase; letter-spacing: 0.02em; color: var(--maroon); transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease; }
.shop-list svg, .cta-list svg { width: 16px; height: 16px; flex-shrink: 0; }
.cta-list a:hover { color: var(--atsuete); }
.shop-list svg { width: 19px; height: 19px; }
.shop-list a:hover { background: #fff; color: var(--atsuete); transform: translateX(4px); }

.section-cta { background: var(--rice-cream); }
.section-cta h2 { font-size: clamp(52px, 6.8vw, 104px); color: var(--atsuete); }
.cta-side p { font-size: 16px; line-height: 1.6; max-width: 46ch; margin-bottom: 28px; }
.cta-list { border-top: 1px solid var(--char); margin-bottom: 28px; }
.cta-list a { display: flex; justify-content: space-between; align-items: center; padding: 18px 2px; border-bottom: 1px solid var(--rule); font-weight: 700; font-size: 17px; }

/* Home — tablet & phone */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 900px) {
  .home section { padding: 64px 0; }
  .hero-split { grid-template-columns: 1fr; gap: 0; min-height: 0; padding: 0; }
  .home .hero-stage { --cap-h: 148px; order: -1; height: 500px; }
  .hero-dots { margin-top: 32px; }
  .hero-static { padding: 40px 24px 56px; }
  .home .hero-slide-btn { width: 40px; height: 40px; }
  .home .hero-slide-prev { left: 8px; }
  .home .hero-slide-next { right: 8px; }
  .hero-caption { padding: 10px 14px; font-size: 12.5px; }
  .hero-caption--feature { padding: 14px 16px 16px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-caption--feature h2 { font-size: 22px; }
  .hero-caption--feature p { font-size: 12.5px; }
  .home .section-head--split, .section-head-side, .biz-head, .shop-row, .cta-row { grid-template-columns: 1fr; }
  .section-head-side { flex-direction: column; align-items: flex-start; gap: 16px; }
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .home .category-tile-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tagline-strip-inner { flex-direction: column; gap: 4px; }
}
@media (max-width: 560px) {
  .biz-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}


/* ==========================================================================
   PRODUCT SPOTLIGHT — click a product to zoom it in with its description
   ========================================================================== */
.product-card, .sku-card, .new-card { cursor: zoom-in; }
.product-card:focus-visible, .sku-card:focus-visible, .new-card:focus-visible { outline: 2px solid var(--atsuete); outline-offset: 3px; }
.product-media img, .sku-card img, .new-media img { transition: transform 0.3s ease; }
.product-card:hover .product-media img, .sku-card:hover img, .new-card:hover .new-media img { transform: scale(1.06); }
.sku-desc {
  font-size: 13px; line-height: 1.5; color: var(--char-soft); margin-top: 4px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 4.5em;
}

body.spotlight-open { overflow: hidden; }
.spotlight { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.spotlight[hidden] { display: none; }
.spotlight-backdrop {
  position: absolute; inset: 0; background: rgba(20, 9, 6, 0.74);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.3s ease; cursor: zoom-out;
}
.spotlight.is-open .spotlight-backdrop { opacity: 1; }

.spotlight-panel {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  width: min(940px, 100%); max-height: calc(100vh - 48px); overflow: auto;
  background: var(--rice-cream); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.25, 1), opacity 0.25s ease;
}
.spotlight:not(.is-open) .spotlight-panel { opacity: 0; transform: scale(0.96); }

.spotlight-media { position: relative; aspect-ratio: 1 / 1; background: #EBE2D8; display: flex; align-items: center; justify-content: center; padding: 32px; }
.spotlight-media img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 22px 26px rgba(35, 24, 21, 0.28)); }
.spotlight-media img.is-zoomable { cursor: zoom-in; }
.spotlight-magnifier {
  position: absolute; width: 170px; height: 170px; border-radius: 50%;
  border: 3px solid #fff; box-shadow: 0 8px 24px rgba(35,24,21,0.4);
  pointer-events: none; background-repeat: no-repeat; z-index: 5;
  opacity: 0; transition: opacity 0.12s ease;
}
.spotlight-magnifier.is-active { opacity: 1; }
@media (max-width: 720px), (hover: none) {
  .spotlight-magnifier { display: none; }
}

.spotlight-body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 44px 44px 44px 40px; }
.spotlight-cat { font: 700 12px var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--atsuete); }
.spotlight-title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(32px, 3.6vw, 50px); line-height: 1; margin: 12px 0 20px; color: var(--char); }
.spotlight-desc { font-size: 17px; line-height: 1.6; color: var(--char); }
.spotlight-meta { margin-top: 24px; padding: 9px 13px; border: 1px solid var(--rule); font: 600 13px var(--font-body); color: var(--char-soft); }

.spotlight-close {
  position: absolute; top: 0; right: 0; z-index: 2; width: 46px; height: 46px; border: 0; padding: 0;
  background: var(--char); color: #fff; font-size: 30px; line-height: 1; transition: background 0.2s ease;
}
.spotlight-close:hover, .spotlight-close:focus-visible { background: var(--atsuete); }

@media (max-width: 720px) {
  .spotlight { padding: 12px; align-items: flex-end; }
  .spotlight-panel { grid-template-columns: 1fr; max-height: calc(100vh - 24px); }
  .spotlight-media { aspect-ratio: 4 / 3; padding: 20px; }
  .spotlight-body { padding: 26px 24px 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .spotlight-panel, .spotlight-backdrop, .product-media img, .sku-card img, .new-media img { transition: none; }
}

/* Export — global presence chips */
.market-chip-list { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }
.market-chip {
  display: flex; align-items: center; gap: 9px; border: 1px solid var(--rule); border-radius: 999px;
  padding: 10px 18px; font: 600 14px var(--font-body); color: var(--char);
}
.market-chip svg { width: 16px; height: 16px; color: var(--atsuete); flex-shrink: 0; }
.market-chip .flag { flex-shrink: 0; }
.flag.fi { width: 1.3em; height: 1.3em; border-radius: 3px; background-size: cover; flex-shrink: 0; }

/* Export — where to find Miguelitos */
.where-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.where-country { border-top: 2px solid var(--char); padding-top: 18px; }
.where-country h3 { display: flex; align-items: center; gap: 10px; font-size: 22px; }
.where-country h3 .flag.fi { width: 26px; height: 26px; border-radius: 5px; }
.where-list { margin: 18px 0 0; padding: 0; list-style: none; }
.where-list li { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.where-list li:last-child { border-bottom: none; }
.where-entry { display: flex; flex-direction: column; gap: 6px; }
.where-entry-head { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.where-entry strong { font-size: 15.5px; font-weight: 700; color: var(--char); line-height: 1.3; }
.where-role {
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--atsuete);
  background: rgba(215, 31, 20, 0.09); border-radius: 999px; padding: 3px 10px; white-space: nowrap;
}
.where-address, .where-branches { font-size: 13px; font-weight: 400; color: var(--char-soft); line-height: 1.5; }

/* Spotlight — cards that show an icon instead of a photo (equipment) */
.spotlight-media svg { width: 62%; height: 62%; }

/* ==========================================================================
   Footer label + tablet & phone product sizing (2-3 cards per row)
   ========================================================================== */
.footer-col ul li.footer-label { margin: 16px 0 4px; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: #fff; }

@media (max-width: 900px) {
  /* three across on tablets */
  .product-grid, .new-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .sku-gallery { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .home #featured-products-grid { grid-template-columns: repeat(3, 1fr); }
  .home #featured-products-grid .product-card { padding: 10px; border-right: 1px solid rgba(35,24,21,0.14); }
  .home #featured-products-grid .product-card:nth-child(3n) { border-right: 0; }

  /* smaller cards: same photos, tighter text */
  .product-media img { inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); }
  .product-body { padding: 12px 12px 14px; }
  .product-body h3 { font-size: 15px; }
  .product-cat { font-size: 10.5px; letter-spacing: 0.05em; }
  .product-body p { font-size: 12.5px; margin-top: 6px; }
  .product-meta { margin-top: 10px; padding-top: 10px; font-size: 11.5px; }
  .sku-card img { padding: 10px; }
  .sku-card figcaption { padding: 2px 12px 14px; }
  .sku-name { font-size: 14px; }
  .sku-sub { font-size: 11px; }
  .sku-desc { font-size: 12px; }
  .new-media img { inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); }
  .new-tag { font-size: 10px; padding: 4px 8px; }
  .new-head { flex-direction: column; align-items: flex-start; gap: 2px; margin-top: 12px; }
  .new-head h3 { font-size: 15px; }
  .new-head span { font-size: 11.5px; white-space: normal; }
  .new-card p { font-size: 12.5px; }
}

@media (max-width: 560px) {
  .container { padding: 0 22px; }
  .hero-static { padding-left: 22px; padding-right: 22px; }

  /* two across on phones */
  .product-grid, .new-grid, .sku-gallery, .home #featured-products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .new-grid { gap: 12px; }
  .home #featured-products-grid .product-card { border-right: 1px solid rgba(35,24,21,0.14); }
  .home #featured-products-grid .product-card:nth-child(2n) { border-right: 0; }
  .home #featured-products-grid .product-card:nth-child(-n+2) { border-bottom: 1px solid rgba(35,24,21,0.14); }
  .new-card:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 6px); justify-self: center; }

  .product-body { padding: 10px 10px 12px; }
  .product-body h3 { font-size: 14px; }
  .product-body p { font-size: 12px; }
  .sku-name { font-size: 13.5px; }
  .sku-desc { font-size: 11.5px; }
  .sku-card figcaption { padding: 2px 10px 12px; }
  .new-head h3 { font-size: 14px; }
  .new-card p { font-size: 12px; }
}

/* Forms — live submission status + spam trap */
#form-status, #toll-form-status { font-family: var(--font-body); font-size: 14px; line-height: 1.5; margin-top: 10px; min-height: 20px; }
#form-status.success, #toll-form-status.success { color: #2f6b3f; }
#form-status.error, #toll-form-status.error { color: #B3261E; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Spotlight — front + back view for products that have a back image */
.spotlight-panel.has-back { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); width: min(1120px, 100%); }
.has-back .spotlight-media { aspect-ratio: auto; height: min(560px, calc(100vh - 100px)); align-items: stretch; gap: 20px; padding: 28px 24px; }
.spotlight-shot { margin: 0; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.spotlight-shot img { flex: 1 1 auto; min-height: 0; width: 100%; height: auto; object-fit: contain; }
.spotlight-shot figcaption { font: 700 11px var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--char-soft); }
@media (max-width: 720px) {
  .spotlight-panel.has-back { grid-template-columns: 1fr; width: 100%; }
  .has-back .spotlight-media { height: 300px; gap: 12px; padding: 16px; }
}

/* Spotlight — shelf life & storage details, and white-background sachet photos */
.spotlight-facts { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--rule); align-self: stretch; }
.spotlight-facts dt { font: 700 11px var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--atsuete); }
.spotlight-facts dd { margin: 4px 0 16px; font-size: 14.5px; line-height: 1.55; color: var(--char); }
.spotlight-facts dd:last-child { margin-bottom: 0; }
.new-media img[src$=".jpg"], .spotlight-media img[src$=".jpg"] { mix-blend-mode: multiply; }

/* ==========================================================================
   Machines & Equipment — paginated 6-per-row grid (machines.html)
   ========================================================================== */
/* Every card reserves the same height for category / name / description —
   with or without a description — so paging never shifts the arrows below. */
.machine-grid { grid-template-columns: repeat(6, 1fr); gap: 16px; align-items: stretch; }
.machine-grid .product-card { height: 100%; }
.machine-grid .product-media { aspect-ratio: 1 / 1; background: #fff; }
.machine-grid .product-media img { inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; }
.machine-grid .product-body { padding: 14px 14px 16px; }
.machine-grid .product-cat {
  display: block; white-space: normal; min-height: 2.9em; line-height: 1.4;
}
.machine-grid .product-body h3 {
  font-size: 14.5px; line-height: 1.3; margin-top: 4px; min-height: 2.6em; -webkit-line-clamp: 2;
}
.machine-grid .product-body p {
  font-size: 12.5px; line-height: 1.5; margin-top: 8px; min-height: 4.5em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 1100px) {
  .machine-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .machine-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .machine-grid { grid-template-columns: repeat(2, 1fr); }
}
