/* ==========================================================================
   LUS Design - Lighting Design Studio
   Static site . Bootstrap 5.3 + jQuery 3.7
   Design system: European editorial - warm paper, hairline rules, sharp edges
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --ink:        #14120e;
  --ink-2:      #26231d;
  --ink-soft:   #3e3a33;
  --muted:      #6e675c;
  --muted-2:    #918a7e;

  --paper:      #faf8f4;
  --paper-2:    #f1ede5;
  --paper-3:    #e5e0d6;
  --white:      #ffffff;

  --accent:     #a6392b;
  --accent-soft:#c25a49;
  --brass:      #b08d5b;

  --line:       rgba(20, 18, 14, .14);
  --line-soft:  rgba(20, 18, 14, .08);
  --line-light: rgba(255, 255, 255, .22);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Inter", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --header-h: 88px;
  --shell: 1480px;
  --gutter: clamp(20px, 5vw, 76px);
  --section-y: clamp(72px, 8.5vw, 150px);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, h5 {
  margin: 0 0 .6em;
  font-family: var(--serif);
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -.015em;
  line-height: 1.06;
  text-wrap: balance;
}

h1 { font-size: clamp(2.9rem, 5.8vw, 5.4rem); line-height: .98; }
h2 { font-size: clamp(2.15rem, 3.7vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 1.9vw, 1.85rem); line-height: 1.16; }
h4 { font-size: clamp(1.15rem, 1.4vw, 1.35rem); line-height: 1.2; }

p { margin: 0 0 1.25em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; transition: color .35s var(--ease); }
a:hover { color: var(--accent); }

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

em, .italic { font-style: italic; }

::selection { background: var(--ink); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: var(--paper);
  padding: 14px 22px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.skip-link:focus { left: 12px; top: 12px; color: var(--paper); }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow { max-width: 980px; }
.shell--mid { max-width: 1200px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(52px, 5.5vw, 96px); }
.section--flush-top { padding-top: 0; }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: rgba(255, 255, 255, .72); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.section--ink .rule { background: var(--line-light); }

/* --------------------------------------------------------------------------
   4. Typography utilities
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 26px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: .55;
  flex: none;
}
.eyebrow--accent { color: var(--accent); }
.eyebrow--light { color: rgba(255, 255, 255, .72); }
.eyebrow--center { justify-content: center; }
.eyebrow--bare::before { display: none; }

.lead {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.55vw, 1.44rem);
  font-weight: 400;
  line-height: 1.62;
  color: var(--ink-soft);
  letter-spacing: -.005em;
}
.section--ink .lead { color: rgba(255, 255, 255, .78); }

.body-lg { font-size: 1.0625rem; line-height: 1.78; }
.text-muted-lus { color: var(--muted); }
.measure { max-width: 56ch; }
.measure-sm { max-width: 44ch; }

.index-num {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--accent);
  display: block;
  margin-bottom: 18px;
}

/* --------------------------------------------------------------------------
   5. Buttons & links
   -------------------------------------------------------------------------- */
.btn-lus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 34px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  border-radius: 0;
  transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.btn-lus:hover, .btn-lus:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.btn-lus svg { flex: none; transition: transform .45s var(--ease); }
.btn-lus:hover svg { transform: translateX(4px); }

.btn-lus--solid {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.btn-lus--solid:hover, .btn-lus--solid:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-lus--light {
  border-color: rgba(255, 255, 255, .48);
  color: #fff;
}
.btn-lus--light:hover, .btn-lus--light:focus-visible {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.btn-lus--sm { padding: 14px 24px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  transition: border-color .4s var(--ease), color .4s var(--ease);
}
.link-arrow svg { transition: transform .45s var(--ease); }
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.link-arrow:hover svg { transform: translateX(5px); }
.section--ink .link-arrow { color: #fff; border-color: var(--line-light); }
.section--ink .link-arrow:hover { color: var(--brass); border-color: var(--brass); }
.link-arrow--light { color: #fff; border-color: rgba(255, 255, 255, .34); }
.link-arrow--light:hover { color: var(--brass); border-color: var(--brass); }
.hero .link-arrow { color: #fff; border-color: rgba(255, 255, 255, .34); }
.hero .link-arrow:hover { color: var(--brass); border-color: var(--brass); }

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .5s var(--ease), border-color .5s var(--ease), height .45s var(--ease);
}
.site-header .shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.site-header.is-stuck {
  height: 72px;
  background: rgba(250, 248, 244, .93);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  color: #fff;
  line-height: 1;
  flex: none;
  transition: color .5s var(--ease);
}
.brand__mark {
  font-family: var(--sans);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: .16em;
  text-indent: .16em;
}
.brand__sub {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
  opacity: .62;
}
.brand:hover { color: #fff; }
.site-header.is-stuck .brand { color: var(--accent); }
.site-header.is-stuck .brand:hover { color: var(--ink); }

.main-nav { display: flex; align-items: center; gap: clamp(22px, 2.6vw, 44px); margin-left: auto; }
.main-nav a {
  position: relative;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
  padding-block: 8px;
  transition: color .4s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.main-nav a.is-active { color: #fff; }

.site-header.is-stuck .main-nav a { color: var(--muted); }
.site-header.is-stuck .main-nav a:hover,
.site-header.is-stuck .main-nav a.is-active { color: var(--ink); }

.header-tools { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 24px); flex: none; }

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid transparent;
  background: none;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 10px;
  width: 20px;
  height: 1px;
  background: #fff;
  transition: transform .4s var(--ease), opacity .3s var(--ease), background .4s var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 30px; }
.site-header.is-stuck .burger span { background: var(--ink); }

/* Mobile overlay menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: var(--ink);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 20px) var(--gutter) 44px;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu__close {
  position: fixed;
  top: 22px;
  right: var(--gutter);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: none;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.mobile-menu__nav { display: flex; flex-direction: column; margin-top: 12px; }
.mobile-menu__nav a {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 8vw, 2.6rem);
  font-weight: 300;
  color: #fff;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  align-items: baseline;
  gap: 16px;
  transition: color .35s var(--ease), padding-left .35s var(--ease);
}
.mobile-menu__nav a small {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .2em;
  color: var(--brass);
}
.mobile-menu__nav a:hover, .mobile-menu__nav a.is-active { color: var(--brass); padding-left: 8px; }
.mobile-menu__foot {
  margin-top: auto;
  padding-top: 34px;
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .5);
  line-height: 1.9;
}
.mobile-menu__foot a { color: rgba(255, 255, 255, .8); }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(94vh, 900px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroPan 18s var(--ease-out) forwards;
}
@keyframes heroPan { to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero__media img { animation: none; transform: none; } }

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(12, 10, 8, .88) 0%, rgba(12, 10, 8, .48) 42%, rgba(12, 10, 8, .28) 70%, rgba(12, 10, 8, .46) 100%),
    linear-gradient(to right, rgba(12, 10, 8, .55), rgba(12, 10, 8, 0) 62%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: calc(var(--header-h) + 60px) clamp(44px, 6vw, 80px);
}
.hero h1 { color: #fff; max-width: 17ch; }
.hero h1 em { font-style: italic; color: rgba(255, 255, 255, .82); }
.hero__sub {
  max-width: 46ch;
  margin-top: 30px;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .8);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 42px; }
.hero__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: clamp(48px, 6vw, 86px);
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.hero__tag {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .58);
}
.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 9.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}
.hero__scroll i {
  display: block;
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, .45);
  position: relative;
  overflow: hidden;
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  animation: scrollLine 2.4s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* Section hero (inner pages) */
.page-hero {
  position: relative;
  min-height: min(62vh, 640px);
  display: flex;
  align-items: flex-end;
  padding-block: calc(var(--header-h) + 80px) clamp(48px, 6vw, 82px);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(12, 10, 8, .94) 0%, rgba(12, 10, 8, .74) 34%, rgba(12, 10, 8, .52) 68%, rgba(12, 10, 8, .62) 100%),
    linear-gradient(100deg, rgba(12, 10, 8, .55) 0%, rgba(12, 10, 8, .12) 55%, rgba(12, 10, 8, 0) 100%);
}
.page-hero__inner { position: relative; z-index: 2; width: 100%; }
.page-hero h1 { color: #fff; max-width: 20ch; font-size: clamp(2.5rem, 4.6vw, 4.2rem); }
.page-hero p {
  max-width: 50ch;
  margin-top: 22px;
  color: rgba(255, 255, 255, .78);
  font-size: 1.02rem;
}
.page-hero__crumb {
  display: flex;
  gap: 10px;
  margin-bottom: 26px;
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
}
.page-hero__crumb a:hover { color: #fff; }
.page-hero__crumb span { color: rgba(255, 255, 255, .3); }

/* --------------------------------------------------------------------------
   8. Intro / statement blocks
   -------------------------------------------------------------------------- */
.statement {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
}
@media (min-width: 992px) {
  .statement { grid-template-columns: 300px minmax(0, 1fr); }
}
.statement__label { padding-top: 8px; }
.statement__body h2 { max-width: 24ch; }
.statement__body .lead { margin-top: 28px; max-width: 60ch; }

.split-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: clamp(38px, 4.5vw, 64px);
}
.split-head__text h2 { margin-bottom: 14px; }
.split-head__text p { color: var(--muted); max-width: 52ch; margin: 0; }

/* --------------------------------------------------------------------------
   9. Media cards
   -------------------------------------------------------------------------- */
.media-card { display: block; color: inherit; position: relative; }
.media-card:hover { color: inherit; }
.media-card__frame {
  position: relative;
  overflow: hidden;
  background: var(--paper-3);
  aspect-ratio: 4 / 3;
}
.media-card__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter .8s var(--ease);
  filter: saturate(.94);
}
.media-card:hover .media-card__frame img { transform: scale(1.045); filter: saturate(1); }
.media-card__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 10, 8, .16), rgba(12, 10, 8, 0) 55%);
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.media-card:hover .media-card__frame::after { opacity: 1; }

.media-card__body { padding-top: 22px; }
.media-card__body h3 { margin-bottom: 8px; transition: color .4s var(--ease); }
.media-card:hover .media-card__body h3 { color: var(--accent); }
.media-card__body p { font-size: .875rem; color: var(--muted); margin: 0; line-height: 1.65; }
.media-card__plus {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   10. Project rows (editorial, alternating)
   -------------------------------------------------------------------------- */
.project-row { display: grid; gap: clamp(24px, 3.4vw, 60px); align-items: center; }
@media (min-width: 992px) {
  .project-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.62fr); }
  .project-row--flip { grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); }
  .project-row--flip .project-row__text { order: 2; }
}
.project-row + .project-row { margin-top: clamp(56px, 7vw, 108px); }
.project-row__media { overflow: hidden; background: var(--paper-3); }
.project-row__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
  filter: saturate(.95);
}
.project-row:hover .project-row__media img { transform: scale(1.035); }
.project-row__text h3 { font-size: clamp(1.7rem, 2.6vw, 2.5rem); margin-bottom: 16px; }
.project-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: 20px;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.project-row__meta span { display: inline-flex; align-items: center; gap: 22px; }
.project-row__meta span + span::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--line);
  display: inline-block;
}
.project-row__text p { font-size: .95rem; color: var(--ink-soft); max-width: 42ch; }
.project-row__text .link-arrow { margin-top: 26px; }

/* --------------------------------------------------------------------------
   11. Figures / stats
   -------------------------------------------------------------------------- */
.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-light); }
@media (min-width: 768px) { .stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat {
  background: var(--ink);
  padding: clamp(26px, 3vw, 40px) clamp(18px, 2vw, 30px);
}
.stat__num {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.4vw, 4rem);
  font-weight: 300;
  line-height: 1;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.stat__num sup { font-size: .38em; color: var(--brass); top: -.9em; }
.stat__label {
  margin-top: 14px;
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}

/* --------------------------------------------------------------------------
   12. Process steps
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step {
  background: var(--paper);
  padding: clamp(28px, 3vw, 42px) clamp(20px, 2.4vw, 34px) clamp(34px, 4vw, 52px);
  transition: background .5s var(--ease);
}
.step:hover { background: var(--paper-2); }
.step__num {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--accent);
  display: block;
  margin-bottom: 22px;
}
.step h4 { margin-bottom: 12px; }
.step p { font-size: .875rem; color: var(--muted); margin: 0; line-height: 1.7; }

/* --------------------------------------------------------------------------
   13. Service blocks (service page)
   -------------------------------------------------------------------------- */
.service-item { display: grid; gap: clamp(24px, 3.4vw, 64px); align-items: center; }
@media (min-width: 992px) {
  .service-item { grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); }
  .service-item--flip .service-item__media { order: 2; }
}
.service-item + .service-item {
  margin-top: clamp(52px, 6.5vw, 100px);
  padding-top: clamp(52px, 6.5vw, 100px);
  border-top: 1px solid var(--line);
}
.service-item__media { overflow: hidden; background: var(--paper-3); }
.service-item__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.service-item:hover .service-item__media img { transform: scale(1.03); }
.service-item__body h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin-bottom: 18px; }
.service-item__body p { font-size: .97rem; color: var(--ink-soft); }
.tag-list { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li {
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 7px 12px;
}

/* --------------------------------------------------------------------------
   14. Gallery + filter
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(28px, 3vw, 44px);
}
.filter-bar button {
  border: 0;
  background: none;
  padding: 8px 14px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  position: relative;
  transition: color .35s var(--ease), background .35s var(--ease);
}
.filter-bar button:hover { color: var(--ink); }
.filter-bar button.is-active { color: var(--paper); background: var(--ink); }

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
}
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.gallery__item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--paper-3);
  grid-column: span 2;
  aspect-ratio: 4 / 3;
  margin: 0;
}
@media (min-width: 768px) {
  .gallery__item { grid-column: span 2; }
  .gallery__item--wide { grid-column: span 3; aspect-ratio: 16 / 9; }
  .gallery__item--tall { grid-column: span 3; aspect-ratio: 16 / 10; }
  .gallery__item--half { grid-column: span 2; aspect-ratio: 3 / 4; }
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter .7s var(--ease);
  filter: saturate(.92);
}
.gallery__item:hover img { transform: scale(1.05); filter: saturate(1); }
.gallery__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 22px 20px;
  background: linear-gradient(to top, rgba(10, 9, 7, .82), rgba(10, 9, 7, 0));
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.gallery__item:hover .gallery__cap, .gallery__item:focus-visible .gallery__cap { opacity: 1; transform: none; }
.gallery__cap strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.2;
}
.gallery__cap span {
  display: block;
  margin-top: 6px;
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}
.gallery__item.is-hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 9, 7, .95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 56px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure { margin: 0; max-width: 1180px; width: 100%; text-align: center; }
.lightbox__figure img {
  max-height: 76vh;
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  object-fit: contain;
}
.lightbox__cap {
  margin-top: 20px;
  color: rgba(255, 255, 255, .72);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.lightbox__close, .lightbox__nav {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .04);
  color: #fff;
  width: 46px;
  height: 46px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.lightbox__close { top: clamp(14px, 3vw, 34px); right: clamp(14px, 3vw, 34px); }
.lightbox__nav--prev { left: clamp(10px, 2vw, 30px); top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: clamp(10px, 2vw, 30px); top: 50%; transform: translateY(-50%); }

/* --------------------------------------------------------------------------
   15. Team
   -------------------------------------------------------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px) clamp(16px, 2vw, 28px); }
@media (min-width: 992px) { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.person { display: block; color: inherit; }
.person:hover { color: inherit; }
.person__frame { position: relative; overflow: hidden; background: var(--paper-3); aspect-ratio: 3 / 4; }
.person__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.02);
  transition: filter .8s var(--ease), transform 1.1s var(--ease-out);
}
.person:hover .person__frame img { filter: grayscale(0); transform: scale(1.03); }
.person__body { padding-top: 18px; }
.person__name {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.25;
  display: block;
}
.person__role {
  display: block;
  margin-top: 6px;
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.person__note {
  margin-top: 12px;
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   16. Tables (reference / project index)
   -------------------------------------------------------------------------- */
.index-table { width: 100%; border-collapse: collapse; }
.index-table thead th {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-2);
  text-align: left;
  padding: 0 16px 14px 0;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.index-table tbody td {
  padding: 22px 16px 22px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: .9rem;
  color: var(--muted);
  vertical-align: baseline;
}
.index-table tbody tr { transition: background .4s var(--ease); }
.index-table tbody tr:hover { background: var(--paper-2); }
.index-table tbody td:first-child {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--accent);
  white-space: nowrap;
}
.index-table .cell-title {
  font-family: var(--serif);
  font-size: 1.22rem;
  color: var(--ink);
  font-weight: 400;
}
.index-table tbody tr:hover .cell-title { color: var(--accent); }

@media (max-width: 767.98px) {
  .index-table thead { display: none; }
  .index-table tbody tr { display: grid; grid-template-columns: 58px 1fr; gap: 4px 12px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
  .index-table tbody td { border: 0; padding: 0; }
  .index-table tbody td:first-child { grid-row: span 3; padding-top: 3px; }
  .index-table tbody td.cell-scope { font-size: .8rem; color: var(--muted-2); }
}

/* --------------------------------------------------------------------------
   17. Quotes
   -------------------------------------------------------------------------- */
.quote-grid { display: grid; gap: clamp(24px, 3vw, 48px); }
@media (min-width: 992px) { .quote-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.quote {
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.quote blockquote {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: -.01em;
}
.quote figcaption { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.quote figcaption b { display: block; color: var(--ink); font-weight: 500; letter-spacing: .14em; margin-bottom: 4px; }

/* --------------------------------------------------------------------------
   18. Client wordmarks
   -------------------------------------------------------------------------- */
.client-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 768px) { .client-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .client-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.client-grid span {
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  padding: 18px;
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: .04em;
  color: var(--muted);
  text-align: center;
  transition: background .45s var(--ease), color .45s var(--ease);
}
.client-grid span:hover { background: var(--paper-2); color: var(--ink); }

/* --------------------------------------------------------------------------
   19. Newsletter
   -------------------------------------------------------------------------- */
.newsletter {
  background: var(--paper-2);
  padding: clamp(48px, 6vw, 84px) clamp(24px, 5vw, 76px);
  text-align: center;
}
.newsletter__icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 26px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.newsletter h2 { font-size: clamp(1.75rem, 2.7vw, 2.5rem); margin-bottom: 14px; }
.newsletter p { color: var(--muted); max-width: 56ch; margin: 0 auto 30px; font-size: .95rem; }
.newsletter__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter__form input {
  flex: 1 1 240px;
  min-width: 0;
  border: 1px solid var(--ink);
  border-right: 0;
  background: transparent;
  padding: 17px 18px;
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--ink);
  border-radius: 0;
}
.newsletter__form input::placeholder { color: var(--muted-2); letter-spacing: .12em; text-transform: uppercase; font-size: 10px; }
.newsletter__form input:focus { outline: none; background: rgba(255, 255, 255, .6); }
.newsletter__form button {
  flex: none;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: 17px 28px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.newsletter__form button:hover { background: var(--accent); border-color: var(--accent); }
.form-note {
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--muted);
  min-height: 18px;
}
.form-note.is-error { color: var(--accent); }
.form-note.is-success { color: #3d6b4f; }

/* --------------------------------------------------------------------------
   20. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-block: clamp(46px, 5vw, 72px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-band h2 { margin: 0; font-size: clamp(1.6rem, 2.8vw, 2.5rem); max-width: 22ch; }

/* --------------------------------------------------------------------------
   21. Contact
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; gap: clamp(36px, 5vw, 80px); }
@media (min-width: 992px) { .contact-grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); } }

.info-block + .info-block { margin-top: 34px; padding-top: 34px; border-top: 1px solid var(--line); }
.info-block h4 { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-family: var(--sans); font-weight: 500; margin-bottom: 14px; }
.info-block p, .info-block address { margin: 0; font-size: .95rem; color: var(--ink-soft); font-style: normal; line-height: 1.8; }
.info-block a { border-bottom: 1px solid var(--line); }
.info-block a:hover { border-color: var(--accent); }

.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.field input, .field textarea, .field select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 10px 0 12px;
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--ink);
  border-radius: 0;
  transition: border-color .4s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--ink); }
.field.has-error input, .field.has-error textarea { border-bottom-color: var(--accent); }
.field__err { display: none; margin-top: 8px; font-size: 10.5px; letter-spacing: .06em; color: var(--accent); }
.field.has-error .field__err { display: block; }

/* --------------------------------------------------------------------------
   22. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding-block: clamp(50px, 5.5vw, 84px) 30px;
}
.footer-top { display: grid; gap: clamp(32px, 4vw, 56px); }
@media (min-width: 768px) { .footer-top { grid-template-columns: 1.3fr .8fr .8fr 1.1fr; } }

.footer-brand .brand { color: var(--accent); }
.footer-brand .brand:hover { color: var(--ink); }
.footer-brand p {
  margin-top: 22px;
  font-size: .875rem;
  color: var(--muted);
  max-width: 30ch;
  line-height: 1.75;
}

.footer-col h4 {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a, .footer-col address {
  font-size: .875rem;
  color: var(--muted);
  font-style: normal;
  line-height: 1.85;
  transition: color .35s var(--ease);
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  margin-top: clamp(46px, 5vw, 72px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--muted-2);
}
.footer-bottom .socials { display: flex; gap: 20px; }
.footer-bottom a:hover { color: var(--accent); }

/* Back to top */
.to-top {
  position: fixed;
  right: clamp(14px, 2.5vw, 30px);
  bottom: clamp(14px, 2.5vw, 30px);
  z-index: 800;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(250, 248, 244, .9);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* --------------------------------------------------------------------------
   23. Reveal animation
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal--d1 { transition-delay: .1s; }
.js .reveal--d2 { transition-delay: .2s; }
.js .reveal--d3 { transition-delay: .3s; }
.js .reveal--d4 { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* --------------------------------------------------------------------------
   24. Solutions list
   -------------------------------------------------------------------------- */
.sol-list { border-top: 1px solid var(--line); }
.sol-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 6px 18px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-soft);
  color: inherit;
  transition: background .45s var(--ease);
}
@media (min-width: 768px) {
  .sol-item { grid-template-columns: 56px minmax(0, .95fr) minmax(0, 1.1fr) 28px; align-items: center; gap: 24px; }
}
.sol-item:hover { background: var(--paper-2); color: inherit; }
.sol-item__num {
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--accent);
  align-self: start;
  padding-top: 6px;
}
@media (min-width: 768px) { .sol-item__num { align-self: center; padding-top: 0; } }
.sol-item h4 { margin: 0; transition: color .4s var(--ease); }
.sol-item:hover h4 { color: var(--accent); }
.sol-item p { margin: 0; font-size: .885rem; color: var(--muted); line-height: 1.65; }

/* dark variant, used inside .section--ink */
.section--ink .sol-list { border-top-color: var(--line-light); }
.section--ink .sol-item { border-bottom-color: rgba(255, 255, 255, .12); }
.section--ink .sol-item:hover { background: rgba(255, 255, 255, .05); }
.section--ink .sol-item h4 { color: #fff; }
.section--ink .sol-item:hover h4 { color: var(--brass); }
.section--ink .sol-item p { color: rgba(255, 255, 255, .62); }
.section--ink .sol-item__num { color: var(--brass); }
.sol-item__arr {
  display: none;
  color: var(--muted-2);
  transition: transform .45s var(--ease), color .45s var(--ease);
}
@media (min-width: 768px) { .sol-item__arr { display: block; } }
.sol-item:hover .sol-item__arr { transform: translateX(5px); color: var(--accent); }

/* --------------------------------------------------------------------------
   26. Responsive refinements
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  :root { --header-h: 72px; }
  .main-nav { display: none; }
  .burger { display: block; }
  .hero { min-height: min(88vh, 780px); }
  .hero h1 { max-width: 100%; }
  .page-hero { min-height: min(54vh, 560px); }
  .statement__body h2 { margin-top: 6px; }
}

@media (max-width: 575.98px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery__item, .gallery__item--wide, .gallery__item--tall, .gallery__item--half {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }
  .hero__meta { flex-direction: column; align-items: flex-start; gap: 18px; }
  .newsletter__form input { border-right: 1px solid var(--ink); }
  .newsletter__form button { width: 100%; }
  .cta-band { align-items: flex-start; }
}

