/* ============================================================
   Claimstake - one-page marketing site
   Tokens: Deep Ink #0E2436 | Warm Bone #F5F1E9 | Stone Grey #6B7280
           Rare Brass #B08D57 (sparingly: CTAs, set-point, "territory",
           quote marks). Never a dominant fill.
   Type:   Marcellus (display/headlines) | Hanken Grotesk (body/UI)
   Rhythm: bone-dominant; ink as punctuation only (Exclusivity peak,
           Final CTA, Footer).
   CSS is MOBILE-FIRST: base rules are the phone layout, the
   @media (min-width: 720px) block layers on the desktop layout.
   (720px is the threshold from the source design; tablet/desktop
   share the wide layout, auto-fit grids collapse columns on their own.)
   ============================================================ */

:root {
  --ink: #0E2436;
  --bone: #F5F1E9;
  --bone-card: #FBF9F4;
  --stone: #6B7280;          /* brand Stone Grey - decorative use */
  --stone-text: #5F6772;     /* slightly deepened for AA on bone (small text) */
  --brass: #B08D57;
  --brass-hover: #9C7A48;
  --brass-hover-ink: #C49A63;
  --body-ink: #44535F;
  --body-ink-soft: #4A5763;
  --nav-link: #3A4A57;
  --serif: 'Marcellus', Georgia, 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
  --gutter: clamp(24px, 6vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bone);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[id] { scroll-margin-top: 88px; }

img { max-width: 100%; }

.wrap { max-width: var(--wrap); margin: 0 auto; }

/* Visible focus for keyboard users */
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
.btn:focus-visible { outline-color: var(--ink); }

/* Skip link */
.skip-link {
  position: absolute; left: 12px; top: -48px;
  background: var(--ink); color: var(--bone);
  padding: 10px 16px; border-radius: 2px;
  text-decoration: none; z-index: 100;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

@keyframes csRise { from { transform: translateY(18px); } to { transform: translateY(0); } }

/* ---------- Shared button + accent ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 0.02em;
  min-height: 44px;
  transition: background .25s ease, transform .25s ease;
}
.btn--brass { background: var(--brass); color: var(--ink); }
.btn--brass:hover { background: var(--brass-hover); transform: translateY(-1px); }
.btn--lg { font-size: 15.5px; padding: 16px 30px; }

.accent { color: var(--brass); }

/* ---------- Eyebrow ---------- */
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.eyebrow__rule { width: 26px; height: 1px; background: var(--brass); display: block; flex-shrink: 0; }
.eyebrow__symbol { width: 30px; height: 30px; display: block; }
.eyebrow__label {
  font-size: clamp(11px, 1vw, 12.5px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone-text);
  font-weight: 500;
}
.eyebrow__label--block { display: block; margin-bottom: 30px; }
.eyebrow--ink { gap: 16px; margin-bottom: 36px; }
.eyebrow--ink .eyebrow__label { letter-spacing: 0.22em; color: rgba(245,241,233,0.6); }

/* ---------- Section headings (bone) ---------- */
.display-h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 24px;
  text-wrap: balance;
}
.section-head { max-width: 720px; margin-bottom: clamp(48px, 6vw, 84px); }
.section-head--wide { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head__body {
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.7;
  color: var(--body-ink);
  margin: 0;
}
.section-head .eyebrow__label--block { margin-bottom: 22px; }

.section-rule { border-top: 1px solid rgba(14,36,54,0.09); }

/* ============================================================
   NAV  (base = mobile: logo + hamburger)
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 6vw, 72px);
  background: rgba(245,241,233,0);
  border-bottom: 1px solid rgba(14,36,54,0);
  transition: padding .35s ease, background .35s ease, border-color .35s ease;
}
.nav.is-scrolled {
  padding: 11px clamp(20px, 6vw, 72px);
  background: rgba(245,241,233,0.88);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid rgba(14,36,54,0.10);
}
.nav__logo { display: flex; align-items: center; flex-shrink: 0; }
.nav__logo img { height: clamp(22px, 2.2vw, 27px); width: auto; display: block; }

.nav__right { display: none; }   /* shown at >=720 */
.nav__links { display: flex; align-items: center; gap: clamp(22px, 2.6vw, 40px); }
.nav__links a {
  font-size: 14.5px;
  letter-spacing: 0.01em;
  color: var(--nav-link);
  text-decoration: none;
  transition: color .2s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__cta { font-size: 14px; padding: 11px 22px; min-height: 0; }

.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer; padding: 0;
}
.nav__hamburger span {
  display: block;
  width: 22px; height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
}

.nav__menu {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: rgba(245,241,233,0.98);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid rgba(14,36,54,0);
  padding: 0 clamp(24px, 6vw, 72px);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;   /* keep links out of tab order when closed */
  transition: max-height .32s ease, opacity .26s ease, padding .32s ease,
              box-shadow .32s ease, border-color .32s ease, visibility 0s linear .32s;
}
.nav__menu a {
  font-size: 16px;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
  padding: 15px 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(14,36,54,0.10);
}
.nav__menu-cta {
  font-size: 15px;
  padding: 15px 22px;
  margin-top: 16px;
  justify-content: center;
  border-bottom: none;
}
.nav__menu.is-open {
  border-bottom-color: rgba(14,36,54,0.10);
  box-shadow: 0 16px 30px rgba(14,36,54,0.07);
  padding: 8px clamp(24px, 6vw, 72px) 24px;
  max-height: 360px;
  opacity: 1;
  visibility: visible;
  transition: max-height .32s ease, opacity .26s ease, padding .32s ease,
              box-shadow .32s ease, border-color .32s ease, visibility 0s;
}

/* ============================================================
   HERO (bone)  - base = single column, text first, image below
   ============================================================ */
.hero {
  background: var(--bone);
  padding: clamp(110px, 16vh, 200px) var(--gutter) clamp(64px, 11vh, 132px);
}
.hero__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(40px, 5vw, 76px);
  align-items: center;
}
.hero__text { animation: csRise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero__h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 7.4vw, 34px);   /* mobile size */
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 26px;
  color: var(--ink);
  text-wrap: balance;
}
.hero__sub {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.6;
  color: var(--body-ink);
  margin: 0 0 38px;
  max-width: 26em;
  text-wrap: pretty;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;   /* mobile: stacked, full width */
  align-items: stretch;
  gap: 18px 28px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  font-size: 15.5px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(14,36,54,0.28);
  transition: border-color .25s ease;
}
.link-arrow:hover { border-color: var(--ink); }
.link-arrow span { font-family: var(--serif); font-size: 17px; }

.hero__media {
  animation: csRise 1.1s cubic-bezier(.2,.7,.2,1) both;
  aspect-ratio: 4 / 5;
  min-height: 360px;
  border: 1px solid rgba(14,36,54,0.16);
  position: relative;
  overflow: hidden;
}
.hero__media picture, .hero__media img {
  width: 100%; height: 100%; display: block;
}
.hero__media img { object-fit: cover; }

/* ============================================================
   TENSION (bone) - editorial split (collapses on phone)
   ============================================================ */
.tension { background: var(--bone); padding: clamp(56px, 9vh, 110px) var(--gutter); }
.tension__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.tension__lead {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.24;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
  max-width: 12em;
}
.tension__body {
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.78;
  color: var(--body-ink);
  margin: 0;
  padding-top: 6px;
}

/* ============================================================
   APPROACH (bone) - three numbered steps (stack on phone)
   ============================================================ */
.approach { background: var(--bone); padding: clamp(64px, 11vh, 140px) var(--gutter); }
.approach__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(32px, 4vw, 56px);
}
.step { border-top: 1px solid rgba(14,36,54,0.16); padding-top: 26px; }
.step__num {
  font-family: var(--serif);
  font-size: clamp(40px, 4.4vw, 58px);
  line-height: 1;
  color: var(--brass);
  margin-bottom: 22px;
}
.step__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(21px, 1.8vw, 26px);
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 14px;
}
.step__body { font-size: 16.5px; line-height: 1.72; color: var(--body-ink-soft); margin: 0; }

/* ============================================================
   EXCLUSIVITY (ink, the peak)
   ============================================================ */
.exclusivity {
  background: var(--ink);
  padding: clamp(80px, 15vh, 184px) var(--gutter);
  position: relative;
  overflow: hidden;
}
.exclusivity__watermark { display: none; }   /* hidden on phone, shown >=720 */
.exclusivity__watermark img { width: 100%; height: auto; display: block; }
.exclusivity__inner { position: relative; }
.exclusivity__h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 6.6vw, 34px);   /* mobile size */
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0 0 38px;
  max-width: 16em;
  color: var(--bone);
  text-wrap: balance;
}
.exclusivity__body {
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.78;
  color: rgba(245,241,233,0.82);
  margin: 0;
  max-width: 40em;
}

/* ============================================================
   TRACK RECORD (bone) - three quote cards (stack on phone)
   ============================================================ */
.track { background: var(--bone); padding: clamp(64px, 11vh, 140px) var(--gutter); }
.track__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(20px, 2.2vw, 28px);
}
.quote {
  margin: 0;
  background: var(--bone-card);
  border: 1px solid rgba(14,36,54,0.20);
  padding: clamp(30px, 2.6vw, 40px);
  display: flex;
  flex-direction: column;
}
.quote__mark {
  font-family: var(--serif);
  font-size: 54px;
  line-height: 1;
  color: var(--brass);
  display: block;
  height: 30px;
  margin-bottom: 10px;
  overflow: visible;
}
.quote__text {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(19px, 1.5vw, 23px);
  line-height: 1.42;
  color: var(--ink);
  margin: 0 0 28px;
  flex-grow: 1;
}
.quote__cite {
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-top: 1px solid rgba(14,36,54,0.12);
  padding-top: 18px;
}
.quote__name { font-size: 15px; font-weight: 600; color: var(--ink); }
.quote__role { font-size: 13.5px; color: var(--stone-text); }

/* ============================================================
   FINAL CTA (ink)
   ============================================================ */
.final {
  background: var(--ink);
  padding: clamp(80px, 15vh, 176px) var(--gutter);
  text-align: center;
}
.final__inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.final__symbol { width: 34px; height: 34px; margin-bottom: 32px; }
.final__h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 7vw, 36px);   /* mobile size */
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  color: var(--bone);
  text-wrap: balance;
}
.final__body {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.7;
  color: rgba(245,241,233,0.78);
  margin: 0 0 40px;
  max-width: 34em;
}
.final__cta { font-size: 16px; padding: 17px 38px; }
.final__cta:hover { background: var(--brass-hover-ink); }

/* ============================================================
   FOOTER (ink)
   ============================================================ */
.footer {
  background: var(--ink);
  padding: clamp(56px, 9vh, 104px) var(--gutter) clamp(40px, 5vh, 56px);
  border-top: 1px solid rgba(245,241,233,0.10);
}
.footer__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 34px;
}
.footer__logo { display: block; }
.footer__logo img { width: clamp(150px, 18vw, 190px); height: auto; display: block; }
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 30px;
}
.footer__nav a {
  font-size: 14.5px;
  color: rgba(245,241,233,0.75);
  text-decoration: none;
  transition: color .2s ease;
}
.footer__nav a:hover { color: var(--bone); }
.footer__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 22px;
}
.footer__email {
  font-size: 14.5px;
  color: var(--brass);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color .2s ease;
}
.footer__email:hover { color: var(--brass-hover-ink); }
.footer__dot { color: rgba(245,241,233,0.3); }
.footer__site {
  font-size: 14.5px;
  color: rgba(245,241,233,0.75);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color .2s ease;
}
.footer__site:hover { color: var(--bone); }
.footer__copy {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: rgba(245,241,233,0.45);
  margin-top: 6px;
}

/* ============================================================
   DESKTOP / TABLET (>= 720px) - layers on the wide layout
   ============================================================ */
@media (min-width: 720px) {
  .nav { padding: 20px clamp(20px, 6vw, 72px); }
  .nav.is-scrolled { padding: 13px clamp(20px, 6vw, 72px); }

  .nav__right { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
  .nav__hamburger { display: none; }
  .nav__menu { display: none; }

  .hero__h1 { font-size: clamp(38px, 5.6vw, 74px); }
  .hero__ctas { flex-direction: row; align-items: center; }

  .exclusivity__watermark {
    display: block;
    position: absolute;
    right: clamp(20px, 3vw, 64px);
    top: 50%;
    transform: translateY(-50%);
    width: clamp(220px, 26vw, 420px);
    opacity: 0.06;
    pointer-events: none;
  }
  .exclusivity__h2 { font-size: clamp(34px, 5.2vw, 70px); }

  .final__h2 { font-size: clamp(36px, 5vw, 64px); }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
