/* Horizon — cinematic. Dark full-bleed imagery, heavy modern sans headlines, gold on night navy. */
.horizon {
  --paper: #ffffff; --ink: #0f2236; --navy: #0d2033; --navy-dark: #07131f; --night: #0a1828;
  --gold: #e3b458; --wine: #c4283d; --brass: #8a6418; --muted: #4c5b6b; --line: #dde3ea;
  --heading: 'Inter', Arial, sans-serif;
}
.horizon h1, .horizon h2, .horizon h3 { font-family: var(--heading); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; }
.horizon h2 { font-size: clamp(36px, 4.2vw, 60px); }
.horizon h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.02em; }
.horizon .eyebrow { color: var(--brass); letter-spacing: .2em; font-weight: 700; }
.horizon .button { border-radius: 999px; padding-inline: 26px; }

/* Slim sticky header */
.horizon .masthead { position: sticky; top: 0; z-index: 10; border: 0; box-shadow: 0 1px 0 #0d203314, 0 8px 24px #0d20330d; }
.horizon .header-inner { min-height: 84px; }
.horizon .brand { width: clamp(190px, 18vw, 250px); }
.horizon .masthead nav a { font-weight: 600; }
.horizon .masthead nav a[aria-current]::after { height: 3px; background: var(--gold); bottom: 0; }
.horizon .masthead nav a[aria-current] { color: var(--ink); }

/* Hero: full viewport */
.hz-hero { position: relative; isolation: isolate; display: grid; grid-template-rows: 1fr auto; min-height: calc(100svh - 116px); min-height: max(560px, calc(100svh - 116px)); color: #fff; background: var(--night); overflow: hidden; }
.hz-hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hz-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #07131fee 0%, #07131f80 38%, #07131f10 70%), linear-gradient(90deg, #07131fb0, transparent 65%); }
.hz-hero-inner { align-self: end; padding-block: 60px 34px; }
.hz-hero .eyebrow { color: var(--gold); display: flex; align-items: center; gap: 12px; }
.hz-hero .eyebrow::before { content: ''; width: 40px; height: 3px; background: var(--wine); }
.hz-hero h1 { margin-top: 18px; max-width: 12ch; font-size: clamp(54px, 7.6vw, 118px); line-height: .96; letter-spacing: -.045em; }
.hz-hero .hero-summary { margin-block: 22px 30px; max-width: 34ch; font-size: clamp(1.1rem, 1.7vw, 1.4rem); color: #e9eef4; }
.hz-hero-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-block: 16px; border-top: 1px solid #ffffff2e; font-size: .82rem; color: #d8e0e9; }
.hz-hero-foot a { text-decoration: none; font-weight: 600; color: #fff; }
.hz-hero-foot a span { display: inline-block; margin-left: 6px; color: var(--gold); }

/* Mission statement */
.hz-statement { background: #fff; }
.hz-statement::before { opacity: .45; }
.hz-statement-inner { max-width: 1040px; padding-block: clamp(80px, 11vw, 160px); text-align: center; }
.hz-statement-text { margin: 22px auto 0; max-width: 24ch; font: 700 clamp(30px, 3.9vw, 54px)/1.14 var(--heading); letter-spacing: -.03em; color: var(--ink); }
.hz-statement-sub { margin: 26px auto 22px; max-width: 58ch; font-size: 1.08rem; color: var(--muted); }
.hz-statement .text-link { margin-inline: auto; color: var(--wine); }

/* Story: steps scroll over a fixed-feeling image */
.hz-story { position: relative; isolation: isolate; overflow: clip; background: var(--night); color: #fff; }
.hz-story-media { position: sticky; top: 0; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh; overflow: hidden; z-index: -1; }
.hz-story-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hz-story-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #07131fd9 0%, #07131f99 45%, #07131f33 100%); }
.hz-story-content { display: grid; gap: clamp(64px, 14vh, 150px); padding-block: 16vh 24vh; }
.hz-story-intro { max-width: 620px; }
.hz-story-intro .eyebrow { color: var(--gold); }
.hz-story-intro h2 { margin-top: 14px; font-size: clamp(40px, 5.4vw, 80px); line-height: 1; }
.hz-story-intro p:not(.eyebrow) { margin-top: 18px; font-size: 1.1rem; color: #dfe6ee; }
.hz-card { width: min(100%, 470px); padding: clamp(26px, 3vw, 40px); background: #0a1828d1; border: 1px solid #ffffff24; border-top: 3px solid var(--gold); backdrop-filter: blur(6px); min-height: clamp(250px, 21vw, 300px); }
.hz-card:nth-of-type(1) { justify-self: start; }
.hz-card:nth-of-type(2) { justify-self: center; }
.hz-card:nth-of-type(3) { justify-self: end; }
.hz-card-number { font: 700 .9rem/1 var(--heading); letter-spacing: .2em; color: var(--gold); }
.hz-card h3 { margin-top: 14px; font-size: clamp(26px, 2.6vw, 36px); }
.hz-card p { margin-top: 12px; color: #dfe6ee; }

/* Documents */
.hz-docs { background: #f3f5f8; }
.hz-docs-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 36px; }
.hz-docs-head h2 { margin-top: 12px; }
.hz-doc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.hz-doc { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(320px, 30vw, 430px); padding: clamp(24px, 3vw, 40px); overflow: hidden; color: #fff; text-decoration: none; border-radius: 6px; background: var(--navy); }
.hz-doc::before { content: ''; position: absolute; inset: 0; z-index: -2; background-size: cover; transition: transform .6s ease; }
.hz-doc::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #07131ff2 10%, #07131f66 70%, #07131f33); }
.hz-doc-plan::before { background-image: url('/assets/brand-background.jpg'); background-position: center 20%; filter: saturate(.6) brightness(.85); }
.hz-doc-article::before { background-image: url('/assets/article.jpg'); background-position: center 12%; }
.hz-doc:hover::before { transform: scale(1.04); }
.hz-doc-type { font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.hz-doc h3 { margin-top: 12px; font-size: clamp(26px, 2.6vw, 38px); }
.hz-doc p { margin-top: 10px; color: #dde4ec; max-width: 44ch; }
.hz-doc-cta { margin-top: 20px; font-weight: 700; font-size: .92rem; }

/* Board + contact split */
.hz-split { display: grid; grid-template-columns: 1fr 1fr; }
.hz-split a { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(56px, 8vw, 110px) max(var(--side), calc((100vw - 1320px) / 2)); text-decoration: none; transition: filter .2s ease; }
.hz-split a:hover { filter: brightness(1.07); }
.hz-split h2 { max-width: 14ch; }
.hz-split-board { background: var(--navy); color: #fff; }
.hz-split-board .eyebrow { color: var(--gold); }
.hz-split-contact { background: var(--gold); color: var(--night); }
.hz-split-contact .eyebrow { color: #5c3f0b; }
.hz-split-cta { margin-top: 10px; font-weight: 700; border-bottom: 2px solid currentColor; padding-bottom: 3px; }

/* Interior pages */
.horizon .page-hero { background: var(--night); color: #fff; }
.horizon .page-hero::before { opacity: 1; z-index: 0; background: linear-gradient(90deg, #07131ff0 20%, #07131fb8 60%, #07131f66); }
.horizon .page-photo { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 56%; }
.horizon .page-hero-inner { padding-block: clamp(70px, 9vw, 130px); }
.horizon .page-hero .eyebrow { color: var(--gold); }
.horizon .page-hero h1 { font-size: clamp(46px, 6vw, 88px); letter-spacing: -.045em; }
.horizon .contents { border-top-color: var(--gold); }
.horizon .vision-quote { background: var(--night); color: #fff; border-left-color: var(--gold); font: 700 clamp(24px, 2.6vw, 34px)/1.25 var(--heading); letter-spacing: -.02em; }
.horizon .vision-quote cite { color: #c9d3de; }
.horizon .origin-timeline h3 { font-size: 24px; }
.horizon .study-text h3, .horizon .study-text h4 { font-size: 22px; }
.horizon .board-content { background: transparent; }
.horizon .director-list { border: 0; display: grid; gap: 22px; }
.horizon .director { padding: clamp(24px, 3.4vw, 46px); background: #f3f5f8; border: 0; border-left: 4px solid var(--gold); border-radius: 4px; }
.horizon .director h2 { font-size: clamp(28px, 3vw, 42px); }
.horizon .documents h3 { font-size: clamp(24px, 2.2vw, 32px); }
.horizon .contact-form { border-top-color: var(--gold); box-shadow: 0 18px 50px #0d20331a; border-radius: 6px; }
.horizon .contact-form h2 { font-size: clamp(30px, 3vw, 42px); }
.horizon .contact-callout { display: none; }

/* Footer */
.horizon .footer { background: var(--night); }
.horizon .footer-end span:nth-child(2) { color: var(--gold); }

@media (max-width: 760px) {
  .horizon .masthead { position: relative; }
  .hz-hero { min-height: 600px; }
  .hz-hero h1 { font-size: clamp(44px, 12vw, 64px); }
  .hz-story-content { gap: 48px; padding-block: 12vh 16vh; }
  .hz-card, .hz-card:nth-of-type(n) { justify-self: stretch; width: 100%; min-height: 0; }
  .hz-doc-grid, .hz-split { grid-template-columns: 1fr; }
  .hz-split a { padding-inline: var(--side); }
  .hz-statement-text { font-size: clamp(26px, 7vw, 34px); }
}

/* Horizon motion: hero zooms and fades as it leaves, cards sweep in from the sides over a slowly zooming image. */
.motion .hz-hero-photo { transform: scale(calc(1.04 + var(--exit, 0) * .18)) translate3d(0, calc(var(--exit, 0) * 18%), 0); will-change: transform; }
.motion .hz-hero-inner { opacity: calc(1 - var(--exit, 0) * 1.6); transform: translate3d(0, calc(var(--exit, 0) * -90px), 0); }
.motion .hz-story-media img { transform: scale(calc(1.22 - var(--p, 0) * .22)); will-change: transform; }
.motion .hz-story-media::after { opacity: calc(.75 + var(--p, 0) * .25); }
.motion .hz-card { opacity: 0; transform: translate3d(-140px, 40px, 0) rotate(-1.5deg); transition: opacity 1s ease, transform 1.2s cubic-bezier(.16, .8, .2, 1); }
.motion .hz-card:nth-of-type(2) { transform: translate3d(0, 90px, 0); }
.motion .hz-card:nth-of-type(3) { transform: translate3d(140px, 40px, 0) rotate(1.5deg); }
.motion .hz-card.is-in { opacity: 1; transform: none; }
.motion .hz-doc { transform: translate3d(0, 90px, 0) scale(.94); opacity: 0; transition: transform 1.2s cubic-bezier(.16, .8, .2, 1), opacity .9s ease; }
.motion .hz-doc + .hz-doc { transition-delay: .15s; }
.motion .hz-doc.is-in { transform: none; opacity: 1; }
.motion .hz-split a { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s cubic-bezier(.7, 0, .2, 1); }
.motion .hz-split a + a { transition-delay: .18s; }
.motion .hz-split a.is-in { clip-path: inset(0); }
@media (max-width: 760px) {
  .motion .hz-card, .motion .hz-card:nth-of-type(n) { transform: translate3d(0, 70px, 0); }
}
.hz-doc-grid { grid-template-columns: minmax(0, 1fr); }
.hz-doc-grid .hz-doc { min-height: clamp(360px, 34vw, 480px); justify-content: center; padding-right: 45%; }
.hz-doc-article::before { background-position: right 12%; background-size: 52% auto; background-repeat: no-repeat; background-color: var(--navy); }
.hz-doc-article::after { background: linear-gradient(90deg, #07131f 45%, #07131f99 60%, #07131f00 80%); }
@media (max-width: 760px) {
  .hz-doc-grid .hz-doc { padding-right: clamp(24px, 3vw, 40px); justify-content: flex-end; min-height: 420px; }
  .hz-doc-article::before { background-size: cover; background-position: center 12%; }
  .hz-doc-article::after { background: linear-gradient(0deg, #07131ff2 30%, #07131f66 75%, #07131f33); }
}
/* Hero video pause control */
.horizon .loop-toggle { margin-left: 12px; padding: 3px 10px; border: 1px solid #ffffff59; border-radius: 999px; background: transparent; color: #fff; font: 600 .76rem/1.4 var(--sans); cursor: pointer; }
.horizon .loop-toggle:hover, .horizon .loop-toggle:focus-visible { border-color: var(--gold); color: var(--gold); }
/* Phones show a narrow slice of the wide hero: keep the moving pumpjack fully in frame. */
@media (max-width: 760px) and (orientation: portrait) {
  .hz-hero-photo { object-position: 66% 60%; }
}

/* Homepage exploration plan: the route and all three steps visible together. */
.hz-plan { --gap: clamp(28px, 4vw, 60px); position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: #fff; padding-block: clamp(84px, 10vw, 136px); }
.hz-plan-bg { position: absolute; inset: 0; z-index: -1; }
.hz-plan-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; opacity: .6; }
.hz-plan-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, #0a1828f2 0%, #0a1828d9 50%, #0a182899 100%); }
.hz-plan-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 48px; flex-wrap: wrap; }
.hz-plan-head .eyebrow { color: var(--gold); }
.hz-plan-head h2 { margin-top: 14px; max-width: 13ch; font-size: clamp(40px, 5vw, 72px); line-height: 1; }
.hz-plan-head p:not(.eyebrow) { margin-top: 18px; font-size: 1.1rem; color: #dfe6ee; }
.hz-plan-route { display: flex; align-items: center; padding: 18px 26px; border: 1px solid #ffffff2e; border-radius: 4px; background: #0a1828a8; backdrop-filter: blur(6px); }
.hz-route-stop { display: grid; font: 700 clamp(24px, 2.3vw, 32px)/1.1 var(--heading); }
.hz-route-stop small { font: 700 .7rem/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.hz-route-goal small { color: #f39aa6; }
.hz-route-line { position: relative; width: clamp(56px, 7vw, 110px); height: 2px; margin: 18px 20px 0; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 14px); }
.hz-route-line::after { content: ''; position: absolute; right: -1px; top: 50%; width: 10px; height: 10px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); transform: translateY(-50%) rotate(45deg); }
.hz-plan-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin: clamp(56px, 7vw, 92px) 0 0; padding: 0; list-style: none; }
.hz-plan-steps li { position: relative; }
.hz-plan-steps li:not(:last-child)::after { content: ''; position: absolute; top: 28px; left: 72px; right: calc(-1 * var(--gap) + 14px); height: 2px; background: linear-gradient(90deg, var(--gold), #e3b45833); }
.hz-step-num { position: relative; z-index: 1; display: grid; place-items: center; width: 58px; height: 58px; border: 2px solid var(--gold); border-radius: 50%; background: var(--night); color: var(--gold); font: 700 1.1rem/1 var(--heading); }
.hz-plan-steps li:last-child .hz-step-num { background: var(--gold); color: var(--night); }
.hz-plan-steps h3 { margin-top: 24px; font-size: clamp(24px, 2.2vw, 31px); }
.hz-plan-steps p { margin-top: 10px; max-width: 34ch; color: #cfd8e2; }
.hz-plan-foot { margin-top: clamp(48px, 5vw, 68px); padding-top: 28px; border-top: 1px solid #ffffff1f; }
.hz-plan-link { display: inline-flex; gap: 10px; color: #fff; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 4px; }
.hz-plan-link:hover span { transform: translateX(4px); }
.hz-plan-link span { transition: transform .2s ease; }
.motion .hz-plan-steps li:not(:last-child)::after { transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(.16, .8, .2, 1) .5s; }
.motion .hz-plan-steps.is-in li:not(:last-child)::after { transform: none; }
@media (max-width: 760px) {
  .hz-plan-route { width: 100%; justify-content: space-between; }
  .hz-plan-steps { grid-template-columns: 1fr; gap: 34px; }
  .hz-plan-steps li { display: grid; grid-template-columns: 58px 1fr; column-gap: 18px; }
  .hz-plan-steps li > :not(.hz-step-num) { grid-column: 2; }
  .hz-step-num { grid-row: 1 / span 2; }
  .hz-plan-steps h3 { margin-top: 12px; }
  .hz-plan-steps li:not(:last-child)::after { top: 64px; left: 28px; right: auto; width: 2px; height: calc(100% - 30px); background: linear-gradient(180deg, var(--gold), #e3b45833); }
  .motion .hz-plan-steps li:not(:last-child)::after { transform: scaleY(0); transform-origin: top; }
}
