/* HUMAY design system — v1 (5 Oct 2026)
   Brand-fixed: cream #FCF7EB, espresso #312219 (logo). Images and section tints may vary. */
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader.woff") format("woff"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader-italic.woff") format("woff"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter.woff") format("woff"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --cream: #FCF7EB;
  --paper: #F4EEE2;
  --sand: #E9E0CF;
  --espresso: #312219;
  --espresso-2: #3D2C21;
  --ink: #2A1F18;
  --muted: #6E5F52;
  --line: rgba(49, 34, 25, .16);
  --line-light: rgba(252, 247, 235, .2);
  --terracotta: #B44625;
  --night: #1C2533;      /* deep indigo — evening, sea, sky */
  --night-2: #263244;
  --sage: #DCDFD2;       /* soft olive-sage section tint */
  --olive: #5E6650;
  --sea: #3E6470;        /* Gulf blue-teal accent */
  --gold: #C9A37A;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 80px);
  --max: 1440px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.65 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
h1, h2, h3, h4, p, figure, ul, ol, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.serif { font-family: var(--serif); }
.eyebrow { font: 600 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.display { font: 300 clamp(44px, 6.4vw, 104px)/1 var(--serif); letter-spacing: -.02em; font-variation-settings: "opsz" 72; }
.h2 { font: 300 clamp(36px, 4.4vw, 68px)/1.04 var(--serif); letter-spacing: -.015em; font-variation-settings: "opsz" 72; }
.h3 { font: 400 clamp(26px, 2.3vw, 34px)/1.15 var(--serif); letter-spacing: -.01em; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; }
.muted { color: var(--muted); }
.skip { position: absolute; left: 12px; top: -80px; background: var(--cream); padding: 10px 14px; z-index: 100; }
.skip:focus { top: 12px; }
.concept { font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 26px; font: 500 15px/1 var(--sans); text-decoration: none; border: 1px solid currentColor; transition: background .25s var(--ease), color .25s var(--ease); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--solid { background: var(--cream); color: var(--espresso); border-color: var(--cream); }
.btn--solid:hover { background: var(--sand); }
.btn--dark { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.btn--dark:hover { background: var(--espresso-2); }
.btn--ghost:hover { background: rgba(252, 247, 235, .12); }
.link { font-weight: 500; text-decoration: underline; }

/* Header */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 20; color: var(--cream); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.site-header .logo img { width: 150px; height: auto; }
.site-header nav { display: flex; align-items: center; gap: 34px; font-size: 15px; }
.site-header nav a { text-decoration: none; opacity: .92; }
.site-header nav a:hover { opacity: 1; text-decoration: underline; }
.site-header nav a[aria-current] { text-decoration: underline; }
.site-header .nav-cta { border: 1px solid rgba(252,247,235,.6); padding: 12px 18px; }
.menu-btn { display: none; background: none; border: 0; min-height: 44px; font-size: 15px; }
@media (max-width: 860px) {
  .site-header nav { display: none; }
  .site-header nav.open { display: flex; position: fixed; inset: 0; flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px; padding: var(--gutter); background: var(--espresso); font: 300 34px/1.1 var(--serif); }
  .menu-btn { display: inline-flex; align-items: center; gap: 10px; position: relative; z-index: 30; }
}

/* Footer */
.site-footer { background: var(--espresso); color: var(--cream); padding: 40px 0; font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.site-footer img { width: 130px; }
.site-footer p { opacity: .75; }

/* Reveal (motion is an enhancement; content is visible without JS) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
