img { height: auto; }
/* OneSelf website · shared tokens and basics
   Colours from Design Bible v2.0, set in a darker, editorial key for the website. */
:root {
  --night: #0A1822;          /* deepened Cosmos Blue */
  --night-2: #10232F;
  --navy: #003049;           /* Cosmos Blue */
  --red: #C1121F;            /* Crimson Blaze */
  --blue-marble: #669BBC;
  --cream: #F3EDE4;
  --cream-soft: rgba(243, 237, 228, .68);
  --cream-faint: rgba(243, 237, 228, .14);
  --blues: #4A86EC;          /* the colour of the Blues */

  --font-display: "Inter Tight", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --pad: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; margin: 0; line-height: .98; letter-spacing: -.025em; }
h1 em, h2 em { font-style: normal; color: var(--blues); }
a { color: inherit; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cream-soft); margin: 0 0 22px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blues); box-shadow: 0 0 12px var(--blues); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--pad);
  background: rgba(10, 24, 34, .86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.wordmark { font-family: var(--font-display); font-weight: 800; font-size: 26px; text-decoration: none; letter-spacing: -.01em; }

/* Buttons: verb first, sentence case */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: 16px; letter-spacing: .005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--cream); color: var(--night); }
.btn-primary:hover { background: #fff; }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(243, 237, 228, .4); }
.btn-ghost:hover { border-color: var(--cream); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 15px; }

:focus-visible { outline: 2px solid var(--blues); outline-offset: 4px; border-radius: 8px; }

/* Temporary placeholder sections */
.placeholder { padding: 96px var(--pad); border-top: 1px solid var(--cream-faint); }
.placeholder h2 { font-size: clamp(30px, 5vw, 48px); max-width: 20ch; }

h1, h2, .lede { text-wrap: balance; }

/* ---------- Header right: Start free + menu ---------- */
.header-right { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(243,237,228,.28); background: transparent; cursor: pointer;
  display: grid; place-content: center; gap: 5px; padding: 0;
  transition: border-color .3s var(--ease);
}
.menu-btn:hover { border-color: var(--cream); }
.menu-btn span { display: block; width: 18px; height: 1.8px; border-radius: 2px; background: var(--cream); transition: transform .35s var(--ease), opacity .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

/* ---------- Menu panel ---------- */
.site-menu {
  position: fixed; inset: 0; z-index: 29;
  padding: 110px var(--pad) 40px;
  background: rgba(10,24,34,.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; transform: translateY(-12px);
  transition: opacity .35s var(--ease), transform .45s var(--ease);
  overflow-y: auto;
}
.site-menu[hidden] { display: none; }
.site-menu.is-open { opacity: 1; transform: none; }
.menu-links { list-style: none; margin: 0 auto; padding: 0; width: 100%; max-width: 1240px; }
.menu-links li { border-bottom: 1px solid var(--cream-faint); }
.menu-links a {
  display: block; padding: 18px 0;
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.025em;
  font-size: clamp(30px, 6vw, 56px); line-height: 1.05; text-decoration: none; color: var(--cream);
  transition: color .25s var(--ease), padding-left .35s var(--ease);
}
.menu-links a:hover { color: var(--blues); padding-left: 8px; }
.menu-foot { width: 100%; max-width: 1240px; margin: 40px auto 0; display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }
.menu-contact { margin: 0; font-size: 15px; color: var(--cream-soft); }
.menu-contact a { color: var(--cream); }
body.menu-open { overflow: hidden; }
@media (max-width: 380px) { .site-header .btn-small { padding: 0 14px; } }

/* keep section starts clear of the sticky header when jumped to */
[id] { scroll-margin-top: 80px; }

/* ---------- Logo and tagline ---------- */
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--cream); min-width: 0; }
.brand-logo { display: block; height: 34px; width: auto; }
.brand-tag {
  padding-left: 14px; border-left: 1px solid rgba(243,237,228,.25);
  font-size: 14px; font-weight: 500; letter-spacing: .02em; color: var(--cream-soft); white-space: nowrap;
}
@media (max-width: 560px) {
  .brand { flex-direction: column; align-items: flex-start; gap: 2px; }
  .brand-logo { height: 26px; }
  .brand-tag { padding-left: 0; border-left: 0; font-size: 11px; letter-spacing: .04em; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
