/*
Theme Name: TEHOM Experience
Theme URI: https://tehomex.com
Author: The TEHOM Experience, Inc.
Description: A cinematic editorial theme for The TEHOM Experience.
Version: 1.2.0
Text Domain: tehom-experience
*/

:root {
  --ink: #071523;
  --ink-2: #0b2233;
  --teal: #0e5b64;
  --aqua: #33d6c0;
  --gold: #d5aa4e;
  --paper: #f7f4ed;
  --white: #fff;
  --muted: #68757d;
  --line: rgba(7, 21, 35, .14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { z-index: 9999; top: 1rem; left: 1rem; width: auto; height: auto; padding: .7rem 1rem; background: var(--white); color: var(--ink); clip: auto; }
.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.eyebrow { margin: 0 0 1rem; color: var(--gold); font-size: .76rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.section-title { margin: 0; font: 500 clamp(2.7rem, 5.4vw, 5.7rem)/.94 var(--serif); letter-spacing: -.04em; }
.section-title em { color: var(--gold); font-weight: 500; }
.lead { max-width: 680px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.7; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; border-bottom: 1px solid rgba(255,255,255,.12); background: linear-gradient(to bottom, rgba(3,15,25,.84), rgba(3,15,25,.18)); transition: background .3s; }
.site-header.scrolled { background: rgba(4,17,29,.94); backdrop-filter: blur(14px); }
.header-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; color: white; }
.brand-logo { width: clamp(190px, 20vw, 286px); height: 72px; object-fit: contain; object-position: left center; filter: drop-shadow(0 5px 18px rgba(0,0,0,.32)); }
.site-nav { display: flex; align-items: center; gap: 2rem; color: white; font-size: .78rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.site-nav a { position: relative; padding: .8rem 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: .42rem; height: 1px; background: var(--gold); transition: right .25s; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.menu-toggle { display: none; border: 0; background: transparent; color: white; width: 46px; height: 46px; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 25px; height: 1px; margin: 6px auto; background: currentColor; transition: .25s; }

.hero { min-height: 100svh; position: relative; display: grid; align-items: end; overflow: hidden; color: white; background: #051624; }
.hero-slides, .hero-slide, .hero-slide::after { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 2.25s ease-in-out; }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; transform: scale(1.035); transition: transform 10s linear; }
.hero-slide.is-active img { transform: scale(1.105); }
.hero-slide::after { content: ""; background: linear-gradient(90deg, rgba(2,14,24,.88) 0%, rgba(2,14,24,.6) 42%, rgba(2,14,24,.18) 72%), linear-gradient(0deg, rgba(2,14,24,.72), transparent 55%); }
.hero-slide:nth-child(2) img { object-position: center 42%; }
.hero-slide:nth-child(3) img { object-position: center 35%; }
.hero-content { position: relative; z-index: 5; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 170px 0 12vh; }
.hero-copy { max-width: 820px; }
.hero-copy.is-changing { opacity: 0; transform: translateY(10px); }
.hero-copy { transition: opacity .55s ease, transform .55s ease; }
.hero-kicker { margin: 0 0 1.2rem; color: #e8c876; font-size: .75rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; }
.hero h1 { margin: 0; font: 500 clamp(4.1rem, 9.6vw, 9.4rem)/.79 var(--serif); letter-spacing: -.055em; text-wrap: balance; }
.hero h1 em { color: #e7bf63; font-weight: 500; }
.hero-subtitle { max-width: 610px; margin: 2rem 0 0; font-size: clamp(1.05rem, 1.5vw, 1.26rem); letter-spacing: .01em; }
.hero-footer { margin-top: 3.2rem; display: flex; align-items: center; gap: 1.3rem; }
.hero-dots { display: flex; gap: .65rem; }
.hero-dot { width: 38px; height: 2px; padding: 0; border: 0; background: rgba(255,255,255,.35); cursor: pointer; }
.hero-dot.is-active { background: var(--gold); }
.scroll-cue { color: rgba(255,255,255,.7); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; }

.editorial { background: var(--paper); padding: clamp(5.5rem, 10vw, 10rem) 0; }
.intro-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.discipline-list { border-top: 1px solid var(--line); }
.discipline { display: grid; grid-template-columns: 3rem 1fr; gap: 1.2rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.discipline span { color: var(--gold); font: 600 1rem/1.5 var(--serif); }
.discipline h3 { margin: 0 0 .25rem; font: 600 1.35rem/1.2 var(--serif); }
.discipline p { margin: 0; color: var(--muted); font-size: .94rem; }

.legacy { min-height: 760px; position: relative; display: grid; align-items: end; overflow: hidden; color: white; }
.legacy-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.legacy::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,15,27,.96) 0%, rgba(4,15,27,.72) 43%, rgba(4,15,27,.16) 80%), linear-gradient(0deg, rgba(4,15,27,.7), transparent 55%); }
.legacy-content { position: relative; z-index: 2; padding: 8rem 0 6rem; }
.legacy-copy { max-width: 650px; }
.legacy-copy .section-title { max-width: 620px; }
.legacy-copy .lead { color: rgba(255,255,255,.76); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 3rem; background: rgba(255,255,255,.22); }
.stat { padding: 1.5rem 1.25rem; background: rgba(7,21,35,.78); backdrop-filter: blur(8px); }
.stat strong { display: block; color: #eccd7d; font: 500 3.2rem/1 var(--serif); }
.stat span { display: block; margin-top: .5rem; color: rgba(255,255,255,.68); font-size: .75rem; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; }
.partners { margin: 1.7rem 0 0; color: rgba(255,255,255,.66); font-size: .88rem; }

.text-feature { display: grid; grid-template-columns: 1fr 1fr; min-height: 820px; background: #071b2a; color: white; }
.text-image { position: relative; overflow: hidden; }
.text-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.text-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 58%, #071b2a), linear-gradient(0deg, rgba(3,15,24,.3), transparent); }
.text-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(4rem, 8vw, 9rem); padding-left: clamp(3rem, 7vw, 7.5rem); }
.feature-points { margin: 2.2rem 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.16); }
.feature-points li { padding: 1.15rem 0; border-bottom: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.78); }
.feature-points strong { color: white; }

.audiences { background: var(--white); padding: clamp(5.5rem, 10vw, 10rem) 0; }
.audience-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; margin-bottom: 5rem; align-items: end; }
.audience-head .lead { color: var(--muted); }
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.audience { min-height: 240px; padding: 2rem 1.5rem; border-right: 1px solid var(--line); }
.audience:last-child { border-right: 0; }
.audience-num { color: var(--gold); font: 600 .9rem/1 var(--serif); }
.audience h3 { margin: 3.2rem 0 .7rem; font: 600 1.65rem/1.1 var(--serif); }
.audience p { margin: 0; color: var(--muted); font-size: .94rem; }

.covenant { position: relative; overflow: hidden; background: #0b2a38; color: white; padding: clamp(5rem, 9vw, 9rem) 0; }
.covenant::before { content: ""; position: absolute; inset: 0; opacity: .22; background: radial-gradient(circle at 80% 50%, #2bd7c1, transparent 30%), linear-gradient(120deg, transparent 58%, rgba(213,170,78,.18)); }
.covenant-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 6rem; align-items: center; }
.cc-showcase { position: relative; min-height: 570px; display: grid; place-items: center; isolation: isolate; }
.cc-showcase::before { content: ""; position: absolute; inset: 8% -6% 0; z-index: -1; background: radial-gradient(ellipse at 50% 46%, rgba(40,210,192,.2), rgba(8,31,43,.06) 50%, transparent 72%); filter: blur(8px); }
.cc-showcase::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: 3.5rem; height: 28px; z-index: -1; border-radius: 50%; background: rgba(0,0,0,.48); filter: blur(18px); }
.cc-phone { position: absolute; width: 42%; max-width: 240px; clip-path: inset(1px round 34px); filter: drop-shadow(0 26px 30px rgba(0,0,0,.42)); transition: transform .35s ease, filter .35s ease; }
.cc-phone:nth-child(1) { left: 0; transform: translateY(34px) rotate(-5deg); z-index: 1; }
.cc-phone:nth-child(2) { left: 29%; transform: translateY(-18px); z-index: 3; }
.cc-phone:nth-child(3) { right: 0; transform: translateY(34px) rotate(5deg); z-index: 2; }
.cc-phone:hover { z-index: 4; transform: translateY(-26px) scale(1.03); filter: drop-shadow(0 34px 38px rgba(0,0,0,.52)); }
.cc-signature { position: absolute; left: 50%; bottom: -2.4rem; width: min(260px, 52%); transform: translateX(-50%); filter: drop-shadow(0 10px 20px rgba(0,0,0,.25)); }
.covenant .section-title { font-size: clamp(3rem, 5vw, 5.4rem); }
.coming { display: inline-flex; margin-top: 1.5rem; padding: .65rem 1rem; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: #e9c568; font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

.future { min-height: 88svh; position: relative; display: grid; align-items: center; overflow: hidden; color: white; background: #041421; }
.future img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; opacity: .46; }
.future::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,15,25,.94), rgba(3,15,25,.28)), linear-gradient(0deg, rgba(3,15,25,.62), transparent); }
.future-content { position: relative; z-index: 2; max-width: 880px; padding: 9rem 0; }
.future .section-title { font-size: clamp(4rem, 9vw, 8.8rem); }
.future .lead { color: rgba(255,255,255,.76); }

.site-footer { background: #030d16; color: rgba(255,255,255,.66); padding: 4.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr; gap: 4rem; padding-bottom: 3rem; }
.footer-logo { width: min(360px, 100%); height: 160px; object-fit: contain; object-position: left center; margin: -2rem 0 -.7rem; }
.footer-meta { margin-top: 1rem; font-size: .86rem; }
.footer-title { margin: 0 0 1rem; color: white; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; }
.footer-links { display: grid; gap: .55rem; font-size: .88rem; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .75rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

@media (max-width: 900px) {
  .site-nav { position: fixed; inset: 88px 0 0; display: none; padding: 2rem 24px; background: rgba(4,17,29,.98); align-items: flex-start; flex-direction: column; gap: .6rem; font: 500 2.1rem/1.2 var(--serif); letter-spacing: 0; text-transform: none; }
  .menu-open .site-nav { display: flex; }
  .menu-toggle { display: block; }
  .intro-grid, .audience-head, .covenant-inner { grid-template-columns: 1fr; gap: 3rem; }
  .text-feature { grid-template-columns: 1fr; }
  .text-image { min-height: 58svh; }
  .text-image::after { background: linear-gradient(0deg, #071b2a 0%, transparent 45%); }
  .text-copy { padding: 4.5rem 24px 6rem; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .audience:nth-child(2) { border-right: 0; }
  .audience:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cc-showcase { min-height: 520px; max-width: 620px; width: 100%; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .wrap, .hero-content { width: min(100% - 32px, 1180px); }
  .header-inner { height: 76px; }
  .brand-logo { width: 180px; height: 60px; }
  .site-nav { inset-top: 76px; }
  .hero { min-height: 760px; }
  .hero-slide::after { background: linear-gradient(0deg, rgba(2,14,24,.94) 0%, rgba(2,14,24,.55) 72%, rgba(2,14,24,.38)); }
  .hero-slide img { object-position: 52% center; }
  .hero-slide:nth-child(2) img { object-position: 48% center; }
  .hero-slide:nth-child(3) img { object-position: 48% center; }
  .hero-content { padding-bottom: 5.5rem; }
  .hero h1 { font-size: clamp(3.6rem, 18vw, 5.5rem); }
  .hero-subtitle { max-width: 320px; }
  .section-title { font-size: clamp(2.7rem, 14vw, 4.4rem); }
  .editorial, .audiences { padding: 5.5rem 0; }
  .legacy { min-height: 820px; }
  .legacy::after { background: linear-gradient(0deg, rgba(4,15,27,.96) 0%, rgba(4,15,27,.76) 65%, rgba(4,15,27,.34)); }
  .legacy-bg { object-position: 67% center; }
  .legacy-content { padding: 12rem 0 4rem; }
  .stats { grid-template-columns: 1fr; }
  .stat { display: grid; grid-template-columns: 100px 1fr; align-items: center; }
  .stat span { margin: 0; }
  .audience-head { margin-bottom: 3rem; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .audience:last-child { border-bottom: 0; }
  .audience h3 { margin-top: 1.4rem; }
  .covenant { text-align: center; }
  .covenant .lead { margin-inline: auto; }
  .cc-showcase { min-height: 420px; }
  .cc-phone { width: 44%; }
  .cc-phone:nth-child(1) { left: 0; }
  .cc-phone:nth-child(2) { left: 28%; }
  .cc-phone:nth-child(3) { right: 0; }
  .cc-signature { bottom: -1.5rem; width: 56%; }
  .future { min-height: 760px; }
  .future .section-title { font-size: clamp(3.7rem, 17vw, 6rem); }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid > :first-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
  .hero-slide img { transform: scale(1.04) !important; }
  .reveal { opacity: 1; transform: none; }
}
