﻿/* ==========================================================================
   Let's Tie -- Design System
   ========================================================================== */

:root {
  /* Color */
  --ink: #14120F;
  --ink-soft: #211E19;
  --ink-mute: #6B655C;
  --cream: #FAF7F1;
  --cream-alt: #F1EBDF;
  --paper: #FFFFFF;
  --red: #B5342B;
  --red-deep: #8C2620;
  --red-bright: #C8402F;
  --gold: #C7A15A;
  --line: rgba(20, 18, 15, 0.1);
  --line-light: rgba(255, 255, 255, 0.14);

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing scale */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 7rem;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 22px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

.section-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.kicker {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--space-2);
}

.kicker-light { color: var(--gold); }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: var(--space-3);
}

.title-light { color: var(--paper); }

/* Subtle film-grain texture overlay for premium feel */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.9rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(181, 52, 43, 0.55);
}
.btn-primary:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(181, 52, 43, 0.65);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-sm { padding: 0.65rem 1.4rem; font-size: 0.85rem; }

.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: var(--space-3) 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(250, 247, 241, 0.85);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  padding: var(--space-2) 0;
  border-bottom-color: var(--line);
  box-shadow: 0 4px 30px -12px rgba(20,18,15,0.12);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 14px -4px rgba(20,18,15,0.25);
}

.brand-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: -0.01em;
  transition: color 0.4s var(--ease);
}

.site-header.scrolled .brand-word { color: var(--ink); }

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.3s var(--ease);
}

.site-header.scrolled .main-nav a { color: var(--ink-soft); }

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--red-bright);
  transition: width 0.3s var(--ease);
}

.main-nav a:hover { color: var(--red-bright); }
.site-header.scrolled .main-nav a:hover { color: var(--red); }
.main-nav a:hover::after { width: 100%; }

.nav-toggle { color: #fff; border-color: rgba(255,255,255,0.3); }
.site-header.scrolled .nav-toggle { color: var(--ink); border-color: var(--line); }

.header-actions { display: flex; align-items: center; gap: var(--space-3); }

.nav-toggle {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle .icon-menu,
.nav-toggle .icon-close {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.nav-toggle .icon-close { opacity: 0; transform: translate(-50%, -50%) scale(0.6) rotate(-45deg); }

.nav-toggle.open .icon-menu { opacity: 0; transform: translate(-50%, -50%) scale(0.6) rotate(45deg); }
.nav-toggle.open .icon-close { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0deg); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: var(--space-6);
}

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

#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 82% 12%, rgba(181, 52, 43, 0.35), transparent 60%),
    radial-gradient(50% 50% at 12% 92%, rgba(199, 161, 90, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(20,18,15,0.2) 0%, rgba(20,18,15,0.75) 78%, var(--ink) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--space-4);
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 100%;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #EADFCB;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  margin-bottom: var(--space-4);
  white-space: normal;
}

.eyebrow-dot { flex-shrink: 0; }

.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 0 4px rgba(200, 64, 47, 0.25);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin-bottom: var(--space-4);
}

.hero-title em {
  font-style: italic;
  color: var(--red-bright);
  font-weight: 400;
}

.hero-sub {
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  color: rgba(255,255,255,0.72);
  max-width: 46ch;
  margin-bottom: var(--space-5);
}

.hero-cta {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}

.hero .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.28);
}
.hero .btn-ghost:hover { border-color: #fff; }

.hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255,255,255,0.12);
}

.strip-item { display: flex; flex-direction: column; gap: 0.2rem; max-width: 180px; }

.strip-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
}

.strip-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.35;
}

.strip-divider {
  width: 1px;
  height: 34px;
  background: rgba(255,255,255,0.14);
}

.hero-badge {
  position: absolute;
  right: clamp(1rem, 6vw, 7rem);
  top: 128px;
  z-index: 2;
  background: rgba(250, 253, 254, 0.97);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.4rem 0.9rem;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55);
  transform: rotate(2deg);
}

.hero-logo-plate { width: 118px; }

.scroll-cue {
  position: absolute;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  z-index: 2;
}

.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 4px;
  background: #fff;
  border-radius: 50%;
  transform: translateX(-50%);
  animation: cue 1.8s infinite var(--ease);
}

@keyframes cue {
  0% { top: 8px; opacity: 1; }
  70% { top: 24px; opacity: 0; }
  100% { top: 24px; opacity: 0; }
}

/* ==========================================================================
   About
   ========================================================================== */

.about { padding: var(--space-7) 0; background: var(--cream); }

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-6);
  align-items: start;
}

.about-lead {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: var(--space-3);
}

.about-body {
  color: var(--ink-mute);
  font-size: 1.02rem;
  margin-bottom: var(--space-4);
  max-width: 54ch;
}

.about-body strong { color: var(--ink); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--red);
  border-bottom: 1px solid transparent;
  transition: gap 0.3s var(--ease), border-color .3s var(--ease);
}
.text-link:hover { gap: 0.7rem; border-color: var(--red); }
.text-link span { transition: transform 0.3s var(--ease); }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.stat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color .4s var(--ease);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(20,18,15,0.18);
  border-color: rgba(181,52,43,0.25);
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.86rem;
  color: var(--ink-mute);
  line-height: 1.4;
}

/* ==========================================================================
   Services
   ========================================================================== */

.services { padding: var(--space-7) 0; background: var(--paper); }

.services-head { max-width: 640px; margin-bottom: var(--space-6); }

.services-intro { color: var(--ink-mute); font-size: 1.05rem; }

.service-list { display: flex; flex-direction: column; }

.service-row {
  display: grid;
  grid-template-columns: 90px 90px 1fr;
  align-items: start;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--line);
  position: relative;
  transition: background 0.4s var(--ease);
}

.service-row:last-child { border-bottom: 1px solid var(--line); }

.service-row::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  height: 100%; width: 0;
  background: linear-gradient(180deg, rgba(181,52,43,0.05), transparent);
  transition: width 0.5s var(--ease);
  z-index: 0;
}

.service-row:hover::before { width: 100%; }

.service-index {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--line);
  font-weight: 600;
  position: relative;
  z-index: 1;
  transition: color 0.4s var(--ease);
}

.service-row:hover .service-index { color: var(--red); }

.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--cream-alt);
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
  position: relative;
  z-index: 1;
  transition: transform 0.45s var(--ease), background 0.45s var(--ease);
}

.service-icon svg { width: 28px; height: 28px; }

.service-row:hover .service-icon {
  background: var(--red);
  color: #fff;
  transform: rotate(-6deg) scale(1.06);
}

.service-content { position: relative; z-index: 1; }

.service-content h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.55rem;
  margin-bottom: 0.6rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.service-content p {
  color: var(--ink-mute);
  max-width: 60ch;
  margin-bottom: var(--space-2);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-tags li {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red-deep);
  background: rgba(181,52,43,0.07);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

/* ==========================================================================
   Why Us
   ========================================================================== */

.why {
  padding: var(--space-7) 0;
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.why::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(45% 60% at 90% 0%, rgba(181,52,43,0.22), transparent 60%),
    radial-gradient(40% 50% at 0% 100%, rgba(199,161,90,0.14), transparent 60%);
  pointer-events: none;
}

.why .section-inner { position: relative; z-index: 1; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  margin-top: var(--space-5);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.why-card {
  background: #1B1814;
  padding: var(--space-5) var(--space-3);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}

.why-card:hover { background: #221D17; transform: translateY(-3px); }

.why-num {
  display: block;
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: var(--space-3);
}

.why-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
  line-height: 1.3;
}

.why-card p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
}

/* ==========================================================================
   Group
   ========================================================================== */

.group { padding: var(--space-7) 0; background: var(--cream-alt); }

.group-intro {
  max-width: 74ch;
  color: var(--ink-mute);
  font-size: 1.05rem;
  margin-bottom: var(--space-5);
}

.group-intro strong { color: var(--ink); }

.group-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.group-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.group-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -22px rgba(20,18,15,0.2); }

.group-tag {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.6rem;
}

.group-card h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
}

.group-card-active {
  background: var(--ink);
  border-color: var(--ink);
}
.group-card-active .group-tag { color: rgba(255,255,255,0.55); }
.group-card-active h4 { color: #fff; }
.group-card-active::after {
  content: "You are here";
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--red-bright);
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact { padding: var(--space-7) 0; background: var(--ink); color: #fff; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-6);
}

.contact-lead {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  max-width: 40ch;
  margin-bottom: var(--space-4);
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  color: #fff;
  padding-bottom: var(--space-2);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  margin-bottom: var(--space-5);
  transition: color 0.3s var(--ease), border-color .3s var(--ease);
}

.contact-email:hover { color: var(--red-bright); border-color: var(--red-bright); }

.email-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.email-icon svg { width: 18px; height: 18px; }

.contact-meta { display: flex; gap: var(--space-5); }

.contact-meta div { display: flex; flex-direction: column; gap: 0.3rem; }

.contact-meta span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
}

.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }

.contact-form label { display: flex; flex-direction: column; gap: 0.5rem; }

.contact-form label span {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}

.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.32); }

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--red-bright);
  background: rgba(255,255,255,0.07);
}

.form-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: #0F0D0B; color: rgba(255,255,255,0.7); padding-top: var(--space-6); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-5);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo { width: 120px; margin-bottom: var(--space-3); border-radius: var(--radius-sm); }

.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.45); max-width: 34ch; }

.footer-col { display: flex; flex-direction: column; gap: 0.75rem; }

.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.4rem;
}

.footer-col a,
.footer-col span { font-size: 0.9rem; color: rgba(255,255,255,0.45); transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--red-bright); }

.footer-bottom { padding: var(--space-3) 0; }

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .group-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-badge { display: none; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 74px; left: 0; right: 0;
    background: var(--cream);
    padding: var(--space-3) var(--space-4) var(--space-4);
    border-bottom: 1px solid var(--line);
    gap: var(--space-2);
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.2);
  }

  .main-nav.open a { color: var(--ink-soft); }
  .main-nav.open a:hover { color: var(--red); }

  .hero-strip { gap: var(--space-3); }
  .strip-item { max-width: 140px; }
  .strip-divider { display: none; }

  .service-row { grid-template-columns: 56px 1fr; }
  .service-index { display: none; }

  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .about-stats { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .group-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { max-width: 100%; }
  .hero-sub { max-width: 100%; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .footer-bottom-inner { flex-direction: column; }

  .hero-eyebrow { font-size: 0.72rem; letter-spacing: 0.05em; padding: 0.45rem 0.85rem; }

  .header-actions { gap: var(--space-2); }
  .header-actions .btn-sm { padding: 0.6rem 1rem; font-size: 0.8rem; }
}

@media (max-width: 560px) {
  .header-actions .btn-sm { display: none; }
}

/* ==========================================================================
   Legal pages (Privacy Policy / Terms & Conditions)
   ========================================================================== */

/* Dark band so the transparent fixed header stays legible before scroll. */
.legal-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: calc(100px + var(--space-5)) 0 var(--space-6);
  overflow: hidden;
}

.legal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 60% at 85% 0%, rgba(181, 52, 43, 0.30), transparent 62%),
    radial-gradient(45% 55% at 0% 100%, rgba(199, 161, 90, 0.14), transparent 60%);
  pointer-events: none;
}

.legal-hero .section-inner { position: relative; z-index: 1; }

.legal-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}

.legal-lead {
  color: rgba(255, 255, 255, 0.68);
  max-width: 62ch;
  font-size: 1.02rem;
  margin-bottom: var(--space-3);
}

.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #EADFCB;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
}

.legal-main { padding: var(--space-6) 0 var(--space-7); background: var(--cream); }

.legal-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: var(--space-6);
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 108px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-3);
}

.legal-toc h2 {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: var(--space-2);
}

.legal-toc ol { list-style: none; display: flex; flex-direction: column; gap: 0.1rem; }

.legal-toc a {
  display: block;
  font-size: 0.87rem;
  color: var(--ink-mute);
  padding: 0.4rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}

.legal-toc a:hover { color: var(--red); background: rgba(181, 52, 43, 0.06); }

.legal-content { max-width: 74ch; }

.legal-content section { padding-bottom: var(--space-5); scroll-margin-top: 108px; }

.legal-content h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.55rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-2);
}

.legal-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: var(--space-3) 0 0.5rem;
}

.legal-content p { color: var(--ink-mute); margin-bottom: var(--space-2); }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content strong { color: var(--ink); }

.legal-content a {
  color: var(--red);
  border-bottom: 1px solid rgba(181, 52, 43, 0.3);
  transition: border-color 0.3s var(--ease);
}
.legal-content a:hover { border-bottom-color: var(--red); }

.legal-content ul { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: var(--space-2); }

.legal-content ul li { position: relative; padding-left: 1.4rem; color: var(--ink-mute); }

.legal-content ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0.5;
}

.legal-callout {
  background: rgba(199, 161, 90, 0.1);
  border: 1px solid rgba(199, 161, 90, 0.4);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  margin-bottom: var(--space-5);
}

.legal-callout p { color: var(--ink-soft); font-size: 0.92rem; }

/* Deliberately loud: every one of these must be filled in before publishing. */
.legal-placeholder {
  background: rgba(181, 52, 43, 0.12);
  border-bottom: 1px dashed var(--red);
  color: var(--red-deep);
  font-weight: 600;
  padding: 0 0.25rem;
  border-radius: 3px;
}

.footer-legal { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.footer-legal a { color: rgba(255, 255, 255, 0.55); transition: color 0.3s var(--ease); }
.footer-legal a:hover { color: var(--red-bright); }

@media (max-width: 1024px) {
  .legal-layout { grid-template-columns: 1fr; gap: var(--space-4); }
  .legal-toc { position: static; }
}

