/* ============================================================
   TOURON LAW — Homepage Styles
   ============================================================ */

/* ── 1. Root Tokens ─────────────────────────────────────── */
:root {
  --black:         #0A0A0A;
  --black-soft:    #111111;
  --black-card:    #141210;
  --black-sect:    #1A1714;
  --cream:         #F5F0E8;
  --cream-dim:     #D8D0C0;
  --cream-mute:    #9A9080;
  --bronze:        #B8924A;
  --bronze-lt:     #D4AC6A;
  --bronze-dk:     #8A6A30;
  --bronze-glow:   rgba(184, 146, 74, 0.12);
  --bronze-line:   rgba(184, 146, 74, 0.25);
  --grey-body:     #5A5550;
  --grey-dark:     #3A3530;

  --font-serif:    'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:     'Jost', 'Helvetica Neue', Arial, sans-serif;

  --nav-h:         72px;
  --max-w:         1280px;
  --section-px:    clamp(24px, 6vw, 96px);
  --section-py:    clamp(80px, 10vw, 144px);

  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ── 3. Utility Classes ─────────────────────────────────── */

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}
.eyebrow--dark {
  color: var(--bronze-dk);
}

/* Section headline (used on light bg) */
.section-headline {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--black);
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity  0.75s var(--ease-out),
    transform 0.75s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 4. Navigation ──────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition:
    background   0.45s var(--ease-out),
    border-color 0.45s var(--ease-out),
    backdrop-filter 0.45s var(--ease-out);
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--bronze-line);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--section-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav__logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  flex-shrink: 1;   /* allow logo area to compress on narrow screens */
  min-width: 0;     /* prevent flexbox overflow */
  overflow: hidden;
}

.nav__logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nav__logo-name {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--cream);
  line-height: 1;
}

.nav__logo-sub {
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-mute);
  line-height: 1;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--cream-dim);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav__link:hover { color: var(--bronze); }

.nav__phone {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--cream-dim);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav__phone:hover { color: var(--bronze-lt); }

.nav__cta {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--bronze);
  padding: 11px 24px;
  border-radius: 2px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s var(--ease-out);
}
.nav__cta:hover {
  background: var(--bronze-lt);
  transform: translateY(-1px);
}

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--cream);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── 5. Mobile Nav Overlay ──────────────────────────────── */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}
.nav-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.nav-overlay__close {
  position: absolute;
  top: 28px;
  right: 28px;
  font-size: 18px;
  color: var(--cream-mute);
  padding: 8px;
  transition: color 0.2s, transform 0.2s;
}
.nav-overlay__close:hover {
  color: var(--bronze);
  transform: rotate(90deg);
}

.nav-overlay__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.nav-overlay__links a {
  font-family: var(--font-serif);
  font-size: clamp(28px, 8vw, 48px);
  font-weight: 300;
  color: var(--cream);
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-overlay__links a:hover { color: var(--bronze); }

.nav-overlay__phone {
  font-family: var(--font-sans) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: var(--bronze) !important;
  letter-spacing: 0.06em !important;
  margin-top: 12px;
}

/* ── 6. Hero (scroll-to-scrub) ──────────────────────────── */

/*
  The hero-scroll wrapper is 350vh tall on desktop (comfortable scroll
  through the 7-second video), and 250vh on mobile (shorter travel
  distance so the page doesn't feel trapped on small screens).
*/
.hero-scroll {
  height: 350vh;
  position: relative;
  background: var(--black);
}

.hero-scroll__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--black);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: var(--black) url('hero-frames/000.webp') center / cover no-repeat;
}

.hero__fade {
  position: absolute;
  inset: 0;
  /* Darkens top-left corners for nav readability,
     center for text legibility,
     and bottom for seamless blend into next section */
  background:
    linear-gradient(
      to bottom,
      rgba(10,10,10,0.35) 0%,
      rgba(10,10,10,0.10) 25%,
      rgba(10,10,10,0.30) 55%,
      rgba(10,10,10,0.72) 82%,
      rgba(10,10,10,1.00) 100%
    );
  pointer-events: none;
  z-index: 1;
}

/* ── Hero text overlay ──────────────────────────────────── */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--nav-h) clamp(24px, 8vw, 120px) 120px;
  pointer-events: none; /* let scroll events pass through */
}

/* Soft frosted panel behind the hero text — keeps it legible over
   both the bright sky frames and the busy blueprint frames */
.hero__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 780px;
  padding: clamp(21px, 3vw, 39px) clamp(18px, 3.75vw, 54px);
  background: rgba(10, 10, 10, 0.28);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(184, 146, 74, 0.18);
  border-radius: 4px;
  box-shadow: 0 0 90px 45px rgba(10, 10, 10, 0.18);    /* feathers the edges */
  animation: heroFadeUp 1.1s var(--ease-out) both;
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(35px, 6vw, 87px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--cream);
  text-shadow:
    0 2px 4px  rgba(0, 0, 0, 0.55),
    0 4px 30px rgba(0, 0, 0, 0.6);
  margin-bottom: clamp(12px, 1.65vw, 20px);
}

.hero__subheadline {
  font-family: var(--font-sans);
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.75;
  color: rgba(245, 240, 232, 0.94);
  max-width: 540px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7), 0 2px 18px rgba(0, 0, 0, 0.6);
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll hint (fades out once scrolling starts) */
.hero__scroll-hint {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 1;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.hero__scroll-hint.is-hidden {
  opacity: 0;
}
.hero__scroll-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.55);
}
.hero__scroll-chevron {
  font-size: 16px;
  color: rgba(184,146,74,0.7);
  animation: chevronBounce 1.6s ease-in-out infinite;
}
@keyframes chevronBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* Bronze progress bar along the bottom edge of the hero */
.hero__progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(184,146,74,0.15);
  z-index: 4;
}
.hero__progress-fill {
  height: 100%;
  width: 0%;
  background: var(--bronze);
  transition: width 0.05s linear;
}

/* ── 7. The Touron Difference ───────────────────────────── */
.difference {
  background: var(--black);
  padding: var(--section-py) var(--section-px);
}

.difference__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.difference__header {
  margin-bottom: 88px;
  display: flex;
  flex-direction: column;
}

.difference__headline {
  font-family: var(--font-serif);
  font-size: clamp(44px, 6.5vw, 88px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--cream);
  max-width: 700px;
}
.difference__headline em {
  font-style: italic;
  color: var(--bronze-lt);
}

.difference__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}

.difference__pillar {}

.pillar__number {
  display: block;
  font-family: var(--font-serif);
  font-size: 88px;
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: rgba(184, 146, 74, 0.14);
  margin-bottom: 20px;
}

.pillar__line {
  width: 32px;
  height: 1px;
  background: var(--bronze);
  margin-bottom: 28px;
}

.pillar__title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin-bottom: 18px;
}

.pillar__body {
  font-size: 14px;
  line-height: 1.8;
  color: var(--cream-mute);
  font-weight: 300;
  max-width: 320px;
}

/* ── 8. Practice Areas ──────────────────────────────────── */
.practice {
  background: var(--black-sect);
  padding: var(--section-py) var(--section-px);
}

.practice__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.practice__header {
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
}

.practice__headline {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.practice__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(184,146,74,0.06);
}

.practice__card {
  position: relative;
  background: var(--black-card);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  transition:
    background 0.3s var(--ease-out),
    transform  0.3s var(--ease-out);
}

.practice__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--bronze);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.practice__card-accent { display: none; } /* handled by ::before */

.practice__card:hover {
  background: rgba(184, 146, 74, 0.05);
  transform: translateY(-4px);
}
.practice__card:hover::before {
  transform: scaleX(1);
}

.practice__card-title {
  font-family: var(--font-serif);
  font-size: clamp(19px, 1.9vw, 23px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.practice__card-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--cream-mute);
  font-weight: 300;
  flex: 1;
}

.practice__card-arrow {
  display: inline-block;
  font-size: 16px;
  color: var(--bronze);
  opacity: 0;
  transform: translateX(-8px);
  transition:
    opacity 0.3s,
    transform 0.3s var(--ease-out);
  margin-top: auto;
}
.practice__card:hover .practice__card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── 10. Team ───────────────────────────────────────────── */
.team {
  background: var(--cream);
  padding: var(--section-py) var(--section-px);
}

.team__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.team__header {
  margin-bottom: 64px;
  display: flex;
  flex-direction: column;
}

.team__featured {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: start;
  margin-bottom: 72px;
  padding-bottom: 72px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

/* ─ Featured photo: works as placeholder div OR real <img> ─ */
.team__photo-featured {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(
    145deg,
    var(--black-sect) 0%,
    var(--black-card) 55%,
    rgba(184,146,74,0.18) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  object-fit: cover;   /* kicks in when it becomes an <img> */
  object-position: top center;
}
/* Show initials only when it's still a div (no real photo) */
div.team__photo-featured::after {
  content: attr(data-initials);
  font-family: var(--font-serif);
  font-size: 96px;
  font-weight: 300;
  color: rgba(184,146,74,0.2);
  letter-spacing: 0.08em;
}

/* ─ Associate photos: works as placeholder div OR real <img> ─ */
.team__photo-assoc {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(
    145deg,
    var(--black-sect) 0%,
    var(--black-card) 65%,
    rgba(184,146,74,0.1) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  object-fit: cover;    /* kicks in when it becomes an <img> */
  object-position: top center;
}
/* Show initials only when it's still a div (no real photo) */
div.team__photo-assoc::after {
  content: attr(data-initials);
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 300;
  color: rgba(184,146,74,0.25);
  letter-spacing: 0.1em;
}

/* Featured bio */
.team__featured-bio {
  padding-top: 4px;
}

.team__featured-creds {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.cred-badge {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--bronze-dk);
  background: rgba(138, 106, 48, 0.09);
  border: 1px solid rgba(138, 106, 48, 0.22);
  padding: 5px 12px;
  border-radius: 2px;
}

.team__featured-name {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 400;
  color: var(--black);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.team__featured-role {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze-dk);
  margin-bottom: 30px;
}

.team__featured-quote {
  font-family: var(--font-serif);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.58;
  color: var(--grey-dark);
  border-left: 2px solid var(--bronze);
  padding-left: 22px;
  margin-bottom: 36px;
}

.team__credentials {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 36px;
}

.team__credentials li {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--grey-body);
  padding-left: 18px;
  position: relative;
}
.team__credentials li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--bronze);
  font-size: 11px;
  top: 3px;
}

.team__featured-note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--grey-body);
  margin-bottom: 32px;
  max-width: 520px;
}

.team__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.team__contact li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 14px;
}
.team__contact-label {
  min-width: 52px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8A8070;
}
.team__contact a {
  font-weight: 500;
  color: var(--bronze-dk);
  border-bottom: 1px solid rgba(138,106,48,0.28);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.team__contact a:hover {
  color: var(--bronze);
  border-color: var(--bronze);
}

/* Associates rows (attorneys / staff) */
.team__group-label {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze-dk);
  margin-bottom: 20px;
}

.team__associates {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  margin-bottom: 56px;
}
.team__associates:last-child { margin-bottom: 0; }

.team__assoc-card {
  background: var(--cream);
  padding: 24px 18px 28px;
  transition: background 0.25s;
}
.team__assoc-card:hover { background: rgba(184,146,74,0.04); }

.team__assoc-name {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-bottom: 5px;
}

.team__assoc-role {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8A8070;
}

/* ── 12. Resources / Blog ───────────────────────────────── */
.resources {
  background: var(--cream);
  padding: var(--section-py) var(--section-px);
}

.resources__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.resources__header {
  display: flex;
  flex-direction: column;
  margin-bottom: 60px;
}

.resources__view-all {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze-dk);
  border-bottom: 1px solid rgba(138,106,48,0.3);
  padding-bottom: 2px;
  margin-top: 28px;
  align-self: flex-start;
  transition: color 0.2s, border-color 0.2s;
}
.resources__view-all:hover {
  color: var(--bronze);
  border-color: var(--bronze);
}

.resources__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(0,0,0,0.06);
}

.resources__card {
  background: #EDE8DE;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 2px solid transparent;
  transition:
    background  0.3s,
    border-color 0.3s,
    transform 0.3s var(--ease-out);
}
.resources__card:hover {
  background: #E4DED2;
  border-top-color: var(--bronze-dk);
  transform: translateY(-4px);
}

.resources__tag {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze-dk);
  align-self: flex-start;
}

.resources__card-title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--black);
  flex: 1;
}

.resources__card-excerpt {
  font-size: 13px;
  line-height: 1.72;
  color: #6A6050;
  font-weight: 300;
}

.resources__card-date {
  font-size: 10.5px;
  color: #9A9080;
  letter-spacing: 0.07em;
  font-weight: 400;
}

.resources__read-more {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--bronze-dk);
  transition: color 0.2s;
  align-self: flex-start;
}
.resources__card:hover .resources__read-more { color: var(--bronze); }

/* ── 13. Contact ────────────────────────────────────────── */
.contact {
  background: var(--black);
  padding: var(--section-py) var(--section-px);
}

.contact__inner {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.contact__header {
  margin-bottom: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact__header .eyebrow {
  justify-content: center;
}

.contact__headline {
  font-family: var(--font-serif);
  font-size: clamp(44px, 6.5vw, 84px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--cream);
  margin-bottom: 22px;
}
.contact__headline em {
  font-style: italic;
  color: var(--bronze-lt);
}

.contact__sub {
  font-size: 15px;
  line-height: 1.78;
  color: var(--cream-mute);
  max-width: 540px;
  font-weight: 300;
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--bronze-line);
  border-bottom: 1px solid var(--bronze-line);
}

.contact__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 44px 24px;
}
.contact__item + .contact__item {
  border-left: 1px solid var(--bronze-line);
}

.contact__label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze);
}

.contact__value {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 300;
  line-height: 1.3;
  color: var(--cream);
  transition: color 0.2s;
}
.contact__value:hover { color: var(--bronze-lt); }

.contact__value--address {
  font-size: clamp(19px, 1.9vw, 23px);
}

/* ── 14. Footer ─────────────────────────────────────────── */
.footer {
  background: var(--black-soft);
  border-top: 1px solid var(--bronze-line);
  padding: 64px var(--section-px) 40px;
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  align-items: start;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer__name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--cream);
}
.footer__tagline {
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-mute);
  margin-bottom: 4px;
}
.footer__motto {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-top: 2px;
}

.footer__cert {
  font-size: 11px;
  color: var(--bronze);
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__nav a {
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--cream-mute);
  transition: color 0.2s;
}
.footer__nav a:hover { color: var(--bronze); }

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: right;
}
.footer__contact a,
.footer__contact span {
  font-size: 13px;
  color: var(--cream-mute);
  transition: color 0.2s;
}
.footer__contact a:hover { color: var(--bronze-lt); }

.footer__states {
  font-size: 10.5px !important;
  letter-spacing: 0.1em;
}

.footer__divider {
  height: 1px;
  background: rgba(184,146,74,0.1);
  margin-bottom: 32px;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__disclaimer {
  font-size: 11px;
  line-height: 1.68;
  color: rgba(154,144,128,0.45);
  max-width: 720px;
  font-style: italic;
}

.footer__copy {
  font-size: 10.5px;
  color: rgba(154,144,128,0.3);
  letter-spacing: 0.07em;
}

/* ── 15. Photo Gallery ──────────────────────────────────── */
.gallery {
  background: var(--cream);
  padding: var(--section-py) var(--section-px);
}

.gallery__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.gallery__header {
  display: flex;
  flex-direction: column;
  margin-bottom: 52px;
}

/*
  CSS grid layout:
  Row 1: [wide — spans 2 cols] [tall — spans 2 rows]
  Row 2: [square]              [square]
  = 3 columns total
*/
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 340px 280px;
  grid-auto-rows: 380px;
  gap: 4px;
}

.gallery__item {
  overflow: hidden;
  position: relative;
}

/* Wide photo spans 2 columns */
.gallery__item--wide {
  grid-column: span 2;
}

/* Tall photo spans 2 rows */
.gallery__item--tall {
  grid-row: span 2;
}

/* When a real <img> is used instead of the placeholder div */
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.gallery__item:hover img {
  transform: scale(1.03);
}

/* Group shots: bias the crop to the faces, not the tabletop */
.gallery__img--top { object-position: center 30% !important; }

/* Bronze card that closes the grid next to the last photo */
.gallery__note {
  background: var(--black-sect);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 36px 32px;
}
.gallery__note-quote {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.1vw, 29px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.3;
  color: var(--cream);
}
.gallery__note-line {
  width: 40px;
  height: 1px;
  background: var(--bronze);
}
.gallery__note-sub {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
}

/* Placeholder shown until real photo is added */
.gallery__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #1C1A17 0%, #252018 60%, rgba(184,146,74,0.08) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
  transition: background 0.3s;
}
.gallery__placeholder:hover {
  background: linear-gradient(145deg, #232019 0%, #2C2720 60%, rgba(184,146,74,0.12) 100%);
}

/* Camera icon via CSS */
.gallery__placeholder::before {
  content: '';
  display: block;
  width: 40px;
  height: 32px;
  border: 1.5px solid rgba(184,146,74,0.3);
  border-radius: 4px;
  position: relative;
}
.gallery__placeholder::after {
  content: attr(data-label);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(184,146,74,0.4);
  text-align: center;
  padding: 0 20px;
  line-height: 1.5;
  max-width: 200px;
}

/* ── 16. Clients ────────────────────────────────────────── */
.clients {
  background: var(--black-soft);
  padding: var(--section-py) var(--section-px);
}

.clients__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.clients__header {
  display: flex;
  flex-direction: column;
  margin-bottom: 56px;
  max-width: 640px;
}

.clients__headline {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin-bottom: 18px;
}
.clients__headline em {
  font-style: italic;
  color: var(--bronze-lt);
}

.clients__sub {
  font-size: 15px;
  line-height: 1.75;
  color: var(--cream-mute);
  font-weight: 300;
}

.clients__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(184,146,74,0.18);
  border: 1px solid rgba(184,146,74,0.18);
}

.clients__logo {
  background: var(--cream);
  height: 164px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 26px;
}

/* Logos sit in quiet greyscale and come to life on hover */
.clients__logo img,
.clients__lockup,
.clients__wordmark {
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.35s, opacity 0.35s;
}
.clients__logo:hover img,
.clients__logo:hover .clients__lockup,
.clients__logo:hover .clients__wordmark {
  filter: none;
  opacity: 1;
}
.clients__lockup img { filter: none; opacity: 1; }

.clients__logo img {
  mix-blend-mode: multiply;   /* drops white logo backgrounds into the tile */
  width: auto;
  height: auto;
  max-width: 78%;
  max-height: 84px;
  object-fit: contain;
}
.clients__logo img.clients__img--wide  { max-height: 64px; }
.clients__logo img.clients__img--badge { max-height: 104px; }
.clients__logo img.clients__img--tms   { max-height: 100px; }
/* very wide wordmarks can use more of the tile */
.clients__logo img.clients__img--full  { max-width: 92%; }
/* pale logos need a nudge to read on the cream tile */
.clients__logo img.clients__img--light { filter: grayscale(1) brightness(0.62) contrast(1.15); opacity: 0.85; }
.clients__logo:hover img.clients__img--light { filter: brightness(0.9); opacity: 1; }

.clients__lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.clients__logo .clients__img--mark {
  height: 38px;
  max-height: none;
  max-width: none;
}
.clients__lockup-text,
.clients__wordmark {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-dark);
  text-align: center;
  line-height: 1.3;
}

/* ── 17. Frank's Videos ─────────────────────────────────── */
.frank-videos {
  background: var(--black-soft);
  padding: var(--section-py) var(--section-px);
}

.frank-videos__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.frank-videos__header {
  display: flex;
  flex-direction: column;
  margin-bottom: 64px;
  max-width: 640px;
}

.frank-videos__headline {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin-bottom: 18px;
}
.frank-videos__headline em {
  font-style: italic;
  color: var(--bronze-lt);
}

.frank-videos__sub {
  font-size: 15px;
  line-height: 1.75;
  color: var(--cream-mute);
  font-weight: 300;
}

.frank-videos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Individual video card */
.frank-video__card {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--black-card);
  border: 1px solid rgba(184,146,74,0.07);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.frank-video__card:hover {
  border-color: rgba(184,146,74,0.2);
  transform: translateY(-4px);
}

/* The video screen area (16:9 placeholder) */
.frank-video__screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, #1A1814 0%, #0F0E0C 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  cursor: pointer;
}

/* Bronze horizontal line accent at top of screen */
.frank-video__screen::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--bronze);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.frank-video__card:hover .frank-video__screen::before {
  transform: scaleX(1);
}

/* Play button */
.frank-video__play {
  width: 60px;
  height: 60px;
  color: var(--bronze);
  opacity: 0.8;
  transition: opacity 0.2s, transform 0.3s var(--ease-out);
}
.frank-video__card:hover .frank-video__play {
  opacity: 1;
  transform: scale(1.1);
}

.frank-video__coming {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(184,146,74,0.3);
}

/* iframe/video replaces the screen div when real video is added */
.frank-video__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

/* Text meta below the screen */
.frank-video__meta {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.frank-video__tag {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
}

.frank-video__title {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.frank-video__desc {
  font-size: 13px;
  line-height: 1.72;
  color: var(--cream-mute);
  font-weight: 300;
}

/* ── 18. Responsive ─────────────────────────────────────── */
@media (max-width: 1200px) {
  .practice__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1024px) {
  .difference__pillars {
    gap: 40px;
  }
  .practice__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team__featured {
    gap: 48px;
  }
  .team__associates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__item + .contact__item {
    border-left: none;
    border-top: 1px solid var(--bronze-line);
  }
  .contact__item { padding: 32px 24px; }
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
  .footer__contact {
    text-align: left;
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px 28px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 64px;
    --section-px: 24px;
  }

  /* Hero: shorter scroll travel on mobile */
  .hero-scroll { height: 250vh; }
  .hero__panel { padding: 22px 16px; background: rgba(10, 10, 10, 0.36); box-shadow: 0 0 60px 30px rgba(10, 10, 10, 0.2); }

  /* Nav: hide links, show burger */
  .nav__links  { display: none; }
  .nav__burger { display: flex; flex-shrink: 0; }

  /* Logo: shrink image, hide the tagline so burger always fits */
  .nav__logo        { gap: 8px; min-width: 0; }
  .nav__logo-img    { height: 30px; }
  .nav__logo-sub    { display: none; }
  .nav__logo-name   { font-size: 17px; }

  /* Difference */
  .difference__pillars {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .pillar__body { max-width: none; }

  /* Practice */
  .practice__grid { grid-template-columns: repeat(2, 1fr); }

  /* Team */
  .team__featured { grid-template-columns: 1fr; gap: 40px; }
  .team__associates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team__assoc-name { font-size: 19px; }

  /* Clients */
  .clients__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients__logo { height: 124px; padding: 16px; }
  .clients__logo img.clients__img--wide  { max-height: 48px; }
  .clients__logo img.clients__img--badge { max-height: 88px; }
  .clients__logo img.clients__img--tms   { max-height: 84px; }
  .clients__logo .clients__img--mark { height: 28px; }
  .clients__lockup { gap: 8px; }
  .clients__lockup-text, .clients__wordmark { font-size: 13px; letter-spacing: 0.1em; }

  /* Gallery: single column stack on mobile */
  .gallery__grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .gallery__item--wide  { grid-column: span 1; }
  .gallery__item--tall  { grid-row: span 1; }
  .gallery__item        { height: 240px; }
  .gallery__note        { height: auto; padding: 28px 22px; }

  /* Frank's videos: single column */
  .frank-videos__grid { grid-template-columns: 1fr; gap: 16px; }
  .frank-video__card  { flex-direction: column; }

  /* Resources */
  .resources__grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__contact { text-align: left; flex-direction: column; }
}

@media (max-width: 540px) {
  :root {
    --section-py: 52px;
    --section-px: 20px;
  }

  /* Practice single column on small phones */
  .practice__grid { grid-template-columns: 1fr; }

  .resources__card   { padding: 28px 20px; }
  .frank-video__meta { padding: 22px 20px 28px; }

  .contact__headline { font-size: clamp(36px, 10vw, 52px); }
  .hero__headline { font-size: clamp(34px, 9.9vw, 41px); }
  .hero__panel { width: 90%; }
  .hero__subheadline { font-size: 10.5px; }
  .hero__headline br { display: none; }
  .team__assoc-card { padding: 18px 12px 22px; }

  /* Gallery shorter on very small screens */
  .gallery__item { height: 200px; }
}

/* ── 19. Reduced motion ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
}
