/* ============================================================
   style.css — Base reset, typography, layout, header, footer,
   hero & section shells. (Custom CSS only; no inline styles.)
   ============================================================ */

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* ---- Skip link ---- */
.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 200;
  padding: var(--sp-3) var(--sp-4); background: var(--charcoal); color: #fff;
  font-weight: 600; font-size: 0.9rem; border-radius: var(--r-sm);
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: var(--sp-3); outline: 2px solid var(--orange); outline-offset: 2px; }

/* ---- Scroll to top ---- */
.scroll-top {
  position: fixed; right: var(--gutter); bottom: var(--gutter); z-index: 90;
  width: 48px; height: 48px; border-radius: var(--r-full);
  background: var(--charcoal); color: #fff; border: 0;
  display: grid; place-items: center; font-size: 1.25rem;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility var(--t-base);
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: none; }
.scroll-top:hover { background: var(--orange-deep); transform: translateY(-2px); }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); font-weight: 200; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); font-weight: 400; }
h4 { font-size: 1.2rem; font-weight: 500; letter-spacing: -0.01em; }
h5 { font-size: 1rem; font-weight: 500; }
p { color: var(--ink-muted); }
strong { font-weight: 600; color: var(--ink); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-muted); max-width: var(--measure); }
.accent-text { background: var(--peak-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow {
  font-family: var(--font-data);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}
.eyebrow.muted { color: var(--ink-faint); letter-spacing: 0.14em; }
.eyebrow.gold { color: var(--gold); }

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container.wide { max-width: var(--container-wide); }
.container.narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); }
.section.tight { padding-block: var(--section-y-tight); }
.surface { background: var(--surface); }

.dark { background: var(--charcoal); color: var(--on-dark); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.dark p { color: var(--on-dark-muted); }

.section-head { max-width: 640px; margin-inline: auto; text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p { margin-top: var(--sp-3); }
.section-head .eyebrow { display: inline-block; margin-bottom: var(--sp-4); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,72px); align-items: center; }
.split.split-aside { grid-template-columns: 1.7fr 1fr; align-items: start; }
.sticky-side { position: sticky; top: 100px; display: grid; gap: var(--sp-5); }

hr.divider { height: 1px; background: var(--line); border: 0; }

/* ---- Header ---- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease),
              backdrop-filter var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.site-header.scrolled {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--glass-border);
  box-shadow: 0 4px 24px rgba(0,0,0,.05);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: flex; align-items: center; gap: var(--sp-3); }
.brand img { height: 42px; width: auto; }
.brand .logo-light { display: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; letter-spacing: -0.01em; color: var(--ink); }
.brand-sub { font-family: var(--font-data); font-size: 0.56rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); margin-top: var(--sp-1); }

.nav-links { display: flex; align-items: center; gap: var(--sp-1); }
.nav-links a {
  position: relative; font-size: 0.94rem; font-weight: 500; color: var(--ink-muted);
  padding: 9px 16px; border-radius: var(--r-full);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  background: var(--peak-gradient); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease); border-radius: 2px;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: var(--sp-3); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r-sm); background: rgba(255,255,255,.7); place-items: center; }
.nav-toggle i { font-size: 1.5rem; }

/* Header treatment over a dark hero (before scroll) */
.hero-dark .site-header:not(.scrolled) .logo-dark { display: none; }
.hero-dark .site-header:not(.scrolled) .logo-light { display: inline; }
.hero-dark .site-header:not(.scrolled) .brand-name { color: #fff; }
.hero-dark .site-header:not(.scrolled) .brand-sub { color: rgba(255,255,255,.62); }
.hero-dark .site-header:not(.scrolled) .nav-links a { color: var(--white-82); }
.hero-dark .site-header:not(.scrolled) .nav-links a:hover,
.hero-dark .site-header:not(.scrolled) .nav-links a.active { color: #fff; }
.hero-dark .site-header:not(.scrolled) .btn-ghost { color: #fff; border-color: var(--white-38); }
.hero-dark .site-header:not(.scrolled) .btn-ghost:hover { background: #fff; color: var(--charcoal); border-color: #fff; }
.hero-dark .site-header:not(.scrolled) .nav-toggle { color: #fff; border-color: rgba(255,255,255,.3); background: var(--white-10); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: rgba(255,255,255,.98);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  padding: 100px var(--gutter) 40px; transform: translateY(-100%); opacity: 0;
  transition: transform .5s var(--ease-out), opacity var(--t-base) var(--ease);
  pointer-events: none; overflow-y: auto;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a { display: block; font-family: var(--font-head); font-weight: 300; font-size: 2rem; padding: 14px 0; border-bottom: 1px solid var(--line-soft); color: var(--ink); }
.mobile-menu a.active { color: var(--orange-deep); }
.mobile-menu .m-cta { margin-top: 28px; display: grid; gap: var(--sp-3); }
.mobile-menu .m-cta .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 16px 24px;
  border-bottom: 0;
  text-align: center;
  white-space: normal;
  min-height: 52px;
}

/* ---- Footer ---- */
.site-footer { background: var(--charcoal); color: var(--on-dark-muted); padding-block: clamp(56px,7vw,88px) 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(32px,4vw,56px); }
.footer-brand img { height: 52px; margin-bottom: var(--sp-5); }
.footer-brand p { font-size: var(--fs-small); max-width: 320px; }
.footer-soc { display: flex; gap: 10px; margin-top: var(--sp-5); }
.footer-soc a,
.footer-soc .soc-item { width: 40px; height: 40px; border-radius: var(--r-full); border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; font-size: 1.15rem; color: #cdcfd2; transition: all var(--t-base) var(--ease); }
.footer-soc a:hover { background: var(--peak-gradient); border-color: transparent; color: #fff; transform: translateY(-3px); }
.footer-soc .soc-item { opacity: .45; cursor: default; }
.footer-soc.soc-light a { border-color: var(--line); color: var(--ink-muted); }
.footer-soc.soc-light a:hover { color: #fff; border-color: transparent; }
.footer-soc.soc-light .soc-item { border-color: var(--line); color: var(--ink-muted); opacity: .4; }
.footer-col h5 { font-family: var(--font-data); font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: var(--sp-5); }
.footer-col ul li { margin-bottom: var(--sp-3); }
.footer-col ul a { font-size: 0.94rem; color: #9fa1a4; transition: color var(--t-fast) var(--ease); }
.footer-col ul a:hover { color: #fff; }
.footer-contact li { display: flex; gap: var(--sp-3); font-size: var(--fs-small); margin-bottom: 14px; color: #9fa1a4; }
.footer-contact i { color: var(--orange); font-size: 1.15rem; flex-shrink: 0; margin-top: 1px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: space-between; align-items: center; margin-top: clamp(40px,5vw,60px); padding-top: 28px; border-top: 1px solid rgba(255,255,255,.10); }
.footer-bottom p { font-size: 0.86rem; color: var(--on-dark-faint); }
.footer-bottom .tagline { font-family: var(--font-head); font-style: italic; font-weight: 300; }

/* ---- Hero ---- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; padding-top: 76px; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; background: linear-gradient(135deg,#2b2723,#18181b); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,12,14,.86) 0%, rgba(12,12,14,.62) 42%, rgba(12,12,14,.30) 100%); }
.hero-inner { position: relative; z-index: 2; padding-block: clamp(80px,12vh,140px); }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lead { color: var(--white-82); margin-top: var(--sp-5); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: var(--sp-7); }

/* Interior page hero */
.page-hero { position: relative; padding: clamp(140px,18vh,200px) 0 clamp(64px,9vw,110px); overflow: hidden; }
.page-hero.surface { background: var(--surface); }
.page-hero.dark { background: var(--charcoal); }
.page-hero.has-media { color: #fff; }
.page-hero .hero-media::after { background: linear-gradient(180deg, rgba(12,12,14,.55) 0%, rgba(12,12,14,.72) 100%); }
.page-hero-inner { position: relative; z-index: 2; }
.breadcrumb { font-family: var(--font-data); font-size: var(--fs-eyebrow); letter-spacing: 0.14em; text-transform: uppercase; display: flex; gap: 10px; align-items: center; margin-bottom: var(--sp-5); }
.breadcrumb a { color: var(--orange); }
.breadcrumb .sep { opacity: .5; }
.page-hero.has-media .breadcrumb { color: rgba(255,255,255,.7); }
.page-hero h1 { max-width: 18ch; }
.page-hero.has-media h1 { color: #fff; }
.page-hero .lead { margin-top: var(--sp-5); }
.page-hero.has-media .lead { color: var(--white-82); }
.page-hero.center .page-hero-inner { text-align: center; }
.page-hero.center h1, .page-hero.center .lead { margin-inline: auto; }
.page-hero.center .breadcrumb { justify-content: center; }

/* ---- Media frames ---- */
.media-frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); position: relative; background: linear-gradient(135deg,#2b2723,#18181b); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.media-frame.zoom:hover img { transform: scale(1.05); }
.ratio-4-3 { aspect-ratio: 4/3; }
.ratio-16-9 { aspect-ratio: 16/9; }

/* ---- Pull quote ---- */
.pullquote { border-left: 3px solid var(--orange); padding: 8px 0 8px 26px; }
.pullquote .mark { font-family: var(--font-data); color: var(--orange); font-weight: 700; font-size: 1.4rem; }
.pullquote p { font-family: var(--font-head); font-weight: 300; font-style: italic; font-size: clamp(1.1rem,1.8vw,1.4rem); line-height: 1.5; color: var(--ink); }
