/* ============================================================
   Home Search — site styles
   Editorial broadsheet, modelled on the printed A4 poster:
   paper + ink + forest green + brass · Newsreader / IBM Plex.
   Tightened vertical rhythm; dense but not cramped.
   ============================================================ */
:root {
  --paper:    #F7F3EA;
  --paper-2:  #FBF8F1;
  --ink:      #1B211D;
  --ink-soft: #404840;
  --green:    #1C5A4A;
  --green-2:  #154034;
  --brass:      #A97B36;  /* decorative only — hairlines, icon strokes */
  --brass-deep: #7A551F;  /* text + button fill (AA) */
  --brass-2:    #6B4A1B;  /* hover */
  --line:     #D8CFBE;
  --line-2:   #ECE5D6;

  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-sans:  'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:  'IBM Plex Mono', 'Courier New', monospace;

  --container: 1060px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-gap: clamp(2rem, 4.5vw, 3.25rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  min-height: 100vh; min-height: 100dvh;
  position: relative;
  overflow-x: hidden;
}
/* faint paper grain */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 300px 300px;
}
body > * { position: relative; z-index: 1; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.18; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font-family: var(--font-mono); font-size: .7rem; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase; color: var(--ink-soft);
}
.section-rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-mono); font-size: .82rem; font-weight: 500; letter-spacing: .04em;
  padding: .8em 1.5em; min-height: 44px; border-radius: 2px; border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background-color .18s ease-out, color .18s ease-out, border-color .18s ease-out;
}
.btn-brass { background: var(--brass-deep); color: #fff; border-color: var(--brass-deep); }
.btn-brass:hover { background: var(--brass-2); border-color: var(--brass-2); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink-soft); background: var(--line-2); }

/* ============================================================
   MASTHEAD — nameplate (mirrors the poster's top)
   ============================================================ */
.masthead { border-top: 3px solid var(--ink); background: var(--paper); }
.nameplate {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: clamp(.7rem, 1.5vw, 1rem);
}
.np-side {
  flex: 1; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-soft); line-height: 1.5;
}
.np-side.r { text-align: right; }
.np-side b { color: var(--ink); font-weight: 500; }
.np-wordmark {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(1.65rem, 4.5vw, 2.5rem); letter-spacing: -.015em;
  color: var(--ink); white-space: nowrap;
}
.dateline { display: flex; align-items: center; gap: .75rem; padding-bottom: .7rem; }
.dateline hr { flex: 1; border: 0; border-top: 1px solid var(--ink); }
.dateline span {
  font-family: var(--font-mono); font-size: .58rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; text-align: center;
}

/* ============================================================
   HERO — centred
   ============================================================ */
.hero { padding-block: clamp(2.25rem, 5vw, 3.75rem); }
.hero-inner { position: relative; text-align: center; }
.hero-frame { position: absolute; inset: -1rem 0; pointer-events: none; }
.corner { position: absolute; width: 16px; height: 16px; border-color: var(--line); border-style: solid; }
.corner-tl { top: 0; left: 0; border-width: 1px 0 0 1px; }
.corner-tr { top: 0; right: 0; border-width: 1px 1px 0 0; }
.corner-bl { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.corner-br { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
.hero-eyebrow { margin-bottom: 1rem; }
.hero-headline {
  font-size: clamp(1.9rem, 5vw, 3.25rem); font-weight: 500;
  max-width: 880px; line-height: 1.12; margin: 0 auto 1.1rem;
  color: var(--ink); letter-spacing: -.02em;
}
.hero-headline em { font-style: italic; color: var(--green); }
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem); color: var(--ink-soft);
  max-width: 60ch; line-height: 1.6; margin: 0 auto 1.6rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* ---- sample weekly-summary mock (illustration) ---- */
.summary-mock {
  max-width: 460px; margin: clamp(1.75rem, 4vw, 2.5rem) auto 0; text-align: left;
  background: var(--paper-2); border: 1px solid var(--line); border-top: 3px solid var(--ink);
  padding: clamp(1.2rem, 3vw, 1.6rem) clamp(1.3rem, 3.5vw, 1.75rem);
  box-shadow: 4px 5px 0 0 var(--line);
}
.sm-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.sm-flag { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.sm-tag { font-family: var(--font-mono); font-size: .55rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brass-deep); }
.sm-rule { height: 1px; background: var(--ink); margin: .7rem 0; }
.sm-title { font-family: var(--font-serif); font-weight: 600; font-size: 1.15rem; color: var(--ink); text-align: center; line-height: 1.1; }
.sm-sub { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); text-align: center; margin-bottom: .9rem; }
.sm-list { display: flex; flex-direction: column; gap: .5rem; margin-bottom: .85rem; }
.sm-list li { display: flex; align-items: baseline; gap: .35rem; font-size: .82rem; line-height: 1.3; }
.sm-desc { color: var(--ink-soft); }
.sm-dots { flex: 1; border-bottom: 1px dotted var(--line); position: relative; top: -3px; min-width: 14px; }
.sm-price { font-family: var(--font-mono); font-size: .74rem; color: var(--ink); white-space: nowrap; }
.sm-foot { font-family: var(--font-mono); font-size: .56rem; letter-spacing: .03em; color: var(--ink-soft); text-align: center; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding-block: var(--section-gap); }
.section-alt { background: var(--paper-2); }
.section-tag { display: flex; align-items: baseline; gap: .6rem; margin-bottom: clamp(1.25rem, 3vw, 2rem); }
.section-tag .eyebrow { color: var(--brass-deep); }
.section-heading {
  font-size: clamp(1.45rem, 3vw, 2.1rem); font-weight: 500;
  color: var(--ink); letter-spacing: -.015em;
}

/* ---- HOW IT WORKS — 3 columns with rules ---- */
.steps { display: grid; grid-template-columns: 1fr; gap: 1.75rem; }
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .step { padding-inline: clamp(1rem, 2.5vw, 2rem); }
  .step:first-child { padding-left: 0; }
  .step:last-child { padding-right: 0; }
  .step + .step { border-left: 1px solid var(--line); }
}
.step-num {
  font-family: var(--font-mono); font-size: .62rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: .7rem;
}
.step-icon { color: var(--green); margin-bottom: .7rem; }
.step-heading { font-size: 1.15rem; font-weight: 500; color: var(--ink); margin-bottom: .45rem; letter-spacing: -.01em; }
.step-body { font-size: .97rem; color: var(--ink-soft); line-height: 1.55; }

/* ---- ABOUT + OFFER — side-by-side band ---- */
.band { display: grid; grid-template-columns: 1fr; gap: clamp(1.75rem, 4vw, 3rem); align-items: start; }
@media (min-width: 820px) { .band { grid-template-columns: 1fr minmax(300px, 360px); } }
.about-heading {
  font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 500; font-style: italic;
  color: var(--ink); line-height: 1.25; margin-bottom: .9rem; max-width: 30ch;
}
.about-bio { font-size: 1rem; color: var(--ink-soft); line-height: 1.62; margin-bottom: 1.1rem; max-width: 60ch; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip {
  font-family: var(--font-mono); font-size: .62rem; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: var(--green); background: var(--paper);
  border: 1px solid var(--line); padding: .42em .8em; border-radius: 1px; white-space: nowrap;
}
.offer-card {
  background: var(--paper-2); border: 1px solid var(--line); border-top: 3px solid var(--green);
  padding: clamp(1.4rem, 3vw, 1.9rem);
}
.offer-eyebrow { color: var(--brass-deep); display: block; margin-bottom: .8rem; }
.offer-price-row { display: flex; align-items: baseline; gap: .3em; }
.offer-price { font-family: var(--font-mono); font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 500; color: var(--ink); line-height: 1; letter-spacing: -.02em; }
.offer-period { font-family: var(--font-mono); font-size: .95rem; color: var(--ink-soft); }
.offer-sub {
  font-family: var(--font-mono); font-size: .62rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-soft); margin: .6rem 0 1.1rem;
}
.checklist { display: flex; flex-direction: column; gap: .65rem; }
.check-item { display: flex; align-items: flex-start; gap: .6rem; font-size: .95rem; color: var(--ink); line-height: 1.45; }
.check-item svg { color: var(--green); flex-shrink: 0; margin-top: .12em; }

/* ============================================================
   CTA BAND — forest green (mirrors the poster)
   ============================================================ */
.cta { background: var(--green); color: var(--paper); }
.cta-inner { text-align: center; padding-block: clamp(2rem, 5vw, 3.25rem); }
.cta .eyebrow { color: #bcd3c9; margin-bottom: .75rem; }
.cta-heading { color: var(--paper); font-size: clamp(1.5rem, 3.4vw, 2.3rem); font-weight: 500; letter-spacing: -.01em; margin-bottom: 1.4rem; }
.cta-lines { display: flex; align-items: center; justify-content: center; gap: clamp(1.1rem, 3vw, 2.4rem); flex-wrap: wrap; }
.cta-item {
  display: inline-flex; align-items: center; gap: .55rem; color: var(--paper);
  min-height: 44px; border-bottom: 1.5px solid transparent; padding-bottom: 2px;
  transition: border-color .18s ease-out;
}
.cta-item:hover { border-color: rgba(247, 243, 234, .55); }
.cta-item svg { color: #cdb98f; flex-shrink: 0; }
.cta-phone { font-family: var(--font-serif); font-size: clamp(1.5rem, 3.2vw, 2rem); font-weight: 600; letter-spacing: -.01em; }
.cta-email { font-family: var(--font-mono); font-size: clamp(.85rem, 1.6vw, 1rem); }
.cta-div { width: 1px; height: 28px; background: rgba(247, 243, 234, .28); }
@media (max-width: 560px) {
  .cta-lines { flex-direction: column; gap: 1rem; }
  .cta-div { display: none; }
}

/* ============================================================
   FOOTER — compact
   ============================================================ */
.footer { padding-block: clamp(1.5rem, 3vw, 2.25rem); border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-direction: column; gap: .5rem; }
.footer-main { font-size: .85rem; color: var(--ink-soft); max-width: 72ch; line-height: 1.55; }
.footer-privacy { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-soft); }
.footer-copy { font-family: var(--font-mono); font-size: .62rem; color: var(--ink-soft); }

/* nameplate: drop the flanking lines on small screens, keep it clean */
@media (max-width: 559px) {
  .np-side { display: none; }
  .nameplate { justify-content: center; padding-block: .85rem .2rem; }
  .np-wordmark { font-size: 1.9rem; }
}

/* ============================================================
   MOTION — scroll reveal + hero rise (respect reduced-motion)
   ============================================================ */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .28s ease-out, transform .28s ease-out; }
  .reveal.revealed { opacity: 1; transform: none; }
  .animate-hero { opacity: 0; transform: translateY(12px); animation: hero-rise .32s ease-out forwards; animation-delay: var(--delay, 0ms); }
  @keyframes hero-rise { to { opacity: 1; transform: none; } }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  body::before { display: none; }
  body { background: #fff; color: #000; }
  .cta { background: #fff; color: #000; }
}
