* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  color: var(--text-2);
  background: var(--color-bg);
  font-size: 16px;
  line-height: 1.65;
}

h1, h2, h3 { font-family: var(--font-serif); color: var(--text-1); }

a { color: inherit; }

img { max-width: 100%; display: block; }

.frame {
  max-width: var(--frame-width);
  margin: 0 auto;
  padding: 0 20px;
}

.nav {
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
}
.nav__logo { font-family: var(--font-serif); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; color: var(--text-1); text-decoration: none; }
.nav__links { display: flex; gap: 22px; align-items: center; font-size: 13px; color: #4B5A4F; }
.nav__links a { text-decoration: none; }
.nav__links a[aria-current="page"] { color: var(--text-1); font-weight: 600; }
.nav__cta { background: var(--color-primary); color: #FFFFFF; padding: 10px 18px; border-radius: 2px; font-weight: 600; text-decoration: none; }

.hero { width: 100%; height: 600px; overflow: hidden; position: relative; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.18) 55%, rgba(0,0,0,0.42) 100%); }
.hero__scrim--strong { background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.30) 50%, rgba(0,0,0,0.62) 100%); }
.hero__content { position: absolute; inset: 0; display: flex; align-items: flex-end; }
.hero__content .frame { width: 100%; padding-bottom: 56px; display: flex; flex-direction: column; gap: 16px; }
.hero__eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #F2EFE6; text-shadow: 0 1px 6px rgba(0,0,0,0.4); }
.hero__title { font-family: var(--font-serif); font-weight: 500; font-size: 46px; line-height: 1.08; color: #FFFFFF; max-width: 18ch; text-shadow: 0 2px 10px rgba(0,0,0,0.35); }
.hero__subtitle { font-size: 16px; line-height: 1.55; color: #F2EFE6; max-width: 50ch; text-shadow: 0 1px 6px rgba(0,0,0,0.35); }
.hero__cta { margin-top: 6px; display: inline-block; width: fit-content; background: #FFFFFF; color: var(--text-1); font-weight: 600; font-size: 14px; padding: 13px 24px; border-radius: 2px; text-decoration: none; }

section { margin-top: var(--space-section); }
section:first-of-type { margin-top: 96px; }

/* chapter break: a hairline + generous air above each new section so long
   pages read as distinct blocks rather than one continuous column.
   Opt out with .section--flush (e.g. two sections that are one logical unit). */
section.frame:not(:first-of-type):not(.section--flush) {
  margin-top: 76px;
  padding-top: 52px;
  border-top: 1px solid var(--color-border);
}
.section--flush { border-top: 0 !important; padding-top: 0 !important; }

.footer {
  border-top: 1px solid var(--color-border);
  padding: 48px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  font-size: 13px;
  color: var(--text-4);
  margin-top: 120px;
}
.footer a { text-decoration: none; color: var(--text-3); }

[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

@media (max-width: 767px) {
  .nav__links a:not(.nav__cta) { display: none; }
  .hero__title { font-size: 32px; }
  .footer { grid-template-columns: 1fr; }
}
