/* ============================================================
   OCEAN HILL GLOBAL — public site
   Considered custody of assets that matter.
   Palette + type synced to the brand foundation & apply flow.
   ============================================================ */

:root {
  --navy: #0F1F3A;
  --navy-deep: #0A1628;
  --brass: #B08944;
  --brass-soft: #C9A569;
  --brass-dim: rgba(176, 137, 68, 0.30);
  --brass-line: rgba(176, 137, 68, 0.55);
  --paper: #FBF9F4;
  --bone: #F2EDE2;
  --bone-2: #ECE4D4;
  --ink: #14202F;

  --muted: rgba(20, 32, 47, 0.62);
  --muted-2: rgba(20, 32, 47, 0.42);
  --rule: rgba(15, 31, 58, 0.14);
  --rule-strong: rgba(15, 31, 58, 0.30);

  --on-dark: #E8E1D3;
  --on-dark-muted: rgba(232, 225, 211, 0.60);
  --on-dark-rule: rgba(232, 225, 211, 0.14);

  --display: 'Fraunces', 'GT Sectra', Georgia, serif;
  --display-vars: "opsz" 144, "SOFT" 50;
  --sans: 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;

  --wrap: 1200px;
  --wrap-narrow: 900px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  font-family: var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 17px;
  line-height: 1.6;
}

::selection { background: var(--brass); color: var(--paper); }

a { color: inherit; text-decoration: none; }

img, svg { display: block; }

/* ─── Shared type ─────────────────────────────────────────── */
.eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  color: var(--brass);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow .dot { display: none; }

.display {
  font-family: var(--display);
  font-variation-settings: var(--display-vars);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.014em;
  color: var(--navy);
  text-wrap: balance;
  margin: 0;
}
.display em { font-style: italic; font-weight: 300; color: var(--brass); }

.lede {
  font-size: 19px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
  text-wrap: pretty;
}

.ref-mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ─── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 249, 244, 0.88);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* brand lockup */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--navy);
  flex: 0 0 auto;
}
.brand .mark { width: 46px; height: auto; color: var(--brass); flex: 0 0 auto; }
.brand .wordmark {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.brand .wm-main {
  font-family: var(--display);
  font-variation-settings: var(--display-vars);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--navy);
}
.brand .wm-sub {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: var(--brass);
  padding-left: 0.1em;
}
.brand .wm-sub::before { content: ''; width: 20px; height: 1px; background: var(--brass-line); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.site-nav a {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color .14s ease;
  position: relative;
  padding: 4px 0;
}
.site-nav a:hover { color: var(--navy); }
.site-nav a.current { color: var(--navy); }
.site-nav a.current::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--brass);
}

.btn {
  appearance: none;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 12px 22px;
  border-radius: 5px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .12s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.btn svg { width: 13px; height: 13px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: var(--paper); }
.btn-primary:hover { background: var(--navy-deep); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--rule-strong); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-brass { background: var(--brass); color: var(--navy-deep); }
.btn-brass:hover { background: var(--brass-soft); }
.btn-on-dark { background: transparent; color: var(--on-dark); border-color: var(--on-dark-rule); }
.btn-on-dark:hover { border-color: var(--brass); color: var(--brass); }

/* ─── Sections ────────────────────────────────────────────── */
.section { padding: 110px 40px; }
.section-sm { padding: 72px 40px; }
.wrap { max-width: var(--wrap); margin: 0 auto; }
.wrap-narrow { max-width: var(--wrap-narrow); margin: 0 auto; }

.section--dark { background: var(--navy); color: var(--on-dark); }
.section--deep { background: var(--navy-deep); color: var(--on-dark); }
.section--bone { background: var(--bone); }
.section--paper { background: var(--paper); }

.section--dark .display, .section--deep .display { color: var(--brass); }
.section--dark .display em, .section--deep .display em { color: var(--on-dark); }
.section--dark .lede, .section--deep .lede { color: var(--on-dark-muted); }
.section--dark .ref-mono, .section--deep .ref-mono { color: var(--on-dark-muted); }

.hairline { height: 1px; background: var(--rule); border: 0; margin: 0; }
.section--dark .hairline, .section--deep .hairline { background: var(--on-dark-rule); }

/* header block used atop content sections */
.section-head { max-width: 760px; }
.section-head .eyebrow { margin-bottom: 26px; }
.section-head h2 { font-size: 58px; margin: 0 0 26px; }
.section-head .lede { max-width: 640px; }

/* ─── Hero ────────────────────────────────────────────────── */
.hero {
  background: var(--navy-deep);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 130px 40px 120px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero .eyebrow { color: var(--brass); margin-bottom: 40px; }
.hero h1 {
  font-family: var(--display);
  font-variation-settings: var(--display-vars);
  font-weight: 400;
  font-size: 90px;
  line-height: 0.98;
  letter-spacing: -0.018em;
  color: var(--brass);
  margin: 0 0 36px;
  text-wrap: balance;
}
.hero h1 em { font-style: italic; font-weight: 300; color: var(--on-dark); display: block; }
.hero .hero-sub {
  font-size: 20px;
  line-height: 1.6;
  color: var(--on-dark-muted);
  max-width: 540px;
  margin: 0 0 48px;
}
.hero .hero-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.hero-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-mark .ring {
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid var(--brass-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-mark .ring::after {
  content: '';
  position: absolute;
  inset: 26px;
  border: 1px solid var(--brass-dim);
  border-radius: 50%;
  opacity: 0.4;
}
.hero-mark .mark { width: 300px; height: auto; color: var(--brass); }

.hero-meta {
  border-top: 1px solid var(--on-dark-rule);
  background: rgba(0,0,0,0.16);
  position: relative;
  z-index: 2;
}
.hero-meta-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 28px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-meta .item { display: flex; flex-direction: column; gap: 6px; }
.hero-meta .item .k {
  font-size: 10px; letter-spacing: 0.36em; text-transform: uppercase; color: var(--brass);
}
.hero-meta .item .v { font-size: 14px; color: var(--on-dark); letter-spacing: 0.02em; }

/* ─── Marks (inline wave) ─────────────────────────────────── */
.wave-mark { color: var(--brass); }
.wave-mark path { fill: currentColor; }

/* ─── Columns / features ──────────────────────────────────── */
.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.section--dark .cols-3, .section--deep .cols-3 { border-top-color: var(--on-dark-rule); }
.feature {
  padding: 44px 40px 44px 0;
  border-right: 1px solid var(--rule);
}
.section--dark .feature, .section--deep .feature { border-right-color: var(--on-dark-rule); }
.feature:last-child { border-right: 0; padding-right: 0; }
.cols-3 .feature { padding-left: 40px; }
.cols-3 .feature:first-child { padding-left: 0; }
.feature .fnum {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--brass);
  letter-spacing: 0.06em;
  margin-bottom: 22px;
}
.feature h3 {
  font-family: var(--display);
  font-variation-settings: var(--display-vars);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 16px;
}
.feature h3 em { font-style: italic; color: var(--brass); font-weight: 300; }
.section--dark .feature h3, .section--deep .feature h3 { color: var(--on-dark); }
.feature p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 18px;
}
.section--dark .feature p, .section--deep .feature p { color: var(--on-dark-muted); }
.feature .more {
  font-size: 13px;
  color: var(--brass);
  font-weight: 500;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.feature .more:hover { gap: 12px; }
.feature .more svg { width: 14px; height: 14px; transition: transform .14s ease; }

/* two-column editorial split */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: start;
}
.split.reverse { grid-template-columns: 1.1fr 0.9fr; }
.split .aside .eyebrow { margin-bottom: 22px; }
.split .aside h2 { font-size: 46px; }
.split .body p { font-size: 17px; line-height: 1.7; color: var(--muted); margin: 0 0 22px; }
.split .body p:last-child { margin-bottom: 0; }
.split .body strong { color: var(--navy); font-weight: 500; }

/* ─── Positioning statement block ─────────────────────────── */
.statement {
  font-family: var(--display);
  font-variation-settings: var(--display-vars);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.32;
  letter-spacing: -0.008em;
  color: var(--navy);
  max-width: 1000px;
  text-wrap: pretty;
}
.statement em { font-style: italic; color: var(--brass); font-weight: 300; }
.section--dark .statement, .section--deep .statement { color: var(--on-dark); }

/* ─── Standards strip ─────────────────────────────────────── */
.standards-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--on-dark-rule);
}
.standards-strip .cell {
  padding: 34px 30px;
  border-right: 1px solid var(--on-dark-rule);
}
.standards-strip .cell:last-child { border-right: 0; }
.standards-strip .code {
  font-family: var(--display);
  font-variation-settings: var(--display-vars);
  font-style: italic;
  font-weight: 300;
  font-size: 34px;
  color: var(--brass);
  margin-bottom: 12px;
}
.standards-strip .label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--on-dark-muted);
}

/* ─── Process list ────────────────────────────────────────── */
.process-list { border-top: 1px solid var(--rule); }
.section--dark .process-list, .section--deep .process-list { border-top-color: var(--on-dark-rule); }
.process-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  padding: 48px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.section--dark .process-item, .section--deep .process-item { border-bottom-color: var(--on-dark-rule); }
.process-item .pnum {
  font-family: var(--display);
  font-variation-settings: var(--display-vars);
  font-style: italic;
  font-weight: 300;
  font-size: 84px;
  line-height: 0.9;
  color: var(--brass-dim);
}
.process-item .pbody { max-width: 720px; }
.process-item .pk {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--brass);
  margin-bottom: 14px;
}
.process-item h3 {
  font-family: var(--display);
  font-variation-settings: var(--display-vars);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 16px;
}
.process-item h3 em { font-style: italic; color: var(--brass); font-weight: 300; }
.section--dark .process-item h3, .section--deep .process-item h3 { color: var(--on-dark); }
.process-item p {
  font-size: 16px; line-height: 1.7; color: var(--muted); margin: 0;
}
.section--dark .process-item p, .section--deep .process-item p { color: var(--on-dark-muted); }

/* ─── Reference rows (standards/governance) ───────────────── */
.ref-list { border-top: 1px solid var(--rule); }
.ref-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.ref-row .rk {
  font-family: var(--display);
  font-variation-settings: var(--display-vars);
  font-weight: 400;
  font-size: 26px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.ref-row .rk .abbr {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 10px;
}
.ref-row p { font-size: 16px; line-height: 1.7; color: var(--muted); margin: 0; max-width: 720px; }
.ref-row p strong { color: var(--navy); font-weight: 500; }

/* ─── Declaration / note block (brand pattern) ────────────── */
.note {
  padding: 30px 36px;
  border-left: 2px solid var(--brass);
  background: rgba(176, 137, 68, 0.06);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  max-width: 820px;
}
.note strong { color: var(--navy); font-weight: 500; }
.section--dark .note, .section--deep .note { background: rgba(176,137,68,0.10); color: var(--on-dark); }
.section--dark .note strong, .section--deep .note strong { color: var(--brass); }

/* ─── CTA band ────────────────────────────────────────────── */
.cta-band {
  background: var(--navy-deep);
  color: var(--on-dark);
  text-align: center;
}
.cta-band-inner { max-width: 820px; margin: 0 auto; padding: 110px 40px; }
.cta-band .eyebrow { color: var(--brass); margin-bottom: 28px; }
.cta-band h2 {
  font-family: var(--display);
  font-variation-settings: var(--display-vars);
  font-weight: 400;
  font-size: 54px;
  line-height: 1.08;
  letter-spacing: -0.014em;
  color: var(--brass);
  margin: 0 0 24px;
}
.cta-band h2 em { font-style: italic; color: var(--on-dark); font-weight: 300; }
.cta-band p { font-size: 18px; color: var(--on-dark-muted); margin: 0 auto 40px; max-width: 560px; }
.cta-band .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-deep);
  color: var(--on-dark);
  padding: 80px 40px 40px;
  border-top: 1px solid var(--on-dark-rule);
}
.site-footer-inner { max-width: var(--wrap); margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--on-dark-rule);
}
.footer-brand .statement-sm {
  font-family: var(--display);
  font-variation-settings: var(--display-vars);
  font-style: italic;
  font-weight: 300;
  font-size: 27px;
  line-height: 1.3;
  color: var(--brass);
  margin: 24px 0 0;
  max-width: 420px;
}
.footer-brand .brand .wm-main { color: var(--on-dark); }
.footer-col h4 {
  font-size: 10px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 22px;
  font-weight: 500;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.footer-col a, .footer-col li {
  font-size: 14px;
  color: var(--on-dark-muted);
  transition: color .14s ease;
  line-height: 1.5;
}
.footer-col a:hover { color: var(--brass); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 28px;
  flex-wrap: wrap;
}
.footer-bottom .legal { font-size: 12px; color: var(--on-dark-muted); letter-spacing: 0.01em; }
.footer-bottom .legal strong { color: var(--on-dark); font-weight: 500; }
.footer-bottom .ref-mono { color: rgba(232,225,211,0.42); }

/* ─── Utility ─────────────────────────────────────────────── */
.mono-tags {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--brass);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.mono-tags span { color: var(--muted-2); }
.section--dark .mono-tags span, .section--deep .mono-tags span { color: var(--on-dark-muted); }

.stack-40 > * + * { margin-top: 40px; }
.stack-28 > * + * { margin-top: 28px; }
.stack-20 > * + * { margin-top: 20px; }

/* ─── Reveal on load ──────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 1040px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero h1 { font-size: 72px; }
  .hero-mark { order: -1; }
  .hero-mark .ring { width: 300px; height: 300px; }
  .hero-mark .mark { width: 190px; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 44px; }
  .section-head h2 { font-size: 46px; }
  .cta-band h2 { font-size: 42px; }
}

@media (max-width: 860px) {
  .site-nav { display: none; }
  .cols-3 { grid-template-columns: 1fr; }
  .feature { border-right: 0; border-bottom: 1px solid var(--rule); padding: 34px 0 !important; }
  .feature:last-child { border-bottom: 0; }
  .section--dark .feature { border-bottom-color: var(--on-dark-rule); }
  .standards-strip { grid-template-columns: 1fr 1fr; }
  .standards-strip .cell:nth-child(2) { border-right: 0; }
  .standards-strip .cell:nth-child(1), .standards-strip .cell:nth-child(2) { border-bottom: 1px solid var(--on-dark-rule); }
  .process-item { grid-template-columns: 1fr; gap: 16px; }
  .process-item .pnum { font-size: 60px; }
  .ref-row { grid-template-columns: 1fr; gap: 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section, .section-sm { padding: 64px 24px; }
  .site-header-inner { padding: 16px 24px; }
  .hero-inner { padding: 80px 24px 64px; }
  .hero h1 { font-size: 52px; }
  .section-head h2 { font-size: 36px; }
  .statement { font-size: 26px; }
  .cta-band-inner { padding: 72px 24px; }
  .cta-band h2 { font-size: 34px; }
  .split { gap: 36px; }
  .footer-top { padding-bottom: 40px; }
}
