/* ==========================================================================
   GALLO CAPITAL PARTNERS
   styles.css
   --------------------------------------------------------------------------
   Institutional typography on the existing brand ink (#1C1A17), two
   full-bleed South Texas photographs, and one accent ochre sampled from
   those photographs and used at roughly 1% of surface area.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */

:root {
  /* Ink + paper — the existing Gallo palette */
  --ink:            #1C1A17;   /* brand primary */
  --ink-90:         #2A2723;
  --ink-70:         #4A453E;
  --muted:          #6E675C;
  --faint:          #9A9287;
  --paper:          #F6F4EF;   /* warm off-white — default ground */
  --stone:          #EDE9E0;   /* alternating ground, one step down */
  --paper-2:        #EFECE5;   /* recessed panel */
  --rule:           rgba(28, 26, 23, 0.14);
  --rule-strong:    rgba(28, 26, 23, 0.32);

  /* Accent — sampled from the sunset band of the two site photographs
     (both average hue 37–42°), then darkened for legibility.
     #8A5A20 = 5.36:1 on cream, 4.99:1 on the recessed panel. Used only on
     rules, section numbers and column headings: roughly 1% of surface area. */
  --accent:         #8A5A20;
  --accent-on-dark: #D9AE6B;   /* 8.8:1 over the photo scrims */
  --accent-soft:    rgba(138, 90, 32, 0.07);

  /* Light values used over photographs and the ink panel */
  --on-dark:        #F6F4EF;
  --on-dark-70:     rgba(246, 244, 239, 0.78);
  --on-dark-50:     rgba(246, 244, 239, 0.56);
  --on-dark-rule:   rgba(246, 244, 239, 0.22);

  /* Type */
  --display: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Scale */
  --step--2: clamp(0.68rem, 0.66rem + 0.10vw, 0.74rem);
  --step--1: clamp(0.80rem, 0.77rem + 0.14vw, 0.88rem);
  --step-0:  clamp(0.98rem, 0.94rem + 0.20vw, 1.08rem);
  --step-1:  clamp(1.15rem, 1.06rem + 0.44vw, 1.40rem);
  --step-2:  clamp(1.45rem, 1.24rem + 1.05vw, 2.10rem);
  --step-3:  clamp(1.95rem, 1.52rem + 2.15vw, 3.30rem);
  --step-4:  clamp(2.25rem, 1.40rem + 4.60vw, 5.60rem);

  /* Rhythm */
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --measure: 34rem;
  --max: 78rem;
  --section-y: clamp(4.5rem, 9vw, 9.5rem);

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

/* Dark theme */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink:         #F2EFE9;
    --ink-90:      #E6E2DA;
    --ink-70:      #C8C2B8;
    --muted:       #9C948A;
    --faint:       #6E6760;
    --paper:       #131211;
    --stone:       #1A1816;
    --paper-2:     #1B1917;
    --rule:        rgba(242, 239, 233, 0.16);
    --rule-strong: rgba(242, 239, 233, 0.36);
    --accent:      #C99A57;
    --accent-on-dark: #D9AE6B;
    --accent-soft: rgba(201, 154, 87, 0.10);
  }
}
:root[data-theme="dark"] {
  --ink:         #F2EFE9;
  --ink-90:      #E6E2DA;
  --ink-70:      #C8C2B8;
  --muted:       #9C948A;
  --faint:       #6E6760;
  --paper:       #131211;
  --stone:       #1A1816;
  --paper-2:     #1B1917;
  --rule:        rgba(242, 239, 233, 0.16);
  --rule-strong: rgba(242, 239, 233, 0.36);
  --accent:      #C99A57;
  --accent-on-dark: #D9AE6B;
  --accent-soft: rgba(201, 154, 87, 0.10);
}

/* --------------------------------------------------------------------------
   2. RESET / BASE
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.62;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

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

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 1px;
}
/* Sections receive focus programmatically after in-page navigation */
section:focus { outline: none; }

/* --------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */

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

/* Grounds alternate down the page — paper, stone, photograph, ink — so the
   ground change itself is the divider. No hairline rules between sections. */
.section {
  padding-block: var(--section-y);
  position: relative;
}
.section--stone { background: var(--stone); }

.eyebrow {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
  font-size: var(--step--2);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow__num {
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  font-weight: 600;
}
.eyebrow__rule {
  flex: 1 1 auto;
  height: 1px;
  background: var(--rule);
  transform: translateY(-0.25em);
}

/* --------------------------------------------------------------------------
   4. TYPE ROLES
   -------------------------------------------------------------------------- */

.display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.display--hero { font-size: var(--step-4); }
.display--h2   { font-size: var(--step-3); }
.display--h3   { font-size: var(--step-2); }

.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-70);
  max-width: 46rem;
  text-wrap: pretty;
}

.body-text { max-width: var(--measure); color: var(--ink-70); }

.label {
  font-size: var(--step--2);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.markets {
  font-size: var(--step--1);
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* Email addresses are displayed, not linked */
.email {
  font-family: var(--sans);
  letter-spacing: 0.01em;
  color: var(--ink);
  -webkit-user-select: all;
          user-select: all;
}

/* --------------------------------------------------------------------------
   5. HEADER
   -------------------------------------------------------------------------- */

/* Solid at every scroll position. The page has full-bleed photographic
   sections, and a translucent bar picks up whatever passes beneath it. */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--ink);
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 4.5rem;
}

.wordmark {
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: 0.20em;
  line-height: 1;
  padding-right: 0.2em;
  white-space: nowrap;
}
.wordmark sup {
  font-family: var(--sans);
  font-size: 0.42em;
  letter-spacing: 0.14em;
  vertical-align: 0.9em;
  margin-left: 0.35em;
  opacity: 0.66;
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 2.1rem);
  margin-left: auto;
}

/* Investor Login + menu button — pinned to the top right at every size */
.header__end {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: clamp(1.1rem, 2.4vw, 2.1rem);
  flex: none;
}
.portal-short { display: none; }

.nav__link {
  font-size: var(--step--2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.78;
  position: relative;
  padding-block: 0.35rem;
  transition: opacity 0.2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav__link:hover { opacity: 1; }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { opacity: 1; }

.nav__portal {
  font-size: var(--step--2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--rule-strong);
  padding: 0.55rem 0.95rem;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.nav__portal:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Mobile menu */
.menu-btn {
  display: none;
  background: none;
  border: 1px solid currentColor;
  color: inherit;
  font: inherit;
  font-size: var(--step--2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
}

/* Small laptops: six tabs plus the login pill need the width back, so the
   wordmark drops its descriptor and the nav tightens rather than wrapping. */
@media (max-width: 1200px) and (min-width: 901px) {
  .wordmark sup { display: none; }
  .nav { gap: 1.05rem; }
  .nav__link { letter-spacing: 0.09em; }
  .header__end { margin-left: 1.1rem; }
  .nav__portal { letter-spacing: 0.09em; padding: 0.55rem 0.8rem; }
}
.nav__link, .nav__portal { white-space: nowrap; }

@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed;
    inset: 4.5rem 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    background: var(--paper);
    color: var(--ink);
    border-bottom: 1px solid var(--rule);
    padding: 0.5rem var(--gutter) 1.5rem;
    transform: translateY(-115%);
    transition: transform 0.42s var(--ease);
    box-shadow: 0 24px 40px -28px rgba(0,0,0,0.45);
  }
  .nav.is-open { transform: translateY(0); }
  .nav__link {
    padding-block: 1.05rem;
    border-bottom: 1px solid var(--rule);
    font-size: var(--step--1);
    opacity: 1;
  }
  .nav__link:last-child { border-bottom: 0; }
  .nav__link::after { display: none; }
}

/* Tight phones: shorten the login label and drop the wordmark descriptor
   so the top-right pairing always fits on one line */
@media (max-width: 560px) {
  .portal-full { display: none; }
  .portal-short { display: inline; }
  .wordmark sup { display: none; }
  .nav__portal { padding: 0.5rem 0.75rem; letter-spacing: 0.1em; }
  .menu-btn { padding: 0.5rem 0.7rem; letter-spacing: 0.1em; }
  .header__end { gap: 0.45rem; margin-left: 0.75rem; }
}

/* --------------------------------------------------------------------------
   6. HERO
   -------------------------------------------------------------------------- */

.hero {
  min-height: min(94svh, 60rem);
  display: flex;
  align-items: center;
  padding-top: 8.5rem;
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  position: relative;
  color: var(--on-dark);
}
.hero > * { position: relative; z-index: 1; }

/* Photograph + directional scrim.
   The scrim is heaviest at the left where the type sits and clears toward
   the right so the windmill and horizon stay visible. */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #23201C;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 56%;
  display: block;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      rgba(20, 18, 16, 0.88) 0%,
      rgba(20, 18, 16, 0.76) 30%,
      rgba(20, 18, 16, 0.44) 58%,
      rgba(20, 18, 16, 0.18) 100%),
    linear-gradient(to bottom,
      rgba(20, 18, 16, 0.58) 0%,
      rgba(20, 18, 16, 0.06) 32%,
      rgba(20, 18, 16, 0.10) 64%,
      rgba(20, 18, 16, 0.62) 100%);
}
@media (max-width: 820px) {
  .hero__media img { object-position: 70% 54%; }
  .hero__media::after {
    background: linear-gradient(to bottom,
      rgba(20, 18, 16, 0.78) 0%,
      rgba(20, 18, 16, 0.66) 45%,
      rgba(20, 18, 16, 0.82) 100%);
  }
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.hero__eyebrow::before {
  content: "";
  width: clamp(1.75rem, 5vw, 3.5rem);
  height: 1px;
  background: var(--on-dark);
  opacity: 0.7;
}
.hero .label { color: var(--on-dark-70); }

/* A short accent rule stands in for the old location eyebrow */
.hero__mark {
  width: clamp(2.25rem, 6vw, 4.5rem);
  height: 2px;
  background: var(--accent-on-dark);
  margin-bottom: clamp(1.5rem, 3.2vw, 2.4rem);
}

/* Three tiers in one headline: the statement at full size and tight leading,
   then the promise a step down in italic. */
.hero__title {
  max-width: 19ch;
  line-height: 0.98;
  letter-spacing: -0.026em;
  text-shadow: 0 1px 32px rgba(12, 10, 9, 0.35);
}
.hero__title .thin {
  display: block;
  margin-top: 0.36em;
  font-size: 0.545em;
  font-style: italic;
  line-height: 1.14;
  letter-spacing: -0.006em;
  color: var(--on-dark-70);
}

.hero__body {
  margin-top: clamp(2rem, 4vw, 3rem);
  max-width: 42rem;
  font-size: var(--step-1);
  line-height: 1.5;
  color: rgba(246, 244, 239, 0.88);
  text-wrap: pretty;
}

.hero__markets {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.85rem;
  color: var(--on-dark-70);
}
.hero__markets .dot { color: rgba(246, 244, 239, 0.40); }

.hero__cta {
  margin-top: clamp(2.25rem, 4.5vw, 3.25rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

@media (max-width: 560px) {
  .hero__cta,
  .invert-cta { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
  .hero__cta .btn,
  .invert-cta .btn { justify-content: space-between; width: 100%; }
  .hero__title { max-width: none; }
  /* Keep the four markets to two lines on a phone */
  .hero__markets { letter-spacing: 0.11em; font-size: 0.78rem; gap: 0.3rem 0.6rem; }
}

/* --------------------------------------------------------------------------
   7. BUTTONS
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--rule-strong);
  --btn-fill: var(--ink);
  --btn-fill-fg: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  padding: 0.95rem 1.5rem;
  font: inherit;
  font-size: var(--step--1);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--btn-fill);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.42s var(--ease);
  z-index: 0;
}
.btn > * { position: relative; z-index: 1; }
.btn:hover { color: var(--btn-fill-fg); border-color: var(--btn-fill); }
.btn:hover::before { transform: scaleX(1); }

.btn--solid {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  --btn-bd: var(--ink);
  --btn-fill: var(--paper);
  --btn-fill-fg: var(--ink);
}

.btn__arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* Buttons over the photographic hero */
.hero .btn {
  --btn-fg: var(--on-dark);
  --btn-bd: rgba(246, 244, 239, 0.46);
  --btn-fill: var(--on-dark);
  --btn-fill-fg: #1C1A17;
}
.hero .btn--solid {
  --btn-bg: var(--on-dark);
  --btn-fg: #1C1A17;
  --btn-bd: var(--on-dark);
  --btn-fill: transparent;
  --btn-fill-fg: var(--on-dark);
}
.hero .btn--solid:hover { border-color: var(--on-dark); }

/* --------------------------------------------------------------------------
   8. PILLARS (02)
   -------------------------------------------------------------------------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(3rem, 6vw, 4.75rem);
  border-top: 1px solid var(--rule);
}
.pillar {
  padding: clamp(2rem, 3.5vw, 2.75rem) clamp(1.25rem, 2.5vw, 2.25rem) clamp(2.25rem, 4vw, 3rem);
  border-right: 1px solid var(--rule);
  position: relative;
}
.pillar:first-child { padding-left: 0; }
.pillar:last-child { border-right: 0; padding-right: 0; }
.pillar::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.6s var(--ease);
}
.pillar.is-visible::before { width: 3.5rem; }
.pillar:nth-child(2)::before { transition-delay: 0.1s; }
.pillar:nth-child(3)::before { transition-delay: 0.2s; }

.pillar__num {
  font-size: var(--step--2);
  letter-spacing: 0.16em;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 1.35rem;
}
.pillar__title {
  font-size: var(--step--1);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.9rem;
}
.pillar__copy {
  font-size: var(--step-0);
  color: var(--ink-70);
  max-width: 22rem;
}

@media (max-width: 820px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    padding-inline: 0;
  }
  .pillar:last-child { border-bottom: 0; }
}

/* --------------------------------------------------------------------------
   9. CRITERIA (03)
   -------------------------------------------------------------------------- */

.criteria-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}
@media (max-width: 860px) { .criteria-head { grid-template-columns: 1fr; } }

.criteria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--rule-strong);
}
.criteria__col {
  padding: 2rem clamp(1.25rem, 2.5vw, 2.25rem) 2.5rem;
  border-right: 1px solid var(--rule);
}
.criteria__col:first-child { padding-left: 0; }
.criteria__col:last-child { border-right: 0; padding-right: 0; }

.criteria__title {
  font-size: var(--step--2);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.criteria__list li {
  padding: 0.62rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: var(--step-0);
  color: var(--ink-90);
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}
.criteria__list li::before {
  content: "";
  flex: none;
  width: 5px; height: 5px;
  background: var(--faint);
  transform: translateY(-2px);
}
.criteria__list li:last-child { border-bottom: 0; }

@media (max-width: 860px) {
  .criteria { grid-template-columns: 1fr; }
  .criteria__col {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    padding-inline: 0;
  }
  .criteria__col:last-child { border-bottom: 0; }
}

/* The positioning sentence — the line that tells brokers and bankers Gallo
   is not just another buyer bidding on marketed industrial deals. */
.statement {
  margin: clamp(2.75rem, 5.5vw, 4.25rem) 0 0;
  padding: clamp(1.75rem, 3.5vw, 2.5rem) 0 clamp(1.75rem, 3.5vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem);
  border-left: 2px solid var(--accent);
  font-family: var(--display);
  font-size: var(--step-2);
  line-height: 1.22;
  letter-spacing: -0.012em;
  max-width: 44rem;
  text-wrap: pretty;
}

.cta-inline {
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 2rem;
  padding-top: clamp(2rem, 4vw, 2.75rem);
  border-top: 1px solid var(--rule);
}
.cta-inline__q {
  font-family: var(--display);
  font-size: var(--step-2);
  line-height: 1.1;
}
.cta-inline .email { font-size: var(--step-1); }

/* --------------------------------------------------------------------------
   10. CORRIDOR (04)
   -------------------------------------------------------------------------- */

.south {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
@media (max-width: 900px) { .south { grid-template-columns: 1fr; } }

.corridor {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--rule);
}
.corridor__rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 2.6rem;
}
.corridor__rail::before {
  content: "";
  position: absolute;
  top: 0.42rem;
  left: calc(100% / 8);
  right: calc(100% / 8);
  height: 1px;
  background: linear-gradient(to right, var(--accent), var(--rule-strong));
}
.corridor__stop {
  text-align: center;
  position: relative;
  padding-inline: 0.5rem;
}
.corridor__stop::before {
  content: "";
  position: absolute;
  top: -2.6rem;
  left: 50%;
  width: 9px; height: 9px;
  margin-left: -4.5px;
  background: var(--paper);
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.5s var(--ease);
}
.corridor.is-visible .corridor__stop::before { transform: scale(1); }
.corridor.is-visible .corridor__stop:nth-child(2)::before { transition-delay: 0.12s; }
.corridor.is-visible .corridor__stop:nth-child(3)::before { transition-delay: 0.24s; }
.corridor.is-visible .corridor__stop:nth-child(4)::before { transition-delay: 0.36s; }

.corridor__name {
  font-family: var(--display);
  font-size: var(--step-1);
  line-height: 1.15;
  display: block;
  margin-bottom: 0.4rem;
}
.corridor__meta {
  font-size: var(--step--2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 720px) {
  .corridor__rail { grid-template-columns: 1fr; gap: 2.25rem; padding-top: 0; padding-left: 1.75rem; }
  .corridor__rail::before {
    top: 0.5rem; bottom: 0.5rem; left: 4px; right: auto;
    width: 1px; height: auto;
  }
  .corridor__stop { text-align: left; padding-inline: 0; }
  .corridor__stop::before { top: 0.45rem; left: -1.75rem; margin-left: 0; }
}

/* --------------------------------------------------------------------------
   11. INVESTORS (05) — ink panel over the second photograph
   -------------------------------------------------------------------------- */

.invert {
  position: relative;
  border-top: 0;
  color: var(--on-dark);
  background: #17150F;
  overflow: hidden;
}
.invert > * { position: relative; z-index: 1; }

.invert__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.invert__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 74%;   /* holds the sunset band in the right third */
}
.invert__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      rgba(14, 12, 10, 0.88) 0%,
      rgba(14, 12, 10, 0.70) 36%,
      rgba(14, 12, 10, 0.34) 68%,
      rgba(14, 12, 10, 0.16) 100%),
    linear-gradient(to bottom,
      rgba(14, 12, 10, 0.42) 0%,
      rgba(14, 12, 10, 0.04) 30%,
      rgba(14, 12, 10, 0.10) 68%,
      rgba(14, 12, 10, 0.48) 100%);
}
@media (max-width: 820px) {
  .invert__media img { object-position: 66% 76%; }
  .invert__media::after {
    background: linear-gradient(to bottom,
      rgba(14, 12, 10, 0.82) 0%,
      rgba(14, 12, 10, 0.70) 50%,
      rgba(14, 12, 10, 0.86) 100%);
  }
}

.invert .eyebrow { color: var(--on-dark-50); }
.invert .eyebrow__num { color: var(--accent-on-dark); }
.invert .eyebrow__rule { background: var(--on-dark-rule); }
.invert .lede,
.invert .body-text { color: var(--on-dark-70); }
.invert .display { text-shadow: 0 1px 32px rgba(10, 9, 8, 0.35); }

.invert .btn {
  --btn-fg: var(--on-dark);
  --btn-bd: rgba(246, 244, 239, 0.46);
  --btn-fill: var(--on-dark);
  --btn-fill-fg: #1C1A17;
}
.invert .btn--solid {
  --btn-bg: var(--on-dark);
  --btn-fg: #1C1A17;
  --btn-bd: var(--on-dark);
  --btn-fill: transparent;
  --btn-fill-fg: var(--on-dark);
}
.invert .btn--solid:hover { border-color: var(--on-dark); }
.invert .email { color: var(--on-dark); }

.approach {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(2.75rem, 5.5vw, 4.25rem);
  border-top: 1px solid var(--on-dark-rule);
}
.approach__item {
  padding: 1.75rem clamp(1rem, 2vw, 1.75rem) 2rem;
  border-right: 1px solid var(--on-dark-rule);
}
.approach__item:first-child { padding-left: 0; }
.approach__item:last-child { border-right: 0; padding-right: 0; }
.approach__num {
  display: block;
  font-size: var(--step--2);
  letter-spacing: 0.16em;
  color: rgba(246, 244, 239, 0.45);
  margin-bottom: 0.9rem;
  font-variant-numeric: tabular-nums;
}
.approach__label {
  font-family: var(--display);
  font-size: var(--step-1);
  line-height: 1.15;
}
@media (max-width: 900px) {
  .approach { grid-template-columns: repeat(2, 1fr); }
  .approach__item:nth-child(2) { border-right: 0; padding-right: 0; }
  .approach__item:nth-child(3) { padding-left: 0; border-top: 1px solid var(--on-dark-rule); }
  .approach__item:nth-child(4) { border-top: 1px solid var(--on-dark-rule); }
}
@media (max-width: 520px) {
  .approach { grid-template-columns: 1fr; }
  .approach__item {
    border-right: 0;
    padding-inline: 0;
    border-top: 1px solid var(--on-dark-rule);
  }
  .approach__item:first-child { border-top: 0; }
}

.invert-cta {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--on-dark-rule);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}

/* --------------------------------------------------------------------------
   12. ABOUT (06)
   -------------------------------------------------------------------------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

.principal {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-top: clamp(2.25rem, 4.5vw, 3.25rem);
  border-top: 1px solid var(--rule-strong);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
}
@media (max-width: 820px) { .principal { grid-template-columns: 1fr; gap: 1.75rem; } }

.principal__name {
  font-family: var(--display);
  font-size: var(--step-2);
  line-height: 1.1;
  margin-bottom: 0.55rem;
}
.principal__role {
  font-size: var(--step--2);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* Credentials as a rule-separated list, not prose */
.creds { border-top: 1px solid var(--rule); }
.creds li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: var(--step-0);
  color: var(--ink-90);
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  align-items: baseline;
  gap: 0.25rem;
}
.creds li::before {
  content: counter(cred, decimal-leading-zero);
  counter-increment: cred;
  font-size: var(--step--2);
  letter-spacing: 0.12em;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}
.creds { counter-reset: cred; }

/* --------------------------------------------------------------------------
   13. CONTACT (07)
   -------------------------------------------------------------------------- */

.funnels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--rule-strong);
}
.funnel {
  padding: clamp(2rem, 3.5vw, 2.75rem) clamp(1.25rem, 2.5vw, 2.25rem) clamp(2.25rem, 4vw, 3rem);
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.funnel:first-child { padding-left: 0; }
.funnel:last-child { border-right: 0; padding-right: 0; }

.funnel__title {
  font-family: var(--display);
  font-size: var(--step-2);
  line-height: 1.1;
}
.funnel__copy { color: var(--ink-70); font-size: var(--step-0); }

@media (max-width: 860px) {
  .funnels { grid-template-columns: 1fr; }
  .funnel {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    padding-inline: 0;
  }
  .funnel:last-child { border-bottom: 0; }
}

/* Two-address block */
.addresses {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--rule-strong);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 900px) { .addresses { grid-template-columns: 1fr; gap: 2rem; } }

.addr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}
@media (max-width: 620px) { .addr-grid { grid-template-columns: 1fr; } }

.addr {
  border-top: 2px solid var(--accent);
  padding-top: 1.25rem;
}
.addr__label { display: block; margin-bottom: 0.75rem; }
.addr__value {
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.02rem + 1.05vw, 1.85rem);
  line-height: 1.15;
  word-break: break-word;
  -webkit-user-select: all;
          user-select: all;
}
.addr__note { margin-top: 0.75rem; font-size: var(--step--1); color: var(--muted); }

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */

/* The page closes on ink — the fourth ground in the rhythm.
   Pinned to a literal, because --ink inverts under the dark theme. */
.footer {
  background: #1C1A17;
  color: var(--on-dark);
  padding-block: clamp(3.5rem, 6vw, 5.5rem) 2.5rem;
  --rule: var(--on-dark-rule);
}
.footer .email { color: var(--on-dark); }
.footer .wordmark sup { opacity: 0.55; }

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.7fr));
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 820px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }

.footer__tag {
  font-family: var(--display);
  font-size: var(--step-1);
  line-height: 1.25;
  max-width: 24ch;
  margin-top: 1.1rem;
  color: var(--on-dark-70);
}
.footer__col-title {
  font-size: var(--step--2);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-50);
  margin-bottom: 1.1rem;
  font-weight: 500;
}
.footer__list li { margin-bottom: 0.6rem; color: var(--on-dark-70); }
.footer__list a { color: var(--on-dark-70); transition: color 0.2s var(--ease); }
.footer__list a:hover { color: var(--accent-on-dark); }

.footer__bottom {
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
}
.footer__legal {
  font-size: var(--step--2);
  color: rgba(246, 244, 239, 0.50);
  max-width: 52rem;
  line-height: 1.65;
}
.footer__copy { font-size: var(--step--2); color: rgba(246, 244, 239, 0.50); white-space: nowrap; }

/* --------------------------------------------------------------------------
   15. REVEAL
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   16. UTILITY PAGE (404)
   -------------------------------------------------------------------------- */

.utility {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 8rem 4rem;
}
.utility__inner { max-width: 46rem; }

/* --------------------------------------------------------------------------
   17. PRINT
   -------------------------------------------------------------------------- */

@media print {
  .header, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .invert { color: #000 !important; background: #fff !important; }
  .hero__media, .invert__media { display: none !important; }
  .hero .label, .hero__body, .hero__markets,
  .invert .lede, .invert .body-text { color: #000 !important; }
  .section { page-break-inside: avoid; border-color: #ccc; }
}
