/* Oceum public-site shell: tokens, resets, header, footer, buttons, portal transition.
   Shared by every public page. Page-specific styles live in each page (home.css for the
   homepage, inline <style> elsewhere). Split from home.css on 2026-10-14. */
:root {
  --bg: #10110f;
  --panel: #171916;
  --gold: #d6bd87;
  --gold-light: #eddbac;
  --cream: #eeeae1;
  --text: #ebe9e1;
  --muted: #a2a49a;
  --line: rgba(224, 223, 200, 0.14);
  --sans: "Instrument Sans", sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  --gutter: clamp(24px, 5.55vw, 96px);

  /* Legacy names used by the pre-redesign pages, mapped onto the current palette.
     New work should use the names above; these keep older inline styles on-brand. */
  --obsidian: var(--bg);
  --onyx: var(--panel);
  --graphite: #1e201c;
  --slate: #2c2f2a;
  --pewter: #82857b;
  --silver: var(--muted);
  --platinum: #c9cbc0;
  --ivory: var(--text);
  --champagne: var(--gold);
  --champagne-light: var(--gold-light);
  --champagne-glow: rgba(214, 189, 135, 0.12);
  --champagne-pulse: rgba(214, 189, 135, 0.06);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: wait;
}
button,
a {
  touch-action: manipulation;
}
svg {
  display: block;
}
button {
  border: 0;
}
::selection {
  color: var(--bg);
  background: var(--gold);
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button[hidden],
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  background: var(--gold);
  color: var(--bg);
  padding: 12px;
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: none;
}
.micro,
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.7;
  text-transform: uppercase;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
}
.eyebrow-line {
  width: 25px;
  height: 1px;
  background: var(--gold);
}
.site-header {
  height: 96px;
  margin: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
/* The ring sits at the wordmark's ascender height with a stroke that matches the serif stems,
   and 2px below center so it rests on the x-height letters' optical middle. */
.brand svg {
  width: 26px;
  height: 26px;
  color: var(--gold);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  transform: translateY(2px);
}
.brand circle {
  fill: currentColor;
  stroke: 0;
}
.brand > span {
  font-family: var(--serif);
  font-size: 37px;
  letter-spacing: -0.035em;
  line-height: 1;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: 80px;
}
.desktop-nav a {
  font-size: 12px;
  color: #bfc0b7;
  transition: color 0.2s;
}
.desktop-nav a:hover,
.text-link:hover {
  color: var(--gold-light);
}
.desktop-nav a[aria-current="page"],
.mobile-menu a[aria-current="page"] {
  color: var(--gold);
}
.external-arrow {
  color: var(--muted);
  margin-left: 4px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.portal-link {
  border: 1px solid #555749;
  padding: 13px 18px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 31px;
  transition:
    background 0.25s,
    border-color 0.25s;
}
.portal-link:hover {
  background: #272a22;
  border-color: var(--gold);
}
.portal-link > span {
  color: var(--gold);
  font-size: 17px;
}
.menu-toggle {
  display: none;
  width: 36px;
  height: 40px;
  background: transparent;
  padding: 8px 2px;
}
.menu-toggle span {
  display: block;
  height: 1px;
  width: 25px;
  background: var(--text);
  margin: 6px 0;
}
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 18px 24px;
  background: #1a1d17;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px #0009;
}
.mobile-menu a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.mobile-menu a:last-child {
  border-bottom: 0;
}
.button {
  min-height: 48px;
  padding: 15px 21px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  font-size: 12px;
  font-weight: 500;
  transition:
    background 0.25s,
    transform 0.25s,
    box-shadow 0.25s;
  border: 1px solid transparent;
}
.button > span {
  font-size: 18px;
  line-height: 1;
}
.button-gold {
  background: var(--gold);
  color: #202419;
}
.button-gold:hover {
  background: var(--gold-light);
  box-shadow: 0 4px 28px #d6bd8718;
  transform: translateY(-2px);
}
.text-link {
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  transition: color 0.2s;
}
.text-link > span {
  font-size: 16px;
}
.site-footer {
  padding: 42px var(--gutter) 26px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-bottom: 35px;
}
.footer-top > .brand > span {
  font-size: 31px;
}
.footer-top > .brand svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.3;
  transform: translateY(1.5px);
}
.footer-top > p {
  font-size: 10px;
  color: #a6ae9b;
}
.footer-top nav {
  margin-left: auto;
  display: flex;
  gap: 27px;
  font-size: 10px;
  color: #bec6b2;
}
.footer-top nav a:hover,
.footer-bottom a:hover {
  color: var(--gold);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 8px;
  color: #929c85;
  letter-spacing: 0.01em;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.footer-bottom > div {
  display: flex;
  align-items: center;
  gap: 24px;
}
.portal-transition {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 28px;
  background: #11160f;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s,
    visibility 0.4s;
  pointer-events: none;
}
.portal-transition > span {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--gold-light);
}
.transition-ring {
  width: 130px;
  height: 130px;
  border: 1px solid #d6bd8766;
  border-top-color: var(--gold);
  border-radius: 50%;
  box-shadow:
    0 0 75px #d6bd8715,
    inset 0 0 50px #d6bd8710;
  animation: portal-turn 1.5s linear infinite;
}
.is-entering .portal-transition {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.is-entering {
  overflow: hidden;
}
.js-motion .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.8s,
    transform 0.8s;
}
.js-motion .reveal.visible {
  opacity: 1;
  transform: none;
}
@keyframes portal-turn {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 1100px) {
  .desktop-nav {
    margin-left: 0;
    gap: 22px;
  }
}
@media (max-width: 1023px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
}
@media (max-width: 800px) {
  .site-header {
    height: 80px;
  }
  .brand > span {
    font-size: 33px;
  }
  .brand svg {
    width: 23px;
    height: 23px;
  }
  .portal-link {
    padding: 10px 13px;
    font-size: 11px;
    gap: 20px;
  }
  .footer-top {
    flex-wrap: wrap;
    gap: 18px;
  }
  .footer-top nav {
    width: 100%;
    margin: 10px 0 0;
    flex-wrap: wrap;
    gap: 12px 22px;
    justify-content: flex-start;
  }
  .footer-bottom {
    align-items: flex-start;
    line-height: 1.8;
  }
  .footer-bottom > div {
    gap: 13px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}
@media (max-width: 480px) {
  .footer-top > p {
    font-size: 9px;
  }
  .footer-bottom {
    font-size: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
    *:before,
    *:after {
    animation: none !important;
    transition: none !important;
  }
  .js-motion .reveal {
    opacity: 1;
    transform: none;
  }
  .portal-transition {
    display: none;
  }
}
.hidden { display: none !important; }
.eyebrow .reg { font-size: 0.85em; vertical-align: baseline; position: relative; top: -0.35em; margin-left: -0.3em; letter-spacing: 0; }
