:root {
  --ink: #071c2b;
  --ink-2: #0b2a40;
  --ink-3: #123a54;
  --gold: #d8af36;
  --gold-light: #f1d478;
  --paper: #f5f3ee;
  --white: #fff;
  --muted: #aebcc5;
  --line: rgba(255,255,255,.13);
  --display: "Libre Caslon Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--white); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
a { color: inherit; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 100; padding: .8rem 1rem; background: var(--gold); color: var(--ink); }
.skip-link:focus { top: 1rem; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; height: 82px; padding: 0 clamp(1.25rem, 5vw, 5rem); border-bottom: 1px solid transparent; transition: .25s ease; }
.site-header.scrolled { background: rgba(7,28,43,.94); backdrop-filter: blur(14px); border-color: var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; line-height: 1; }
.tribe-logo { display: block; width: 300px; height: 86px; background: url("assets/fcf8ab30-8608-4c22-83e0-4fbd14a153ec.png") -80px -70px / 480px auto no-repeat; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a { text-decoration: none; font-size: .9rem; font-weight: 600; }
.nav-cta { padding: .72rem 1rem; border: 1px solid rgba(208,161,77,.65); }
.menu-button { display: none; border: 1px solid var(--line); background: transparent; color: white; padding: .5rem .75rem; font: inherit; }
.hero { min-height: 780px; height: 100svh; position: relative; display: flex; align-items: center; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 48%, rgba(25,64,92,.3), transparent 36%), linear-gradient(90deg, rgba(7,28,43,.99) 0%, rgba(7,28,43,.94) 55%, rgba(7,28,43,.76) 100%); }
.hero-art { position: absolute; z-index: 1; top: 15%; right: 2%; bottom: 3%; width: min(48vw, 760px); background: #315d80; opacity: .34; -webkit-mask: url("assets/ibex-tribe-mark.png") center/contain no-repeat; mask: url("assets/ibex-tribe-mark.png") center/contain no-repeat; }
.hero-content { position: relative; z-index: 2; width: min(900px, 90vw); margin-left: clamp(1.25rem, 6vw, 7.5rem); padding-top: 5rem; }
.eyebrow { margin: 0 0 1.25rem; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow.gold { color: var(--gold); }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.025em; line-height: 1.05; }
h1 { max-width: 940px; margin: 0; font-size: clamp(3.2rem, 5.8vw, 6.5rem); }
.hero-copy { max-width: 680px; margin: 2rem 0 0; color: #d4dde2; font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: .75rem 1.15rem; border: 1px solid transparent; text-decoration: none; font-weight: 700; }
.button-gold { background: var(--gold); color: #0b1c28; }
.button-gold:hover { background: var(--gold-light); }
.button-ghost { border-color: rgba(255,255,255,.38); }
.button-ghost:hover { background: rgba(255,255,255,.08); }
.proof-strip { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; margin-top: 2.6rem; color: #bbc8cf; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.proof-strip span::before { content: ""; display: inline-block; width: 18px; height: 1px; margin-right: .55rem; vertical-align: middle; background: var(--gold); }
.section-dark { background: #051621; }
.opening { padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 8vw, 9rem); }
.section-label { color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.opening-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .65fr); gap: clamp(3rem, 9vw, 9rem); margin-top: 2rem; }
.opening h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 5.4rem); }
.opening-grid p { margin: 0 0 1.5rem; color: #b9c6cd; font-size: 1.06rem; }
.audience-section { padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 8vw, 9rem); background: var(--paper); color: var(--ink); }
.audience-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr); gap: 2rem 6rem; align-items: end; }
.audience-intro .eyebrow { grid-column: 1/-1; margin-bottom: 0; }
.audience-intro h2 { margin: 0; font-size: clamp(2.8rem, 5vw, 5.6rem); }
.audience-intro > p:last-child { margin: 0 0 .7rem; color: #49606d; font-size: 1.08rem; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 5rem; border-top: 1px solid #cbd1d2; }
.feature-grid article { padding: 2.2rem 1.7rem 0; border-left: 1px solid #cbd1d2; }
.feature-grid article:first-child { border-left: 0; padding-left: 0; }
.feature-number { color: #9b7a3f; font-size: .75rem; font-weight: 700; }
.feature-grid h3 { margin: 2rem 0 1rem; font: 400 1.6rem/1.2 var(--display); }
.feature-grid p { color: #526875; font-size: .94rem; }
.portal-section { display: grid; grid-template-columns: minmax(280px,.72fr) minmax(520px,1.28fr); gap: clamp(3rem,8vw,8rem); align-items: center; padding: clamp(5rem,10vw,10rem) clamp(1.25rem,8vw,9rem); background: #061923; }
.portal-copy h2 { margin: 0; font-size: clamp(3rem,5.5vw,6rem); }
.portal-copy > p:not(.eyebrow) { color: #b5c2c9; }
.portal-copy .portal-note { color: var(--gold-light); font-weight: 600; }
.portal-window { overflow: hidden; border: 1px solid rgba(208,161,77,.32); background: #f4f5f3; color: var(--ink); box-shadow: 0 35px 100px rgba(0,0,0,.35); }
.portal-top { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; background: var(--ink-2); color: white; }
.portal-top span { font-family: var(--display); letter-spacing: .15em; }
.portal-top b { color: var(--gold); font-size: .72rem; }
.portal-top small { color: #9fb1bb; }
.portal-welcome { padding: 2rem 2rem 1.2rem; }
.portal-welcome small,.portal-welcome strong { display: block; }
.portal-welcome small { color: #6c7d85; }
.portal-welcome strong { margin-top: .2rem; font: 400 clamp(1.6rem,2.8vw,2.5rem) var(--display); }
.portal-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: .8rem; padding: 1rem 2rem 2rem; }
.portal-cards div { min-height: 135px; padding: 1rem; border: 1px solid #d8dddc; background: white; }
.portal-cards span,.portal-cards strong,.portal-cards small { display: block; }
.portal-cards span { color: #8e6a2c; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.portal-cards strong { margin-top: .7rem; font: 400 1.22rem var(--display); }
.portal-cards small { margin-top: .35rem; color: #6b7d86; }
.journey { padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 8vw, 9rem); background: var(--ink-2); }
.journey-head { max-width: 840px; }
.journey h2 { margin: 0; font-size: clamp(2.6rem, 5vw, 5.2rem); }
.journey-steps { display: grid; grid-template-columns: repeat(6, 1fr); list-style: none; margin: 5rem 0 0; padding: 0; border-top: 1px solid rgba(208,161,77,.5); }
.journey-steps li { position: relative; padding: 2rem 1rem 0 0; }
.journey-steps li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.journey-steps span { display: block; color: var(--gold-light); font-weight: 700; }
.journey-steps small { display: block; margin-top: .55rem; color: #aebdc6; font-size: .82rem; line-height: 1.45; }
.agency-section { background: #e9e7e1; }
.agency-panel { padding: clamp(2rem, 5vw, 5rem); background: var(--white); box-shadow: 0 24px 80px rgba(5,22,33,.1); }
.agency-outcomes { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 5rem; border-top: 1px solid #d8dcdd; border-left: 1px solid #d8dcdd; }
.agency-outcomes div { min-height: 195px; padding: 1.5rem; border-right: 1px solid #d8dcdd; border-bottom: 1px solid #d8dcdd; }
.agency-outcomes strong { display: block; margin-bottom: .75rem; font: 400 1.35rem var(--display); }
.agency-outcomes span { color: #5b6d76; font-size: .91rem; }
.principles { display: grid; grid-template-columns: minmax(300px, .9fr) minmax(360px, 1.1fr); gap: clamp(3rem, 10vw, 10rem); padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 8vw, 9rem); background: #051621; }
.principles-copy { position: sticky; top: 130px; align-self: start; }
.principles h2 { margin: 0; font-size: clamp(2.8rem, 5vw, 5.5rem); }
.principles-copy > p:last-child { color: #adbbc3; font-size: 1.05rem; }
.principles-list article { display: grid; grid-template-columns: 40px 1fr; gap: 1.5rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.principles-list article > span { color: var(--gold); font-size: .75rem; }
.principles-list h3 { margin: 0 0 .55rem; font: 400 1.55rem var(--display); }
.principles-list p { margin: 0; color: #aebcc5; }
.statement { position: relative; min-height: 760px; display: flex; align-items: center; overflow: hidden; background: #071a28; }
.statement-art { position: absolute; z-index: 1; top: 12%; right: -5%; bottom: 4%; width: min(42vw, 680px); background: #315d80; opacity: .18; -webkit-mask: url("assets/ibex-tribe-mark.png") center/contain no-repeat; mask: url("assets/ibex-tribe-mark.png") center/contain no-repeat; }
.statement::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 45%, rgba(35,84,117,.24), transparent 34%), linear-gradient(90deg, rgba(5,22,33,.99), rgba(7,26,40,.9)); }
.statement-content { position: relative; z-index: 2; width: min(1280px, calc(100% - 2.5rem)); margin: 0 auto; padding: clamp(5rem,9vw,8rem) 0; }
.statement h2 { max-width: 950px; margin: 0; font-size: clamp(3rem, 6vw, 6.2rem); }
.closing-intro { max-width: 720px; color: #c1cdd3; font-size: 1.08rem; }
.audience-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; max-width: 1080px; margin-top: 2.5rem; }
.choice-card { display: flex; min-height: 360px; flex-direction: column; align-items: flex-start; padding: clamp(1.5rem,3vw,2.5rem); border: 1px solid rgba(216,175,54,.35); background: rgba(5,20,31,.82); backdrop-filter: blur(10px); }
.choice-card > span { color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.choice-card h3 { margin: 1.1rem 0 .8rem; font: 400 clamp(1.8rem,3vw,2.7rem)/1.08 var(--display); }
.choice-card p { margin: 0 0 1.5rem; color: #afbdc5; }
.choice-card .button { margin-top: auto; }
.choice-business { border-color: rgba(255,255,255,.18); }
footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; padding: 2.5rem clamp(1.25rem, 5vw, 5rem); background: #031019; color: #9cabb4; }
.footer-mark { color: white; }
footer p { margin: 0; font-size: .82rem; }
.legal { text-align: right; }
@media (max-width: 980px) {
  .site-header { height: 70px; }
  .menu-button { display: block; }
  .site-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; padding: 1.25rem; background: rgba(7,28,43,.98); border-top: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: .25rem; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .75rem; }
  .opening-grid, .audience-intro, .principles, .portal-section, .audience-choices { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid article:nth-child(3) { border-left: 0; padding-left: 0; }
  .journey-steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem 1rem; }
  .agency-outcomes { grid-template-columns: repeat(2, 1fr); }
  .principles-copy { position: static; }
  footer { grid-template-columns: 1fr; }
  .legal { text-align: left; }
}
@media (max-width: 620px) {
  .tribe-logo { width: 220px; height: 64px; background-size: 352px auto; background-position: -59px -51px; }
  .hero { min-height: 760px; height: auto; }
  .hero::after { background: linear-gradient(90deg, rgba(7,28,43,.98), rgba(7,28,43,.86)); }
  .hero-art { top: 22%; right: -24%; width: 95vw; opacity: .17; }
  .hero-content { margin: 0; padding: 8rem 1.25rem 4rem; }
  h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .proof-strip { display: grid; }
  .feature-grid, .agency-outcomes { grid-template-columns: 1fr; }
  .feature-grid article { border-left: 0; border-bottom: 1px solid #cbd1d2; padding: 1.8rem 0; }
  .journey-steps { grid-template-columns: repeat(2, 1fr); }
  .agency-panel { padding: 2rem 1.25rem; }
  .portal-cards { grid-template-columns: 1fr; padding: .75rem 1rem 1rem; }
  .portal-welcome { padding: 1.5rem 1rem .75rem; }
  .statement-art { right: -32%; width: 100vw; opacity: .1; }
  .choice-card { min-height: 330px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
