/* Cash Flow Landlords — premium membership landing page, mobile-first */

:root {
  /* Palette sampled from Derek’s Elora Mill reference photos (inspiration only —
     those photos are not used on the site). Hex values pulled from the fieldstone
     wall close-up: rubble, cream flush mortar, dressed quoins, charcoal window
     frames, weathered fence, and heather in black planters. */
  --ink: #1d1d1c;            /* window-frame median */
  --ink-2: #2a2a28;
  --navy: #30312f;           /* planter / steel — token name kept */
  --navy-soft: #4a4a47;
  --amber: #8b534a;          /* lifted heather-burgundy so cream type stays readable; sampled leaf mid was #554840 */
  --amber-dark: #5c3833;
  --amber-deep: #4a302c;
  --amber-soft: #e4d6d0;
  --gold: #c4a36a;           /* black-sign gold lettering feel */
  --cream: #e3ddcf;          /* mortar p80 */
  --paper: #f3eee6;
  --white: #fbf8f2;
  --text: #1d1d1c;
  --muted: #5c564e;
  --line: #d6cec0;
  --line-dark: rgba(255, 248, 240, 0.12);
  --timber: #6e6e6d;         /* weathered grey fence */
  --cedar: #b07a4a;          /* warm cedar timber-frame nod */
  --cedar-dark: #8b5a32;
  --forest: #30312f;
  --forest-deep: #1d1d1c;
  --limestone: #b4ad9e;      /* fieldstone mid */
  --limestone-pale: #d4cdb8;
  --mortar: #e9e3d5;         /* mortar p88 */
  --metal: #30312f;
  --metal-dark: #1d1d1c;
  --quoin: #ada796;          /* dressed corner blocks */
  --quoin-2: #a69f8e;
  --galv: #6d6f71;
  --serif: "Libre Baskerville", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
  --shadow: 0 24px 60px rgba(29, 29, 28, 0.16);
  --radius: 8px;
  --gutter: clamp(1.15rem, 4vw, 2.25rem);
  --max: 72rem;
  --header-h: 4.5rem;
  --ease: 180ms ease;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--text);
  background-color: var(--paper);
  background-image: url("images/stone-texture.jpg");
  background-size: 920px;
  background-attachment: scroll;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: -0.011em;
}

img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; }
a { color: var(--navy); text-underline-offset: 0.18em; }
a:hover { color: var(--amber-deep); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -5rem;
  z-index: 200;
  background: var(--amber);
  color: var(--white);
  font-weight: 700;
  padding: 0.55rem 0.9rem;
  border-radius: 4px;
  text-decoration: none;
}
.skip:focus { top: 0.75rem; }

.wrap {
  width: min(var(--max), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

/* ----- Header ----- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  height: var(--header-h);
  color: var(--white);
  background: linear-gradient(to bottom, rgba(26, 25, 23, 0.55), transparent);
  transition: background var(--ease), border-color var(--ease), backdrop-filter var(--ease);
}

/* Flat black steel canopy along the top of the header, with a cedar lintel under it */
.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 10px;
  z-index: 2;
  pointer-events: none;
  background: #1d1d1c;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 10px;
  height: 3px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, #c08a55, #8b5a32);
}

.site-header.is-scrolled,
.site-header.is-open,
.site-header.is-solid {
  background-color: rgba(29, 29, 28, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
  box-shadow: 0 8px 30px rgba(29, 29, 28, 0.28);
}

.header-inner {
  height: var(--header-h);
  width: min(var(--max), 100% - var(--gutter) * 2);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 13px;
  box-sizing: border-box;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--white);
  min-width: 0;
}

.logo-mark { width: 2rem; height: 2rem; flex: 0 0 auto; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.logo-text strong {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.015em;
}
.logo-text span {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-soft);
}

.nav-toggle {
  appearance: none;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  padding: 0.42rem 0.9rem;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
}

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  background: rgba(26, 25, 23, 0.97);
  border-bottom: 1px solid var(--line-dark);
  padding: 0.6rem var(--gutter) 1.15rem;
}

.site-nav.is-open { display: block; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.site-nav a {
  display: block;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.55rem 0.15rem;
}
.site-nav a:hover { color: var(--amber); }

.site-nav .nav-cta {
  margin-top: 0.45rem;
  display: inline-flex;
  align-self: flex-start;
  background: var(--amber);
  color: var(--white) !important;
  border: 1.5px solid #1d1d1c;
  border-radius: 4px;
  padding: 0.65rem 1.05rem !important;
  font-weight: 700;
}
.site-nav .nav-cta:hover { background: var(--amber-dark); color: var(--white) !important; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  padding: 0.95rem 1.35rem;
  border-radius: 4px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-full { width: 100%; }

.btn-amber {
  background: var(--amber);
  color: var(--white);
  border-color: #1a1917;
  box-shadow: 0 8px 24px rgba(155, 74, 60, 0.28);
}
.btn-amber:hover {
  background: var(--amber-dark);
  border-color: #1a1917;
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(251, 247, 240, 0.7);
}
.btn-ghost:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.btn-ink {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.btn-ink:hover { background: var(--navy); color: var(--white); }

.btn-outline-ink {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline-ink:hover { background: var(--ink); color: var(--white); }

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  padding: calc(var(--header-h) + 2.2rem) 0 2.2rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Mobile crop already frames stone + windows; bias so type sits on stone and a window stays in view */
  object-position: 38% 42%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(29, 29, 28, 0.42) 0%, rgba(29, 29, 28, 0.20) 30%, rgba(29, 29, 28, 0.55) 68%, rgba(29, 29, 28, 0.88) 100%),
    linear-gradient(90deg, rgba(29, 29, 28, 0.58) 0%, rgba(29, 29, 28, 0.36) 48%, rgba(29, 29, 28, 0.18) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  padding-bottom: 0.5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f0dcc8;
}

.hero h1 {
  margin: 0 0 1.15rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.35rem, 9vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.038em;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--amber-soft);
}

.lead {
  margin: 0 0 1.7rem;
  font-size: 1.08rem;
  line-height: 1.6;
  color: rgba(255, 253, 248, 0.92);
  max-width: 34rem;
  text-shadow: 0 1px 12px rgba(26, 25, 23, 0.45);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

/* ----- Credibility ----- */
.credibility {
  background-color: #1d1d1c;
  color: var(--cream);
  border-top: 1px solid var(--line-dark);
  padding: 1.7rem 0 1.85rem;
  position: relative;
}
/* Fieldstone plinth under the metal band, like a cut-stone upper over a rubble base */
.credibility::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14px;
  background-color: #6a6054;
  background-image: url("images/fieldstone-texture.jpg");
  background-size: 520px;
  background-position: center bottom;
  box-shadow: inset 0 1px 0 rgba(26, 25, 23, 0.35);
  pointer-events: none;
}

.cred-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem 1rem;
}

.cred-item {
  padding: 0.15rem 0;
}
.cred-item strong {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  letter-spacing: -0.03em;
  color: var(--gold);
  line-height: 1.1;
}
.cred-item span {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.82rem;
  line-height: 1.35;
  color: rgba(255, 253, 248, 0.7);
}

/* ----- Sections ----- */
.section { padding: 4rem 0; }
.section:not(.audience):not(.lifecycle):not(.faq) {
  background-color: var(--paper);
}

.section-label {
  margin: 0 0 0.6rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-deep);
}

.section h2, .band h2, .cta-band h2 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 5vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
}

.section p { margin: 0 0 1rem; }
.section p:last-child { margin-bottom: 0; }

.intro {
  max-width: 38rem;
  margin-bottom: 2rem;
  color: var(--muted);
}
.intro p { margin: 0; color: var(--muted); }

/* Who it's for */
.lifecycle,
.faq {
  background-color: #efe8dc;
  background-image:
    linear-gradient(rgba(243, 238, 230, 0.76), rgba(243, 238, 230, 0.76)),
    url("images/stone-texture.jpg");
  background-size: auto, 1200px;
}

/* Photographic rubble fieldstone background (generated; not a mill photo) */
.audience,
#about {
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(243, 238, 230, 0.82), rgba(243, 238, 230, 0.82)),
    url("images/stone-bg.jpg");
  background-size: auto, cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Weathered grey wood bar — leftover utility, not used as the main label motif */
.beam {
  display: block;
  width: 3.6rem;
  height: 0.42rem;
  margin: 0 0 1.05rem;
  background:
    linear-gradient(to bottom,
      #c08a55 0%,
      #b07a4a 38%,
      #8b5a32 72%,
      #9a6840 100%);
  box-shadow: inset 0 1px 0 rgba(255, 248, 240, 0.14), 0 1px 2px rgba(0, 0, 0, 0.28);
  border-radius: 1px;
}
.beam-center { margin-left: auto; margin-right: auto; }
.beam-light {
  background:
    linear-gradient(to bottom,
      #c89664 0%,
      #b07a4a 40%,
      #8b5a32 100%);
}

.section {
  /* slightly stronger paper overlay so body texture doesn't fight text */
}
.fit-grid {
  display: grid;
  gap: 1rem;
}
.fit-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.45rem;
  border: 1px solid var(--line);
}
.fit-card h3 {
  margin: 0 0 0.85rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.fit-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}
.fit-card li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--text);
  line-height: 1.45;
}
.fit-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.38rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--amber);
}
.fit-card.is-not li::before {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px #9aa0a8;
}
.fit-card.is-not h3 { color: var(--muted); }

/* What's inside */
.offer-grid {
  display: grid;
  gap: 0.9rem;
}
.offer {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.2rem 1.35rem;
  box-shadow: 0 1px 0 rgba(26, 25, 23, 0.03);
}
.offer .icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.9rem;
  color: var(--amber-deep);
}
.offer h3 {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.offer p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.offer.featured {
  background: #1d1d1c;
  border-color: #2a2a28;
  color: var(--cream);
}
.offer.featured h3 { color: #e9e3d5; }
.offer.featured h3::after {
  content: "";
  display: block;
  width: 2.4rem;
  height: 1.5px;
  margin-top: 0.5rem;
  background: var(--gold);
}
.offer.featured p { color: rgba(233, 227, 213, 0.78); }
.offer.featured .icon { color: var(--gold); }

/* Lifecycle */

.steps {
  display: grid;
  gap: 0.75rem;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.85rem;
  align-items: start;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1rem 1rem 1.05rem;
  border: 1px solid var(--line);
}
.step-num {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--amber);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
  letter-spacing: -0.02em;
}
.step h3 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.step p { margin: 0; font-size: 0.92rem; color: var(--muted); }

/* Lead magnet */
.magnet {
  background-color: #1d1d1c;
  color: var(--white);
  padding: 4rem 0;
  overflow: hidden;
  position: relative;
}
.magnet::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 10px;
  background: #1d1d1c;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  pointer-events: none;
  z-index: 1;
}
.magnet h2 { color: var(--cream); }
.magnet .section-label { color: var(--gold); }
.magnet .intro, .magnet .intro p, .magnet p { color: rgba(255, 253, 248, 0.78); }

.magnet-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.signup-card {
  background: var(--paper);
  color: var(--text);
  border-radius: var(--radius);
  padding: 1.3rem 1.2rem 1.35rem;
  box-shadow: var(--shadow);
}
.signup-card p { color: var(--muted); margin: 0 0 1rem; }

.placeholder-tag {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-deep);
  background: var(--amber-soft);
  padding: 0.28rem 0.55rem;
  border-radius: 3px;
}

.form-placeholder { display: grid; gap: 0.7rem; }
.form-placeholder label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
}
.form-placeholder input {
  padding: 0.8rem 0.9rem;
  border: 1px solid #cfc7b8;
  border-radius: 6px;
  background: var(--white);
  color: var(--muted);
}
.form-placeholder input:disabled,
.form-placeholder button:disabled {
  opacity: 0.88;
  cursor: not-allowed;
}
.form-placeholder .hint {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--muted);
}

.doc-mockup {
  position: relative;
  width: min(100%, 32rem);
  margin: 0.5rem auto 1.2rem;
  transform: rotate(6deg);
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.45));
}
.doc-mockup .doc-back {
  position: absolute;
  inset: 10% -7% -8% 10%;
  background: #d9d2c6;
  border-radius: 3px;
  transform: rotate(-8deg);
  z-index: 0;
}
.doc-mockup img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: #fff;
}

/* About */
.about-grid {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}
.about-photo {
  position: relative;
  margin: 0;
  border-radius: 2px;
  overflow: visible;
  aspect-ratio: 4 / 5;
  background: var(--navy);
  max-width: 26rem;
  border: 3px solid var(--ink);
  box-shadow: 0 18px 40px rgba(26, 25, 23, 0.12);
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
}
.about-photo figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 1.15rem 1.15rem 1.2rem;
  background: linear-gradient(to top, rgba(26, 25, 23, 0.92), rgba(26, 25, 23, 0.2) 85%, transparent);
  color: var(--white);
}
.about-photo .ph-tag {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--amber);
  padding: 0.22rem 0.45rem;
  border-radius: 3px;
}
.about-photo strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
}
.about-photo .ph-note {
  display: block;
  font-size: 0.88rem;
  color: rgba(255, 253, 248, 0.75);
}

.about-copy { max-width: 40rem; }

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.65rem;
  max-width: 46rem;
}
.faq-list details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 1.15rem;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--ink);
  padding: 1.05rem 1.8rem 1.05rem 0;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--amber-deep);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-body {
  padding: 0 0 1.1rem;
  color: var(--muted);
}
.faq-body p { margin: 0; }

/* Final CTA */
.cta-band {
  position: relative;
  background:
    linear-gradient(180deg, rgba(26, 25, 23, 0.88), rgba(26, 25, 23, 0.92)),
    url("images/hero.jpg") 72% 42%/cover no-repeat;
  color: var(--white);
  padding: 4.2rem 0;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 10px;
  background: #1d1d1c;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}
.cta-band .wrap::before {
  content: "";
  display: block;
  width: min(24rem, 86%);
  height: 2.6rem;
  margin: 0 auto 1.05rem;
  background:
    linear-gradient(#2e2e2c, #1d1d1c) 18% 0 / 2px 100% no-repeat,
    linear-gradient(#2e2e2c, #1d1d1c) 82% 0 / 2px 100% no-repeat,
    linear-gradient(to bottom, #3a3a38, #1d1d1c) 0 0 / 100% 10px no-repeat,
    linear-gradient(rgba(233, 227, 213, 0.55), rgba(233, 227, 213, 0.55)) 0 10px / 100% 1px no-repeat;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}
.cta-band .section-label { color: var(--gold); }
.cta-band h2 { color: #e9e3d5; }
.cta-band p {
  margin: 0 auto 1.6rem;
  max-width: 34rem;
  color: rgba(255, 253, 248, 0.8);
}
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: center;
}
.skool-note {
  margin: 1rem auto 0 !important;
  font-size: 0.85rem;
  color: rgba(255, 253, 248, 0.6) !important;
}
.skool-note code { white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.84em;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  color: var(--amber-soft);
}

/* Footer */
.site-footer {
  position: relative;
  background-color: #161411;
  background-image:
    linear-gradient(rgba(22, 20, 17, 0.88), rgba(22, 20, 17, 0.92)),
    url("images/fieldstone-texture.jpg");
  background-size: auto, 720px;
  color: #cfc6b8;
  padding: 2.6rem 0 2.1rem;
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 10px;
  background: #1d1d1c;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}
.footer-grid { display: grid; gap: 1.4rem; }
.footer-brand {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: -0.02em;
}
.site-footer a { color: var(--gold); }
.site-footer a:hover { color: var(--white); }
.disclaimer {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: #a79e92;
  max-width: 44rem;
}
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  margin: 1.3rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(237, 230, 216, 0.14);
  font-size: 0.9rem;
}
.footer-meta p { margin: 0; }

/* Privacy */
.page-main { padding: calc(var(--header-h) + 2.2rem) 0 4rem; }
.page-main h1 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.035em;
  color: var(--ink);
}
.legal { max-width: 40rem; }
.legal h2 {
  margin: 1.8rem 0 0.5rem;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--ink);
}
.legal ul { padding-left: 1.2rem; }


/* Quoin-style corner blocks (cut limestone at card corners) */
.fit-card,
.offer,
.signup-card,
.about-photo {
  position: relative;
}
.fit-card::before,
.offer::before,
.signup-card::before,
.about-photo::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  z-index: 3;
  background-image:
    url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20width=%2736%27%20height=%2736%27%3E%3Crect%20fill=%27%23ada796%27%20x=%270%27%20y=%270%27%20width=%2722%27%20height=%2711%27/%3E%3Crect%20fill=%27%23e9e3d5%27%20x=%270%27%20y=%2711%27%20width=%2722%27%20height=%272%27/%3E%3Crect%20fill=%27%23a69f8e%27%20x=%270%27%20y=%2713%27%20width=%2716%27%20height=%2711%27/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20width=%2736%27%20height=%2736%27%3E%3Crect%20fill=%27%23ada796%27%20x=%2714%27%20y=%270%27%20width=%2722%27%20height=%2711%27/%3E%3Crect%20fill=%27%23e9e3d5%27%20x=%2714%27%20y=%2711%27%20width=%2722%27%20height=%272%27/%3E%3Crect%20fill=%27%23a69f8e%27%20x=%2720%27%20y=%2713%27%20width=%2716%27%20height=%2711%27/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20width=%2736%27%20height=%2736%27%3E%3Crect%20fill=%27%23ada796%27%20x=%270%27%20y=%2725%27%20width=%2722%27%20height=%2711%27/%3E%3Crect%20fill=%27%23e9e3d5%27%20x=%270%27%20y=%2723%27%20width=%2722%27%20height=%272%27/%3E%3Crect%20fill=%27%23a69f8e%27%20x=%270%27%20y=%2712%27%20width=%2716%27%20height=%2711%27/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20width=%2736%27%20height=%2736%27%3E%3Crect%20fill=%27%23ada796%27%20x=%2714%27%20y=%2725%27%20width=%2722%27%20height=%2711%27/%3E%3Crect%20fill=%27%23e9e3d5%27%20x=%2714%27%20y=%2723%27%20width=%2722%27%20height=%272%27/%3E%3Crect%20fill=%27%23a69f8e%27%20x=%2720%27%20y=%2712%27%20width=%2716%27%20height=%2711%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: top left, top right, bottom left, bottom right;
  background-size: 36px 36px;
}
.offer.featured::before {
  background-image:
    url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20width=%2736%27%20height=%2736%27%3E%3Crect%20fill=%27%23d4cdb8%27%20x=%270%27%20y=%270%27%20width=%2722%27%20height=%2711%27/%3E%3Crect%20fill=%27%23e9e3d5%27%20x=%270%27%20y=%2711%27%20width=%2722%27%20height=%272%27/%3E%3Crect%20fill=%27%23c8c1b0%27%20x=%270%27%20y=%2713%27%20width=%2716%27%20height=%2711%27/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20width=%2736%27%20height=%2736%27%3E%3Crect%20fill=%27%23d4cdb8%27%20x=%2714%27%20y=%270%27%20width=%2722%27%20height=%2711%27/%3E%3Crect%20fill=%27%23e9e3d5%27%20x=%2714%27%20y=%2711%27%20width=%2722%27%20height=%272%27/%3E%3Crect%20fill=%27%23c8c1b0%27%20x=%2720%27%20y=%2713%27%20width=%2716%27%20height=%2711%27/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20width=%2736%27%20height=%2736%27%3E%3Crect%20fill=%27%23d4cdb8%27%20x=%270%27%20y=%2725%27%20width=%2722%27%20height=%2711%27/%3E%3Crect%20fill=%27%23e9e3d5%27%20x=%270%27%20y=%2723%27%20width=%2722%27%20height=%272%27/%3E%3Crect%20fill=%27%23c8c1b0%27%20x=%270%27%20y=%2712%27%20width=%2716%27%20height=%2711%27/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20width=%2736%27%20height=%2736%27%3E%3Crect%20fill=%27%23d4cdb8%27%20x=%2714%27%20y=%2725%27%20width=%2722%27%20height=%2711%27/%3E%3Crect%20fill=%27%23e9e3d5%27%20x=%2714%27%20y=%2723%27%20width=%2722%27%20height=%272%27/%3E%3Crect%20fill=%27%23c8c1b0%27%20x=%2720%27%20y=%2712%27%20width=%2716%27%20height=%2711%27/%3E%3C/svg%3E");
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: rise 0.85s ease both; }
  .hero-actions { animation: rise 0.85s ease 0.12s both; }
  .offer, .fit-card, .step {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .offer:hover, .fit-card:hover, .step:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(26, 25, 23, 0.08);
  }
  .offer.featured:hover { box-shadow: 0 12px 30px rgba(26, 25, 23, 0.35); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ----- Tablet / desktop ----- */
@media (min-width: 720px) {
  .hero {
    justify-content: flex-end;
    padding: calc(var(--header-h) + 1rem) 0 5.5rem;
    min-height: 100svh;
  }
  .hero-media img { object-position: 10% 46%; }
  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(29, 29, 28, 0.30) 0%, rgba(29, 29, 28, 0.10) 30%, rgba(29, 29, 28, 0.48) 68%, rgba(29, 29, 28, 0.82) 100%),
      linear-gradient(90deg, rgba(29, 29, 28, 0.58) 0%, rgba(29, 29, 28, 0.28) 42%, rgba(29, 29, 28, 0.08) 72%, rgba(29, 29, 28, 0.06) 100%);
  }
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .btn-full { width: auto; }

  .cred-grid { grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
  .cred-item + .cred-item { border-left: 1px solid var(--line-dark); padding-left: 1.25rem; }

  .section, .magnet, .cta-band { padding-top: 5.5rem; padding-bottom: 5.5rem; }

  .fit-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .offer.span-wide { grid-column: 1 / -1; }

  .steps { grid-template-columns: 1fr 1fr; }

  .magnet-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
  }
  .doc-mockup { margin: 0; width: 100%; }

  .about-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3.5rem;
    align-items: center;
  }

  .cta-actions { flex-direction: row; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 2fr; gap: 3rem; }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: block;
    position: static;
    background: transparent;
    border: 0;
    padding: 0;
  }
  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 1.35rem;
  }
  .site-nav a { padding: 0; font-size: 0.92rem; }
  .site-nav .nav-cta {
    margin-top: 0;
    padding: 0.55rem 0.95rem !important;
    font-size: 0.88rem;
  }

  .offer-grid { grid-template-columns: repeat(6, 1fr); }
  .offer { grid-column: span 2; }
  .offer:nth-child(4),
  .offer:nth-child(5) { grid-column: span 3; }
  .offer.span-wide { grid-column: auto; }

  .steps { grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
  .step {
    grid-template-columns: 1fr;
    min-height: 100%;
    padding: 1.15rem 1.05rem 1.2rem;
  }
}

@media (min-width: 1100px) {
  .hero h1 { max-width: 16ch; }
}

/* Libre Baskerville ships 400 and 700 only */
h1, h2, h3,
.footer-brand,
.logo-text strong,
.cred-item strong,
.about-photo strong {
  font-weight: 700;
}
.hero h1 em {
  font-weight: 400;
  font-style: italic;
}
.step-num { font-weight: 700; }

/* Black multi-pane window-grid motif under section labels */
.section-label::after,
.eyebrow::after {
  content: "";
  display: block;
  width: 0.95rem;
  height: 1.18rem;
  margin-top: 0.7rem;
  box-sizing: border-box;
  border: 1.5px solid #1d1d1c;
  background-color: var(--mortar);
  background-image:
    linear-gradient(#1d1d1c, #1d1d1c),
    linear-gradient(#1d1d1c, #1d1d1c),
    linear-gradient(#1d1d1c, #1d1d1c);
  background-size: 1.5px 100%, 100% 1.5px, 100% 1.5px;
  background-position: 50% 0, 0 33.33%, 0 66.67%;
  background-repeat: no-repeat;
  box-shadow: 0 1px 0 rgba(26, 25, 23, 0.18);
}
.cta-band .section-label::after { margin-left: auto; margin-right: auto; }
