/* ==========================================================================
   Shared stylesheet for the three brand sites (see src/sites/)
   Mobile-first stylesheet. Order: tokens, reset, type, buttons, header,
   sections, home, gallery, about, contact, footer, motion.
   ========================================================================== */

/* --- Fonts ---------------------------------------------------------------- */
@font-face {
  font-family: 'Jost';
  src: url('/assets/fonts/jost-var.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'InterVar';
  src: url('/assets/fonts/inter-var.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-display: swap;
}

/* --- Tokens --------------------------------------------------------------- */
:root {
  --ink: #14171a;
  --ink-2: #262b30;
  --ink-soft: #4d545b;
  --ink-mute: #767d85;

  --paper: #fbfaf8;
  --paper-2: #f2efe9;
  --paper-3: #e7e2da;
  --white: #fff;

  --brass: #a8834f;
  --brass-deep: #8a6a3c;
  --brass-soft: rgba(168, 131, 79, 0.12);

  --line: rgba(20, 23, 26, 0.13);
  --line-strong: rgba(20, 23, 26, 0.24);
  --line-dark: rgba(255, 255, 255, 0.16);

  --font-display: 'Jost', 'Futura', 'Century Gothic', 'Avenir Next', sans-serif;
  --font-body: 'InterVar', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --gutter: 20px;
  --maxw: 1240px;
  --radius: 2px;
  --radius-lg: 4px;

  --shadow-sm: 0 1px 2px rgba(20, 23, 26, .06), 0 4px 12px rgba(20, 23, 26, .05);
  --shadow-md: 0 8px 30px rgba(20, 23, 26, .10);
  --shadow-lg: 0 24px 60px rgba(20, 23, 26, .16);

  --header-h: 64px;
  --bar-h: calc(58px + env(safe-area-inset-bottom, 0px));

  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (min-width: 900px) {
  :root { --gutter: 40px; --header-h: 84px; --bar-h: 0px; }
}

/* --- Reset ---------------------------------------------------------------- */
*, *::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);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  padding-bottom: var(--bar-h);
}
body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; background: var(--paper-2); }
svg { width: 1em; height: 1em; flex: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--paper);
  padding: 12px 20px; font-size: .9rem;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --- Typography helpers --------------------------------------------------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 14px;
}
.section-title { font-size: clamp(1.85rem, 5.2vw, 3rem); }
.page-title { font-size: clamp(2.1rem, 7.5vw, 4rem); letter-spacing: -0.025em; }
.page-lead {
  margin-top: 20px;
  font-size: clamp(1.02rem, 2.4vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 62ch;
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display);
  font-weight: 500; font-size: .96rem;
  letter-spacing: .01em;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  transition: gap .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.link-arrow svg { width: 1.05em; height: 1.05em; }
.link-arrow:hover { gap: 14px; color: var(--brass); border-color: var(--brass); }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px;
  padding: 12px 22px;
  font-family: var(--font-display);
  font-size: .95rem; font-weight: 500; letter-spacing: .01em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: background .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .22s var(--ease);
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn:active { transform: translateY(1px); }

.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--brass); }

.btn--outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.btn--ghost { background: transparent; color: inherit; border-color: transparent; padding-inline: 12px; }
.btn--ghost:hover { color: var(--brass); }

.btn--glass {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-color: rgba(255, 255, 255, .45);
  backdrop-filter: blur(8px);
}
.btn--glass:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .88rem; }
.btn--lg { min-height: 54px; padding: 15px 28px; font-size: 1rem; }
.btn--block { width: 100%; }

/* --- Wordmark ------------------------------------------------------------- */
.wordmark { display: block; line-height: 1; }
.wordmark__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: -0.005em;
  color: currentColor;
}
.wordmark__sub {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: .53rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  margin-top: 3px;
  padding-left: .12em;
  color: currentColor;
  opacity: .82;
}
.brand-logo { display: block; height: 48px; width: auto; background: none; }
.brand-logo--on-dark { display: none; }
.has-overlay-header .site-header:not(.is-stuck) .brand-logo--on-light { display: none; }
.has-overlay-header .site-header:not(.is-stuck) .brand-logo--on-dark { display: block; }
.site-footer__brand .brand-logo { height: 96px; }
@media (min-width: 900px) {
  .site-header .brand-logo { height: 66px; }
  .wordmark__name { font-size: 1.85rem; }
  .wordmark__sub { font-size: .58rem; }
}

/* --- Header --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.site-header__inner {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.site-header__brand { color: var(--ink); }

.site-nav { display: none; }
.site-nav ul { display: flex; gap: 34px; }
.site-nav a {
  font-family: var(--font-display);
  font-size: .95rem; font-weight: 500;
  letter-spacing: .01em;
  position: relative;
  padding: 6px 0;
}
.site-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: 8px; }
.site-header__tel, .site-header__cta { display: none; }

/* Overlay header (home hero) */
.has-overlay-header .site-header {
  position: fixed; left: 0; right: 0; top: 0;
  background: transparent;
  border-bottom-color: transparent;
  color: #fff;
}
.has-overlay-header .site-header__brand { color: #fff; }
.has-overlay-header .site-header .btn--solid { background: #fff; color: var(--ink); }
.has-overlay-header .site-header .btn--solid:hover { background: var(--brass); color: #fff; }
.has-overlay-header .site-header.is-stuck {
  background: var(--paper);
  border-bottom-color: var(--line);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.has-overlay-header .site-header.is-stuck .site-header__brand { color: var(--ink); }
.has-overlay-header .site-header.is-stuck .btn--solid { background: var(--ink); color: var(--paper); }

/* Hamburger */
.nav-toggle {
  width: 44px; height: 44px;
  display: grid; place-content: center; gap: 6px;
  background: none; border: 0; cursor: pointer;
  margin-right: -10px;
}
.nav-toggle__bar {
  display: block; width: 22px; height: 1.5px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* --- Mobile nav ----------------------------------------------------------- */
.mobile-nav {
  position: fixed; inset: 0; z-index: 89;
  background: var(--ink);
  color: var(--paper);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  overflow-y: auto;
  opacity: 0;
  transition: opacity .28s var(--ease);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav.is-open { opacity: 1; }
.mobile-nav__panel {
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: calc(100dvh - var(--header-h) - 64px);
  max-width: var(--maxw); margin-inline: auto;
}
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav li { border-bottom: 1px solid var(--line-dark); }
.mobile-nav li a {
  display: block; padding: 20px 0;
  font-family: var(--font-display);
  font-size: 1.9rem; font-weight: 400;
  letter-spacing: -0.02em;
  transition: color .2s var(--ease), padding-left .25s var(--ease);
}
.mobile-nav li a:hover, .mobile-nav li a[aria-current="page"] { color: var(--brass); padding-left: 8px; }
.mobile-nav__foot { display: grid; gap: 12px; margin-top: 40px; }
.mobile-nav__foot .btn--ghost { border-color: var(--line-dark); }
.mobile-nav__ig {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  margin-top: 8px; font-size: .92rem; color: rgba(255, 255, 255, .7);
}
.mobile-nav__ig svg { width: 1.15em; height: 1.15em; }

/* --- Sections ------------------------------------------------------------- */
.section { padding-block: clamp(56px, 10vw, 110px); }
.section--flush { padding-top: clamp(32px, 5vw, 52px); }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark .eyebrow { color: var(--brass); }

.section-head { margin-bottom: clamp(32px, 5vw, 54px); max-width: 46ch; }
.section-head--row { max-width: none; display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 800px) {
  .section-head--row { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .section-head--row > div { max-width: 46ch; }
}

.page-head {
  padding-top: clamp(44px, 8vw, 80px);
  padding-bottom: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
}
.page-head--tall { padding-block: clamp(80px, 16vw, 180px); border-bottom: 0; }
.page-head .hero__actions { margin-top: 32px; }

.crumbs {
  display: flex; gap: 8px; align-items: center;
  font-size: .85rem; color: var(--ink-mute); margin-bottom: 16px;
}
.crumbs a { border-bottom: 1px solid var(--line); }
.crumbs a:hover { color: var(--brass); border-color: var(--brass); }

/* --- Hero ----------------------------------------------------------------- */
.hero { position: relative; color: #fff; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 12, 14, .74) 0%, rgba(10, 12, 14, .48) 34%, rgba(10, 12, 14, .82) 100%);
}
.hero__inner {
  padding-top: calc(var(--header-h) + clamp(56px, 16vw, 130px));
  padding-bottom: clamp(48px, 12vw, 110px);
  max-width: 900px;
}
.hero__eyebrow {
  font-family: var(--font-display);
  font-size: .72rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 20px;
}
.hero__title {
  font-size: clamp(3rem, 15vw, 7.5rem);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -0.04em;
}
.hero__title span { display: block; }
.hero__title span:nth-child(2) { padding-left: .09em; }
.hero__title span:nth-child(3) { padding-left: .18em; }
.hero__lead {
  margin-top: 26px;
  max-width: 54ch;
  font-size: clamp(1rem, 2.6vw, 1.16rem);
  color: rgba(255, 255, 255, .88);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__actions .btn { flex: 1 1 auto; }
@media (min-width: 560px) { .hero__actions .btn { flex: 0 0 auto; } }
/* Ink-on-photo has too little contrast — the primary CTA goes light over the hero. */
.hero__actions .btn--solid { background: var(--paper); color: var(--ink); }
.hero__actions .btn--solid:hover { background: var(--brass); color: #fff; }

.hero__strip { border-top: 1px solid rgba(255, 255, 255, .18); background: rgba(10, 12, 14, .34); backdrop-filter: blur(6px); }
.hero__strip-inner { display: grid; gap: 2px; padding-block: 4px; }
.hero__strip-inner > div { padding: 16px 0; display: flex; flex-direction: column; gap: 2px; }
.hero__strip-inner strong {
  font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; letter-spacing: -0.01em;
}
.hero__strip-inner span { font-size: .84rem; color: rgba(255, 255, 255, .7); }
@media (min-width: 700px) {
  .hero__strip-inner { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .hero__strip-inner > div { padding: 24px 0; }
}

/* --- Intro ---------------------------------------------------------------- */
.intro__lead {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3.6vw, 2.05rem);
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: -0.015em;
  max-width: 24ch;
  margin-bottom: 28px;
}
@media (min-width: 800px) { .intro__lead { max-width: 30ch; } }

/* --- Services ------------------------------------------------------------- */
.services { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .services { grid-template-columns: repeat(4, 1fr); } }
.service { background: var(--paper-2); padding: 30px 26px 34px; }
.service__num {
  font-family: var(--font-display); font-size: .8rem; font-weight: 500;
  letter-spacing: .14em; color: var(--brass); margin-bottom: 18px;
}
.service__title { font-size: 1.32rem; margin-bottom: 10px; }
.service__body { font-size: .95rem; color: var(--ink-soft); }

/* --- Category cards ------------------------------------------------------- */
.cat-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .cat-grid { grid-template-columns: repeat(6, 1fr); }
  .cat-card:nth-child(1), .cat-card:nth-child(2) { grid-column: span 3; }
  .cat-card:nth-child(n+3) { grid-column: span 2; }
}
/* Fewer than five categories: even rows instead of the 2 + 3 layout. */
@media (min-width: 1000px) {
  .cat-grid--1 .cat-card:nth-child(n) { grid-column: span 6; }
  .cat-grid--1 .cat-card__img { aspect-ratio: 16 / 9; max-height: 480px; }
  .cat-grid--2 .cat-card:nth-child(n), .cat-grid--4 .cat-card:nth-child(n) { grid-column: span 3; }
  .cat-grid--3 .cat-card:nth-child(n) { grid-column: span 2; }
}
.cat-grid .cat-card__img { height: auto; aspect-ratio: 4 / 3; }
.cat-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  isolation: isolate;
}
.cat-card__img {
  width: 100%; height: 100%; object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform .7s var(--ease), opacity .4s var(--ease);
  opacity: .82;
}
.cat-card:hover .cat-card__img { transform: scale(1.05); opacity: .68; }
.cat-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 12, 14, .8) 100%);
  pointer-events: none;
}
.cat-card__body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 20px 22px; color: #fff;
}
.cat-card__title {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em;
}
.cat-card__arrow { display: grid; place-content: center; transition: transform .3s var(--ease); }
.cat-card__arrow svg { width: 1.3em; height: 1.3em; }
.cat-card:hover .cat-card__arrow { transform: translateX(5px); }

/* --- Steps ---------------------------------------------------------------- */
.steps { display: grid; gap: 1px; background: var(--line-dark); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--ink); padding: 32px 26px 38px; }
.step__num {
  font-family: var(--font-display); font-size: .8rem; font-weight: 500;
  letter-spacing: .16em; color: var(--brass); display: block; margin-bottom: 20px;
}
.step__title { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 12px; }
.step__body { color: rgba(255, 255, 255, .72); font-size: .96rem; }

/* --- Featured projects ---------------------------------------------------- */
.features { display: grid; gap: 16px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { display: block; }
.feature__img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform .6s var(--ease);
}
.feature { overflow: hidden; }
.feature:hover .feature__img { transform: scale(1.04); }
.feature__meta { display: flex; flex-direction: column; gap: 2px; padding-top: 14px; }
.feature__cat {
  font-family: var(--font-display); font-size: .72rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--brass);
}
.feature__title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; }

/* --- Filters -------------------------------------------------------------- */
.filters {
  display: flex; gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.filters::-webkit-scrollbar { display: none; }
@media (min-width: 800px) { .filters { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; } }
.filter {
  flex: none;
  min-height: 40px;
  padding: 9px 18px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-display); font-size: .9rem; font-weight: 500;
  cursor: pointer; white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filters__count { font-size: .85rem; color: var(--ink-mute); margin: 14px 0 22px; }
.filters__count:empty { display: none; }

/* --- Gallery (masonry) ---------------------------------------------------- */
.gallery { columns: 1; column-gap: 14px; }
@media (min-width: 620px) { .gallery { columns: 2; } }
@media (min-width: 1040px) { .gallery { columns: 3; column-gap: 16px; } }
.tile {
  display: block; width: 100%;
  break-inside: avoid;
  margin: 0 0 14px;
  padding: 0; border: 0; background: none;
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: zoom-in;
}
@media (min-width: 1040px) { .tile { margin-bottom: 16px; } }
.tile[hidden] { display: none; }
.tile__img { width: 100%; height: auto; transition: transform .6s var(--ease), filter .4s var(--ease); }
.tile:hover .tile__img { transform: scale(1.035); }
.tile__badge {
  position: absolute; left: 12px; bottom: 12px;
  padding: 5px 12px;
  background: rgba(10, 12, 14, .62);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-display); font-size: .7rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  border-radius: 999px;
  opacity: 0; transform: translateY(6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.tile:hover .tile__badge, .tile:focus-visible .tile__badge { opacity: 1; transform: translateY(0); }
@media (hover: none) { .tile__badge { opacity: 1; transform: none; } }

/* --- Lightbox ------------------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(10, 12, 14, .96);
  display: grid; place-items: center;
  padding: 16px;
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__img {
  max-width: min(100%, 1400px);
  max-height: calc(100dvh - 140px);
  width: auto; height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  background: transparent;
}
.lightbox__btn {
  position: absolute;
  width: 48px; height: 48px;
  display: grid; place-content: center;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  color: #fff; cursor: pointer;
  transition: background .2s var(--ease);
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .24); }
.lightbox__btn svg { width: 20px; height: 20px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__count {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: rgba(255, 255, 255, .78);
  font-family: var(--font-display); font-size: .85rem; letter-spacing: .1em;
}
@media (min-width: 900px) {
  .lightbox__close { top: 28px; right: 28px; }
  .lightbox__prev { left: 28px; }
  .lightbox__next { right: 28px; }
}

/* --- Pills ---------------------------------------------------------------- */
.pills {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line);
}
.pills__label {
  font-family: var(--font-display); font-size: .74rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute);
  margin-right: 4px;
}
.pill {
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-display); font-size: .9rem; font-weight: 500;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.pill:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* --- About ---------------------------------------------------------------- */
.about { display: grid; gap: clamp(28px, 5vw, 60px); }
@media (min-width: 900px) { .about { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }
.about__figure { margin: 0; }
.about__img { width: 100%; border-radius: var(--radius-lg); }
.about__caption { display: flex; flex-direction: column; gap: 2px; padding-top: 18px; }
.about__role {
  font-family: var(--font-display); font-size: .72rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--brass);
}
.about__name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; letter-spacing: -0.01em; }
.about__cred { font-size: .92rem; color: var(--ink-mute); }
.about__body { display: grid; gap: 20px; font-size: clamp(1rem, 2.2vw, 1.1rem); color: var(--ink-soft); }
.about__closer {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.2vw, 1.7rem);
  font-weight: 400; line-height: 1.32; letter-spacing: -0.015em;
  color: var(--ink);
  padding-top: 12px; border-top: 1px solid var(--line);
}

.values { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
@media (min-width: 800px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { background: var(--paper-2); padding: 30px 26px 34px; }
.value h3 { font-size: 1.35rem; margin-bottom: 10px; }
.value p { color: var(--ink-soft); font-size: .96rem; }

/* --- CTA band ------------------------------------------------------------- */
.cta-band { background: var(--ink); color: var(--paper); }
.cta-band__inner {
  padding-block: clamp(48px, 9vw, 90px);
  display: flex; flex-direction: column; gap: 30px;
}
@media (min-width: 900px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 50px; }
}
.cta-band__title { font-size: clamp(1.8rem, 5vw, 2.8rem); }
.cta-band__sub { margin-top: 14px; color: rgba(255, 255, 255, .72); max-width: 48ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band__actions .btn { flex: 1 1 auto; }
@media (min-width: 560px) { .cta-band__actions .btn { flex: 0 0 auto; } }
.cta-band .btn--solid { background: var(--paper); color: var(--ink); }
.cta-band .btn--solid:hover { background: var(--brass); color: #fff; }
.cta-band .btn--outline { color: var(--paper); border-color: var(--line-dark); }
.cta-band .btn--outline:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* --- Contact -------------------------------------------------------------- */
.contact { display: grid; gap: clamp(32px, 5vw, 56px); }
@media (min-width: 940px) { .contact { grid-template-columns: 1.25fr 0.75fr; align-items: start; } }

.form { display: grid; gap: 20px; }
.form__row { display: grid; gap: 20px; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--font-display); font-size: .86rem; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft);
}
.field label span { color: var(--brass); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  font-family: var(--font-body); font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  appearance: none;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234d545b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 42px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px var(--brass-soft);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b3261e; }
.field__error { font-size: .85rem; color: #b3261e; min-height: 0; }
.field__error:empty { display: none; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__note { font-size: .9rem; color: var(--ink-mute); text-align: center; }
.form__note a { border-bottom: 1px solid var(--line-strong); }
.form__note a:hover { color: var(--brass); border-color: var(--brass); }
.form__status { font-size: .95rem; padding: 14px 16px; border-radius: var(--radius); }
.form__status:empty { display: none; }
.form__status.is-ok { background: var(--brass-soft); color: var(--brass-deep); }
.form__status.is-err { background: rgba(179, 38, 30, .08); color: #b3261e; }

.contact__aside { display: grid; gap: 16px; }
.contact__card { background: var(--paper-2); border: 1px solid var(--line); padding: 26px 24px; border-radius: var(--radius-lg); }
.contact__card--quiet { background: transparent; }
.contact__card h2 {
  font-size: .78rem; font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; color: var(--brass); margin-bottom: 16px;
}
.contact__card p { color: var(--ink-soft); font-size: .96rem; }
.contact__line {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 500;
  transition: color .2s var(--ease);
}
.contact__line svg { width: 1.15em; height: 1.15em; color: var(--ink-mute); }
.contact__line:hover { color: var(--brass); }
.contact__line:hover svg { color: var(--brass); }
.next-list { counter-reset: n; display: grid; gap: 12px; }
.next-list li {
  counter-increment: n;
  display: grid; grid-template-columns: 26px 1fr; gap: 12px;
  color: var(--ink-soft); font-size: .96rem;
}
.next-list li::before {
  content: counter(n, decimal-leading-zero);
  font-family: var(--font-display); font-size: .8rem; font-weight: 500;
  color: var(--brass); letter-spacing: .06em; padding-top: 3px;
}

/* --- Footer --------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--paper); padding-top: clamp(48px, 8vw, 84px); }
.site-footer__top { display: grid; gap: 44px; padding-bottom: 48px; }
@media (min-width: 900px) { .site-footer__top { grid-template-columns: 1fr 1.15fr; gap: 60px; } }
.site-footer__brand .wordmark { color: var(--paper); margin-bottom: 20px; }
.site-footer__blurb { color: rgba(255, 255, 255, .64); font-size: .95rem; max-width: 46ch; }
.site-footer__ig {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 22px; font-size: .93rem; color: rgba(255, 255, 255, .8);
  transition: color .2s var(--ease);
}
.site-footer__ig svg { width: 1.2em; height: 1.2em; }
.site-footer__ig:hover { color: var(--brass); }

.site-footer__cols { display: grid; gap: 32px; }
@media (min-width: 560px) { .site-footer__cols { grid-template-columns: repeat(3, 1fr); } }
.site-footer__cols h3 {
  font-size: .74rem; font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; color: var(--brass); margin-bottom: 16px;
}
.site-footer__cols li { margin-bottom: 10px; }
.site-footer__cols a { font-size: .95rem; color: rgba(255, 255, 255, .78); transition: color .2s var(--ease); }
.site-footer__cols a:hover { color: #fff; }
.site-footer__loc { font-size: .95rem; color: rgba(255, 255, 255, .55); line-height: 1.6; }

.site-footer__bar {
  display: flex; flex-direction: column; gap: 8px;
  padding-block: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: .84rem; color: rgba(255, 255, 255, .45);
}
@media (min-width: 700px) { .site-footer__bar { flex-direction: row; justify-content: space-between; } }

/* --- Mobile action bar ---------------------------------------------------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 88;
  display: grid; grid-template-columns: 1fr 1.8fr;
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -4px 20px rgba(20, 23, 26, .07);
}
.mobile-bar__item {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 58px;
  font-family: var(--font-display); font-size: .95rem; font-weight: 500;
}
.mobile-bar__item svg { width: 1.15em; height: 1.15em; }
.mobile-bar__item--primary { background: var(--ink); color: var(--paper); }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* --- Desktop reveals ------------------------------------------------------ */
@media (min-width: 900px) {
  .site-nav { display: block; }
  .site-header__tel, .site-header__cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* --- Reveal on scroll ----------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* --- Print ---------------------------------------------------------------- */
@media print {
  .site-header, .mobile-bar, .mobile-nav, .cta-band, .lightbox { display: none !important; }
  body { padding: 0; background: #fff; }
}

/* --- Sister brand band (Majestic sites link to each other) ----------------- */
.sister { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { .sister { grid-template-columns: 1fr 1fr; } }
.sister__media { overflow: hidden; border-radius: var(--radius-lg); }
.sister__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.sister__text { color: var(--ink-soft); margin: 16px 0 24px; max-width: 46ch; }
