/* =========================================================
   The Lattice Group — dark & premium
   ========================================================= */

:root {
  --bg:           #08090b;
  --bg-2:         #0b0c0f;
  --surface:      #101216;
  --surface-2:    #15181d;
  --border:       rgba(255, 255, 255, 0.09);
  --border-strong:rgba(255, 255, 255, 0.18);
  --text:         #f4f5f6;
  --text-muted:   #a6abb3;
  --text-faint:   #6b717a;
  --white:        #ffffff;

  --maxw: 1180px;
  --radius: 14px;
  --radius-sm: 10px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

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

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: rgba(255, 255, 255, 0.18); }

/* ---------- Background layers ---------- */
#lattice-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body::before {
  /* soft top glow */
  content: "";
  position: fixed;
  top: -30vh;
  left: 50%;
  transform: translateX(-50%);
  width: 120vw;
  height: 80vh;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.06), transparent 60%);
  z-index: 0;
  pointer-events: none;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
main, .nav, .footer { position: relative; z-index: 2; }

.section { padding-block: clamp(4.5rem, 11vw, 9rem); position: relative; }
.section + .section { border-top: 1px solid var(--border); }

/* offset anchor targets so they clear the sticky nav */
section[id], #top { scroll-margin-top: 90px; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--white);
  color: #000;
  padding: 0.6rem 1rem;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Typography helpers ---------- */
.eyebrow, .section__index {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 500;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  color: var(--white);
}
.section__intro {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  max-width: 52ch;
}
.section__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head .section__index { margin-bottom: 1.1rem; }
.section__head .section__title { margin-bottom: 1.1rem; }

em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(100deg, #ffffff 0%, #b9bdc4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.5rem;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--white);
  color: #0a0a0a;
  box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, 0 10px 30px -12px rgba(255,255,255,0.45);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(255,255,255,0.6); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover { border-color: var(--white); transform: translateY(-2px); }
.btn--block { width: 100%; justify-content: center; padding-block: 1rem; }
.btn:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

/* ===================== NAV ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(8, 9, 11, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav__brand img { height: 30px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--white); }
.nav__cta {
  color: var(--white) !important;
  border: 1px solid var(--border-strong);
  padding: 0.55rem 1.15rem;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 500;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav__cta:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.nav__toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin-inline: auto;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem var(--gutter) 1.5rem;
  background: rgba(8, 9, 11, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  padding: 0.85rem 0.25rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  font-size: 1.05rem;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu__cta { color: var(--white) !important; font-weight: 500; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: clamp(620px, 92vh, 920px);
  display: flex;
  align-items: center;
  padding-block: 6rem 4rem;
}
.hero__inner { max-width: 920px; }
.eyebrow { display: block; margin-bottom: 1.5rem; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.75rem;
}
.hero__lead {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--text-muted);
  max-width: 60ch;
  line-height: 1.55;
  margin-bottom: 2.5rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.hero__meta li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.hero__meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  background: linear-gradient(135deg, #fff, #888);
  transform: rotate(45deg);
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  display: flex;
  justify-content: center;
}
.scroll-cue span {
  width: 3px;
  height: 8px;
  margin-top: 8px;
  border-radius: 4px;
  background: var(--text-muted);
  animation: scrollcue 1.8s var(--ease) infinite;
}
@keyframes scrollcue {
  0% { opacity: 0; transform: translateY(-4px); }
  40% { opacity: 1; }
  80%, 100% { opacity: 0; transform: translateY(10px); }
}

/* ===================== INTRO ===================== */
.intro__grid {
  display: grid;
  grid-template-columns: 0.32fr 0.68fr;
  gap: clamp(1.5rem, 4vw, 4rem);
}
.intro__statement {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--white);
  margin-bottom: 1.75rem;
}
.intro__body {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  max-width: 60ch;
}
.intro__body + .intro__body { margin-top: 1.1rem; }

/* ===================== SERVICES ===================== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.card {
  position: relative;
  padding: 2rem 1.75rem 2.25rem;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 50px -28px rgba(0,0,0,0.9);
}
.card:hover::before { opacity: 1; }
.card__num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--text-faint);
}
.card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--white);
  margin: 1rem 0 0.7rem;
  letter-spacing: -0.01em;
}
.card__body { color: var(--text-muted); font-size: 0.98rem; }

/* ===================== WHY / COMPARE ===================== */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.compare__col {
  padding: 2.25rem 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.compare__col--off { background: var(--bg-2); }
.compare__col--us {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  border-color: var(--border-strong);
}
.compare__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.compare__col--off .compare__label { color: var(--text-faint); }
.compare__col--us .compare__label { color: var(--white); }
.compare__list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.9rem;
  font-size: 0.98rem;
}
.compare__col--off .compare__list li { color: var(--text-muted); }
.compare__col--us .compare__list li { color: var(--text); }
.compare__list li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
}
.compare__col--off .compare__list li::before { content: "\2014"; color: var(--text-faint); }
.compare__col--us  .compare__list li::before { content: "\2713"; color: var(--white); }

/* ===================== APPROACH / STEPS ===================== */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 1.75rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-2);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), background 0.4s var(--ease);
}
.step:hover { border-color: var(--border-strong); transform: translateY(-4px); background: var(--surface); }
.step__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}
.step__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--white);
  margin: 0.9rem 0 0.6rem;
}
.step__body { color: var(--text-muted); font-size: 0.92rem; line-height: 1.55; }

/* ===================== WORK ===================== */
.work__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.work-card {
  padding: 2.25rem 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.work-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 50px -28px rgba(0,0,0,0.9);
}
.work-card__tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.1rem;
}
.work-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: -0.015em;
  margin-bottom: 0.85rem;
}
.work-card__body { color: var(--text-muted); font-size: 1rem; }
.work__note {
  margin-top: 2rem;
  color: var(--text-faint);
  font-size: 0.9rem;
  text-align: center;
}

/* ===================== CONTACT ===================== */
.contact__grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact__intro .section__title { margin: 1rem 0 1.1rem; }
.contact__direct { margin-top: 2.25rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.contact__direct-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.5rem;
}
.contact__email {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 2px;
  transition: border-color 0.2s var(--ease);
}
.contact__email:hover { border-color: var(--white); }

.contact__form {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.field { margin-bottom: 1.25rem; }
.field--split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.req { color: var(--text-faint); }
.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  padding: 0.8rem 0.95rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--border-strong);
  background: var(--bg-2);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.06);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--text-muted);
  border-bottom: 1.5px solid var(--text-muted);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; }
.field select option { background: var(--surface-2); color: var(--text); }
.field input.is-invalid,
.field textarea.is-invalid { border-color: #d98c8c; box-shadow: 0 0 0 3px rgba(217,140,140,0.12); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  margin-top: 1rem;
  font-size: 0.95rem;
  min-height: 1.4em;
}
.form-status.is-success { color: #7fd1a8; }
.form-status.is-error { color: #e3a3a3; }
.btn--primary[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* ===================== FOOTER ===================== */
.footer {
  border-top: 1px solid var(--border);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  background: var(--bg-2);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.footer__brand img { height: 30px; margin-bottom: 1rem; }
.footer__brand p { color: var(--text-muted); max-width: 32ch; font-size: 0.95rem; }
.footer__right { display: flex; flex-direction: column; align-items: flex-end; gap: 1.1rem; }
.footer__email {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.05rem;
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 2px;
}
.footer__email:hover { border-color: var(--white); }
.footer__nav { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: flex-end; }
.footer__nav a { color: var(--text-muted); font-size: 0.9rem; transition: color 0.2s var(--ease); }
.footer__nav a:hover { color: var(--white); }
.footer__legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  color: var(--text-faint);
  font-size: 0.85rem;
}
.footer__legal a { color: var(--text-faint); transition: color 0.2s var(--ease); }
.footer__legal a:hover { color: var(--white); }

/* ===================== REVEAL ANIMATION ===================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .intro__grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .compare { grid-template-columns: 1fr; }
  .work__grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .field--split { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .footer__right { align-items: flex-start; }
  .footer__nav { justify-content: flex-start; }
}

/* ===================== MOTION PREFERENCES ===================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .scroll-cue span { animation: none; }
  #lattice-canvas { display: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* =========================================================
   v2 additions — text-clip fix, imagery, cookies, legal
   ========================================================= */

/* ---- Fix italic gradient text clipping (e.g. "engineered") ---- */
em { padding-inline-end: 0.06em; }
.hero__title em { padding-inline-end: 0.18em; }
.intro__statement em { padding-inline-end: 0.1em; }

/* ---- Hero photographic backdrop (subtle, grayscale) ---- */
.hero { overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://images.pexels.com/photos/28861794/pexels-photo-28861794.jpeg?auto=compress&cs=tinysrgb&w=1920") center/cover no-repeat;
  filter: grayscale(1) contrast(1.04) brightness(0.9);
  opacity: 0.22;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,9,11,0.55), rgba(8,9,11,0.9));
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; }
.scroll-cue { z-index: 1; }

/* ---- Full-width feature bands ---- */
.band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 12vw, 8.5rem);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: grayscale(1) contrast(1.05);
  z-index: 0;
}
.band--skyline::before {
  background-image: url("https://images.pexels.com/photos/32082430/pexels-photo-32082430.jpeg?auto=compress&cs=tinysrgb&w=1920");
}
.band--interior::before {
  background-image: url("https://images.pexels.com/photos/33342710/pexels-photo-33342710.jpeg?auto=compress&cs=tinysrgb&w=1920");
}
.band__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8,9,11,0.84), rgba(8,9,11,0.66) 50%, rgba(8,9,11,0.92));
}
.band__inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.band__eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}
.band__title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-size: clamp(1.9rem, 4.6vw, 3.2rem);
  color: #fff;
  margin-bottom: 1.1rem;
}
.band__text {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 56ch;
  margin-inline: auto;
}

/* ---- Edge-to-edge triptych image strip ---- */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.strip__img {
  display: block;
  height: clamp(170px, 22vw, 300px);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: grayscale(1) contrast(1.04) brightness(0.8);
  position: relative;
}
.strip__img::after { content: ""; position: absolute; inset: 0; background: rgba(8,9,11,0.32); }
.strip__img--a { background-image: url("https://images.pexels.com/photos/2182052/pexels-photo-2182052.jpeg?auto=compress&cs=tinysrgb&w=1280"); }
.strip__img--b { background-image: url("https://images.pexels.com/photos/10049466/pexels-photo-10049466.jpeg?auto=compress&cs=tinysrgb&w=1280"); }
.strip__img--c { background-image: url("https://images.pexels.com/photos/532571/pexels-photo-532571.jpeg?auto=compress&cs=tinysrgb&w=1280"); }

/* parallax on capable desktops only */
@media (min-width: 900px) and (hover: hover) {
  .hero::before, .band::before { background-attachment: fixed; }
}

/* ---- Footer additions ---- */
.footer__linkbtn {
  background: none; border: none; padding: 0; font: inherit;
  color: var(--text-muted); font-size: 0.9rem; cursor: pointer;
  transition: color 0.2s var(--ease);
}
.footer__linkbtn:hover { color: #fff; }
.footer__legal-links { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.footer__legal-links a { color: var(--text-faint); }
.footer__legal-links a:hover { color: #fff; }

/* ---- Cookie consent banner ---- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  width: min(740px, calc(100% - 2rem));
  background: rgba(16,18,22,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 1.2rem 1.35rem;
  z-index: 200;
  display: flex;
  gap: 1rem 1.25rem;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,0.85);
  animation: cookieIn 0.5s var(--ease) both;
}
@keyframes cookieIn { from { opacity: 0; transform: translate(-50%, 14px); } to { opacity: 1; transform: translate(-50%, 0); } }
.cookie-banner__text { flex: 1 1 300px; color: var(--text-muted); font-size: 0.9rem; line-height: 1.55; }
.cookie-banner__text strong { display: block; color: #fff; font-weight: 500; font-family: var(--font-display); font-size: 1rem; margin-bottom: 0.25rem; }
.cookie-banner__text a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cookie-btn {
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 500;
  padding: 0.6rem 1.05rem; border-radius: 100px;
  border: 1px solid var(--border-strong); background: transparent; color: var(--text);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}
.cookie-btn:hover { border-color: #fff; }
.cookie-btn--primary { background: #fff; color: #0a0a0a; border-color: #fff; }
.cookie-btn--primary:hover { transform: translateY(-1px); }

/* ---- Cookie settings modal ---- */
.cookie-modal { position: fixed; inset: 0; z-index: 210; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.cookie-modal__backdrop { position: absolute; inset: 0; background: rgba(4,5,7,0.72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.cookie-modal__panel {
  position: relative; z-index: 1; width: min(560px, 100%); max-height: 86vh; overflow: auto;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.9);
}
.cookie-modal__title { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: #fff; margin-bottom: 0.5rem; }
.cookie-modal__intro { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.25rem; }
.cookie-row { display: flex; gap: 1rem; justify-content: space-between; align-items: flex-start; padding: 1.1rem 0; border-top: 1px solid var(--border); }
.cookie-row__h { font-family: var(--font-display); font-weight: 500; color: #fff; margin-bottom: 0.25rem; }
.cookie-row__d { color: var(--text-muted); font-size: 0.88rem; max-width: 42ch; }
.cookie-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.75rem; }
.switch { position: relative; width: 44px; height: 24px; flex: none; margin-top: 2px; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch__track { position: absolute; inset: 0; background: #2a2d33; border-radius: 100px; transition: background 0.2s var(--ease); pointer-events: none; }
.switch__track::before { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: transform 0.2s var(--ease); }
.switch input:checked + .switch__track { background: #67707d; }
.switch input:checked + .switch__track::before { transform: translateX(20px); }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + .switch__track { opacity: 0.5; }
.switch input:focus-visible + .switch__track { box-shadow: 0 0 0 3px rgba(255,255,255,0.25); }

/* ---- Legal / privacy page ---- */
.legal { padding-block: clamp(3rem, 7vw, 6rem); position: relative; z-index: 2; }
.legal__head { margin-bottom: 2.5rem; }
.legal h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 5vw, 3rem); color: #fff; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.legal__meta { color: var(--text-faint); font-size: 0.9rem; }
.legal__body { max-width: 760px; }
.legal__body h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: #fff; margin: 2.25rem 0 0.75rem; }
.legal__body h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; color: var(--text); margin: 1.5rem 0 0.5rem; }
.legal__body p { color: var(--text-muted); font-size: 1rem; line-height: 1.75; margin-bottom: 1rem; }
.legal__body ul { margin: 0 0 1.1rem 1.2rem; list-style: disc; }
.legal__body li { color: var(--text-muted); font-size: 1rem; line-height: 1.7; margin-bottom: 0.4rem; }
.legal__body a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .hero::before, .band::before { background-attachment: scroll; }
  .cookie-banner { animation: none; }
}

@media (max-width: 720px) {
  .strip { grid-template-columns: 1fr; }
  .strip__img { height: 190px; }
  .cookie-banner { bottom: 0; left: 0; transform: none; width: 100%; border-radius: 14px 14px 0 0; }
  @keyframes cookieIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
}
