/* =====================================================
   The Balli Group — Stylesheet
   Design tokens and components per Build Spec
   ===================================================== */

/* Tokens
   ----------------------------------------------------- */
:root {
  /* Primary background flipped from cream (#ffffff) to white per 10/30 feedback.
     .section--alt now gets a very subtle grey so sections still read separately. */
  --bg-primary: #ffffff;
  --bg-alt: #fafafa;
  --bg-card: #ffffff;
  --bg-inverse: #111111;
  --text-primary: #111111;
  --text-secondary: #6B6B6B;
  --text-inverse: #FFFFFF;
  --text-muted: #9A9A9A;
  --border-subtle: #ebebeb;
  --border-strong: #111111;
  --accent-bronze: #8B6F47;

  --font-display: 'Tenor Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body: 'Tenor Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --container-max: 1280px;
  --gutter: 80px;
  --body-max: 680px;

  --section-pad-y: 128px;
  --hero-extra: 32px;

  --t-fast: 200ms ease-out;
  --t-med: 400ms ease-out;
  --t-slow: 600ms ease-out;
}

/* Reset
   ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

input, textarea, select { font: inherit; color: inherit; }

ul, ol { list-style: none; }

/* Typography
   ----------------------------------------------------- */
.display-xl,
.display-l,
.h1, .h2, .h3, .h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--text-primary);
}

.display-xl { font-size: 88px; line-height: 1.05; letter-spacing: -0.01em; }
.display-l  { font-size: 64px; line-height: 1.08; letter-spacing: -0.005em; }
.h1         { font-size: 56px; line-height: 1.1;  letter-spacing: -0.005em; }
.h2         { font-size: 40px; line-height: 1.15; letter-spacing: 0; }
.h3         { font-size: 28px; line-height: 1.25; letter-spacing: 0; font-weight: 400; }
.h4         { font-size: 20px; line-height: 1.35; font-family: var(--font-display); font-weight: 400; }

.body-l { font-size: 18px; line-height: 1.6; }
.body-m { font-size: 16px; line-height: 1.6; }
.body-s { font-size: 14px; line-height: 1.55; }

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.caption {
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
}

.text-secondary { color: var(--text-secondary); }
.text-inverse   { color: var(--text-inverse); }

/* Layout
   ----------------------------------------------------- */
.container {
  max-width: calc(var(--container-max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section-pad-y) 0;
}

.section--alt    { background: var(--bg-alt); }
.section--dark   { background: var(--bg-inverse); color: var(--text-inverse); }
.section--dark .h1,
.section--dark .h2,
.section--dark .h3,
.section--dark .h4,
.section--dark .display-xl,
.section--dark .display-l { color: var(--text-inverse); }
.section--dark .eyebrow,
.section--dark .text-secondary { color: rgba(255,255,255,0.6); }

.section-header {
  margin-bottom: 64px;
  max-width: var(--body-max);
}

.section-header__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 64px;
  max-width: 100%;
}

.section-header__row .section-header { margin-bottom: 0; }

.section-header .eyebrow { margin-bottom: 16px; }
.section-header .h2,
.section-header .display-l { margin-bottom: 24px; }

.body-text { max-width: var(--body-max); color: var(--text-secondary); }

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Buttons
   ----------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), opacity var(--t-fast);
  text-align: center;
  white-space: nowrap;
}
.btn--tertiary { border-radius: 0; }

.btn--primary {
  background: var(--text-primary);
  color: var(--text-inverse);
}
.btn--primary:hover { background: var(--accent-bronze); }

.section--dark .btn--primary {
  background: var(--text-inverse);
  color: var(--text-primary);
}
.section--dark .btn--primary:hover { background: var(--accent-bronze); color: var(--text-inverse); }

.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.btn--secondary:hover {
  background: var(--text-primary);
  color: var(--text-inverse);
}

.section--dark .btn--secondary {
  color: var(--text-inverse);
  border-color: var(--text-inverse);
}
.section--dark .btn--secondary:hover {
  background: var(--text-inverse);
  color: var(--text-primary);
}

.btn--tertiary {
  padding: 0;
  background: none;
  color: var(--text-primary);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  display: inline-block;
  transition: border-color var(--t-fast);
}
.btn--tertiary:hover { border-color: currentColor; }

.btn--block { display: flex; width: 100%; }

/* Nav
   ----------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  /* Default (top of page): transparent with subtle dark gradient so white
     text stays readable when nav overlays a hero video / dark image. */
  background: linear-gradient(to bottom,
    rgba(0, 0, 0, 0.42) 0%,
    rgba(0, 0, 0, 0.18) 55%,
    rgba(0, 0, 0, 0) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #fff;
  transition: background var(--t-fast), color var(--t-fast);
}
/* All nav text/links inherit color so they flip with .nav state */
.nav .nav__item,
.nav .nav__logo,
.nav__items > li { color: inherit; }

/* Nav logo swap: hero-only mark over the hero, full lockup on scroll. */
.nav__logo img { transition: opacity var(--t-fast); }
.nav:not(.is-scrolled) .nav__logo img { content: url('nav-logo-hero.png'); }

/* Hamburger lines match current text color */
.nav .nav__hamburger span { background: currentColor; transition: background var(--t-fast); }

/* Inquire CTA: white-outlined over dark hero, original on scroll */
.nav:not(.is-scrolled) .btn--secondary {
  color: #fff;
  border-color: #fff;
}
.nav:not(.is-scrolled) .btn--secondary:hover {
  background: #fff;
  color: #111;
}

.nav.is-scrolled {
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--text-primary);
}

/* Always-solid nav — for pages without a hero to overlay */
.nav.nav--solid {
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--text-primary);
}
.nav.nav--solid .nav__logo img { content: normal; }
.nav.nav--solid .btn--secondary {
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.nav.nav--solid .btn--secondary:hover {
  background: var(--text-primary);
  color: var(--text-inverse);
}

.nav__inner {
  display: flex;
  align-items: center;
  height: 80px;
  max-width: calc(var(--container-max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
  gap: 40px;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.nav__items {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-left: auto;
}

.nav__item {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  padding: 8px 0;
}

.nav__item::after {
  content: '';
  position: absolute;
  left: 0; bottom: 4px;
  height: 1px;
  width: 0;
  background: currentColor;
  transition: width var(--t-fast);
}
.nav__item:hover::after { width: 100%; }

.nav__item--has-dropdown { cursor: pointer; }

.nav__dropdown {
  position: absolute;
  top: 100%;
  left: -24px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 16px 24px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
}
.nav__item--has-dropdown:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-primary);
  transition: color var(--t-fast);
}
.nav__dropdown a:hover { color: var(--accent-bronze); }

/* Inquire CTA: render like a plain nav item, no border/box */
.nav__cta {
  margin-left: 0;
  padding: 8px 0 !important;
  background: transparent !important;
  border: 0 !important;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: inherit !important;
  text-transform: none;
  position: relative;
}
.nav__cta::after {
  content: '';
  position: absolute;
  left: 0; bottom: 4px;
  height: 1px;
  width: 0;
  background: currentColor;
  transition: width var(--t-fast);
}
.nav__cta:hover { background: transparent !important; color: inherit !important; }
.nav__cta:hover::after { width: 100%; }

.nav__hamburger {
  display: none;
  width: 24px; height: 16px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.nav__hamburger span {
  display: block;
  width: 100%; height: 1px;
  background: var(--text-primary);
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.nav.is-mobile-open .nav__hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav.is-mobile-open .nav__hamburger span:nth-child(2) { opacity: 0; }
.nav.is-mobile-open .nav__hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__mobile {
  display: none;
}

/* Nav is transparent and overlays the hero; section paddings on each
   page handle nav clearance for non-hero headers. */
main { padding-top: 0; }

/* Hero
   ----------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bg-inverse);
  color: var(--text-inverse);
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: calc(var(--container-max) + var(--gutter) * 2);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter) 80px;
}

.hero__eyebrow { color: rgba(255,255,255,0.7); margin-bottom: 24px; }
.hero__headline { color: var(--text-inverse); margin-bottom: 32px; max-width: 900px; }
.hero__sub { color: rgba(255,255,255,0.7); margin-bottom: 40px; max-width: 540px; }

.hero--centered { align-items: center; text-align: center; }
.hero--centered .hero__content { padding: 120px var(--gutter); }
.hero--centered .hero__headline { margin-left: auto; margin-right: auto; }
.hero--centered .hero__sub { margin-left: auto; margin-right: auto; }

.hero--light {
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: auto;
}
.hero--light .hero__headline { color: var(--text-primary); }
.hero--light .hero__eyebrow,
.hero--light .hero__sub { color: var(--text-secondary); }

/* Placeholders (image stand-ins)
   ----------------------------------------------------- */
.placeholder {
  position: relative;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  padding: 24px;
  overflow: hidden;
}
.placeholder::before {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
}

.placeholder--light {
  background: linear-gradient(135deg, #ECE7DD 0%, #D8D2C5 100%);
  color: rgba(0,0,0,0.35);
}
.placeholder--light::before { border-color: rgba(0,0,0,0.08); }

.placeholder--16-9 { aspect-ratio: 16 / 9; }
.placeholder--21-9 { aspect-ratio: 21 / 9; }
.placeholder--4-5  { aspect-ratio: 4 / 5; }
.placeholder--3-2  { aspect-ratio: 3 / 2; }
.placeholder--1-1  { aspect-ratio: 1 / 1; }
.placeholder--full { position: absolute; inset: 0; }

/* Project Card
   ----------------------------------------------------- */
.project-card {
  display: block;
  cursor: pointer;
  color: inherit;
}
.project-card__media {
  position: relative;
  margin-bottom: 24px;
  overflow: hidden;
}
.project-card__media .placeholder {
  transition: transform var(--t-med);
}
.project-card:hover .project-card__media .placeholder {
  transform: scale(1.03);
}
.project-card__status {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  background: rgba(255,255,255,0.95);
  color: var(--text-primary);
  padding: 6px 10px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
.project-card__title {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 4px;
  display: inline-block;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast);
}
.project-card:hover .project-card__title { border-bottom-color: currentColor; }
.project-card__meta {
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

/* Grids
   ----------------------------------------------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

/* Pillar tiles
   ----------------------------------------------------- */
.pillar-tile {
  display: block;
  cursor: pointer;
  color: inherit;
}
.pillar-tile__media { margin-bottom: 24px; }
.pillar-tile .eyebrow { margin-bottom: 12px; }
.pillar-tile__name {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.25;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: -0.005em;
}
.pillar-tile__desc {
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.pillar-tile__link {
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast);
  display: inline-block;
}
.pillar-tile:hover .pillar-tile__link { border-bottom-color: currentColor; }

/* Press strip
   ----------------------------------------------------- */
.press-strip {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 64px 0;
}
.press-strip .eyebrow {
  text-align: center;
  margin-bottom: 32px;
}
.press-strip__logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.press-strip__logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  opacity: 0.6;
  transition: opacity var(--t-fast);
}
.press-strip__logo:hover { opacity: 1; }

/* CTA band
   ----------------------------------------------------- */
.cta-band {
  text-align: center;
  padding: 200px 0;
}
.cta-band .display-l { margin-bottom: 24px; max-width: 800px; margin-left: auto; margin-right: auto; }
.cta-band .body-l { margin-bottom: 40px; max-width: 540px; margin-left: auto; margin-right: auto; }

/* Footer
   ----------------------------------------------------- */
.footer {
  background: var(--bg-alt);
  padding: 96px 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 96px;
}
.footer__col h4 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-family: var(--font-body);
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
}
.footer__tagline {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  max-width: 280px;
}
.footer__list li { margin-bottom: 12px; }
.footer__list a {
  font-size: 14px;
  color: var(--text-primary);
  transition: color var(--t-fast);
}
.footer__list a:hover { color: var(--accent-bronze); }

.footer__contact { font-size: 14px; line-height: 1.7; color: var(--text-primary); }
.footer__contact strong { font-weight: 500; display: block; margin-bottom: 2px; }
.footer__contact .footer__person { margin-bottom: 16px; }
.footer__contact a { color: var(--text-secondary); display: block; }

.footer__bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
  flex-wrap: wrap;
  gap: 16px;
}
.footer__legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__legal a { color: var(--text-secondary); transition: color var(--t-fast); }
.footer__legal a:hover { color: var(--text-primary); }

/* Form
   ----------------------------------------------------- */
.form { max-width: 720px; }
.form__segments {
  display: flex;
  border: 1px solid var(--border-subtle);
  margin-bottom: 48px;
}
.form__segment {
  flex: 1;
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  border-right: 1px solid var(--border-subtle);
  transition: background var(--t-fast), color var(--t-fast);
  cursor: pointer;
  text-align: center;
}
.form__segment:last-child { border-right: 0; }
.form__segment.is-active {
  background: var(--text-primary);
  color: var(--text-inverse);
}

.form__field { margin-bottom: 32px; }
.form__field--inline { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.form__field label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.form__field label .opt {
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  margin-left: 8px;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-primary);
  border-radius: 0;
  transition: border-color var(--t-fast);
}
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: 0;
  border-bottom-color: var(--border-strong);
}
.form__textarea { min-height: 120px; resize: vertical; }
.form__select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-primary) 50%),
                    linear-gradient(-45deg, transparent 50%, var(--text-primary) 50%);
  background-position: calc(100% - 12px) center, calc(100% - 6px) center;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 32px;
}

.form__privacy {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 24px;
  line-height: 1.5;
}

/* Manifesto / Editorial Quote
   ----------------------------------------------------- */
.manifesto {
  text-align: center;
  padding: 200px 0;
}
.manifesto .display-l { margin-bottom: 48px; }
.manifesto .body-l { max-width: var(--body-max); margin: 0 auto; color: var(--text-secondary); }

/* Filter bar (for portfolio indexes, journal)
   ----------------------------------------------------- */
.filter-bar {
  display: flex;
  gap: 28px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.filter-chip {
  position: relative;
  padding: 6px 0;
  border: 0;
  background: transparent;
  font-family: 'Tenor Sans', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 240ms ease;
}
.filter-chip::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 1px;
  width: 0;
  background: var(--balli-red, rgb(178, 30, 36));
  transition: width 240ms ease;
}
.filter-chip:hover {
  color: var(--balli-red, rgb(178, 30, 36));
  background: transparent;
}
.filter-chip:hover::after { width: 100%; }
.filter-chip.is-active {
  color: var(--balli-red, rgb(178, 30, 36));
  background: transparent;
}
.filter-chip.is-active::after { width: 100%; }

/* Quick links strip (portfolio cross-sell)
   ----------------------------------------------------- */
.quick-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.quick-links__item {
  padding: 64px 48px;
  border-right: 1px solid var(--border-subtle);
  transition: background var(--t-fast);
  display: block;
  color: inherit;
}
.quick-links__item:last-child { border-right: 0; }
.quick-links__item:hover { background: var(--bg-alt); }
.quick-links__item .eyebrow { margin-bottom: 16px; }
.quick-links__item .h2 {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast);
}
.quick-links__item:hover .h2 { border-bottom-color: currentColor; }

/* Pillar cross-sell
   ----------------------------------------------------- */
.pillar-strip {
  background: var(--bg-alt);
  padding: 96px 0;
}
.pillar-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.pillar-strip__item .eyebrow { margin-bottom: 12px; }
.pillar-strip__item h4 { font-size: 22px; line-height: 1.3; margin-bottom: 12px; }
.pillar-strip__item .btn--tertiary { font-size: 14px; }

/* Values grid (about page)
   ----------------------------------------------------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px 48px;
}
.value-card .eyebrow { margin-bottom: 16px; }
.value-card h4 { font-size: 24px; margin-bottom: 12px; font-family: var(--font-display); font-weight: 500; }
.value-card p { color: var(--text-secondary); }

/* Timeline
   ----------------------------------------------------- */
.timeline {
  display: flex;
  gap: 48px;
  overflow-x: auto;
  padding-bottom: 24px;
  scroll-snap-type: x mandatory;
}
.timeline::-webkit-scrollbar { height: 4px; }
.timeline::-webkit-scrollbar-track { background: var(--border-subtle); }
.timeline::-webkit-scrollbar-thumb { background: var(--text-primary); }

.timeline-item {
  flex: 0 0 320px;
  scroll-snap-align: start;
}
.timeline-item__year {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.timeline-item__media { margin-bottom: 24px; }
.timeline-item__name { font-size: 20px; margin-bottom: 8px; font-weight: 500; }
.timeline-item__desc { color: var(--text-secondary); font-size: 14px; }

/* Process strip (Interior Design, Construction)
   ----------------------------------------------------- */
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 64px;
}
.process--4 { grid-template-columns: repeat(4, 1fr); }
.process__step .eyebrow { margin-bottom: 16px; }
.process__step h4 { font-size: 22px; margin-bottom: 12px; font-family: var(--font-display); font-weight: 500; }
.process__step p { color: var(--text-secondary); font-size: 15px; }

/* Utilities
   ----------------------------------------------------- */
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
.mt-8 { margin-top: 64px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-6 { margin-bottom: 48px; }
.mb-8 { margin-bottom: 64px; }

.row-between {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}

.divider {
  border: 0;
  border-top: 1px solid var(--border-subtle);
  margin: 0;
}

/* Tablet (768)
   ----------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --gutter: 48px;
    --section-pad-y: 96px;
  }

  .display-xl { font-size: 64px; }
  .display-l  { font-size: 52px; }
  .h1         { font-size: 44px; }
  .h2         { font-size: 32px; }
  .h3         { font-size: 24px; }

  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .pillar-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 48px 32px; }
  .process, .process--4 { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .quick-links { grid-template-columns: 1fr; }
  .quick-links__item { border-right: 0; border-bottom: 1px solid var(--border-subtle); }
  .quick-links__item:last-child { border-bottom: 0; }

  .nav__items { display: none; }
  .nav__hamburger { display: flex; }

  .nav__mobile {
    display: block;
    position: fixed;
    top: 80px; left: 0; right: 0; bottom: 0;
    background: var(--bg-primary);
    padding: 48px var(--gutter);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--t-med), opacity var(--t-med), visibility var(--t-med);
    overflow-y: auto;
  }
  .nav.is-mobile-open .nav__mobile {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav__mobile a {
    display: block;
    padding: 16px 0;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 500;
    border-bottom: 1px solid var(--border-subtle);
  }
  .nav__mobile a:last-child { border-bottom: 0; }

  .form__field--inline { grid-template-columns: 1fr; gap: 0; }
  .form__field--inline .form__field { margin-bottom: 32px; }

  .row-between { flex-direction: column; align-items: flex-start; }
}

/* Mobile (375)
   ----------------------------------------------------- */
@media (max-width: 640px) {
  :root {
    --gutter: 24px;
    --section-pad-y: 64px;
  }

  .display-xl { font-size: 48px; }
  .display-l  { font-size: 38px; }
  .h1         { font-size: 32px; }
  .h2         { font-size: 26px; }
  .h3         { font-size: 22px; }
  .h4         { font-size: 18px; }

  .body-l { font-size: 17px; }
  .body-m { font-size: 15px; }

  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .pillar-strip__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 48px; margin-bottom: 64px; }
  .process, .process--4 { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; }

  .hero__content { padding: 0 var(--gutter) 48px; }
  .hero--centered .hero__content { padding: 64px var(--gutter); }

  .cta-band { padding: 96px 0; }
  .manifesto { padding: 96px 0; }

  .form__segments { flex-wrap: wrap; }
  .form__segment {
    flex: 1 1 50%;
    border-right: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
  }

  .timeline-item { flex: 0 0 260px; }
  .timeline-item__year { font-size: 44px; }

  .filter-bar { gap: 8px; }
  .filter-chip { padding: 8px 14px; font-size: 12px; }
}

/* Press strip — per-publication wordmarks
   ----------------------------------------------------- */
.press-strip__logos { gap: 40px clamp(28px, 5vw, 64px); }
.press-logo {
  color: var(--text-secondary);
  opacity: 0.78;
  transition: opacity var(--t-fast), color var(--t-fast);
  white-space: nowrap;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
}
.press-logo--sfbj {
  flex-direction: column;
  align-items: center;
}
.press-logo:hover { opacity: 1; color: var(--text-primary); }

.press-logo--haute {
  font-family: 'Tenor Sans', system-ui, sans-serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.press-logo--haute em {
  font-style: italic;
  font-size: 26px;
  margin-right: 4px;
}

.press-logo--trd {
  font-family: 'Tenor Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.press-logo--trd strong {
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 0 4px;
}

.press-logo--mansion {
  font-family: 'Tenor Sans', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.press-logo--sfbj { gap: 4px; }
.press-logo--sfbj .sfbj-top {
  font-family: 'Tenor Sans', system-ui, sans-serif;
  font-style: italic;
  font-size: 18px;
  letter-spacing: 0.01em;
}
.press-logo--sfbj .sfbj-bot {
  font-family: 'Tenor Sans', system-ui, sans-serif;
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding-top: 3px;
  border-top: 1px solid currentColor;
  width: 100%;
  text-align: center;
}

.press-logo--ocean {
  font-family: 'Tenor Sans', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-style: italic;
}

@media (max-width: 640px) {
  .press-strip__logos { justify-content: center; gap: 28px 36px; }
  .press-logo--haute { font-size: 19px; }
  .press-logo--haute em { font-size: 22px; }
  .press-logo--mansion { font-size: 14px; letter-spacing: 0.28em; }
  .press-logo--ocean { font-size: 16px; letter-spacing: 0.28em; }
  .press-logo--sfbj .sfbj-top { font-size: 16px; }
}

/* Footer — condensed lite variant
   ----------------------------------------------------- */
.footer--lite { padding: 80px 0 56px; }
.footer--lite .footer__grid {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 56px;
  align-items: start;
}
.footer__mark { display: block; }
.footer__mark img {
  width: 56px;
  height: auto;
  display: block;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding-top: 0;
  align-items: flex-start;
}
.footer__nav a {
  font-family: 'Tenor Sans', system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--t-fast);
}
.footer__nav a:hover { color: var(--balli-red, rgb(178,30,36)); }

.footer__info {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 0 40px;
  padding-top: 0;
}
.footer__block h5 {
  font-family: 'Tenor Sans', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 0 0 10px;
}
.footer__block p {
  font-family: 'Tenor Sans', system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-primary);
  margin: 0;
}
.footer__block p a {
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.footer__block p a:hover {
  color: var(--balli-red, rgb(178,30,36));
  border-bottom-color: currentColor;
}

.footer__top-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
  color: var(--text-primary);
  font-family: 'Tenor Sans', system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color var(--t-fast), transform var(--t-fast);
}
.footer__top-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 16px;
  transition: transform var(--t-fast);
}
.footer__top-btn:hover { color: var(--balli-red, rgb(178,30,36)); }
.footer__top-btn:hover .footer__top-arrow { transform: translateY(-3px); }

@media (max-width: 1024px) {
  .footer--lite .footer__grid {
    grid-template-columns: auto 1fr;
    gap: 48px 40px;
  }
  .footer__info {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .footer__top-btn {
    grid-column: 2;
    justify-self: end;
    align-self: start;
  }
}
@media (max-width: 640px) {
  .footer--lite { padding: 64px 0 40px; }
  .footer--lite .footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer__nav { padding-top: 0; gap: 8px 20px; }
  .footer__info { grid-template-columns: 1fr; gap: 24px; }
  .footer__top-btn { justify-self: start; }
}

/* Our Process — shared across pillar pages
   ----------------------------------------------------- */
:root { --balli-red: rgb(178, 30, 36); }

.process-section {
  padding: clamp(48px, 6vw, 80px) 0 clamp(48px, 6vw, 80px);
  background: var(--bg-primary, #ffffff);
}
.process-section .section-header { margin-bottom: clamp(24px, 3vw, 36px); }
.process-section .h2 em { font-style: italic; color: var(--balli-red); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3vw, 44px) clamp(24px, 2.4vw, 36px);
}
@media (max-width: 1024px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .process-grid { grid-template-columns: 1fr; } }

.process-step {
  position: relative;
  padding: 28px 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  transition: border-color 280ms ease;
}
.process-step:hover { border-top-color: var(--balli-red); }
.process-step__num {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--balli-red);
  margin: 0 0 14px;
}
.process-step__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.22;
  letter-spacing: 0.01em;
  color: #111;
  margin: 0 0 14px;
  transition: color 280ms ease;
}
.process-step:hover .process-step__title { color: var(--balli-red); }
.process-step__desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary, #6b6b6b);
  margin: 0;
  max-width: 42ch;
}

/* Static page header — compact banner on cream for pages that don't need
   a full hero (Portfolio index pages, Media, Inquire, Legacy, etc.).
   ----------------------------------------------------- */
.page-header {
  padding: clamp(120px, 14vw, 180px) 0 clamp(44px, 6vw, 80px);
  background: var(--bg-primary, #ffffff);
  border-bottom: 1px solid var(--border-subtle, #ebebeb);
}
.page-header__eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary, #6b6b6b);
  margin: 0 0 16px;
}
.page-header__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 0;
  max-width: 18ch;
}
.page-header__title em {
  font-style: italic;
  color: var(--balli-red, rgb(178, 30, 36));
}
.page-header__sub {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.6;
  color: var(--text-secondary, #6b6b6b);
  max-width: 56ch;
  margin: 20px 0 0;
}
.page-header--centered { text-align: center; }
.page-header--centered .page-header__title,
.page-header--centered .page-header__sub { margin-left: auto; margin-right: auto; }

/* Shared video-hero shell for pages that didn't have one.
   Used alongside .hero so existing hero sizing/alignment still applies. */
.video-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.video-hero__bg iframe,
.video-hero__bg video {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  aspect-ratio: 16 / 9;
  width: max(100vw, calc(100vh * 16 / 9));
  height: auto;
  border: 0;
  pointer-events: none;
}
.video-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(0,0,0,0.58) 0%, rgba(0,0,0,0.30) 50%, rgba(0,0,0,0.10) 100%),
    linear-gradient(to top, rgba(0,0,0,0.40) 0%, rgba(0,0,0,0) 55%);
  pointer-events: none;
}

/* Placeholder + "pending" blurb — used wherever final content hasn't landed
   (team photos, Giorgio Sr. timeline, Stefano's new photo, etc.)
   ----------------------------------------------------- */
.placeholder-block {
  position: relative;
  background: #f4f4f4;
  color: #9a9a9a;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px dashed #d4d4d4;
  overflow: hidden;
}
.placeholder-block--portrait   { aspect-ratio: 4 / 5; }
.placeholder-block--landscape  { aspect-ratio: 16 / 10; }
.placeholder-block--square     { aspect-ratio: 1 / 1; }
.placeholder-block--wide       { aspect-ratio: 21 / 9; }
.placeholder-block--video      { aspect-ratio: 16 / 9; }
.placeholder-block__label {
  max-width: 28ch;
  line-height: 1.6;
}

.pending-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 0;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #ebebeb;
  border-left: 3px solid var(--balli-red, rgb(178, 30, 36));
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #6b6b6b;
}
.pending-note::before {
  content: 'PENDING';
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--balli-red, rgb(178, 30, 36));
  font-weight: 500;
}
.pending-note__text {
  font-size: 12px;
  line-height: 1.5;
  color: #6b6b6b;
  text-transform: none;
  letter-spacing: 0.01em;
}

/* Unified Inquire CTA — dark backdrop, white "Inquire" heading, white button.
   Used on every pillar page per 10/30 feedback.
   ----------------------------------------------------- */
.inquire-cta {
  background: #0a0a0a;
  text-align: center;
  padding: clamp(96px, 12vw, 160px) clamp(24px, 5vw, 80px);
}
.inquire-cta__inner {
  max-width: 720px;
  margin: 0 auto;
}
.inquire-cta__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin: 0 0 40px;
}
.inquire-cta__btn {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  background: #ffffff;
  color: #111111;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: background 250ms ease-out;
}
.inquire-cta__btn:hover { background: rgba(255,255,255,0.85); }

/* Pillar team-photo block — replaces the "Our Process" grid on each pillar
   page per 10/30 feedback. Photo of the firm's team on one side, 2–3 short
   paragraphs on the other. Content placeholders until the photoshoot lands.
   ----------------------------------------------------- */
.pillar-team {
  padding: clamp(64px, 8vw, 120px) 0;
  background: var(--bg-primary, #ffffff);
}
.pillar-team__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  max-width: calc(var(--container-max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (max-width: 900px) {
  .pillar-team__grid { grid-template-columns: 1fr; gap: 36px; }
}
.pillar-team__media {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.pillar-team__media img,
.pillar-team__media .placeholder-block { width: 100%; height: 100%; object-fit: cover; }
.pillar-team__body .eyebrow { margin-bottom: 14px; }
.pillar-team__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
  color: #111;
  margin: 0 0 24px;
}
.pillar-team__copy p {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.7;
  color: #2a2a2a;
  margin: 0 0 18px;
}
.pillar-team__copy p:last-child { margin-bottom: 0; }

/* Interior Design gallery grid — placeholder tiles for Adi's recent projects.
   ----------------------------------------------------- */
.id-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .id-gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .id-gallery { grid-template-columns: 1fr; } }

/* Construction pillar — two big link tiles into Completed / Under Construction */
.construction-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 720px) { .construction-featured { grid-template-columns: 1fr; } }
.construction-featured__link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 48px 32px;
  background: #ffffff;
  border: 1px solid #ebebeb;
  color: #111;
  text-decoration: none;
  transition: border-color 220ms ease, transform 220ms ease;
}
.construction-featured__link:hover {
  border-color: var(--balli-red, rgb(178, 30, 36));
  transform: translateY(-2px);
}
.construction-featured__eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-secondary, #6b6b6b);
}
.construction-featured__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.2;
  color: #111;
}

/* Legacy timeline — black backdrop, vertical white timeline (10/30 brainstorm).
   ----------------------------------------------------- */
.legacy-timeline {
  background: #0a0a0a;
  color: #fff;
  padding: clamp(80px, 11vw, 160px) 0 clamp(80px, 11vw, 160px);
}
.legacy-timeline__head {
  max-width: calc(var(--container-max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
  margin-bottom: clamp(48px, 7vw, 96px);
}
.legacy-timeline__eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin: 0 0 18px;
}
.legacy-timeline__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.05;
  color: #fff;
  margin: 0 0 20px;
  max-width: 20ch;
}
.legacy-timeline__lede {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  max-width: 62ch;
  margin: 0;
}

.legacy-timeline__list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  max-width: calc(var(--container-max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.legacy-timeline__list::before {
  content: '';
  position: absolute;
  left: calc(var(--gutter) + 80px);
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: rgba(255,255,255,0.18);
}
@media (max-width: 900px) {
  .legacy-timeline__list::before {
    left: calc(var(--gutter) + 20px);
  }
}

.timeline-row {
  display: grid;
  grid-template-columns: 80px 240px 1fr;
  gap: 36px;
  padding: 36px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.timeline-row:first-child { border-top: 0; padding-top: 0; }
@media (max-width: 900px) {
  .timeline-row { grid-template-columns: 1fr; gap: 20px; padding-left: 60px; }
}
.timeline-row__year {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  position: relative;
  padding-top: 6px;
}
.timeline-row__year::after {
  content: '';
  position: absolute;
  top: 12px;
  right: -16px;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
}
@media (max-width: 900px) {
  .timeline-row__year::after { left: -43px; right: auto; top: 10px; }
}
.timeline-row__media .placeholder-block {
  background: #1a1a1a;
  color: rgba(255,255,255,0.55);
  border: 1px dashed rgba(255,255,255,0.18);
}
.timeline-row__eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--balli-red, rgb(228, 90, 95));
  margin: 0 0 14px;
}
.timeline-row__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.3;
  color: #fff;
  margin: 0 0 14px;
}
.timeline-row__desc {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.2vw, 16px);
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  margin: 0;
  max-width: 58ch;
}

.legacy-timeline__pending {
  max-width: calc(var(--container-max) + var(--gutter) * 2);
  margin: 40px auto 0;
  padding: 0 var(--gutter);
}
.legacy-timeline__pending .pending-note {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}
.legacy-timeline__pending .pending-note__text { color: rgba(255,255,255,0.72); }

/* Inquire page — simplified 3-up office/phone/email block */
.inquire-contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 24px 0;
}
.inquire-contact__item p { font-family: var(--font-body); font-size: 15px; line-height: 1.6; color: var(--text-primary); margin: 0; }
.inquire-contact__item a { color: var(--text-primary); border-bottom: 1px solid rgba(0,0,0,0.12); padding-bottom: 2px; transition: color 200ms ease, border-color 200ms ease; }
.inquire-contact__item a:hover { color: var(--balli-red, rgb(178, 30, 36)); border-bottom-color: var(--balli-red, rgb(178, 30, 36)); }
@media (max-width: 720px) { .inquire-contact { grid-template-columns: 1fr; gap: 20px; } }

/* Footer tweaks per 10/30 — bigger logo, social icons */
.footer__mark img { width: 72px; }
.footer__social {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 14px;
}
.footer__social a {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid #ebebeb;
  border-radius: 50%;
  color: #111;
  transition: color 220ms ease, border-color 220ms ease;
}
.footer__social a:hover {
  color: var(--balli-red, rgb(178, 30, 36));
  border-color: var(--balli-red, rgb(178, 30, 36));
}
.footer__social svg { width: 15px; height: 15px; fill: currentColor; }

/* ------------------------------------------------------------------
   Legacy timeline v2 — alternating sides, scroll-triggered animation
   ------------------------------------------------------------------ */
.legacy-timeline__list {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1200px;
  padding: 24px clamp(24px, 5vw, 80px) 48px;
}
/* Center rail (desktop) / left rail (mobile) */
.legacy-timeline__list::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.22) 8%, rgba(255,255,255,0.22) 92%, rgba(255,255,255,0) 100%);
  transform: translateX(-0.5px);
}
@media (max-width: 900px) {
  .legacy-timeline__list::before { left: 26px; transform: none; }
}

/* Each row — 3 columns centered on the rail */
.tl-row {
  display: grid;
  grid-template-columns: 1fr 72px 1fr;
  gap: 24px;
  align-items: center;
  padding: 44px 0;
  position: relative;
}
.tl-row:first-child { padding-top: 0; }
.tl-row:last-child  { padding-bottom: 0; }

/* Node (year badge on the rail) */
.tl-row__node {
  grid-column: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}
.tl-row__year {
  background: #0a0a0a;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: border-color 400ms ease, color 400ms ease, background 400ms ease;
}
.tl-row.is-visible .tl-row__year {
  border-color: var(--balli-red, rgb(228,90,95));
  color: var(--balli-red, rgb(228,90,95));
}

/* Panel (photo + copy) sits in column 1 or 3 depending on side */
.tl-row__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 760ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}
.tl-row.is-visible .tl-row__panel { opacity: 1; transform: translateY(0); }

.tl-row[data-side="left"]  .tl-row__panel { grid-column: 1; }
.tl-row[data-side="right"] .tl-row__panel { grid-column: 3; }

/* Reverse the inner panel order so the body copy always sits closer to the rail */
.tl-row[data-side="left"]  .tl-row__panel .tl-row__media { order: 1; }
.tl-row[data-side="left"]  .tl-row__panel .tl-row__body  { order: 2; }
.tl-row[data-side="right"] .tl-row__panel .tl-row__media { order: 2; }
.tl-row[data-side="right"] .tl-row__panel .tl-row__body  { order: 1; }

/* Animate from the outside in — left rows slide in from the left, right rows from the right */
.tl-row[data-side="left"]  .tl-row__panel { transform: translate(-32px, 20px); }
.tl-row[data-side="right"] .tl-row__panel { transform: translate( 32px, 20px); }
.tl-row.is-visible .tl-row__panel         { transform: translate(0, 0); }

.tl-row__media { width: 100%; max-width: 260px; justify-self: center; }
.tl-row[data-side="left"]  .tl-row__media { justify-self: end; }
.tl-row[data-side="right"] .tl-row__media { justify-self: start; }
.tl-row__media .placeholder-block {
  background: #1a1a1a;
  color: rgba(255,255,255,0.55);
  border: 1px dashed rgba(255,255,255,0.18);
  aspect-ratio: 3 / 4;
}

.tl-row__body { color: #fff; max-width: 42ch; }
.tl-row[data-side="left"]  .tl-row__body { text-align: right; justify-self: start; }
.tl-row[data-side="right"] .tl-row__body { text-align: left;  justify-self: start; }
.tl-row__eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--balli-red, rgb(228,90,95));
  margin: 0 0 12px;
}
.tl-row__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.22;
  color: #fff;
  margin: 0 0 12px;
}
.tl-row__desc {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  margin: 0;
}

/* Mobile — single column, everything stacked to the right of the rail */
@media (max-width: 900px) {
  .tl-row {
    grid-template-columns: 52px 1fr;
    gap: 20px;
    padding: 28px 0;
  }
  .tl-row__node { grid-column: 1; }
  .tl-row__panel {
    grid-column: 2 !important;
    grid-template-columns: 1fr;
    gap: 16px;
    transform: translate(16px, 20px) !important;
  }
  .tl-row.is-visible .tl-row__panel { transform: translate(0, 0) !important; }
  .tl-row[data-side] .tl-row__media,
  .tl-row[data-side] .tl-row__body { justify-self: start; text-align: left; order: initial; }
  .tl-row[data-side] .tl-row__media { order: 2; }
  .tl-row[data-side] .tl-row__body  { order: 1; }
  .tl-row__media { max-width: 100%; width: 100%; }
}

/* Honor reduced motion */
@media (prefers-reduced-motion: reduce) {
  .tl-row__panel { opacity: 1 !important; transform: none !important; transition: none; }
}
