/* ==========================================================================
   Trinity Ridge Capital
   Extends the splash page into a full site.

   House rules — read before editing:
   1. One typeface. Cormorant Garamond for everything — display, labels, reading.
   2. No cards. No bordered tiles. No icon grids. Structure comes from
      hairline rules, indentation and space — never from a box.
   3. Left-aligned and asymmetric. Content sits in column 2 of 9, not centred.
   4. One accent (sage), used as a rule or a label. Never as a fill.
   5. Photography is the only decoration. Grayscale under a forest scrim.
   6. Nothing rounded, nothing shadowed, nothing gradient-filled.
   ========================================================================== */

/* Self-hosted. These blocks mirror what fonts.googleapis.com served on
   2026-09-16 (same variable woff2 files, same unicode-range), so rendering
   is identical and no visitor's IP goes to Google. */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* A single-hue tonal ramp: hue 159.6deg and saturation 95.9% are held
     constant and only lightness moves. The old --deep #0C1210 sat at 20%
     saturation, so a band change read as a colour swap rather than a change
     in depth — that is what made the section edges look like seams. Adjacent
     steps here are 1.20:1, 1.15:1 and 1.10:1. */
  --forest:         #013020;   /* L  9.6% — the page ground         */
  --forest-deep:    #012317;   /* L  7.0% — act break, once a page  */
  --forest-deepest: #001810;   /* L  4.8% — footer                  */

  --forest-2:    #024D38;

  --paper:       rgba(255,255,255,0.84);
  --dim:         rgba(255,255,255,0.57);
  --faint:       rgba(255,255,255,0.50);
  --hair:        rgba(255,255,255,0.14);
  --hair-strong: rgba(255,255,255,0.28);

  --sage:        #B9D3C6;
  --sage-dim:    #8FC3AA;

  --f-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --f-label:   'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --f-body:    'Cormorant Garamond', Georgia, 'Times New Roman', serif;

  --shell:  1560px;
  --gutter: clamp(2.4rem, 4.5vw, 6rem);

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

/* Knighthead's trick: 10px root so the rem scale reads in whole pixels. */
html { font-size: 62.5%; }

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

body {
  background: var(--forest);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: 1.85rem;
  font-weight: 500;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }

::selection { background: var(--sage); color: var(--forest); }

:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 4px;
}

/* --------------------------------------------------------------------------
   Grid — 9 columns, content indented to column 2. The asymmetry is the point.
   -------------------------------------------------------------------------- */

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 0 2.5rem;
}

.col-main   { grid-column: 2 / span 7; }
.col-narrow { grid-column: 2 / span 5; }
.col-wide   { grid-column: 1 / span 9; }

@media (max-width: 900px) {
  .col-main, .col-narrow, .col-wide { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

.eyebrow {
  font-family: var(--f-label);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sage);
  line-height: 1;
  margin-bottom: 2.8rem;
}

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

.h-page {
  font-size: clamp(3.4rem, 4.6vw, 5.8rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.005em;
  color: #fff;
}

.h-section {
  font-size: clamp(2.6rem, 3.2vw, 3.8rem);
  font-weight: 600;
  line-height: 1.16;
}

.h-sub {
  font-family: var(--f-display);
  font-size: clamp(2rem, 2.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

/* The Knighthead opener: two or three short declarative lines, set large,
   carrying the page's argument before any prose arrives. */
.statements {
  list-style: none;
  margin-top: 4.4rem;
}

.statements { max-width: 78rem; }

.statements li {
  font-family: var(--f-display);
  font-size: clamp(2rem, 2.5vw, 2.9rem);
  line-height: 1.34;
  color: var(--paper);
  padding: 1.9rem 0;
  border-top: 1px solid var(--hair);
}

.statements li span { display: block; max-width: 30ch; }

.statements li:last-child { border-bottom: 1px solid var(--hair); }

.lede {
  font-size: clamp(2rem, 1.85vw, 2.3rem);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255,255,255,0.64);
  max-width: 46ch;
}

p { max-width: 62ch; }
p + p { margin-top: 1.5rem; }

.prose { color: var(--dim); }
.prose strong { color: var(--paper); font-weight: 600; }

.rule {
  width: 4.8rem;
  height: 1px;
  background: var(--hair-strong);
  border: 0;
  margin: 0;
}

.note {
  font-size: 1.45rem;
  line-height: 1.62;
  color: var(--faint);
  max-width: 72ch;
}

.note a { color: var(--dim); }

/* --------------------------------------------------------------------------
   Header — sits over the hero, gains a ground once you scroll past it.
   -------------------------------------------------------------------------- */

.masthead {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  padding: 2.6rem 0;
  transition: background-color 0.4s var(--ease), padding 0.4s var(--ease),
              border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.masthead.is-stuck {
  background: rgba(1, 26, 17, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--hair);
  padding: 1.8rem 0;
}

.masthead__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.masthead__logo img {
  height: 3.4rem;
  width: auto;
  opacity: 0.94;
}

@media (max-width: 860px) {
  .masthead__logo img { height: 3rem; }
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 3vw, 3.6rem);
  list-style: none;
}

.nav a {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.46);
  text-decoration: none;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid transparent;
  transition: color 0.28s var(--ease), border-color 0.28s var(--ease);
  white-space: nowrap;
}

.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--sage); }

.nav-toggle { display: none; }

/* --------------------------------------------------------------------------
   Hero — the splash, preserved. Everything else grew out of this.
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16rem var(--gutter) 10rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/hero.JPG");
  background-size: cover;
  background-position: 42% 30%;
  z-index: 0;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(1, 48, 32, 0.25) 0%,
    rgba(0, 0, 0, 0.40) 35%,
    rgba(0, 0, 0, 0.62) 65%,
    rgba(0, 0, 0, 0.80) 100%
  );
}

.hero__in { position: relative; z-index: 1; max-width: 76rem; }

.hero__mark {
  width: 100%;
  max-width: 42rem;
  margin: 0 auto 3.2rem;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.3));
}

.hero .rule { margin: 0 auto 4rem; }

.hero__headline {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  line-height: 1.22;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.94);
  margin-bottom: 2.8rem;
}

.hero__sub {
  font-size: clamp(1.8rem, 1.7vw, 2.1rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.62);
  max-width: 56rem;
  margin: 0 auto;
}

.hero__closer {
  font-family: var(--f-label);
  font-size: 1.3rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sage);
  /* Override the global p measure — this line centres in the hero, and a
     62ch block with no auto margin would sit left of centre. */
  max-width: none;
  margin: 4.4rem auto 0;
  /* Wide tracking leaves a 0.24em space after the final letter inside the line
     box, so centring lands the visible text 0.12em left. Nudge it back. */
  text-indent: 0.12em;
}

.hero__scroll {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3.2rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--f-label);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-indent: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.hero__scroll:hover { color: #fff; }

/* A faint rule with a soft segment travelling down it. Reads as "keep going"
   without resorting to a bouncing chevron. */
.hero__scroll::after {
  content: '';
  width: 1px;
  height: 6.4rem;
  background-color: rgba(255,255,255,0.16);
  background-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255,255,255,0.8) 50%,
    transparent 100%
  );
  background-repeat: no-repeat;
  background-size: 1px 55%;
  background-position: 0 -55%;
  animation: trickle 3s ease-in-out infinite;
}

.hero__scroll:hover::after { background-color: rgba(255,255,255,0.3); }

@keyframes trickle {
  0%   { background-position: 0 -55%; }
  100% { background-position: 0 100%; }
}

/* --------------------------------------------------------------------------
   Page header — for the inner pages. Knighthead's enormous top space.
   -------------------------------------------------------------------------- */

.pagehead {
  padding: clamp(14rem, 20vw, 24rem) 0 clamp(5rem, 7vw, 8rem);
  position: relative;
}

/* Runs the full column, like the passages table beneath it. */
.pagehead__lede { margin-top: 4rem; max-width: none; }

.pagehead + .band { padding-top: clamp(1rem, 2vw, 2.4rem); }

/* Anchored sections land below the fixed masthead, not underneath it. */
section[id] { scroll-margin-top: 9rem; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

/* The page is one continuous ground: .band sets no background and inherits
   the body's forest. Separation is space and hairlines, never colour. */
.band { padding: clamp(9rem, 11vw, 15rem) 0; }
.band--tight { padding: clamp(6rem, 7vw, 9rem) 0; }

/* The one permitted tone change, for a genuine act break. Extra padding keeps
   the boundary sitting in empty space, and it deliberately carries no rule. */
.band--break {
  background: var(--forest-deep);
  padding: clamp(11rem, 13vw, 17rem) 0;
}


.section-head { margin-bottom: clamp(3.6rem, 5vw, 5.6rem); }
.section-head .lede { margin-top: 2.4rem; }

/* Passages — what the mockup drew as a 2x2 card grid. A heading and real
   prose under a hairline reads as an argument; four bordered boxes read as
   a template. */
.passages { margin-top: 1rem; }

.passage {
  padding: clamp(3rem, 4vw, 4.4rem) 0;
  border-top: 1px solid var(--hair);
  display: grid;
  grid-template-columns: minmax(14rem, 0.34fr) 1fr;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: start;
}

.passage:last-child { border-bottom: 1px solid var(--hair); }
.passage__body { color: var(--dim); max-width: 58ch; }

@media (max-width: 780px) {
  .passage { grid-template-columns: 1fr; gap: 1.4rem; }
}

/* Numbered variant, for process steps. */
.passage__n {
  font-family: var(--f-display);
  font-size: 1.6rem;
  color: var(--sage);
  letter-spacing: 0.08em;
  padding-top: 0.6rem;
}

/* Inline list — the market filters. A tracked, ruled list, not six boxes. */
.criteria {
  list-style: none;
  margin-top: 3.4rem;
  columns: 2;
  column-gap: clamp(3rem, 5vw, 6rem);
}

.criteria li {
  break-inside: avoid;
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 1.3rem;
  align-items: start;
  padding: 1.5rem 0;
  border-top: 1px solid var(--hair);
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 1.9vw, 2.1rem);
  line-height: 1.3;
  color: var(--paper);
}

.criteria li::before {
  content: '';
  width: 1.6rem;
  height: 1.6rem;
  margin-top: 0.4rem;
  background: url('../assets/img/bug-tetons.png') center / contain no-repeat;
  opacity: 0.82;
}

@media (max-width: 700px) { .criteria { columns: 1; } }

/* Definition rows — "what we buy", contact details, office blocks. */
.deflist { margin-top: 3.4rem; }

.deflist > div {
  display: grid;
  grid-template-columns: minmax(11rem, 0.24fr) 1fr;
  gap: clamp(1.6rem, 3vw, 4rem);
  padding: 1.8rem 0;
  border-top: 1px solid var(--hair);
}

.deflist > div:last-child { border-bottom: 1px solid var(--hair); }

.deflist dt {
  font-family: var(--f-label);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  padding-top: 0.5rem;
}

.deflist dd { color: var(--paper); max-width: 52ch; }

@media (max-width: 700px) {
  .deflist > div { grid-template-columns: 1fr; gap: 0.6rem; }
}

/* --------------------------------------------------------------------------
   Photography — the only decoration on the site.
   -------------------------------------------------------------------------- */

.figure { position: relative; overflow: hidden; isolation: isolate; }

.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
}

.figure::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(1,30,20,0.30), rgba(1,24,16,0.48));
  pointer-events: none;
}

/* Full-bleed band of photography, used where the mockup put a colour block. */
/* Inset, not full-bleed. A picture the ground wraps on all four sides has no
   edge to reconcile; a full-bleed one introduces two. */
.plate {
  position: relative;
  height: clamp(26rem, 40vw, 48rem);
  overflow: hidden;
  isolation: isolate;
}

.plate img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 58%;
  filter: grayscale(1) contrast(1.06);
}

/* Duotone. `color` takes hue and saturation from this forest plate and
   luminosity from the greyscale photograph, so the image reads as tonal
   texture in the brand colour rather than a window cut into the page.
   (soft-light, the usual trick, collapses to mud on a ground this dark.) */
.plate::before,
.figure::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--forest);
  mix-blend-mode: color;
  pointer-events: none;
}

/* Fades to the exact ground hex across ~92% of the element. A short taper
   would just read as a second, softer stripe. */
.plate::after {
  content: '';
  position: absolute; inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, var(--forest) 0%, rgba(1,48,32,0) 14%,
                    rgba(1,48,32,0) 86%, var(--forest) 100%),
    linear-gradient(180deg, rgba(1,30,20,0.22), rgba(1,24,16,0.40));
  pointer-events: none;
}

/* The caption now sits inside the inset plate, so it carries its own padding
   rather than borrowing the page grid. */
.plate__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;   /* above the duotone plate and the edge fade */
  padding: clamp(2.6rem, 4vw, 4.4rem) clamp(2.6rem, 3.4vw, 4.4rem);
  margin: 0;
}

.plate__caption p {
  font-family: var(--f-display);
  font-size: clamp(2rem, 2.6vw, 3rem);
  line-height: 1.26;
  max-width: 24ch;
  color: #fff;
}

/* Before / after — restores the photography the mockup's own flow panel
   promises the lender audience. */
.ba {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.2rem, 2vw, 2.4rem);
  margin-top: 3.6rem;
}

.ba figure { position: relative; }

/* A very light feather on the outer edge of each photograph, so it settles
   into the ground rather than sitting on it with a hard rim. Inset shadows
   don't render on <img>, so it lives on a pseudo-element the same height. */
.ba figure::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: clamp(20rem, 24vw, 28rem);
  pointer-events: none;
  box-shadow: inset 0 0 9px 0 rgba(1, 48, 32, 0.78);
}
.ba img { width: 100%; height: clamp(20rem, 24vw, 28rem); object-fit: cover; filter: grayscale(0.5) contrast(1.03); }

.ba figcaption {
  font-family: var(--f-label);
  font-size: 1.1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 1.1rem;
}

.ba .is-after figcaption { color: var(--sage); }

/* --------------------------------------------------------------------------
   Team
   -------------------------------------------------------------------------- */

.roster { margin-top: 1rem; }

/* No portraits: the principals are named, not pictured. Name and role hold
   the left third, the prose the right — the same rhythm as the passages. */
.bio {
  display: grid;
  grid-template-columns: minmax(16rem, 0.32fr) 1fr;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: start;
  padding: clamp(3.4rem, 5vw, 5rem) 0;
  border-top: 1px solid var(--hair);
}

@media (max-width: 780px) {
  .bio { grid-template-columns: 1fr; gap: 1.2rem; }
}

.bio:last-child { border-bottom: 1px solid var(--hair); }

.bio__role {
  font-family: var(--f-label);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0.8rem 0 1.8rem;
}

.bio__body { color: var(--dim); max-width: 66ch; }

.bio__edu {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--hair);
  font-size: 1.45rem;
  color: var(--faint);
  max-width: 60ch;
}

/* Three names on the homepage. No photographs — the principals are named.
   A ruled list reads as a masthead; three cropped headshots read as a team page
   on a startup site. */
.names {
  list-style: none;
  margin-top: 3.6rem;
  border-top: 1px solid var(--hair);
  max-width: 78rem;
}

.names li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem 2.4rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--hair);
}

.names__name {
  font-family: var(--f-display);
  font-size: clamp(2rem, 2.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--paper);
}

.names__role {
  font-family: var(--f-label);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}

/* --------------------------------------------------------------------------
   Links & actions — underlines, not buttons. A filled pill would be the
   single most template-looking thing we could put on this page.
   -------------------------------------------------------------------------- */

.link {
  display: inline-block;
  font-family: var(--f-label);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper);
  text-decoration: none;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--hair-strong);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.link:hover { color: #fff; border-bottom-color: var(--sage); }

.link + .link { margin-left: 3rem; }

.actions { margin-top: clamp(3.4rem, 5vw, 5rem); }

/* Two ways in — brokers one side, investors the other. */
.doors {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: clamp(2.6rem, 5vw, 6rem);
  margin-top: 1rem;
}

.doors__rule { background: var(--hair); }

.doors h3 {
  font-family: var(--f-label);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.8rem;
}

.doors p { color: var(--dim); margin-bottom: 2.6rem; }

@media (max-width: 780px) {
  .doors { grid-template-columns: 1fr; gap: 3.4rem; }
  .doors__rule { height: 1px; }
}

/* --------------------------------------------------------------------------
   Forms — underline fields. No boxes, no fills, no rounded corners.
   -------------------------------------------------------------------------- */

.form { margin-top: 1rem; max-width: 62rem; }

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 3rem;
}

@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }

.field { margin-bottom: 3rem; }

.field label {
  display: block;
  font-family: var(--f-label);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--hair-strong);
  padding: 0.6rem 0 1rem;
  font-family: var(--f-body);
  font-size: 1.85rem;
  color: rgba(255,255,255,0.92);
  border-radius: 0;
  transition: border-color 0.3s var(--ease);
}

.field textarea { resize: vertical; min-height: 8rem; line-height: 1.6; }

.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,0.3); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--sage);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--faint) 50%),
                    linear-gradient(135deg, var(--faint) 50%, transparent 50%);
  background-position: right 0.6rem center, right 0.1rem center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.field select option { background: var(--forest-deep); color: #fff; }


.form__submit {
  font-family: var(--f-label);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  padding: 0 0 0.6rem;
  border-bottom: 1px solid var(--sage);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.form__submit:hover { color: var(--sage); }

.form__note { margin-top: 2.6rem; }

/* Honeypot. Off-screen, not display:none — bots check for that. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* What replaces the form once it has been sent. */
.form__done {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 2.4vw, 2.7rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--paper);
  max-width: 34ch;
  padding-top: 1.4rem;
  border-top: 1px solid var(--hair);
}
.form__done + .note { margin-top: 2rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

/* No border-top: a rule drawn exactly where the colour changes doubles the
   edge. The tone step plus generous padding does the separating. */
.foot {
  padding: clamp(8rem, 10vw, 12rem) 0 4rem;
  background: var(--forest-deepest);
}

.foot__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(2.6rem, 4vw, 5rem);
  padding-bottom: 4.4rem;
  border-bottom: 1px solid var(--hair);
}

@media (max-width: 820px) { .foot__top { grid-template-columns: 1fr; gap: 3.4rem; } }

.foot__mark img {
  height: 2.6rem; width: auto;
  opacity: 0.9;
  margin-bottom: 2.2rem;
}

.foot address {
  font-style: normal;
  font-size: 1.6rem;
  line-height: 1.8;
  color: var(--dim);
}

.foot address a { color: var(--dim); text-decoration: none; border-bottom: 1px solid var(--hair); }
.foot address a:hover { color: #fff; }

.foot h4 {
  font-family: var(--f-label);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1.8rem;
}

.foot ul { list-style: none; }
.foot li { margin-bottom: 1rem; }

.foot li a {
  font-size: 1.6rem;
  color: var(--dim);
  text-decoration: none;
  transition: color 0.28s var(--ease);
}

.foot li a:hover { color: #fff; }

.foot__legal { padding-top: 3.4rem; }

.foot__legal .note + .note { margin-top: 1.8rem; }

.foot__base {
  font-size: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.4rem;
  justify-content: space-between;
  margin-top: 2.6rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--hair);
  color: var(--faint);
}

.foot__base a { color: var(--faint); text-decoration: none; }
.foot__base a:hover { color: var(--dim); }
.foot__base span a + a { margin-left: 1.8rem; }


/* --------------------------------------------------------------------------
   Motion — carried over from the splash. Restrained, and only on entry.
   -------------------------------------------------------------------------- */

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

.rise { opacity: 0; animation: rise 1.1s var(--ease) forwards; }
.rise--1 { animation-delay: 0.15s; }
.rise--2 { animation-delay: 0.35s; }
.rise--3 { animation-delay: 0.55s; }
.rise--4 { animation-delay: 0.75s; }
.rise--5 { animation-delay: 0.95s; }

/* Sections fade in as they arrive. JS adds .is-in; without JS the
   :not(.reveal-ready) guard keeps everything visible. */
.reveal-ready .reveal { opacity: 0; }
.reveal-ready .reveal.is-in { opacity: 1; transition: opacity 1.1s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .rise { opacity: 1; }
  .reveal-ready .reveal { opacity: 1; }
}

/* --------------------------------------------------------------------------
   Mobile navigation — full-screen overlay, Knighthead's move.
   -------------------------------------------------------------------------- */

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 70;
    width: 2.6rem;
    height: 1.6rem;
  }

  .nav-toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: #fff;
    transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
  }

  .nav-toggle span:nth-child(1) { top: 0; }
  .nav-toggle span:nth-child(2) { top: 50%; }
  .nav-toggle span:nth-child(3) { top: 100%; }

  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(0.8rem) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-0.8rem) rotate(-45deg); }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 65;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    background: var(--forest);
    padding: 0 var(--gutter);
    transform: translateY(-100%);
    transition: transform 0.45s var(--ease);
  }

  .nav-open .nav { transform: translateY(0); }

  .nav li { width: 100%; border-bottom: 1px solid var(--hair); }
  .nav li:first-child { border-top: 1px solid var(--hair); }

  .nav a {
    display: block;
    padding: 2.4rem 0;
    font-size: 1.8rem;
    border-bottom: 0;
  }

  .nav a[aria-current="page"] { border-bottom: 0; color: var(--sage); }

  body.nav-open { overflow: hidden; }

  /* One sentence per line, broken at the full stop rather than wherever
     the tracked caps happen to run out of room. */
  .hero__closer span { display: block; }

  /* Solid, not blurred. backdrop-filter makes the masthead the containing
     block for the fixed menu overlay, which then measures itself against a
     66px bar instead of the viewport and leaks its last items out the
     bottom once you scroll. Solid also stops content showing through. */
  .masthead.is-stuck {
    background: var(--forest);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .split .criteria { column-gap: 2rem; }
}

/* Short phones (iPhone SE, 667px tall). Everything above is untouched on the
   16 / 16 Pro / Pro Max, whose viewports are 852px and up: the hero simply
   has less room here, so the mark shrinks, the spacing tightens and the
   scroll cue gets its own band at the foot. */
@media (max-width: 860px) and (max-height: 720px) {
  .hero { padding: 11rem var(--gutter) 14rem; }
  .hero__mark { max-width: 27rem; margin-bottom: 2.2rem; }
  .hero .rule { margin-bottom: 2.6rem; }
  .hero__headline { font-size: 2.2rem; margin-bottom: 2rem; }
  .hero__closer { margin-top: 2.8rem; font-size: 1.15rem; }
  .hero__scroll { bottom: 2.4rem; gap: 1rem; }
  .hero__scroll::after { height: 4rem; }
}

/* --------------------------------------------------------------------------
   Legal pages — Terms, Disclosures. Long-form reading, narrow measure.
   -------------------------------------------------------------------------- */

.legal-doc { color: var(--dim); }

.legal-doc h2 {
  font-family: var(--f-display);
  font-size: clamp(2.1rem, 2.4vw, 2.7rem);
  font-weight: 600;
  line-height: 1.24;
  color: var(--paper);
  margin: clamp(4rem, 5vw, 5.6rem) 0 1.6rem;
  padding-top: 2.6rem;
  border-top: 1px solid var(--hair);
}

.legal-doc h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

.legal-doc h3 {
  font-family: var(--f-label);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 2.8rem 0 1.2rem;
}

.legal-doc p { max-width: 68ch; }
.legal-doc ul { list-style: none; margin: 1.4rem 0; max-width: 68ch; }

.legal-doc li {
  position: relative;
  padding-left: 2.2rem;
  margin-bottom: 0.9rem;
}

.legal-doc li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.4rem;
  width: 1.1rem;
  height: 1px;
  background: var(--hair-strong);
}

.legal-doc .callout {
  border-left: 1px solid var(--sage);
  padding: 0.4rem 0 0.4rem 2.4rem;
  margin: 3rem 0;
  color: var(--paper);
}

/* Two-up split: prose one side, a picture the other. */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(3rem, 5vw, 6.5rem);
  align-items: center;
}

.split .figure { height: clamp(28rem, 32vw, 40rem); }

/* Split whose text column runs long: photo sits at the centre of the stack. */
.split--top { align-items: center; }
.split--top .figure { height: clamp(34rem, 40vw, 52rem); }

/* Inside a split column there is no room for the two-column passage or the
   two-column criteria; both stack. */
.split .passage { grid-template-columns: 1fr; gap: 0.9rem; padding: clamp(2.2rem, 3vw, 3rem) 0; }
.split .passages { margin-top: 3.4rem; }
.split .lede { max-width: none; }
/* A grid rather than CSS columns, so the two columns share rows and a
   two-line item lines up with its neighbour. Reads down the left, then the
   right. */
.split .criteria {
  columns: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  column-gap: clamp(2rem, 3vw, 4rem);
  align-items: start;
  margin-top: 2rem;
}

/* Image left, text right. The text stays FIRST in the DOM so it still stacks
   above the photograph on narrow screens — flipping source order is what made
   the picture shove the copy down. */
.split--rev { grid-template-columns: 0.95fr 1.05fr; }
.split--rev .figure { order: -1; }

@media (max-width: 900px) {
  .split, .split--rev { grid-template-columns: 1fr; }
  .split .figure { height: 28rem; }
  .split--rev .figure { order: 0; }
}

/* --------------------------------------------------------------------------
   Home keeps the larger scale approved on 2026-09-15; the inner pages went
   back to the pre-enlargement scale the same day. Scoped so neither drifts.
   -------------------------------------------------------------------------- */
body.home { font-size: 2.25rem; line-height: 1.6; }
.home .h-section { font-size: clamp(2.9rem, 3.5vw, 4.2rem); }
.home .lede { font-size: clamp(2.3rem, 2.1vw, 2.6rem); }
.home .eyebrow { font-size: 1.4rem; }
.home .link { font-size: 1.4rem; }
.home .note { font-size: 1.75rem; }

/* --------------------------------------------------------------------------
   Reasons — a short list of claims set as cells, each led by the Tetons mark
   from the branding pack. Fills the row on desktop, stacks on a phone. The
   one place the marks appear as bullets; everywhere else, hairlines.
   -------------------------------------------------------------------------- */

.reasons {
  list-style: none;
  display: grid;
  gap: 0 clamp(2.4rem, 3vw, 4rem);
  margin-top: 3.4rem;
  border-top: 1px solid var(--hair);
}
.reasons--2 { grid-template-columns: repeat(2, 1fr); }
.reasons--3 { grid-template-columns: repeat(3, 1fr); }

.reasons li {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 1.3rem;
  align-items: start;
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--hair);
  font-family: var(--f-display);
  font-size: clamp(2rem, 2.1vw, 2.3rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--paper);
}

.reasons li::before {
  content: '';
  width: 1.6rem;
  height: 1.6rem;
  margin-top: 0.45rem;
  background: url('../assets/img/bug-tetons.png') center / contain no-repeat;
  opacity: 0.82;
}

@media (max-width: 860px) {
  .reasons--2, .reasons--3 { grid-template-columns: 1fr; }
}

/* Statement plate — the photograph carries a short statement and its links,
   Team's closing move. Height follows the content so it can never overflow;
   the lower gradient is heavier so the words hold against the picture. */
.plate--statement {
  height: auto;
  min-height: clamp(40rem, 50vw, 58rem);
  display: grid;
  align-items: end;
}
.plate--statement img { position: absolute; inset: 0; }
.plate--statement::after {
  background:
    linear-gradient(180deg, var(--forest) 0%, rgba(1,48,32,0) 14%,
                    rgba(1,48,32,0.10) 38%, rgba(1,48,32,0.86) 76%, var(--forest) 100%),
    linear-gradient(180deg, rgba(1,30,20,0.22), rgba(1,24,16,0.40));
}
.plate--statement .plate__caption {
  position: relative;
  bottom: auto;
  padding-top: clamp(16rem, 22vw, 24rem);
}
.plate--statement .plate__caption .eyebrow {
  font-size: 1.3rem;
  line-height: 1;
  color: var(--sage);
  max-width: none;
  margin-bottom: 2.4rem;
}
/* Runs the width of the photograph, less the caption's own padding. */
.plate--statement .h-section { max-width: none; color: #fff; }
.plate--statement .actions { margin-top: 3rem; }

/* Colophon — the TRC stamp closes the longest page, the way a document ends
   with a mark rather than trailing off. Small, dim, once. */
.colophon {
  display: block;
  width: clamp(8rem, 9vw, 11rem);
  height: auto;
  margin-top: clamp(4.4rem, 6vw, 7rem);
  opacity: 0.5;
}

@media (max-width: 860px) {
  /* Links sit in a wrapping row with a gap, so one that drops to a new line
     starts flush left instead of carrying the desktop sibling margin. */
  .actions { display: flex; flex-wrap: wrap; gap: 1.4rem 2.6rem; }
  .actions .link + .link { margin-left: 0; }
  .actions--close { justify-content: center; }
  .colophon { margin-left: auto; margin-right: auto; }
}
