/* ==========================================================================
   NAVIRO by YUAN HANG SDN. BHD.
   Inspired by Drink Morning (drinkmorning.com):
   Light-First Gallery Canvas (#FFFFFF), Deep Maritime Navy (#052C5E / #08438E),
   Warm Sage-Cream Editorial Bands (#EFF2E7), Cool Studio Cards (#F2F3F5),
   Space Grotesk + Space Mono typography.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --ink: #000000;
  --ink-secondary: #4a525d;
  --ink-muted: #6c7582;
  --navy: #052c5e;
  --navy-btn: #0068b7;
  --navy-hover: #005394;
  --sage: #eff2e7;
  --studio: #f2f3f5;
  --stone: #f4f1ea;
  --border: #d9dfe5;
  --border-btn: #a9b6bf;
  --badge-yellow: #f9e660;
  --badge-grey: #e6e5e5;
  --radius: 4px;
  --font-sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', monospace;
  --container: 1320px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font-family: inherit;
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

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

/* ==========================================================================
   2-TIER STICKY HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg);
}

.announcement-bar {
  background: var(--navy);
  color: #ffffff;
  height: 36px;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding-left: 24px;
  animation: marquee 32s linear infinite;
}

.marquee-track .sep {
  opacity: 0.45;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.nav-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  height: 70px;
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--navy-btn);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-outline-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--border-btn);
  border-radius: var(--radius);
  color: var(--ink);
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-outline-nav:hover {
  background: var(--navy-btn);
  border-color: var(--navy-btn);
  color: #ffffff;
}

.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--border-btn);
  border-radius: var(--radius);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 18px;
  height: 1.5px;
  background: var(--ink);
}

.mobile-drawer {
  position: absolute;
  top: 106px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 20px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-drawer[hidden] {
  display: none;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--navy-btn);
  color: #ffffff;
  border: 1px solid var(--navy-btn);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.12s ease;
}

.btn-primary:hover {
  background: var(--navy-hover);
  border-color: var(--navy-hover);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-outline-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border: 1px solid var(--border-btn);
  border-radius: var(--radius);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-outline-sm:hover {
  background: var(--navy-btn);
  border-color: var(--navy-btn);
  color: #ffffff;
}

.link-underline {
  display: inline-block;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink);
  padding: 0 0 4px 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.link-underline:hover {
  color: var(--navy-btn);
  border-color: var(--navy-btn);
}

/* ==========================================================================
   SECTION 1: FULL-BLEED HERO CAROUSEL
   ========================================================================== */
.hero-carousel {
  position: relative;
  width: 100%;
  height: clamp(540px, 76dvh, 700px);
  overflow: hidden;
  background: #1a212b;
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg-slate {
  background: radial-gradient(circle at 74% 48%, #344154 0%, #1c2430 52%, #11161d 100%);
}

.hero-bg-navy {
  background: radial-gradient(circle at 72% 45%, #0e4a96 0%, #052c5e 55%, #031a3a 100%);
}

.hero-bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 16, 24, 0.52) 0%, rgba(10, 16, 24, 0.68) 100%);
}

.hero-slide-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  color: #ffffff;
  padding-left: 76px;
  padding-right: 76px;
}

.hero-slide-centered {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}

.hero-slide-centered .hero-sub {
  margin-left: auto;
  margin-right: auto;
}

.hero-slide-centered .hero-cta-row {
  justify-content: center;
}

.hero-kicker {
  font-family: var(--font-mono);
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 14px;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 4.8vw, 4.25rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #ffffff;
  padding-bottom: 4px;
}

.hero-copy h1 em {
  font-style: italic;
  font-weight: 400;
}

.hero-sub {
  margin-top: 18px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.84);
  max-width: 50ch;
  line-height: 1.55;
}

.hero-cta-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.btn-hero-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 999px;
  background: #ffffff;
  color: #052c5e;
  border: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease;
}

.btn-hero-pill:hover {
  background: #eff2e7;
}

.btn-hero-pill:active {
  transform: scale(0.98);
}

.hero-text-link {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  padding-bottom: 3px;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual img {
  max-height: 440px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.45));
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.carousel-arrow:hover {
  background: #ffffff;
}

.carousel-arrow.prev { left: 22px; }
.carousel-arrow.next { right: 22px; }

.carousel-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}

.carousel-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.carousel-dots .dot.active {
  background: #ffffff;
  transform: scale(1.2);
}

/* ==========================================================================
   SECTION 2: 4-COLUMN CATEGORY TILES
   ========================================================================== */
.section-tight {
  padding: 40px 0 24px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.category-tile {
  position: relative;
  height: 250px;
  background: var(--studio);
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  transition: transform 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-3px);
}

.category-tile img {
  max-height: 185px;
  width: auto;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.category-tile:hover img {
  transform: scale(1.04);
}

.category-tile-photo {
  padding: 0;
}

.category-tile-photo img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

.cat-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: #ffffff;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   SECTION 3: OUR MACHINES (4-COLUMN COMMERCIAL PRODUCT CARDS)
   ========================================================================== */
.section {
  padding: 76px 0;
}

.section-tint {
  background: #f8f9fa;
}

.section-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}

.section-heading-upper {
  font-size: 1.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  background: #ffffff;
  border: 1px solid var(--border-btn);
  border-radius: var(--radius);
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.filter-pill:hover {
  border-color: var(--navy-btn);
  color: var(--navy-btn);
}

.filter-pill.active {
  background: var(--navy-btn);
  border-color: var(--navy-btn);
  color: #ffffff;
}

.machine-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 20px;
}

.machine-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.machine-thumb {
  height: 260px;
  background: var(--studio);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}

.machine-thumb img {
  max-height: 210px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.machine-card:hover .machine-thumb img {
  transform: scale(1.04);
}

.machine-body {
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.machine-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.machine-brand {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 3px;
}

.machine-spec {
  font-size: 0.88rem;
  color: var(--ink-secondary);
  margin-top: 8px;
  margin-bottom: 14px;
  flex: 1;
}

.machine-cta {
  width: 100%;
  padding: 10px 16px;
  background: var(--navy-btn);
  color: #ffffff;
  border: none;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.machine-cta:hover {
  background: var(--navy-hover);
}

.machine-badges {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 22px;
}

.micro-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--badge-grey);
  color: var(--ink);
}

.micro-badge.flagship {
  background: var(--badge-yellow);
}

.color-dots {
  display: inline-flex;
  gap: 5px;
}

.color-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.22);
}

/* ==========================================================================
   SECTION 4: OUR STORY (Warm Sage-Cream #EFF2E7 Editorial Manifesto)
   ========================================================================== */
.story-band {
  background: var(--sage);
  padding: 96px 0;
}

.mono-kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
}

.story-manifesto {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 64px;
}

.story-headline {
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
  padding-bottom: 4px;
}

.story-headline em {
  font-style: italic;
  font-weight: 400;
}

.story-lead {
  margin-top: 20px;
  font-size: 1.15rem;
  color: var(--ink-secondary);
  line-height: 1.6;
}

.story-columns {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.story-narrative h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: 24px;
  margin-bottom: 10px;
}

.story-narrative h3:first-child {
  margin-top: 0;
}

.story-narrative p {
  font-size: 1rem;
  color: var(--ink-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}

.story-metrics {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(5, 44, 94, 0.18);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.story-metrics strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.65rem;
  color: var(--navy);
}

.story-metrics span {
  font-size: 0.82rem;
  color: var(--ink-secondary);
}

.story-photo-card {
  background: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(5, 44, 94, 0.12);
}

.story-photo-card img {
  width: 100%;
  height: auto;
}

.story-photo-card span {
  display: block;
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink-secondary);
}

/* ==========================================================================
   SECTION 5: OUR ECOSYSTEM (Alternating Editorial Rows)
   ========================================================================== */
.eco-rows {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.eco-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.eco-row-reverse .eco-media {
  order: 2;
}

.eco-media-studio {
  background: var(--studio);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.eco-media-studio img {
  max-height: 300px;
  width: auto;
  object-fit: contain;
}

.eco-copy h3 {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.eco-copy p:not(.mono-kicker) {
  font-size: 1rem;
  color: var(--ink-secondary);
  line-height: 1.68;
  margin-bottom: 24px;
  max-width: 52ch;
}

/* ==========================================================================
   SECTION 6: BRAND IDENTITY
   ========================================================================== */
.identity-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.identity-copy h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 16px;
}

.identity-copy p:not(.mono-kicker) {
  color: var(--ink-secondary);
  line-height: 1.68;
  margin-bottom: 24px;
}

.identity-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.id-swatch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
}

.id-swatch span {
  width: 16px;
  height: 16px;
  border-radius: 2px;
}

.brand-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.logo-plate {
  border-radius: var(--radius);
  padding: 40px 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 185px;
  border: 1px solid var(--border);
}

.logo-plate img {
  height: 44px;
  width: auto;
}

.logo-plate span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

.plate-light {
  background: #ffffff;
  color: var(--ink-muted);
}

.plate-dark {
  background: #14171c;
  border-color: #14171c;
  color: rgba(255, 255, 255, 0.68);
}

.plate-blue {
  background: #0068b7;
  border-color: #0068b7;
  color: rgba(255, 255, 255, 0.82);
}

.plate-sage {
  background: var(--sage);
  color: var(--navy);
}

/* ==========================================================================
   SECTION 7: NAVIRO TRADE PROGRAM (Drink Morning Sage Club Banner)
   ========================================================================== */
.club-band {
  background: var(--sage);
  padding: 72px 0;
}

.club-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.club-wordmark {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--navy);
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.club-title-col p {
  font-size: 0.98rem;
  color: var(--ink-secondary);
  max-width: 40ch;
}

.club-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
}

.club-step {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(5, 44, 94, 0.18);
}

.step-index {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}

.club-step h4 {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 4px;
}

.club-step p {
  font-size: 0.88rem;
  color: var(--ink-secondary);
}

/* ==========================================================================
   SECTION 8: COMMERCIAL INQUIRY
   ========================================================================== */
.inquiry-wrap {
  max-width: 880px;
}

.inquiry-head {
  margin-bottom: 36px;
}

.inquiry-head h2 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 500;
  margin-bottom: 12px;
}

.inquiry-head p:not(.mono-kicker) {
  color: var(--ink-secondary);
  max-width: 58ch;
}

.inquiry-form {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-btn);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 0.94rem;
  color: var(--ink);
  transition: border-color 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #6c7582;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-btn);
}

.field-error {
  font-size: 0.78rem;
  color: #c81e1e;
  min-height: 16px;
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.form-status {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
}

/* ==========================================================================
   DEEP NAVY FOOTER (Drink Morning Signature)
   ========================================================================== */
.site-footer {
  background: var(--navy);
  color: #ffffff;
  padding: 72px 0 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr;
  gap: 56px;
}

.footer-lead {
  margin-top: 18px;
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 42ch;
}

.footer-newsletter {
  margin-top: 22px;
  max-width: 380px;
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.footer-newsletter input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 0;
  font-size: 0.94rem;
  color: #ffffff;
}

.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

.footer-newsletter input:focus {
  outline: none;
}

.footer-newsletter button {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.2rem;
  padding: 0 8px;
  cursor: pointer;
}

.newsletter-msg {
  margin-top: 8px;
  font-size: 0.82rem;
  color: #f9e660;
  min-height: 18px;
}

.footer-legal {
  margin-top: 28px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 6px;
}

.footer-col a {
  font-size: 0.9rem;
  color: #ffffff;
  transition: opacity 0.2s ease;
}

.footer-col a:hover {
  opacity: 0.72;
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.2s ease;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--navy-btn);
  transform: translateY(-2px);
}

/* ==========================================================================
   SPECIFICATION MODAL (Light Gallery Style)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 20, 42, 0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-panel {
  position: relative;
  width: 100%;
  max-width: 940px;
  max-height: 90dvh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: var(--radius);
  padding: 36px;
  color: var(--ink);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: var(--studio);
  border: none;
  border-radius: var(--radius);
  font-size: 1.4rem;
  cursor: pointer;
}

.modal-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 36px;
  align-items: start;
}

.modal-media {
  background: var(--studio);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.modal-media img {
  max-height: 290px;
  object-fit: contain;
}

.modal-content h3 {
  font-size: 1.75rem;
  font-weight: 600;
}

.modal-tagline {
  margin-top: 8px;
  font-size: 0.95rem;
  color: var(--ink-secondary);
}

.spec-tiles {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.spec-tile {
  background: var(--sage);
  border-radius: var(--radius);
  padding: 10px 12px;
}

.spec-tile span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--navy);
  text-transform: uppercase;
}

.spec-tile strong {
  display: block;
  margin-top: 3px;
  font-size: 0.88rem;
  color: var(--ink);
}

.modal-features {
  margin-top: 20px;
}

.modal-features h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 10px;
}

.modal-features ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
}

.modal-features li {
  font-size: 0.86rem;
  color: var(--ink-secondary);
  padding-left: 14px;
  position: relative;
}

.modal-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  background: var(--navy-btn);
}

.modal-colors {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.color-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  background: var(--studio);
  padding: 5px 10px;
  border-radius: 999px;
}

.modal-actions {
  margin-top: 22px;
}

/* ==========================================================================
   SCROLL REVEAL (Smooth, respects prefers-reduced-motion)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
}

/* ==========================================================================
   RESPONSIVE COLLAPSE
   ========================================================================== */
@media (max-width: 1080px) {
  .machine-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-columns,
  .eco-row,
  .identity-grid,
  .club-inner,
  .footer-grid,
  .modal-grid {
    grid-template-columns: 1fr;
  }

  .eco-row-reverse .eco-media {
    order: 0;
  }
}

@media (max-width: 768px) {
  .main-nav,
  .btn-outline-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-carousel {
    height: auto;
    min-height: 580px;
  }

  .hero-slide {
    padding: 52px 0 68px;
  }

  .hero-slide-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-visual img {
    max-height: 240px;
  }

  .machine-grid,
  .category-grid,
  .brand-showcase-grid,
  .club-steps,
  .form-row,
  .footer-cols,
  .modal-features ul {
    grid-template-columns: 1fr;
  }
}
