/* ============================================================
   UPPERLINE EVENTS - Editorial Luxury Design System
   Palette: Red / Off-white / Black
   ============================================================ */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Brand color */
  --ink:        #100F0E;   /* near-black */
  --ink-2:      #1B1917;   /* raised dark surface */
  --ink-3:      #2A2724;   /* hairline on dark / deep panel */
  --paper:      #F6F1E7;   /* warm off-white */
  --paper-2:    #EFE7D8;   /* deeper off-white panel */
  --paper-3:    #E7DCC8;   /* sand */
  --red:        #C8102E;   /* brand red */
  --red-deep:   #8E0C20;   /* oxblood */
  --red-bright: #E22338;   /* highlight red */

  /* Text */
  --text:       #16130F;
  --text-soft:  #54493B;   /* warm muted on paper (>=4.5:1) */
  --text-faint: #8A7C68;
  --on-dark:        #F6F1E7;
  --on-dark-soft:   rgba(246,241,231,0.66);
  --on-dark-faint:  rgba(246,241,231,0.42);

  /* Lines */
  --line:         rgba(22,19,15,0.14);
  --line-strong:  rgba(22,19,15,0.26);
  --line-dark:    rgba(246,241,231,0.16);
  --line-dark-2:  rgba(246,241,231,0.28);

  /* Type */
  --font-display: 'Fraunces', 'Times New Roman', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Spacing / layout */
  --container: 1280px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(4.5rem, 11vh, 9rem);
  --radius: 2px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* z-index scale */
  --z-grain: 60;
  --z-header: 100;
  --z-menu: 200;
  --z-progress: 300;
}

/* ---------- 2. Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--text);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
::selection { background: var(--red); color: var(--paper); }

/* Film-grain texture overlay for tactile, premium depth */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 3. Typography ---------- */
.display, h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 430;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--text);
  font-optical-sizing: auto;
}
h1, .h1 { font-size: clamp(2.6rem, 1.6rem + 4.6vw, 5.4rem); }
h2, .h2 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); line-height: 1.04; }
h3, .h3 { font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem); line-height: 1.12; letter-spacing: -0.01em; }
h4, .h4 { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem); line-height: 1.2; letter-spacing: -0.005em; }

.display-xl {
  font-family: var(--font-display);
  font-weight: 410;
  font-size: clamp(3rem, 1.2rem + 8vw, 8rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

em, .italic { font-style: italic; }
.serif-italic { font-family: var(--font-display); font-style: italic; font-weight: 400; }

p { text-wrap: pretty; }
.lead {
  font-size: clamp(1.18rem, 1.05rem + 0.7vw, 1.6rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--text);
  font-weight: 400;
}
.measure { max-width: 62ch; }
.measure-sm { max-width: 46ch; }

/* Eyebrow / kicker */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: "";
  width: 1.8rem;
  height: 1px;
  background: var(--red);
  display: inline-block;
}
.eyebrow.is-centered { justify-content: center; }
.eyebrow.on-dark { color: var(--red-bright); }

.muted { color: var(--text-soft); }
.on-dark .muted, .muted.on-dark { color: var(--on-dark-soft); }

/* ---------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-wide { max-width: 1480px; }
.section { padding-block: var(--section-y); position: relative; }
.section-sm { padding-block: clamp(3rem, 7vh, 5rem); }

.dark {
  background: var(--ink);
  color: var(--on-dark);
}
.dark h1, .dark h2, .dark h3, .dark h4, .dark .display { color: var(--paper); }
.dark .lead { color: var(--paper); }
.dark .muted { color: var(--on-dark-soft); }
.panel { background: var(--paper-2); }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }

.hr { height: 1px; background: var(--line); border: 0; margin: 0; }
.dark .hr { background: var(--line-dark); }

.section-head { max-width: 760px; }
.section-head .eyebrow { margin-bottom: 1.4rem; }
.section-head p { margin-top: 1.25rem; color: var(--text-soft); }
.dark .section-head p { color: var(--on-dark-soft); }

.center { text-align: center; }
.center .section-head { margin-inline: auto; }

/* ---------- 5. Buttons & Links ---------- */
.btn {
  --btn-bg: var(--red);
  --btn-fg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.85rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), background-color 0.4s var(--ease);
  isolation: isolate;
  min-height: 48px;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
  z-index: -1;
}
.btn:hover { box-shadow: 0 16px 40px -14px rgba(200,16,46,0.5); }
.btn:hover::before { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.btn-outline {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border: 1px solid var(--line-strong);
}
.btn-outline::before { background: var(--ink); }
.btn-outline:hover { color: var(--paper); box-shadow: none; }
.btn-outline.on-dark { --btn-fg: var(--paper); border-color: var(--line-dark-2); }
.btn-outline.on-dark::before { background: var(--paper); }
.btn-outline.on-dark:hover { color: var(--ink); }

.btn-ghost { --btn-bg: var(--ink); --btn-fg: var(--paper); }
.btn-ghost::before { background: var(--red); }

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

/* Inline animated underline link */
.link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  padding-bottom: 4px;
}
.link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.link:hover { color: var(--red); }
.link:hover::after { transform: scaleX(1); transform-origin: left; }
.link .arrow { transition: transform 0.4s var(--ease); }
.link:hover .arrow { transform: translateX(4px); }
.link.on-dark { color: var(--paper); }
.link.on-dark:hover { color: var(--red-bright); }

/* ---------- 6. Header / Nav ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.header__inner {
  max-width: 1480px;
  margin-inline: auto;
  padding: 1.15rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: padding 0.5s var(--ease);
}
.header.is-scrolled {
  background: rgba(246,241,231,0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header.is-scrolled .header__inner { padding-block: 0.8rem; }

/* Brand */
.brand { display: inline-flex; align-items: baseline; gap: 0.5rem; line-height: 1; }
.brand__mark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--paper);
  transition: color 0.5s var(--ease);
}
.brand__sub {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--red-bright);
}
.header.is-scrolled .brand__mark { color: var(--ink); }

/* Desktop nav */
.nav { display: flex; align-items: center; gap: clamp(1.5rem, 2.6vw, 2.6rem); }
.nav__links { display: flex; gap: clamp(1.4rem, 2.4vw, 2.4rem); }
.nav__link {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.4s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--paper); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.header.is-scrolled .nav__link { color: var(--text-soft); }
.header.is-scrolled .nav__link:hover,
.header.is-scrolled .nav__link.is-active { color: var(--ink); }

.header .btn { padding: 0.7rem 1.25rem; min-height: 0; }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  position: relative;
  z-index: calc(var(--z-menu) + 1);
}
.nav-toggle span {
  width: 26px; height: 1.5px;
  background: var(--paper);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), background-color 0.4s var(--ease);
}
.header.is-scrolled .nav-toggle span { background: var(--ink); }
body.menu-open .nav-toggle span { background: var(--paper); }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu overlay */
.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem var(--gutter) 3rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), visibility 0.5s;
}
body.menu-open .menu { opacity: 1; visibility: visible; transform: none; }
.menu__links { display: flex; flex-direction: column; gap: 0.4rem; }
.menu__link {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 11vw, 3.4rem);
  font-weight: 420;
  letter-spacing: -0.02em;
  color: var(--paper);
  padding: 0.35rem 0;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  opacity: 0;
  transform: translateY(18px);
  transition: color 0.4s var(--ease);
}
body.menu-open .menu__link { animation: menuIn 0.6s var(--ease) forwards; }
body.menu-open .menu__link:nth-child(1) { animation-delay: 0.12s; }
body.menu-open .menu__link:nth-child(2) { animation-delay: 0.18s; }
body.menu-open .menu__link:nth-child(3) { animation-delay: 0.24s; }
body.menu-open .menu__link:nth-child(4) { animation-delay: 0.30s; }
body.menu-open .menu__link:nth-child(5) { animation-delay: 0.36s; }
.menu__link .idx { font-family: var(--font-sans); font-size: 0.8rem; letter-spacing: 0.1em; color: var(--red-bright); font-weight: 600; }
.menu__link:hover { color: var(--red-bright); }
@keyframes menuIn { to { opacity: 1; transform: none; } }
.menu__foot {
  margin-top: auto;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 2rem;
  color: var(--on-dark-soft);
  font-size: 0.85rem;
}
.menu__foot a:hover { color: var(--paper); }

/* Scroll progress */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--red);
  z-index: var(--z-progress);
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding-top: clamp(8rem, 16vh, 11rem);
  padding-bottom: clamp(3.5rem, 8vh, 6rem);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: -12% 0;            /* oversized so parallax never exposes an edge */
  z-index: -2;
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  filter: grayscale(0.35) contrast(1.05);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,15,14,0.55) 0%, rgba(16,15,14,0.7) 55%, rgba(16,15,14,0.96) 100%);
}
.hero__glow {
  position: absolute;
  z-index: -1;
  width: 60vw; height: 60vw;
  max-width: 760px; max-height: 760px;
  top: -18%; right: -10%;
  background: radial-gradient(circle, rgba(200,16,46,0.5), transparent 64%);
  filter: blur(30px);
  pointer-events: none;
}
.hero-home { min-height: 100svh; display: flex; align-items: flex-end; }
.hero__eyebrow { margin-bottom: 1.6rem; }
.hero__title {
  font-size: clamp(2.9rem, 1rem + 9.5vw, 9rem);
  line-height: 0.94;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--paper);
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; }
.hero__title .accent { font-style: italic; color: var(--paper); }
.hero__title .accent em { color: var(--red-bright); }
.hero__meta {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}
.hero__lead { max-width: 44ch; color: var(--on-dark-soft); font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem); line-height: 1.5; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Inner page hero (shorter) */
.hero-page { display: flex; align-items: flex-end; min-height: 64svh; }
.hero-page .hero__title { font-size: clamp(2.6rem, 1rem + 7vw, 6.4rem); }
.hero-breadcrumb {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
  margin-bottom: 1.4rem;
}
.hero-breadcrumb a:hover { color: var(--paper); }
.hero-breadcrumb .sep { color: var(--red-bright); margin-inline: 0.5rem; }

.scroll-cue {
  position: absolute;
  bottom: 1.6rem; left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.scroll-cue .bar { width: 1px; height: 38px; background: linear-gradient(var(--red-bright), transparent); }

/* ---------- 8. Marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line-dark);
  padding-block: 1.4rem;
  background: var(--ink);
  color: var(--paper);
}
.marquee__track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1rem + 1.5vw, 2.1rem);
  font-style: italic;
  font-weight: 400;
  color: var(--on-dark-soft);
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
  white-space: nowrap;
}
.marquee__item::after { content: "✦"; color: var(--red); font-style: normal; font-size: 0.7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 9. Cards / Services ---------- */
.svc-card {
  position: relative;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.55s var(--ease), border-color 0.55s var(--ease), background-color 0.55s var(--ease);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.svc-card__num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--red);
  margin-bottom: 2.4rem;
}
.svc-card h3 { transition: color 0.45s var(--ease); }
.svc-card p { margin-top: 0.9rem; color: var(--text-soft); font-size: 0.98rem; }
.svc-card .link { margin-top: auto; padding-top: 1.6rem; }
.svc-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card.is-dark { background: var(--ink-2); border-color: var(--line-dark); color: var(--on-dark); }
.svc-card.is-dark h3 { color: var(--paper); }
.svc-card.is-dark p { color: var(--on-dark-soft); }

/* Icon chip */
.chip {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  color: var(--red);
}
.chip svg { width: 24px; height: 24px; }
.is-dark .chip { border-color: var(--line-dark); color: var(--red-bright); }

/* Feature row (image + text alternating) */
.feature { align-items: center; }
.feature__media {
  aspect-ratio: 4 / 3.4;
  background: var(--ink-2);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.feature__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(200,16,46,0.12), transparent 60%);
}
.feature__tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--red);
  color: var(--paper);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  z-index: 1;
}
.feature__body .eyebrow { margin-bottom: 1.3rem; }
.feature__body h2 { margin-bottom: 1.1rem; }
.feature__body p { color: var(--text-soft); }
.feature__body p + p { margin-top: 1rem; }
.feature__list { margin-top: 1.8rem; display: grid; gap: 0.2rem; }
.feature__list li {
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 500;
}
.feature__list li::before { content: ""; width: 16px; height: 1px; background: var(--red); flex: none; }
.feature__list li:last-child { border-bottom: 1px solid var(--line); }

/* ---------- 10. Process (6-D) ---------- */
.process { display: grid; gap: 0; }
.process__row {
  display: grid;
  grid-template-columns: minmax(0,0.5fr) minmax(0,1fr) minmax(0,1.4fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: start;
  padding: clamp(1.8rem, 3.5vw, 2.8rem) 0;
  border-top: 1px solid var(--line);
  transition: background-color 0.5s var(--ease);
}
.process__row:last-child { border-bottom: 1px solid var(--line); }
.dark .process__row { border-color: var(--line-dark); }
.process__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.5rem + 3vw, 4.4rem);
  font-weight: 380;
  line-height: 0.9;
  color: var(--red);
  font-style: italic;
}
.process__row h3 { line-height: 1.05; }
.process__row p { color: var(--text-soft); }
.dark .process__row p { color: var(--on-dark-soft); }
.process__row:hover { background: rgba(200,16,46,0.04); }
.dark .process__row:hover { background: rgba(200,16,46,0.1); }

/* ---------- 11. Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat {
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem,2vw,2rem);
  border-left: 1px solid var(--line-dark);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 1.6rem + 4vw, 5rem);
  font-weight: 380;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.stat__num .unit { color: var(--red-bright); }
.stat__label {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}

/* ---------- 12. Testimonials ---------- */
.quote-lead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 1.1rem + 3vw, 3.6rem);
  line-height: 1.16;
  letter-spacing: -0.015em;
}
.quote-lead .hl { color: var(--red); font-style: italic; }

.tcard {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}
.tcard:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.tcard__mark { font-family: var(--font-display); font-size: 3rem; line-height: 0.6; color: var(--red); height: 1.4rem; }
.tcard blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
  line-height: 1.32;
  font-weight: 410;
  letter-spacing: -0.01em;
  margin: 1.2rem 0 2rem;
}
.tcard__author { margin-top: auto; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.tcard__name { font-weight: 600; letter-spacing: 0.01em; }
.tcard__role { font-size: 0.85rem; color: var(--text-soft); margin-top: 0.25rem; }
.tcard.is-dark { background: var(--ink-2); border-color: var(--line-dark); }
.tcard.is-dark blockquote { color: var(--paper); }
.tcard.is-dark .tcard__author { border-color: var(--line-dark); }
.tcard.is-dark .tcard__name { color: var(--paper); }
.tcard.is-dark .tcard__role { color: var(--on-dark-soft); }

.stars { display: inline-flex; gap: 3px; color: var(--red); margin-bottom: 0.4rem; }
.stars svg { width: 15px; height: 15px; }

/* ---------- 13. CTA band ---------- */
.cta {
  position: relative;
  background: var(--red);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(0,0,0,0.32), transparent 55%),
    radial-gradient(100% 100% at 0% 100%, rgba(0,0,0,0.28), transparent 55%);
}
.cta h2 { color: var(--paper); }
.cta .eyebrow { color: var(--paper); }
.cta .eyebrow::before { background: var(--paper); }
.cta__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.cta .btn-light { --btn-bg: var(--paper); --btn-fg: var(--ink); }
.cta .btn-light::before { background: var(--ink); }
.cta .btn-light:hover { color: var(--paper); box-shadow: 0 16px 40px -14px rgba(0,0,0,0.5); }

/* ---------- 14. Footer ---------- */
.footer { background: var(--ink); color: var(--on-dark-soft); padding-top: clamp(4rem,8vh,6rem); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(2rem,4vw,3rem); padding-bottom: 4rem; }
.footer__brand .brand__mark { color: var(--paper); font-size: 2rem; }
.footer__brand p { margin-top: 1.4rem; max-width: 34ch; color: var(--on-dark-soft); }
.footer__col h5 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
  margin-bottom: 1.3rem;
}
.footer__col ul { display: grid; gap: 0.75rem; }
.footer__col a, .footer__col address {
  color: var(--on-dark-soft);
  font-style: normal;
  transition: color 0.35s var(--ease);
  line-height: 1.55;
}
.footer__col a:hover { color: var(--paper); }
.footer__bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.8rem;
  color: var(--on-dark-faint);
}
.footer__bottom a:hover { color: var(--paper); }
.footer__social { display: flex; gap: 0.8rem; }
.footer__social a {
  width: 38px; height: 38px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.footer__social a:hover { background: var(--red); border-color: var(--red); color: var(--paper); }
.footer__social svg { width: 17px; height: 17px; }

/* ---------- 15. Forms ---------- */
.form { display: grid; gap: 1.4rem; }
.field { display: grid; gap: 0.5rem; }
.field label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 1rem;
  padding: 0.95rem 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text);
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200,16,46,0.14);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.form__note { font-size: 0.85rem; color: var(--text-soft); }
.form-success,
.form-error {
  display: none;
  padding: 1.1rem 1.3rem;
  font-weight: 500;
  font-size: 0.96rem;
}
.form-success {
  background: var(--ink);
  color: var(--paper);
  border-left: 3px solid var(--red);
}
.form-error {
  background: rgba(200,16,46,0.08);
  color: var(--red-deep);
  border: 1px solid var(--red);
}
.form-success.is-visible,
.form-error.is-visible { display: block; }

/* Contact info list */
.contact-list { display: grid; gap: 1.6rem; }
.contact-item { display: flex; gap: 1.1rem; align-items: flex-start; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line-dark); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .chip { margin: 0; flex-shrink: 0; width: 46px; height: 46px; border-color: var(--line-dark); color: var(--red-bright); }
.contact-item h5 { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-dark-faint); font-family: var(--font-sans); font-weight: 600; margin-bottom: 0.4rem; }
.contact-item a, .contact-item address { color: var(--paper); font-style: normal; font-size: 1.05rem; }
.contact-item a:hover { color: var(--red-bright); }

/* ---------- 16. Misc / utility ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.tag {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--text-soft);
}
.dark .tag { border-color: var(--line-dark); color: var(--on-dark-soft); }

.overline-list { display: grid; gap: 0; counter-reset: ol; }
.overline-list li {
  padding: 1.3rem 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  align-items: baseline;
}
.overline-list li:last-child { border-bottom: 1px solid var(--line); }
.overline-list li::before {
  counter-increment: ol;
  content: counter(ol, decimal-leading-zero);
  font-family: var(--font-display);
  font-style: italic;
  color: var(--red);
  font-size: 0.95rem;
}

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.member__avatar {
  aspect-ratio: 1 / 1.1;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--ink-2), var(--ink));
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 400;
  font-style: italic;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 1.3rem;
}
.member__avatar::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
}
.member:hover .member__avatar::after { transform: scaleX(1); }
.member h3 { font-size: 1.45rem; }
.member__role { color: var(--red); font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; margin-top: 0.55rem; }
.member p { color: var(--text-soft); margin-top: 0.85rem; font-size: 0.95rem; }
@media (max-width: 860px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

/* Contact */
.contact-panel {
  background: var(--ink);
  color: var(--on-dark);
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--line-dark);
  position: relative;
  overflow: hidden;
}
.contact-panel::before {
  content: "";
  position: absolute;
  top: -40%; right: -20%;
  width: 60%; height: 80%;
  background: radial-gradient(circle, rgba(200,16,46,0.4), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.contact-panel h3 { color: var(--paper); position: relative; }
.contact-panel > * { position: relative; }
.contact-panel .contact-list { margin-top: 2rem; }
.contact-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 860px) { .contact-split { grid-template-columns: 1fr; } }

.map {
  width: 100%;
  height: clamp(320px, 42vh, 460px);
  border: 1px solid var(--line);
  filter: grayscale(0.45) contrast(1.05);
  display: block;
}

/* Trusted venues */
.venues { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.venue {
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1rem, 2vw, 1.6rem);
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 120px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.3rem);
  line-height: 1.2;
  color: var(--on-dark-soft);
  transition: color 0.4s var(--ease), background-color 0.4s var(--ease);
}
.venue:hover { color: var(--paper); background: rgba(200,16,46,0.08); }
@media (max-width: 860px) { .venues { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .venues { grid-template-columns: 1fr; } }

/* Featured testimonial */
.feature-quote {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.feature-quote__mark { font-family: var(--font-display); font-size: clamp(4rem, 10vw, 8rem); line-height: 0.7; color: var(--red); }
.feature-quote blockquote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 1rem + 2.6vw, 3rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
}
.feature-quote cite { display: block; margin-top: 1.8rem; font-style: normal; }
.feature-quote .tcard__name { font-size: 1.05rem; }
@media (max-width: 640px) { .feature-quote { grid-template-columns: 1fr; } .feature-quote__mark { height: 2.5rem; } }

/* Big statement band */
.statement {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 1.1rem + 3.4vw, 4rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.statement .hl { color: var(--red-bright); font-style: italic; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.flex-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.4rem; }

/* Pull image block */
.imgblock {
  aspect-ratio: 16/10;
  background: var(--ink-2);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.imgblock.tall { aspect-ratio: 3/4; }
.imgblock::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(16,15,14,0.4));
}
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(0.8rem,1.5vw,1.4rem); }
.gallery .imgblock { min-height: 0; }
.g-6 { grid-column: span 6; }
.g-4 { grid-column: span 4; }
.g-8 { grid-column: span 8; }
.g-12 { grid-column: 1 / -1; }
.g-tall { aspect-ratio: 3/4; }
.g-portrait { aspect-ratio: 4/5; }
.g-wide { aspect-ratio: 21/9; }

/* ---------- 17. Motion (reveal initial states) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  will-change: opacity, transform;
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-32px); }
.js [data-reveal="right"] { transform: translateX(32px); }
.js [data-reveal="scale"] { transform: scale(0.96); }

.js.no-motion [data-reveal],
.js.no-motion [data-reveal-item] { opacity: 1 !important; transform: none !important; }

.js [data-reveal-group] [data-reveal-item] {
  opacity: 0;
  transform: translateY(26px);
  will-change: opacity, transform;
}

.js [data-hero-line] {
  opacity: 0;
  transform: translateY(110%);
  will-change: opacity, transform;
}
.js.no-motion [data-hero-line] { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-reveal-item], .js [data-hero-line] { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
  .menu__link { animation: none !important; opacity: 1; transform: none; }
}

/* ---------- 18. Responsive ---------- */
@media (max-width: 1024px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer__brand { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav__links, .header .btn.nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .split, .feature, .cta__inner { grid-template-columns: 1fr; }
  .feature.reverse .feature__media { order: -1; }
  .cols-3 { grid-template-columns: 1fr; }
  .process__row { grid-template-columns: auto 1fr; }
  .process__num { grid-row: span 2; }
  .form-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .g-6, .g-4, .g-8 { grid-column: span 1; }
}

@media (max-width: 560px) {
  :root { --section-y: clamp(3.5rem, 9vh, 5rem); }
  .cols-2, .cols-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 0; padding-left: 0; padding-inline: 0; }
  .hero__meta { flex-direction: column; align-items: flex-start; }
  .gallery { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
}
