/* AI Employees for Realtors — landing page only.
   Other pages keep styles.css; do not link this file elsewhere.
   v3 2026-07-07: diagnostic-luxury amp (grain, marquee, ghost numerals,
   Rx artifact, dark quote band, drawn strike, scroll progress). */

:root {
  --bone: #f7f3ec;
  --bone-2: #f1eadf;
  --paper: #fdfaf4;
  --ink: #191512;
  --ink-2: #24201c;
  --ink-soft: rgba(25, 21, 18, 0.68);
  --ink-faint: rgba(25, 21, 18, 0.38);
  --hairline: rgba(25, 21, 18, 0.14);
  --brick: #96401f;
  --brick-soft: #b4602f;
  --brick-glow: rgba(150, 64, 31, 0.32);
  --bone-on-ink: rgba(247, 243, 236, 0.92);
  --bone-on-ink-soft: rgba(247, 243, 236, 0.62);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

::selection { background: var(--brick); color: var(--bone); }

.skip-link { position: absolute; left: -9999px; }

/* ---- type ---- */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 420;
  letter-spacing: -0.015em;
  margin: 0;
}

h1 { font-size: clamp(2.9rem, 8.4vw, 6.6rem); line-height: 1.01; }
h2 { font-size: clamp(1.9rem, 4.6vw, 3.4rem); line-height: 1.08; }
h3 { font-size: 1.45rem; line-height: 1.25; }

h1 em, h2 em { font-style: italic; color: var(--brick); }

/* drawn strike-through on "the wrong thing." */
h1 em {
  background: linear-gradient(to right, rgba(25, 21, 18, 0.78), rgba(25, 21, 18, 0.78)) no-repeat 0 58%;
  background-size: 0% 0.055em;
  padding-right: 0.06em;
}
html.js:not(.noanim) h1 em { animation: strike 0.8s var(--ease-out) 1.15s forwards; }
html:not(.js) h1 em, html.noanim h1 em { background-size: 100% 0.055em; }
@keyframes strike { to { background-size: 100% 0.055em; } }

.kicker {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.kicker .rule { flex: 0 0 72px; height: 1px; background: var(--hairline); }
.kicker-light { color: var(--bone-on-ink-soft); justify-content: center; }

/* ---- masthead ---- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.05rem clamp(1.2rem, 5vw, 4rem);
  background: color-mix(in srgb, var(--bone) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}

/* reading progress bar */
@supports (animation-timeline: scroll()) {
  .masthead::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 2px;
    width: 100%;
    background: var(--brick);
    transform-origin: left;
    transform: scaleX(0);
    animation: readProgress linear forwards;
    animation-timeline: scroll(root);
  }
  @keyframes readProgress { to { transform: scaleX(1); } }
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 550;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark span { color: var(--ink-soft); font-weight: 380; }

.masthead-nav { display: flex; gap: 1.9rem; }
.masthead-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s;
}
.masthead-nav a:hover { color: var(--brick); }

.masthead-cta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bone);
  background: var(--ink);
  text-decoration: none;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.18s;
}
.masthead-cta:hover { background: var(--brick); transform: translateY(-1px); }

@media (max-width: 760px) {
  .masthead-nav { display: none; }
}

/* ---- hero ---- */

.hero {
  position: relative;
  padding: clamp(4.5rem, 10vw, 8rem) clamp(1.2rem, 6vw, 5rem) clamp(4rem, 8vw, 6.5rem);
  max-width: 1200px;
  margin: 0 auto;
}

/* blueprint grid that fades out toward the bottom */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(25, 21, 18, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 21, 18, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}

.hero > * { position: relative; }

.hero-lede { max-width: 40rem; margin-top: 1.9rem; }
.hero-lede p { margin: 0; font-size: 1.16rem; color: var(--ink-soft); }

.hero-actions { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; margin-top: 2.3rem; }

.btn-ink {
  position: relative;
  overflow: hidden;
  display: inline-block;
  background: var(--ink);
  color: var(--bone);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  transition: transform 0.18s, box-shadow 0.18s, background 0.25s;
  box-shadow: 0 12px 30px rgba(25, 21, 18, 0.22);
}
.btn-ink:hover { transform: translateY(-2px); background: var(--brick); box-shadow: 0 16px 36px var(--brick-glow); }
.btn-ink::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(247, 243, 236, 0.22) 50%, transparent 68%);
  background-size: 240% 100%;
  animation: shimmer 3.6s ease-in-out infinite;
}
@keyframes shimmer { 0% { background-position: -140% 0; } 100% { background-position: 240% 0; } }

.btn-quiet {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--ink-faint);
  padding-bottom: 0.15rem;
  transition: color 0.2s, border-color 0.2s;
}
.btn-quiet:hover { color: var(--brick); border-color: var(--brick); }

/* Rx card — paper artifact */
.rx-card {
  position: relative;
  margin: 3.4rem 0 0;
  max-width: 30rem;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 1.5rem 1.6rem 1.25rem;
  box-shadow:
    0 1px 2px rgba(25, 21, 18, 0.08),
    0 14px 34px rgba(25, 21, 18, 0.13),
    0 30px 60px rgba(25, 21, 18, 0.08);
  transform: rotate(-1.4deg);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.rx-card:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 0 2px 4px rgba(25,21,18,0.08), 0 22px 48px rgba(25, 21, 18, 0.18); }
/* perforated top edge */
.rx-card::before {
  content: "";
  position: absolute;
  top: -1px; left: 8%; right: 8%;
  height: 2px;
  background-image: radial-gradient(circle at 4px 1px, var(--bone) 2.5px, transparent 3px);
  background-size: 14px 2px;
}
/* rubber stamp */
.rx-card::after {
  content: "CREDITED · OR · REFUNDED";
  position: absolute;
  top: -0.9rem;
  right: -0.7rem;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--brick);
  border: 2px solid var(--brick);
  border-radius: 4px;
  padding: 0.34rem 0.6rem;
  transform: rotate(6deg);
  opacity: 0.85;
  mix-blend-mode: multiply;
  background: transparent;
}

.rx-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 550;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 0.75rem;
  margin-bottom: 0.4rem;
}
.rx-price { color: var(--brick); font-size: 1.35rem; }

.rx-line {
  display: grid;
  grid-template-columns: 6.4rem 1fr;
  gap: 0.8rem;
  padding: 0.62rem 0;
  border-bottom: 1px dashed var(--hairline);
  font-size: 0.95rem;
}
.rx-line span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-top: 0.2rem;
}
.rx-line strong { font-weight: 600; }

.rx-foot { padding-top: 0.8rem; font-size: 0.82rem; color: var(--ink-soft); }

.hero-note { margin-top: 2.6rem; max-width: 34rem; font-size: 0.95rem; color: var(--ink-soft); font-style: italic; }

/* ---- marquee ---- */

.marquee {
  background: var(--ink);
  color: var(--bone-on-ink);
  overflow: hidden;
  padding: 0.9rem 0;
  white-space: nowrap;
  border-top: 1px solid var(--hairline);
}
.marquee-track { display: inline-flex; align-items: baseline; animation: marquee 30s linear infinite; }
.marquee span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  padding: 0 1.5rem;
}
.marquee .mark { color: var(--brick-soft); font-style: normal; padding: 0; font-family: var(--sans); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
html.noanim .marquee-track { animation: none; }

/* ---- chapters ---- */

.chapter {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) clamp(1.2rem, 6vw, 5rem);
}

.chapter-head { position: relative; margin-bottom: 1.6rem; min-height: 4.6rem; display: flex; align-items: flex-end; }

/* ghost numeral */
.chapter-num {
  position: absolute;
  top: 50%;
  left: -0.06em;
  transform: translateY(-58%);
  font-family: var(--serif);
  font-size: clamp(7rem, 16vw, 11rem);
  font-weight: 500;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(150, 64, 31, 0.3);
  pointer-events: none;
  user-select: none;
}
.chapter-head .kicker { margin: 0 0 0 clamp(4.6rem, 11vw, 8rem); }

.chapter h2 { max-width: 46rem; }
.chapter-body { max-width: 41rem; margin-top: 1.6rem; }
.chapter-body p { margin: 0 0 1.1rem; color: var(--ink-soft); }
.chapter-body p:last-child { margin-bottom: 0; }

.standout {
  font-family: var(--serif);
  font-size: 1.42rem;
  line-height: 1.35;
  color: var(--ink) !important;
  border-left: 3px solid var(--brick);
  padding-left: 1.2rem;
  margin: 1.7rem 0 !important;
}

.chapter-sub { max-width: 40rem; margin: 1.1rem 0 0; color: var(--ink-soft); }

/* ---- quote band (dark) ---- */

.quote-band {
  position: relative;
  background:
    radial-gradient(ellipse 70% 90% at 88% 10%, rgba(150, 64, 31, 0.24) 0%, transparent 55%),
    var(--ink);
  color: var(--bone-on-ink);
  padding: clamp(4.5rem, 10vw, 7.5rem) clamp(1.2rem, 6vw, 5rem);
}
.quote-band blockquote {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
}
.quote-band blockquote::before {
  content: "\201C";
  position: absolute;
  top: -0.55em;
  left: -0.08em;
  font-family: var(--serif);
  font-size: clamp(6rem, 14vw, 10rem);
  line-height: 1;
  color: var(--brick-soft);
  opacity: 0.55;
}
.quote-band blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 420;
  font-size: clamp(1.9rem, 5vw, 3.3rem);
  line-height: 1.16;
  margin: 0;
  max-width: 24ch;
}
.quote-support {
  max-width: 1080px;
  margin: 2rem auto 0;
  color: var(--bone-on-ink-soft);
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 900px) {
  .quote-band blockquote p { margin-left: 1.5rem; }
  .quote-support { margin-left: calc(50% - 540px + 1.5rem); }
}

/* ---- process ---- */

.process-list {
  list-style: none;
  margin: 2.6rem 0 0;
  padding: 0;
  position: relative;
}
.process-list::before {
  content: "";
  position: absolute;
  left: 1.35rem;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 1px;
  background: linear-gradient(var(--hairline), rgba(150, 64, 31, 0.4), var(--hairline));
}
.process-list li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1.5rem;
  padding: 1.4rem 0;
  position: relative;
}
.step-num {
  width: 2.75rem;
  height: 2.75rem;
  border: 1.5px solid var(--brick);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--brick);
  background: var(--bone);
  position: relative;
  z-index: 1;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.process-list li:hover .step-num { background: var(--brick); color: var(--bone); transform: scale(1.08); }
.process-list h3 { margin-bottom: 0.35rem; }
.process-list p { margin: 0; color: var(--ink-soft); max-width: 38rem; }

/* ---- founder ---- */

.founder {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) clamp(1.2rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } }

.founder-photo { margin: 0; position: relative; transform: rotate(-2deg); }
.founder-photo img {
  width: 100%;
  height: auto;
  display: block;
  border: 10px solid #fff;
  border-bottom-width: 14px;
  box-shadow: 0 18px 44px rgba(25, 21, 18, 0.22);
}
/* tape strips */
.founder-photo::before,
.founder-photo::after {
  content: "";
  position: absolute;
  width: 92px;
  height: 26px;
  background: rgba(233, 220, 195, 0.75);
  box-shadow: 0 1px 3px rgba(25, 21, 18, 0.12);
  z-index: 2;
}
.founder-photo::before { top: -12px; left: -18px; transform: rotate(-38deg); }
.founder-photo::after { top: -12px; right: -18px; transform: rotate(38deg); }
.founder-photo figcaption {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
}

/* ---- tracks ---- */

.tracks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  margin-top: 2.8rem;
  align-items: start;
}
@media (max-width: 980px) { .tracks { grid-template-columns: 1fr; max-width: 34rem; } }

.track {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 1.8rem 1.6rem;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.track:hover { transform: translateY(-5px); box-shadow: 0 22px 48px rgba(25, 21, 18, 0.12); }

.track-label {
  margin: 0 0 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brick);
}
.track h3 { margin-bottom: 0.3rem; }
.track-price {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--brick);
  margin: 0 0 0.9rem;
}
.track-lede { margin: 0 0 1.1rem; color: var(--ink-soft); font-size: 0.97rem; }
.track ul { margin: 0; padding: 0; list-style: none; }
.track ul li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.4rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  border-top: 1px dashed var(--hairline);
}
.track ul li::before { content: "✳"; position: absolute; left: 0; top: 0.5rem; color: var(--brick); font-size: 0.8rem; }
.track-btn { margin-top: 1.4rem; }

.track-featured {
  background:
    radial-gradient(ellipse 90% 60% at 80% 0%, rgba(150, 64, 31, 0.3) 0%, transparent 55%),
    var(--ink);
  border-color: rgba(150, 64, 31, 0.5);
  color: var(--bone-on-ink);
  box-shadow: 0 24px 56px rgba(25, 21, 18, 0.28);
}
.track-featured:hover { box-shadow: 0 30px 64px rgba(25, 21, 18, 0.36); }
.track-featured .track-label { color: var(--brick-soft); }
.track-featured h3 { color: #fff; }
.track-featured .track-price { color: var(--brick-soft); }
.track-featured .track-lede,
.track-featured ul li { color: var(--bone-on-ink-soft); }
.track-featured ul li { border-top-color: rgba(247, 243, 236, 0.14); }
.track-featured ul li::before { color: var(--brick-soft); }

/* ---- FAQ ---- */

.faq-list { margin-top: 1.4rem; max-width: 46rem; }
.faq-list details {
  border-bottom: 1px solid var(--hairline);
  padding: 1.15rem 0.2rem;
}
.faq-list details:first-of-type { border-top: 1px solid var(--hairline); }
.faq-list summary {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  flex: none;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--brick);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--brick);
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 400;
  transition: transform 0.3s, background 0.25s, color 0.25s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--brick); color: var(--bone); }
.faq-list details p { margin: 0.8rem 0 0; color: var(--ink-soft); max-width: 42rem; }

/* ---- CTA ---- */

.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 90% at 50% 115%, rgba(150, 64, 31, 0.4) 0%, transparent 62%),
    radial-gradient(ellipse 40% 40% at 10% 0%, rgba(150, 64, 31, 0.14) 0%, transparent 55%),
    var(--ink);
  color: var(--bone-on-ink);
  padding: clamp(5rem, 11vw, 8.5rem) clamp(1.2rem, 6vw, 5rem);
}
.cta h2 { color: #fff; }
.cta h2 em { color: var(--brick-soft); }
.cta-sub { max-width: 36rem; margin: 1.4rem auto 0; color: var(--bone-on-ink-soft); }

.btn-bone {
  position: relative;
  overflow: hidden;
  display: inline-block;
  margin-top: 2.3rem;
  background: var(--bone);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 1.05rem 2.3rem;
  border-radius: 999px;
  transition: transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.btn-bone:hover { transform: translateY(-3px); box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45); }
.btn-bone::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(150, 64, 31, 0.16) 50%, transparent 68%);
  background-size: 240% 100%;
  animation: shimmer 3.2s ease-in-out infinite;
}

/* ---- footer ---- */

.site-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.6rem clamp(1.2rem, 5vw, 4rem);
  font-size: 0.85rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--hairline);
}
.foot-motto { font-family: var(--serif); font-style: italic; }

/* ---- reveals (progressive enhancement: hidden only under html.js) ---- */

html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(4px);
  transition: opacity 0.7s ease-out, transform 0.7s var(--ease-out), filter 0.7s ease-out;
}
html.js .reveal.is-visible { opacity: 1; transform: translateY(0); filter: blur(0); }

/* hero entrance stagger */
html.js .hero .reveal:nth-child(1) { transition-delay: 0.05s; }
html.js .hero .reveal:nth-child(2) { transition-delay: 0.15s; }
html.js .hero .reveal:nth-child(3) { transition-delay: 0.28s; }
html.js .hero .reveal:nth-child(4) { transition-delay: 0.4s; }
html.js .hero .reveal:nth-child(5) { transition-delay: 0.52s; }
html.js .hero .reveal:nth-child(6) { transition-delay: 0.64s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  .marquee-track { animation: none !important; }
}
