/* ============================================================
   Gupta Aromatics — brand stylesheet
   Colour: the logo crimson leads. Deep tones of the same red form the dark
   surfaces (monochromatic), saffron gold is the analogous accent, warm ivory is
   the neutral, and muted teal and sage appear only in the family tiles as
   complementary relief. Proportion follows 60 neutral / 30 deep red / 10 accent.
   Type: Fraunces (display) + Manrope (text). Light and dark themes via
   html[data-theme].
   ============================================================ */

/* ---------- self-hosted fonts ---------- */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope.woff2") format("woff2");
}

/* ---------- colour tokens ---------- */

:root {
  color-scheme: light;
  --red: #c1272d;
  --red-bright: #e2483f;
  --red-deep: #8f1c22;
  --red-tint: #fbe7e2;
  --wine: #34090f;
  --wine-2: #1f0508;
  --wine-3: #4b121a;
  --gold: #c8902f;
  --gold-bright: #ebb95e;
  --gold-deep: #94601a;
  --gold-soft: #f2e2c4;
  --ivory: #faf5ee;
  --cream: #fffcf8;
  --blush: #fbf0ea;
  --line: #eadbcf;
  --line-dark: rgba(255, 236, 226, 0.14);
  --ink: #2a0d11;
  --text: #36231f;
  --muted: #6c5953;
  --muted-dark: rgba(253, 238, 230, 0.76);
  --header-bg: rgba(250, 245, 238, 0.82);
  --card-shadow: 0 1px 2px rgba(52, 9, 15, 0.05), 0 22px 44px -24px rgba(52, 9, 15, 0.28);
  --card-shadow-hover: 0 2px 4px rgba(52, 9, 15, 0.06), 0 34px 60px -26px rgba(143, 28, 34, 0.42);
  --glare: rgba(255, 255, 255, 0.55);
  --grad-red: linear-gradient(135deg, #e2483f 0%, #c1272d 48%, #8f1c22 100%);
  --grad-warm: linear-gradient(100deg, #ffd27a 0%, #f39a52 42%, #e2483f 100%);
  --grad-gold: linear-gradient(135deg, #f6d793 0%, #e2ad4f 50%, #c8902f 100%);
  --serif: "Fraunces", "Georgia", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1200px;
  --ease-out: cubic-bezier(0.22, 0.7, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --red: #e5463f;
  --red-bright: #ff6a5c;
  --red-deep: #b3262d;
  --red-tint: #3a1417;
  --wine: #2a0a0f;
  --wine-2: #120507;
  --wine-3: #451219;
  --gold-deep: #e8b45a;
  --gold-soft: #4a3418;
  --ivory: #140a0b;
  --cream: #1d1012;
  --blush: #190c0e;
  --line: #3b2326;
  --ink: #fbeee6;
  --text: #ecdcd4;
  --muted: #bba59e;
  --header-bg: rgba(20, 10, 11, 0.8);
  --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 22px 44px -24px rgba(0, 0, 0, 0.8);
  --card-shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.4), 0 34px 60px -24px rgba(229, 70, 63, 0.35);
  --glare: rgba(255, 220, 200, 0.16);
}

/* ---------- reset / base ---------- */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color 0.35s ease, color 0.35s ease;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 6px;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 580;
  line-height: 1.08;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5.2vw + 1rem, 4.6rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: 1.36rem; letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; }

a { color: var(--red); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--red-deep); }

ul { padding-left: 1.2em; }

::selection { background: var(--red); color: #fff; }

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.grad-text {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- kicker / section headers ---------- */

.kicker {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--red) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--red) 22%, transparent);
}

.kicker::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 18%, transparent);
}

.on-dark .kicker,
.page-hero .kicker,
.cat-hero .kicker {
  color: var(--gold-bright);
  background: rgba(235, 185, 94, 0.08);
  border-color: rgba(235, 185, 94, 0.3);
}

.on-dark .kicker::before,
.page-hero .kicker::before,
.cat-hero .kicker::before {
  background: var(--gold-bright);
  box-shadow: 0 0 0 4px rgba(235, 185, 94, 0.18), 0 0 14px rgba(235, 185, 94, 0.7);
}

.section { padding: 120px 0; position: relative; }
.section-tight { padding: 84px 0; position: relative; }

.section-head { max-width: 680px; margin-bottom: 60px; }
.section-head.centered { margin-inline: auto; text-align: center; }
.section-head .lede { color: var(--muted); font-size: 1.1rem; margin-bottom: 0; }

.bg-cream { background: var(--blush); }

.bg-ink {
  background:
    radial-gradient(900px 480px at 85% 0%, rgba(193, 39, 45, 0.35), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(200, 144, 47, 0.14), transparent 60%),
    var(--wine);
}

.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff6ef; }
.on-dark, .on-dark p { color: var(--muted-dark); }

/* Fine grain on the deep red surfaces keeps large dark areas from looking flat. */
.grain::after,
.hero::after,
.bg-ink::after,
.page-hero::after,
.cat-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 760;
  letter-spacing: 0.01em;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, background 0.25s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Light sweep across the button on hover. */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.38) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
}

.btn:hover::before { transform: translateX(120%); }

.btn-primary {
  background: var(--grad-red);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 14px 30px -12px rgba(193, 39, 45, 0.7);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 20px 40px -14px rgba(193, 39, 45, 0.85);
}

/* On deep red surfaces the primary button turns gold so it stands out. */
.on-dark .btn-primary,
.cta-band .btn-primary,
.card-cta .btn-primary,
.page-hero .btn-primary,
.cat-hero .btn-primary {
  background: var(--grad-gold);
  color: var(--wine-2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 14px 32px -12px rgba(235, 185, 94, 0.55);
}

.on-dark .btn-primary:hover,
.cta-band .btn-primary:hover,
.card-cta .btn-primary:hover {
  color: var(--wine-2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 20px 40px -12px rgba(235, 185, 94, 0.7);
}

.btn-ghost {
  border-color: rgba(255, 240, 230, 0.35);
  color: #fff6ef;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover { border-color: var(--gold-bright); color: var(--gold-bright); transform: translateY(-2px); }

.btn-outline { border-color: color-mix(in srgb, var(--ink) 35%, transparent); color: var(--ink); }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: var(--ivory); transform: translateY(-2px); }

.btn .arrow { transition: transform 0.25s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- scroll progress ---------- */

.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 70;
  background: var(--grad-warm);
  transform-origin: left;
  transform: scaleX(var(--progress, 0));
  pointer-events: none;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.35s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 34px -22px rgba(52, 9, 15, 0.45);
}

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

.brand { display: inline-flex; align-items: center; gap: 12px; order: 0; }
.brand svg { height: 46px; width: auto; transition: transform 0.4s var(--ease-spring); }
.brand:hover svg { transform: scale(1.04) rotate(-1deg); }
.brand svg text { fill: var(--ink); }

.main-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; order: 1; }

.main-nav a {
  font-size: 0.94rem;
  font-weight: 720;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: var(--grad-warm);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.main-nav a:hover { color: var(--red); }
.main-nav a[aria-current="page"] { color: var(--red); }

.main-nav .btn { padding: 12px 22px; color: #fff; }
.main-nav .btn::after { display: none; }

.theme-toggle {
  order: 2;
  position: relative;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease-spring), border-color 0.2s ease, background-color 0.35s ease;
}

.theme-toggle:hover { transform: rotate(-14deg) scale(1.06); border-color: var(--red); }
.theme-toggle svg { width: 19px; height: 19px; grid-area: 1 / 1; transition: transform 0.45s var(--ease-spring), opacity 0.3s ease; }
.theme-toggle .icon-sun { opacity: 0; transform: rotate(-90deg) scale(0.4); color: var(--gold-bright); }
[data-theme="dark"] .theme-toggle .icon-sun { opacity: 1; transform: none; }
[data-theme="dark"] .theme-toggle .icon-moon { opacity: 0; transform: rotate(90deg) scale(0.4); }

.nav-toggle {
  order: 3;
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero (home) ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(900px 560px at 78% 30%, rgba(226, 72, 63, 0.38), transparent 62%),
    radial-gradient(700px 520px at 100% 100%, rgba(235, 185, 94, 0.16), transparent 60%),
    radial-gradient(800px 600px at -10% 110%, rgba(75, 18, 26, 0.95), transparent 60%),
    var(--wine);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 3;
  padding: 72px 0 104px;
  max-width: 640px;
}

.hero h1 { color: #fff6ef; margin-bottom: 28px; }
.hero h1 em {
  font-style: italic;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}

.hero .lede {
  font-size: 1.16rem;
  color: var(--muted-dark);
  max-width: 560px;
  margin-bottom: 42px;
}

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

.hero-art {
  position: absolute;
  right: -40px;
  top: 0;
  bottom: 0;
  width: 54%;
  z-index: 1;
  pointer-events: none;
}

.hero-art > svg { position: absolute; inset: 0; height: 100%; width: 100%; opacity: 0.55; }

.hero-3d {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.hero-3d-caption {
  position: absolute;
  right: 64px;
  bottom: 196px;
  z-index: 3;
  max-width: 250px;
  text-align: right;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(253, 238, 230, 0.6);
  margin: 0;
}

.hero-3d-caption strong { color: var(--gold-bright); font-weight: 800; }

.hero-stats {
  position: relative;
  z-index: 3;
  padding-bottom: 46px;
}

.hero-stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat {
  position: relative;
  padding: 22px 24px;
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 236, 226, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.stat .stat-value {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1.1;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat .stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin-top: 6px;
}

/* ---------- marquee ---------- */

.marquee {
  position: relative;
  overflow: hidden;
  background: var(--grad-red);
  color: #fff;
  padding: 18px 0;
  transform: rotate(-1.2deg) scale(1.02);
  margin: -14px 0 0;
  z-index: 4;
  box-shadow: 0 18px 40px -20px rgba(143, 28, 34, 0.7);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 34px;
  animation: marquee 42s linear infinite;
}

.marquee span {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-style: italic;
  font-weight: 500;
  white-space: nowrap;
}

.marquee i {
  font-style: normal;
  color: var(--gold-bright);
  font-size: 1rem;
  align-self: center;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

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

/* ---------- page hero (inner pages) ---------- */

.page-hero,
.cat-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(760px 420px at 88% 10%, rgba(226, 72, 63, 0.34), transparent 62%),
    radial-gradient(620px 420px at 0% 110%, rgba(235, 185, 94, 0.14), transparent 60%),
    var(--wine);
}

.page-hero { padding: 92px 0 84px; }
.page-hero h1, .cat-hero h1 { color: #fff6ef; position: relative; z-index: 2; }
.page-hero .lede { font-size: 1.14rem; color: var(--muted-dark); max-width: 660px; position: relative; z-index: 2; }
.page-hero .container, .cat-hero .container { position: relative; z-index: 2; }

.breadcrumbs {
  font-size: 0.84rem;
  font-weight: 650;
  color: var(--muted);
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs .sep { color: var(--line); }
.breadcrumbs [aria-current] { color: var(--ink); }

.page-hero .breadcrumbs, .cat-hero .breadcrumbs, .page-hero .breadcrumbs a, .cat-hero .breadcrumbs a { color: rgba(253, 238, 230, 0.62); }
.page-hero .breadcrumbs a:hover, .cat-hero .breadcrumbs a:hover { color: var(--gold-bright); }
.page-hero .breadcrumbs .sep, .cat-hero .breadcrumbs .sep { color: rgba(253, 238, 230, 0.3); }
.page-hero .breadcrumbs [aria-current], .cat-hero .breadcrumbs [aria-current] { color: #fff6ef; }

/* ---------- 3D tilt + glare (shared) ---------- */

.tilt {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease-out), box-shadow 0.35s ease, border-color 0.3s ease;
  will-change: transform;
}

.tilt.is-tilting { transition: transform 0.08s linear, box-shadow 0.35s ease, border-color 0.3s ease; }

.tilt::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--glare), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.tilt:hover::after { opacity: 1; }

/* ---------- category cards (home) ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 26px;
  box-shadow: var(--card-shadow);
}

.cat-card:hover { --lift: -6px; box-shadow: var(--card-shadow-hover); border-color: color-mix(in srgb, var(--tint-ink, var(--red)) 40%, var(--line)); }

/* Thin tint-coloured bar along the top edge of each card. */
.cat-card::before {
  content: "";
  position: absolute;
  top: -1px; left: 28px; right: 28px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--tint-ink, var(--red));
  opacity: 0.85;
}

.icon-tile {
  position: relative;
  width: 72px;
  height: 80px;
  border-radius: 999px 999px 16px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 80% at 30% 15%, rgba(255, 255, 255, 0.75), transparent 55%),
    linear-gradient(160deg, var(--tint, #efe8d8), color-mix(in srgb, var(--tint, #efe8d8) 70%, var(--tint-ink, var(--red))));
  color: var(--tint-ink, var(--ink));
  flex: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 -6px 14px -6px color-mix(in srgb, var(--tint-ink, var(--red)) 35%, transparent) inset,
    0 14px 26px -14px color-mix(in srgb, var(--tint-ink, var(--red)) 70%, transparent);
  transform: translateZ(40px);
  transition: transform 0.45s var(--ease-spring);
}

[data-theme="dark"] .icon-tile {
  background:
    radial-gradient(120% 80% at 30% 15%, rgba(255, 255, 255, 0.12), transparent 55%),
    linear-gradient(160deg, color-mix(in srgb, var(--tint, #efe8d8) 22%, #241315), color-mix(in srgb, var(--tint-ink, var(--red)) 30%, #1a0c0e));
  color: color-mix(in srgb, var(--tint-ink, var(--red)) 45%, #ffffff);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 14px 26px -14px rgba(0, 0, 0, 0.8);
}

.cat-card:hover .icon-tile,
.dir-head:hover .icon-tile { transform: translateZ(60px) translateY(-4px) rotate(-4deg) scale(1.06); }

.icon-tile svg { width: 36px; height: 36px; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.12)); }

.cat-card > div:not(.icon-tile):not(.chip-row) { transform: translateZ(24px); }
.cat-card h3 { margin-bottom: 2px; font-size: 1.42rem; }
.cat-card h3 a { color: var(--ink); }
.cat-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.cat-card:hover h3 a { color: var(--tint-ink, var(--red)); }
[data-theme="dark"] .cat-card:hover h3 a { color: color-mix(in srgb, var(--tint-ink, var(--red)) 45%, #ffffff); }

.cat-card .count {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
}

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }

.chip {
  font-size: 0.78rem;
  font-weight: 680;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 13px;
  background: var(--ivory);
  white-space: nowrap;
}

.chip.more { color: var(--red); border-style: dashed; border-color: color-mix(in srgb, var(--red) 40%, transparent); }

.cat-hero .chip {
  color: #fff6ef;
  border-color: rgba(255, 236, 226, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.card-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  overflow: hidden;
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(226, 72, 63, 0.55), transparent 65%),
    var(--wine);
  border-radius: var(--radius);
  padding: 34px 32px;
  box-shadow: var(--card-shadow);
}

.card-cta h3 { color: #fff6ef; font-size: 1.6rem; }
.card-cta p { color: var(--muted-dark); font-size: 0.96rem; margin: 0 0 6px; }

/* ---------- split section (heritage) ---------- */

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.split-panel {
  position: relative;
  background:
    radial-gradient(420px 360px at 50% 30%, rgba(226, 72, 63, 0.45), transparent 65%),
    var(--wine);
  border-radius: 999px 999px var(--radius) var(--radius);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;
  padding: 40px;
  box-shadow: 0 40px 80px -40px rgba(52, 9, 15, 0.7);
}

.split-panel svg.panel-art { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; transform: translateZ(20px); }

/* Layered rings give the arch visible depth when it tilts. */
.split-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 999px 999px calc(var(--radius) - 8px) calc(var(--radius) - 8px);
  border: 1px solid rgba(235, 185, 94, 0.35);
  transform: translateZ(50px);
  pointer-events: none;
}

.split-panel .panel-caption {
  position: relative;
  z-index: 2;
  color: #fff6ef;
  transform: translateZ(80px);
}

.panel-caption .big {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 5vw, 4.6rem);
  font-weight: 600;
  line-height: 1;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.panel-caption .small {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 750;
  color: var(--muted-dark);
  margin-top: 10px;
}

.split-copy .lede { color: var(--muted); font-size: 1.1rem; }

.founder-note {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 30px 0;
  box-shadow: var(--card-shadow);
}

.founder-note .avatar {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--grad-red);
  color: #fff;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  box-shadow: 0 10px 20px -10px rgba(193, 39, 45, 0.8);
}

.founder-note .name { font-weight: 800; color: var(--ink); font-size: 1rem; }
.founder-note .role { font-size: 0.86rem; color: var(--muted); }

/* ---------- process ---------- */

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

/* Gradient line linking the four step badges. */
.process-grid::before {
  content: "";
  position: absolute;
  top: 58px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red) 15%, var(--gold) 85%, transparent);
  opacity: 0.45;
}

.step {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--card-shadow);
}

.step:hover { --lift: -5px; box-shadow: var(--card-shadow-hover); }

.step .num {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 650;
  color: #fff;
  background: var(--grad-red);
  margin-bottom: 22px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 14px 24px -12px rgba(193, 39, 45, 0.8);
  transform: translateZ(40px) rotate(-6deg);
  transition: transform 0.45s var(--ease-spring);
}

.step:hover .num { transform: translateZ(60px) rotate(0deg) scale(1.08); }
.step:nth-child(even) .num { background: var(--grad-gold); color: var(--wine-2); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 14px 24px -12px rgba(200, 144, 47, 0.8); }

.step h3 { font-size: 1.26rem; transform: translateZ(20px); }
.step p { font-size: 0.95rem; color: var(--muted); margin: 0; }

/* ---------- why tiles ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-tile {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--card-shadow);
}

.on-dark .why-tile {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border-color: rgba(255, 236, 226, 0.12);
  box-shadow: none;
}

.on-dark .why-tile:hover { border-color: rgba(235, 185, 94, 0.45); box-shadow: 0 30px 60px -30px rgba(226, 72, 63, 0.6); --lift: -5px; }
.why-tile:hover { --lift: -5px; box-shadow: var(--card-shadow-hover); }

.why-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: #fff;
  background: var(--grad-red);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 14px 24px -12px rgba(193, 39, 45, 0.85);
  transform: translateZ(40px);
  transition: transform 0.45s var(--ease-spring);
}

.on-dark .why-icon { background: var(--grad-gold); color: var(--wine-2); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 14px 24px -12px rgba(235, 185, 94, 0.6); }
.why-tile:hover .why-icon { transform: translateZ(60px) rotate(-8deg) scale(1.08); }
.why-icon svg { width: 25px; height: 25px; }

.why-tile h3 { font-size: 1.2rem; transform: translateZ(20px); }
.on-dark .why-tile h3 { color: #fff6ef; }
.why-tile p { font-size: 0.95rem; margin: 0; color: var(--muted); }
.on-dark .why-tile p { color: var(--muted-dark); }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 300px at 95% 120%, rgba(235, 185, 94, 0.3), transparent 60%),
    radial-gradient(700px 380px at 0% -20%, rgba(226, 72, 63, 0.55), transparent 60%),
    var(--wine);
  border-radius: calc(var(--radius) + 10px);
  padding: 80px 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  box-shadow: 0 40px 80px -40px rgba(52, 9, 15, 0.8);
}

/* Slowly turning light behind the call to action. */
.cta-band::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -140px;
  top: -260px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(226, 72, 63, 0), rgba(235, 185, 94, 0.35), rgba(226, 72, 63, 0));
  filter: blur(30px);
  animation: spin 18s linear infinite;
  pointer-events: none;
}

.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff6ef; margin: 0 0 10px; max-width: 560px; }
.cta-band p { color: var(--muted-dark); margin: 0; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- category page ---------- */

.cat-hero { padding: 80px 0 88px; }

.cat-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}

.cat-hero .deck {
  font-family: var(--serif);
  font-size: 1.36rem;
  font-style: italic;
  color: var(--gold-bright);
  margin: 6px 0 20px;
  position: relative;
  z-index: 2;
}

.cat-hero .intro { color: var(--muted-dark); font-size: 1.06rem; max-width: 640px; position: relative; z-index: 2; }

.cat-art-stage {
  justify-self: center;
  position: relative;
  width: min(360px, 100%);
  aspect-ratio: 9 / 10;
  display: grid;
  place-items: center;
}

.cat-hero-art {
  position: relative;
  z-index: 2;
  width: 72%;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius) var(--radius);
  background:
    radial-gradient(120% 70% at 30% 10%, rgba(255, 255, 255, 0.85), transparent 55%),
    linear-gradient(165deg, var(--tint, #efe8d8), color-mix(in srgb, var(--tint, #efe8d8) 60%, var(--tint-ink, var(--red))));
  color: var(--tint-ink, var(--ink));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 40px 80px -30px rgba(0, 0, 0, 0.6),
    0 0 0 10px rgba(255, 255, 255, 0.05);
}

.cat-hero-art svg.motif { width: 120px; height: 120px; position: relative; z-index: 2; transform: translateZ(70px); filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.2)); }

.cat-hero-art::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px dashed color-mix(in srgb, var(--tint-ink, var(--ink)) 40%, transparent);
  border-radius: 999px 999px calc(var(--radius) - 8px) calc(var(--radius) - 8px);
  transform: translateZ(30px);
}

.cat-hero-art::after { z-index: 3; }

/* Fragrance notes orbiting the family artwork; positions are set by site.js. */
.orbit { position: absolute; inset: 0; pointer-events: none; }

.orbit-chip {
  position: absolute;
  left: 50%;
  top: 50%;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  color: #fff6ef;
  white-space: nowrap;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(52, 9, 15, 0.55);
  border: 1px solid rgba(235, 185, 94, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  will-change: transform, opacity;
}

.orbit-chip::before { content: "✦ "; color: var(--gold-bright); }

.sub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sub-card {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--card-shadow);
}

.sub-card::before {
  content: "";
  position: absolute;
  top: -1px; left: 26px;
  width: 44px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--grad-warm);
}

.sub-card:hover { --lift: -5px; box-shadow: var(--card-shadow-hover); border-color: color-mix(in srgb, var(--red) 30%, var(--line)); }

.sub-card h3 { font-size: 1.2rem; margin: 0; transform: translateZ(24px); }
.sub-card p { font-size: 0.93rem; color: var(--muted); margin: 0; flex: 1; }

.note-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }

.note {
  font-size: 0.74rem;
  font-weight: 720;
  letter-spacing: 0.02em;
  color: var(--red);
  border: 1px solid color-mix(in srgb, var(--red) 25%, transparent);
  background: color-mix(in srgb, var(--red) 6%, transparent);
  border-radius: 999px;
  padding: 4px 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.note::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.custom-strip {
  position: relative;
  margin-top: 64px;
  border-radius: var(--radius);
  background:
    radial-gradient(500px 220px at 100% 0%, rgba(226, 72, 63, 0.45), transparent 60%),
    var(--wine);
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: 0 30px 60px -34px rgba(52, 9, 15, 0.75);
}

.custom-strip h3 { margin: 0 0 6px; color: #fff6ef; font-size: 1.5rem; }
.custom-strip p { margin: 0; color: var(--muted-dark); font-size: 0.98rem; max-width: 580px; }
.custom-strip .btn-primary { background: var(--grad-gold); color: var(--wine-2); }

.related { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--line); }

.related .related-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.related-row { display: flex; flex-wrap: wrap; gap: 12px; }

.related-row a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 720;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: 999px;
  padding: 11px 22px;
  box-shadow: var(--card-shadow);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.25s var(--ease-out);
}

.related-row a:hover { border-color: var(--red); color: var(--red); transform: translateY(-3px); }

/* ---------- products directory ---------- */

.dir-section {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 34px;
  margin-bottom: 22px;
  box-shadow: var(--card-shadow);
}

.dir-section:hover { --lift: -4px; box-shadow: var(--card-shadow-hover); border-color: color-mix(in srgb, var(--red) 25%, var(--line)); }

.dir-grid {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 44px;
  align-items: center;
}

.dir-head { display: flex; gap: 20px; align-items: flex-start; }
.dir-head h2 { font-size: 1.5rem; margin-bottom: 6px; }
.dir-head h2 a { color: var(--ink); }
.dir-head h2 a:hover { color: var(--red); }
.dir-head .deck { font-size: 0.9rem; color: var(--muted); margin: 0 0 12px; }

.dir-link {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

.dir-link:hover { color: var(--red-deep); }

/* ---------- prose (about, SEO copy) ---------- */

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); margin-top: 1.8em; }
.prose ul { color: var(--muted); padding-left: 0; list-style: none; }
.prose li { margin-bottom: 10px; padding-left: 30px; position: relative; }
.prose li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--grad-red);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 14%, transparent);
}
.prose li::after {
  content: "";
  position: absolute;
  left: 5px; top: calc(0.55em + 4px);
  width: 4px; height: 7px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.seo-copy > h2:first-child { margin-top: 0; }
.seo-copy > p { font-size: 1.04rem; }

/* ---------- FAQ accordion ---------- */

.faq { display: grid; gap: 12px; margin-top: 8px; }

.faq-item {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--card-shadow);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item[open] { border-color: color-mix(in srgb, var(--red) 35%, var(--line)); box-shadow: var(--card-shadow-hover); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary h3 { font-size: 1.1rem; margin: 0; line-height: 1.35; }

.faq-item summary .faq-sign {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  position: relative;
  background: color-mix(in srgb, var(--red) 10%, transparent);
  transition: transform 0.4s var(--ease-spring), background 0.25s ease;
}

.faq-sign::before,
.faq-sign::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--red);
  transition: transform 0.35s var(--ease-out), background 0.25s ease;
}

.faq-sign::after { transform: rotate(90deg); }
.faq-item[open] .faq-sign { transform: rotate(180deg); background: var(--grad-red); }
.faq-item[open] .faq-sign::before, .faq-item[open] .faq-sign::after { background: #fff; }
.faq-item[open] .faq-sign::after { transform: rotate(0deg); }

.faq-item p { color: var(--muted); margin: 0; padding: 0 22px 22px; animation: faq-open 0.4s var(--ease-out); }

@keyframes faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- about page ---------- */

.facts-table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 10px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--card-shadow); }

.facts-table td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.facts-table tr:last-child td { border-bottom: 0; }

.facts-table td:first-child {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  width: 230px;
  padding-top: 19px;
}

.facts-table td:last-child { font-weight: 680; color: var(--ink); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 12px;
}

/* ---------- contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.contact-card {
  position: sticky;
  top: 112px;
  overflow: hidden;
  background:
    radial-gradient(420px 280px at 100% 0%, rgba(226, 72, 63, 0.5), transparent 62%),
    var(--wine);
  border-radius: var(--radius);
  padding: 42px 38px;
  box-shadow: 0 40px 80px -40px rgba(52, 9, 15, 0.8);
}

.contact-card h2 { color: #fff6ef; font-size: 1.7rem; }

.contact-item { padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.contact-item:last-of-type { border-bottom: 0; }

.contact-item .label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 5px;
}

.contact-item .value, .contact-item .value a { color: #fff6ef; font-weight: 650; font-size: 1rem; }
.contact-item .value a:hover { color: var(--gold-bright); }
.contact-item .value .sub { display: block; font-weight: 500; font-size: 0.86rem; color: var(--muted-dark); margin-top: 3px; }

.social-row { display: flex; gap: 12px; margin-top: 24px; }

.social-row a {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff6ef;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.3s var(--ease-spring), background 0.2s ease;
}

.social-row a:hover { border-color: var(--gold-bright); color: var(--wine-2); background: var(--gold-bright); transform: translateY(-3px) rotate(-6deg); }
.social-row svg { width: 17px; height: 17px; }

/* ---------- forms ---------- */

.form-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 42px 40px;
  box-shadow: var(--card-shadow);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-field.wide { grid-column: 1 / -1; }

.form-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 7px;
}

.form-field label .req { color: var(--red); }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.96rem;
  color: var(--text);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.35s ease;
}

.form-field textarea { resize: vertical; min-height: 140px; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 16%, transparent);
}

.form-note { font-size: 0.84rem; color: var(--muted); margin: 16px 0 0; }

.map-frame {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.map-frame iframe { display: block; width: 100%; height: 320px; border: 0; filter: saturate(0.85); }
[data-theme="dark"] .map-frame iframe { filter: invert(0.9) hue-rotate(180deg) saturate(0.55) brightness(0.95); }

/* ---------- footer ---------- */

.site-footer {
  position: relative;
  background:
    radial-gradient(800px 300px at 100% 0%, rgba(193, 39, 45, 0.22), transparent 60%),
    var(--wine-2);
  padding: 80px 0 0;
  color: var(--muted-dark);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-warm);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-brand svg { height: 48px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: 0.92rem; margin-bottom: 20px; }

.site-footer .col-title {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 18px;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links.two-col { column-count: 2; column-gap: 28px; }
.footer-links li { margin-bottom: 10px; }

.footer-links a { color: var(--muted-dark); font-size: 0.93rem; transition: color 0.2s ease, padding 0.25s var(--ease-out); }
.footer-links a:hover { color: #fff6ef; padding-left: 4px; }

.footer-contact { list-style: none; padding: 0; margin: 0; font-size: 0.93rem; }
.footer-contact li { margin-bottom: 12px; padding-left: 0; }
.footer-contact a { color: #fff6ef; font-weight: 650; }
.footer-contact a:hover { color: var(--gold-bright); }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 24px 0;
  font-size: 0.84rem;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom a { color: var(--muted-dark); }
.footer-bottom a:hover { color: var(--gold-bright); }

/* ---------- misc pages ---------- */

.center-page { text-align: center; padding: 140px 0; max-width: 640px; margin-inline: auto; }
.center-page .kicker { justify-content: center; }
.center-page .lede { color: var(--muted); font-size: 1.1rem; }

/* ---------- entrance animations ---------- */

@keyframes rise-in {
  from { opacity: 0; transform: perspective(900px) translateY(30px) rotateX(18deg); }
  to { opacity: 1; transform: none; }
}

.hero-inner > * { animation: rise-in 0.95s var(--ease-out) both; transform-origin: 50% 100%; }
.hero-inner .kicker { animation-delay: 0.05s; }
.hero-inner h1 { animation-delay: 0.16s; }
.hero-inner .lede { animation-delay: 0.3s; }
.hero-inner .hero-cta { animation-delay: 0.44s; }

/* "backwards" (not "both") so the tilt transform applies once the entrance ends. */
.hero-stats .stat { animation: rise-in 0.9s var(--ease-out) backwards; }
.hero-stats .stat:nth-child(1) { animation-delay: 0.5s; }
.hero-stats .stat:nth-child(2) { animation-delay: 0.6s; }
.hero-stats .stat:nth-child(3) { animation-delay: 0.7s; }
.hero-stats .stat:nth-child(4) { animation-delay: 0.8s; }

@keyframes art-in {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: none; }
}

.hero-3d { animation: art-in 1.4s var(--ease-out) 0.2s both; }

.page-hero .breadcrumbs, .cat-hero .breadcrumbs { animation: rise-in 0.7s ease both; }
.page-hero .kicker, .cat-hero .kicker { animation: rise-in 0.7s ease 0.08s both; }
.page-hero h1, .cat-hero h1 { animation: rise-in 0.8s var(--ease-out) 0.16s both; }
.page-hero .lede, .cat-hero .deck { animation: rise-in 0.8s var(--ease-out) 0.26s both; }
.cat-hero .intro { animation: rise-in 0.8s var(--ease-out) 0.34s both; }
.cat-hero .chip-row { animation: rise-in 0.8s var(--ease-out) 0.42s both; }
.cat-art-stage { animation: art-in 1s var(--ease-out) 0.2s both; }

/* ---------- ambient motion ---------- */

@keyframes smoke-sway {
  from { transform: translateY(8px); }
  to { transform: translateY(-14px); }
}

.smoke-g { animation: smoke-sway 14s ease-in-out infinite alternate; }

@keyframes smoke-flow { to { stroke-dashoffset: -165; } }

.smoke-dash {
  stroke-dasharray: 0.5 16;
  stroke-linecap: round;
  animation: smoke-flow 10s linear infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.6; }
}

.spark { animation: twinkle 5.5s ease-in-out infinite; }

/* Uses the translate property so the motif keeps its translateZ depth. */
@keyframes float-y {
  from { translate: 0 6px; }
  to { translate: 0 -8px; }
}

.cat-hero-art .motif { animation: float-y 4.5s ease-in-out infinite alternate; }

/* ---------- back to top ---------- */

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--grad-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-spring), visibility 0.3s;
  box-shadow: 0 14px 30px -12px rgba(143, 28, 34, 0.8);
}

.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-4px); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- scroll reveal (3D) ---------- */

.reveal {
  opacity: 0;
  transform: perspective(1000px) translateY(46px) rotateX(16deg) scale(0.97);
  transform-origin: 50% 100%;
  transition: opacity 0.8s ease, transform 0.9s var(--ease-out);
}

.reveal.in { opacity: 1; transform: perspective(1000px) translateY(0) rotateX(0) scale(1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .card-grid, .sub-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .why-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-art { opacity: 0.3; width: 100%; right: -52%; }
  .hero-3d-caption { display: none; }
  .hero-stats .container { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split-panel { max-width: 420px; }
  .dir-grid { grid-template-columns: 1fr; gap: 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { position: relative; top: 0; }
  .cat-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .cat-art-stage { justify-self: center; width: 300px; }
}

@media (max-width: 920px) {
  .main-nav {
    position: absolute;
    top: 80px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(52, 9, 15, 0.5);
    padding: 12px 24px 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
  }

  .theme-toggle { margin-left: auto; }

  .nav-open .main-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .main-nav a { opacity: 0; transform: translateY(-6px); transition: opacity 0.3s ease, transform 0.3s ease; }
  .nav-open .main-nav a { opacity: 1; transform: none; }
  .nav-open .main-nav a:nth-child(1) { transition-delay: 0.04s; }
  .nav-open .main-nav a:nth-child(2) { transition-delay: 0.09s; }
  .nav-open .main-nav a:nth-child(3) { transition-delay: 0.14s; }
  .nav-open .main-nav a:nth-child(4) { transition-delay: 0.19s; }
  .nav-open .main-nav a:nth-child(5) { transition-delay: 0.24s; }

  .main-nav a { padding: 14px 4px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .main-nav .btn { margin-top: 18px; justify-content: center; border-bottom: 0; }

  .nav-toggle { display: block; }
}

@media (max-width: 780px) {
  .section { padding: 84px 0; }
  .hero-inner { padding: 48px 0 72px; }
  .cta-band { padding: 52px 34px; }
  .form-grid { grid-template-columns: 1fr; }
  .marquee span { font-size: 1.2rem; }
}

@media (max-width: 560px) {
  .card-grid, .sub-grid, .process-grid, .why-grid, .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .facts-table td:first-child { width: 130px; }
  .section { padding: 68px 0; }
  .section-tight { padding: 60px 0; }
  .hero-inner { padding: 36px 0 60px; }
  .page-hero { padding: 60px 0 56px; }
  .cat-hero { padding: 56px 0 64px; }
  .stat { padding: 18px; }
  .stat .stat-value { font-size: 1.6rem; }
  .cta-band { padding: 42px 26px; }
  .form-card { padding: 28px 22px; }
  .contact-card { padding: 32px 26px; }
  .custom-strip { padding: 30px 26px; }
  .dir-section { padding: 26px 22px; }
  .to-top { right: 16px; bottom: 16px; }
  .header-inner { gap: 10px; }
  .brand svg { height: 40px; }
  .cat-art-stage { width: 260px; }
}
