/* serenity-research.com homepage.
   Carries over the original site's look: Noe Display serif headings,
   Avenir Next body, uppercase letter-spaced nav, amber accent rule. */
@font-face { font-family: "Noe Display"; src: url("assets/fonts/noe_display_regular-webfont.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "AvenirNext"; src: url("assets/fonts/3999FC_1_0.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "AvenirNext"; src: url("assets/fonts/AvenirNextLTPro-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "AvenirNext"; src: url("assets/fonts/39D300_0_0.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --bg: #fff;
  --ink: #2f343f;
  --muted: #7d8490;
  --line: #e2e5ec;
  --accent: #faaf3a;
  --serif: "Noe Display", Georgia, "Times New Roman", serif;
  --sans: AvenirNext, "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 15px/1.65 var(--sans); }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

/* One two-column grid shared by hero, intro and footer, so every block
   lines up on the same two left edges. */
.grid { display: grid; grid-template-columns: 7fr 5fr; column-gap: clamp(32px, 6vw, 80px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.logo img { display: block; height: 56px; width: 56px; object-fit: cover; transform: scale(1.35); transform-origin: left center; }
.nav { display: flex; gap: clamp(20px, 3vw, 40px); }
.nav a {
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a.active { border-bottom-color: var(--accent); }

/* Hero: the objective starts level with the headline's second line
   ("Cryptocurrency"), i.e. one headline line-height down. */
.hero { padding-top: clamp(64px, 9vw, 112px); --h1-size: clamp(38px, 5.6vw, 64px); --h1-lh: 1.12; }
.hero .grid { align-items: start; }
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: var(--h1-lh); font-size: var(--h1-size); }
.objective { margin-top: calc(var(--h1-size) * var(--h1-lh) + 10px); }
.objective::before { content: ""; display: block; width: 56px; height: 2px; margin-bottom: 20px; background: var(--accent); }
.eyebrow { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.objective p:last-child { font-family: var(--serif); font-size: 24px; line-height: 1.3; margin-top: 8px; }
.hero-band {
  margin-top: clamp(56px, 7vw, 88px);
  aspect-ratio: 1714 / 612; max-height: 460px; width: 100%;
  background: center / cover no-repeat url("assets/img/hero.png");
}

/* Intro: two stacked paragraphs across the full container width */
.intro { padding: clamp(56px, 7vw, 88px) 0; }
.intro p { font-size: 17px; line-height: 1.75; }
.intro p + p { margin-top: 20px; }
.inline { font-weight: 700; border-bottom: 2px solid var(--accent); }
.inline:hover { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 36px; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a:hover { color: var(--muted); }
.disclaimer { color: var(--muted); font-size: 11.5px; line-height: 1.6; margin-top: 28px; }

@media (max-width: 760px) {
  .grid { grid-template-columns: 1fr; row-gap: 32px; }
  .objective { margin-top: 0; }
  .header-inner { height: auto; padding: 12px 0; flex-direction: column; align-items: stretch; gap: 10px; }
  .logo img { height: 44px; width: 44px; }
  .nav { justify-content: space-between; }
  .nav a { font-size: 10px; letter-spacing: .12em; }
  .intro p { font-size: 16px; }
  .footer-top { row-gap: 12px; }
}
