/* =========================================================
   Arete Distribution & Trading Co. — Design System
   ========================================================= */

:root {
  /* Brand palette (placeholder — swap for official brand colors later) */
  --color-navy-950: #081A2E;
  --color-navy-900: #0B2340;
  --color-navy-800: #133358;
  --color-navy-700: #1B4472;
  --color-navy-100: #E6ECF3;

  --color-gold-600: #906921; /* darkened from #B8862A for WCAG AA text contrast (4.5:1) on white/cream */
  --color-gold-500: #C9972B;
  --color-gold-400: #DBAE4F;
  --color-gold-200: #F1DFB4;
  --color-gold-100: #FBF3E1;

  --color-green-600: #2F7A4E;
  --color-green-100: #E4F2E9;

  --color-cream: #F7F5F0;
  --color-white: #FFFFFF;
  --color-ink: #16202C;
  --color-gray-700: #4B5563;
  --color-gray-500: #6B7280;
  --color-gray-300: #D7DCE2;
  --color-gray-100: #EEF1F4;

  /* RGB triplets (no # / no rgb() wrapper) for use inside rgba() overlays below */
  --overlay-navy-950-rgb: 8, 26, 46;
  --overlay-navy-900-rgb: 11, 35, 64;
  --overlay-navy-700-rgb: 27, 68, 114;
  --overlay-gold-500-rgb: 201, 151, 43;

  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Work Sans', 'Segoe UI', Arial, sans-serif;

  --container: 1180px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 3px rgba(var(--overlay-navy-900-rgb), 0.08);
  --shadow-md: 0 8px 24px rgba(var(--overlay-navy-900-rgb), 0.10);
  --shadow-lg: 0 20px 48px rgba(var(--overlay-navy-900-rgb), 0.16);

  /* Motion identity: Premium archetype (elegant, minimal, 0% overshoot) —
     matches the classical serif wordmark and navy/gold palette. One signature
     easing curve, reused everywhere, instead of ad hoc per-component values. */
  --ease-premium: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.25s var(--ease-premium);
}

/* -------------------- Reset -------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-white);
  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-head); font-weight: 700; line-height: 1.2; margin: 0 0 0.5em; color: var(--color-navy-900); }
p { margin: 0 0 1em; color: var(--color-gray-700); }
button { font-family: inherit; cursor: pointer; }

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

section { padding: 88px 0; }
@media (max-width: 768px) {
  section { padding: 56px 0; }
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-600);
  margin-bottom: 14px;
}
.section-tag.center { justify-content: center; }
.section-tag::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--color-gold-500);
  display: inline-block;
}
.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-head p { font-size: 1.05rem; }

.bg-cream { background: var(--color-cream); }
.bg-navy { background: var(--color-navy-900); color: var(--color-white); }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--color-white); }
.bg-navy p { color: rgba(255,255,255,0.78); }
.bg-navy .section-tag { color: var(--color-gold-400); }

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-gold-500);
  color: var(--color-navy-950);
}
.btn-primary:hover { background: var(--color-gold-400); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: var(--color-white);
}
.btn-outline:hover { border-color: var(--color-white); background: rgba(255,255,255,0.08); }
.btn-navy {
  background: var(--color-navy-900);
  color: var(--color-white);
}
.btn-navy:hover { background: var(--color-navy-800); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-block { width: 100%; }

/* -------------------- Header -------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-gray-100);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-img { height: 26px; width: auto; display: block; }
@media (max-width: 480px) {
  .logo-img { height: 20px; }
  .header-cta .btn { display: none; }
}

.main-nav ul { display: flex; gap: 4px; align-items: center; }
.main-nav a {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-navy-800);
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover { background: var(--color-navy-100); }
.main-nav a.active { color: var(--color-gold-600); }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-cta .btn { padding: 11px 22px; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--color-navy-900); border-radius: 2px; }

@media (max-width: 1010px) {
  .main-nav {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-gray-100);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }
  .main-nav.open { max-height: 420px; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 12px; gap: 2px; }
  .main-nav a { display: block; padding: 13px 16px; }
  .header-cta .btn-outline-nav { display: none; }
  .nav-toggle { display: flex; }
}

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(var(--overlay-navy-950-rgb),0.94) 0%, rgba(var(--overlay-navy-900-rgb),0.91) 55%, rgba(var(--overlay-navy-700-rgb),0.88) 100%),
    url('../images/hero.webp') center 30% / cover no-repeat;
  color: var(--color-white);
  overflow: hidden;
  padding: 110px 0 100px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(var(--overlay-gold-500-rgb), 0.28), transparent 45%),
    radial-gradient(circle at 15% 90%, rgba(var(--overlay-gold-500-rgb), 0.14), transparent 40%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero h1 { color: var(--color-white); font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-bottom: 20px; }
.hero .accent { color: var(--color-gold-400); }
.hero p.lead { color: rgba(255,255,255,0.82); font-size: 1.15rem; max-width: 560px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.stat-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  text-align: center;
}
.stat-box .num { font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; color: var(--color-gold-400); }
.stat-box .label { font-size: 0.78rem; color: rgba(255,255,255,0.75); margin-top: 4px; }

.hero-visual {
  position: relative;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(6px);
}
.hero-visual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-visual-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
}
.hero-visual-card svg { width: 30px; height: 30px; margin: 0 auto 10px; color: var(--color-gold-400); }
.hero-visual-card span { font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.9); }

/* -------------------- Page header (inner pages) -------------------- */
.page-header {
  background: linear-gradient(135deg, var(--color-navy-950), var(--color-navy-800));
  color: var(--color-white);
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 90% 10%, rgba(var(--overlay-gold-500-rgb),0.25), transparent 45%);
}
.page-header .breadcrumb {
  position: relative;
  font-size: 0.85rem;
  color: var(--color-gold-400);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.page-header h1 { position: relative; color: var(--color-white); font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 12px; }
.page-header p { position: relative; color: rgba(255,255,255,0.78); max-width: 620px; font-size: 1.05rem; margin: 0; }

/* -------------------- Cards / Grids -------------------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--color-gold-200); }
.card .icon-badge { margin-bottom: 18px; }
.card h2, .card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { margin-bottom: 0; font-size: 0.95rem; }
.card-row { display: flex; gap: 20px; align-items: flex-start; }
.card-row .icon-badge { flex-shrink: 0; margin-bottom: 0; }

.icon-badge {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--color-navy-100);
  display: flex; align-items: center; justify-content: center;
}
.icon-badge svg { width: 26px; height: 26px; color: var(--color-navy-800); }
.icon-badge.gold { background: var(--color-gold-100); }
.icon-badge.gold svg { color: var(--color-gold-600); }
.icon-badge.green { background: var(--color-green-100); }
.icon-badge.green svg { color: var(--color-green-600); }

/* Sector / product cards with image-style header */
.tile {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-gray-100);
  background: var(--color-white);
  transition: transform var(--transition), box-shadow var(--transition);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tile-media {
  height: 150px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.tile-media svg { width: 46px; height: 46px; color: var(--color-white); position: relative; z-index: 1; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; position: relative; }
.tile-media::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 55%);
}
.tile-media:has(img)::after {
  background-image: linear-gradient(180deg, rgba(var(--overlay-navy-900-rgb),0.05) 0%, rgba(var(--overlay-navy-900-rgb),0.35) 100%);
}
.tile-body { padding: 22px 22px 26px; }
.tile-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.tile-body p { font-size: 0.9rem; margin-bottom: 0; }

.media-navy { background: linear-gradient(135deg, var(--color-navy-800), var(--color-navy-950)); }
.media-gold { background: linear-gradient(135deg, var(--color-gold-500), var(--color-gold-600)); }
.media-green { background: linear-gradient(135deg, var(--color-green-600), #235c3b); }
.media-slate { background: linear-gradient(135deg, #3A4A5E, var(--color-navy-900)); }

/* -------------------- Split content -------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split-visual {
  background: var(--color-navy-900);
  border-radius: var(--radius-lg);
  min-height: 340px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.split-visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 25% 25%, rgba(var(--overlay-gold-500-rgb),0.3), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08), transparent 45%);
}
.split-visual svg { width: 120px; height: 120px; color: rgba(255,255,255,0.9); position: relative; }
.split-visual-photo { aspect-ratio: 4 / 5; min-height: 0; }
.split-visual-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
/* Landscape-sourced photos (~3:2) get a matching box instead of the default 4:5
   portrait crop, which was cutting off subjects and towering over the text column. */
.split-visual-wide { aspect-ratio: 3 / 2; }
.logistics-photo img { object-position: 15% 40%; }
.our-story-photo img { object-position: center 30%; }

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-weight: 600;
  color: var(--color-navy-800);
}
.check-list svg { width: 20px; height: 20px; color: var(--color-gold-600); flex-shrink: 0; margin-top: 2px; }
.bg-navy .check-list li { color: var(--color-white); }

/* -------------------- Brand marquee -------------------- */
.brand-marquee {
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.brand-marquee::-webkit-scrollbar { display: none; }
.brand-marquee.dragging { cursor: grabbing; }
.brand-marquee-track { display: flex; gap: 20px; width: max-content; }
.brand-marquee-set { display: contents; }
.brand-marquee-item {
  flex: 0 0 160px;
  aspect-ratio: 3 / 2;
  background: var(--color-white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}
.brand-marquee-item img {
  width: 100%; height: 100%; object-fit: contain;
  -webkit-user-drag: none; user-select: none; pointer-events: none;
}

/* -------------------- Category filter pills -------------------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--color-gray-300);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  color: var(--color-navy-800);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}
.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold-500);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
}
.pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-gold-400);
  color: var(--color-gold-600);
}
.pill:hover::before { opacity: 1; transform: scale(1); }
.pill.active {
  background: var(--color-navy-900);
  border-color: var(--color-navy-900);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}
.pill.active::before { opacity: 1; transform: scale(1); background: var(--color-gold-400); }
.pill.active:hover { transform: translateY(-2px); }

/* -------------------- Brand logo grid -------------------- */
.brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .brand-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .brand-grid { grid-template-columns: repeat(2, 1fr); } }
.brand-logo {
  aspect-ratio: 3 / 2;
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-md);
  background: var(--color-cream);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 20px;
  transition: border-color var(--transition), transform var(--transition);
}
.brand-logo:hover { border-color: var(--color-gold-400); transform: translateY(-3px); }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }

/* -------------------- CTA banner -------------------- */
.cta-banner {
  background: linear-gradient(120deg, var(--color-navy-950), var(--color-navy-800));
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 90% 20%, rgba(var(--overlay-gold-500-rgb),0.3), transparent 45%);
}
.cta-banner h2 { color: var(--color-white); margin-bottom: 8px; position: relative; }
.cta-banner p { color: rgba(255,255,255,0.78); margin: 0; position: relative; }
.cta-banner .cta-actions { position: relative; display: flex; gap: 14px; flex-wrap: wrap; }

/* -------------------- Forms -------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 0.86rem; color: var(--color-navy-800); }
.field input, .field select, .field textarea {
  padding: 13px 14px;
  border: 1.5px solid var(--color-gray-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-ink);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-gold-500);
  box-shadow: 0 0 0 3px rgba(var(--overlay-gold-500-rgb),0.18);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.85rem; color: var(--color-gray-500); margin-top: 10px; }
.form-note a { color: var(--color-gold-600); text-decoration: underline; }
.form-status { font-size: 0.9rem; font-weight: 600; margin-top: 14px; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: var(--color-green-600); }
.form-status.error { color: #B3261E; }

/* Contact info cards */
.contact-info-list { display: flex; flex-direction: column; gap: 22px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item h3 { margin-bottom: 4px; font-size: 1rem; }
.contact-info-item p { margin: 0; font-size: 0.92rem; }
.map-box {
  margin-top: 28px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-gray-100);
  height: 280px;
}
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }

/* -------------------- Footer -------------------- */
.site-footer { background: var(--color-navy-950); color: rgba(255,255,255,0.75); padding: 64px 0 0; }
.site-footer p { color: rgba(255,255,255,0.75); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-tagline { max-width: 320px; font-size: 0.92rem; }
.logo-img-footer { height: 40px; }
.site-footer h3 { font-family: var(--font-body); color: var(--color-white); font-size: 0.92rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul li { margin-bottom: 11px; }
.site-footer a { font-size: 0.92rem; transition: color var(--transition); }
.site-footer a:hover { color: var(--color-gold-400); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 24px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.75); text-decoration: underline; }
.footer-bottom a:hover { color: var(--color-white); }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}
.social-row a:hover { background: var(--color-gold-500); border-color: var(--color-gold-500); }
.social-row svg { width: 16px; height: 16px; }

/* -------------------- Reveal animation -------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 450ms var(--ease-premium), transform 450ms var(--ease-premium);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* -------------------- Hero entrance -------------------- */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1,
.hero .lead,
.hero-ctas,
.hero-visual {
  opacity: 0;
  animation: hero-rise 550ms var(--ease-premium) forwards;
}
.hero h1 { animation-delay: 0ms; }
.hero .lead { animation-delay: 100ms; }
.hero-ctas { animation-delay: 200ms; }
.hero-visual { animation-delay: 250ms; }

@keyframes hero-glow-breathe {
  from { opacity: 0.85; }
  to { opacity: 1; }
}
.hero::before { animation: hero-glow-breathe 10s var(--ease-premium) infinite alternate; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero h1, .hero .lead, .hero-ctas, .hero-visual {
    animation: none;
    opacity: 1;
  }
  .hero::before { animation: none; }
}

/* -------------------- Misc -------------------- */
.section-cta-center { text-align: center; margin-top: 40px; }

/* -------------------- 404 page -------------------- */
.not-found {
  padding: 120px 0;
  text-align: center;
  background: var(--color-cream);
}
.not-found-tag {
  font-family: var(--font-head);
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 800;
  color: var(--color-gold-400);
  line-height: 1;
  margin-bottom: 8px;
}
.not-found h1 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); max-width: 620px; margin-left: auto; margin-right: auto; }
.not-found p { max-width: 480px; margin: 0 auto 32px; font-size: 1.05rem; }
.not-found .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* -------------------- Legal content (privacy / terms) -------------------- */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { font-size: 1.3rem; margin-top: 40px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { font-size: 1rem; }
.legal-content ul.legal-list { margin: 0 0 1em; padding-left: 22px; list-style: disc; }
.legal-content ul.legal-list li { margin-bottom: 8px; color: var(--color-gray-700); }
.legal-content a { color: var(--color-gold-600); text-decoration: underline; }

/* -------------------- Brand enquiry modal -------------------- */
.brand-logo, .brand-marquee-item { cursor: pointer; }
.brand-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(var(--overlay-navy-950-rgb), 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility 0s linear var(--transition);
}
.brand-modal-overlay.open {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--transition), visibility 0s linear 0s;
}
.brand-modal {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  max-width: 420px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(12px) scale(0.98);
  transition: transform var(--transition);
}
.brand-modal-overlay.open .brand-modal { transform: translateY(0) scale(1); }
.brand-modal h3 { font-size: 1.4rem; margin-bottom: 10px; }
.brand-modal > p { margin-bottom: 24px; color: var(--color-gray-700); }
.brand-modal .field { margin-bottom: 16px; }
.brand-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--color-gray-100);
  color: var(--color-navy-800);
  font-size: 1.3rem;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.brand-modal-close:hover { background: var(--color-gray-300); }

@media (prefers-reduced-motion: reduce) {
  .brand-modal-overlay, .brand-modal { transition: none; }
}
