/* ===================================================================
   Breaking Point — Perry Belcher
   Design language: private-office premium. Ink, bone, brass.
   Deliberately NOT a guru funnel: no neon, no countdown, no stock
   handshake photos. Restraint signals price.
   =================================================================== */

:root {
  --ink:        #0f1115;
  --ink-soft:   #1a1e26;
  --ink-line:   #262c36;
  --bone:       #f6f3ee;
  --bone-dim:   #e7e2d9;
  --paper:      #fffdfa;
  --brass:      #b8934f;
  --brass-lit:  #d4ac63;
  --rust-solid: #9c3d2e;
  --grey:       #6b7280;
  --grey-soft:  #9aa1ab;
  --green:      #2f6f4f;

  --serif: 'Newsreader', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --measure: 34rem;      /* optimal reading width for long copy */
  --wide:    72rem;
  --r:       4px;        /* tight radius = serious */
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); }
p  { margin: 0 0 1.15em; }
a  { color: inherit; }

strong, b { font-weight: 650; }
em { font-style: italic; }

.lede { font-size: clamp(1.1rem, 2.1vw, 1.32rem); line-height: 1.55; color: #2b313b; }
.kicker {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 1.1rem;
}
.tight { max-width: var(--measure); margin-inline: auto; }
.center { text-align: center; }

/* ---------- layout ---------- */
.wrap { width: min(100% - 2.5rem, var(--wide)); margin-inline: auto; }
section { padding: clamp(3.2rem, 7vw, 6rem) 0; }
.rule { height: 1px; background: var(--bone-dim); border: 0; margin: 0; }

/* ---------- dark blocks ---------- */
.dark { background: var(--ink); color: var(--bone); }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark .lede { color: #c8cdd6; }
.dark .kicker { color: var(--brass-lit); }
.dark a { color: var(--brass-lit); }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(120% 80% at 50% -10%, #1b212c 0%, transparent 60%),
    var(--ink);
  color: var(--bone);
  padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3rem, 7vw, 5.5rem);
  border-bottom: 1px solid var(--ink-line);
}
.hero h1 { color: #fff; max-width: 20ch; margin-inline: auto; }
.hero .sub { color: #c3c9d3; max-width: 46ch; margin: 1.4rem auto 0; font-size: clamp(1.05rem, 2vw, 1.28rem); }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; justify-content: center;
  margin-top: 2.2rem; font-size: .84rem; color: var(--grey-soft);
  font-family: var(--mono); letter-spacing: .02em;
}
.hero-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-meta span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--brass); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--brass);
  color: #14171d;
  font-weight: 650;
  font-size: 1.02rem;
  padding: 1rem 2.1rem;
  border: 0;
  border-radius: var(--r);
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.btn:hover { background: var(--brass-lit); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-lg { font-size: 1.1rem; padding: 1.15rem 2.6rem; }
.btn-ghost {
  background: transparent; color: var(--bone);
  border: 1px solid #414855;
}
.btn-ghost:hover { background: #1b2028; border-color: var(--brass); }
.btn-block { display: block; width: 100%; text-align: center; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

.cta-note { font-size: .86rem; color: var(--grey); margin-top: .9rem; }
.dark .cta-note { color: var(--grey-soft); }

/* ---------- the keep equation ---------- */
.equation {
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  border-radius: 6px;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  text-align: center;
  margin: 2rem auto 0;
  max-width: 52rem;
}
.equation .eq-line {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 3vw, 1.85rem);
  color: #fff;
  line-height: 1.5;
  margin: 0;
}
.equation .eq-term { color: var(--brass-lit); font-style: italic; }
.equation .eq-sub {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--grey-soft); margin-top: 1.1rem;
}

/* ---------- pillar cards ---------- */
.pillars { display: grid; gap: 1.15rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin-top: 2.6rem; }
.pillar {
  background: var(--paper);
  border: 1px solid var(--bone-dim);
  border-top: 3px solid var(--brass);
  border-radius: var(--r);
  padding: 1.6rem 1.5rem;
}
.pillar h3 { margin-bottom: .4rem; }
.pillar p { margin: 0; font-size: .97rem; color: #3b424e; }
.pillar .num {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em;
  color: var(--brass); display: block; margin-bottom: .7rem;
}

/* ---------- long-form letter ---------- */
.letter { max-width: var(--measure); margin-inline: auto; }
.letter p { font-size: 1.09rem; line-height: 1.72; }
.letter h2 { margin-top: 2.4rem; }
.letter h3 { margin-top: 2rem; }
.letter blockquote {
  margin: 1.8rem 0;
  padding: 1.1rem 0 1.1rem 1.4rem;
  border-left: 3px solid var(--brass);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  color: #2b313b;
}
.letter ul { padding-left: 1.15rem; margin: 0 0 1.3rem; }
.letter li { margin-bottom: .6rem; }
.letter li::marker { color: var(--brass); }

.pullquote {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3vw, 1.85rem);
  line-height: 1.35;
  text-align: center;
  color: var(--ink);
  max-width: 30ch;
  margin: 2.6rem auto;
}

/* ---------- agenda / day blocks ---------- */
.day {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  padding: 1.7rem 0;
  border-top: 1px solid var(--bone-dim);
}
.day:last-child { border-bottom: 1px solid var(--bone-dim); }
.day-num {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .14em;
  color: var(--brass);
  padding-top: .35rem;
  white-space: nowrap;
}
.day h3 { margin-bottom: .45rem; }
.day p { margin: 0 0 .7rem; color: #3b424e; }
.day ul { margin: 0; padding-left: 1.1rem; font-size: .96rem; color: #3b424e; }
.day li { margin-bottom: .35rem; }
.day li::marker { color: var(--brass); }
.day .leave {
  margin-top: .9rem; font-size: .9rem; color: var(--ink);
  background: var(--bone); border-left: 2px solid var(--brass);
  padding: .6rem .9rem; border-radius: 0 var(--r) var(--r) 0;
}

/* ---------- comparison table ---------- */
.compare { width: 100%; border-collapse: collapse; margin-top: 2rem; font-size: .97rem; }
.compare th, .compare td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--ink-line); }
.compare thead th {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--grey-soft); font-weight: 500;
}
.compare tbody th { font-weight: 500; color: var(--bone); }
.compare .yes { color: var(--brass-lit); font-weight: 600; }
.compare .no  { color: #6d737d; }

/* ---------- qualify lists ---------- */
.two-col { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); margin-top: 2rem; }
.qual { border: 1px solid var(--bone-dim); border-radius: var(--r); padding: 1.5rem; background: var(--paper); }
.qual.no { background: #faf7f4; }
.qual h3 { font-size: 1.1rem; }
.qual ul { list-style: none; padding: 0; margin: 0; }
.qual li { position: relative; padding-left: 1.6rem; margin-bottom: .7rem; font-size: .97rem; color: #3b424e; }
.qual li::before {
  position: absolute; left: 0; top: -.05em;
  font-family: var(--sans); font-weight: 700;
}
.qual.yes li::before { content: '\2713'; color: var(--green); }
.qual.no  li::before { content: '\2715'; color: var(--rust-solid); }

/* ---------- price ---------- */
.price-box {
  border: 1px solid var(--ink-line);
  background: var(--ink-soft);
  border-radius: 6px;
  padding: clamp(1.8rem, 4vw, 2.8rem);
  text-align: center;
  max-width: 40rem;
  margin: 2rem auto 0;
}
.price-fig { font-family: var(--serif); font-size: clamp(2.6rem, 7vw, 4rem); color: #fff; line-height: 1; }
.price-terms { font-family: var(--mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-soft); margin-top: .8rem; }
.includes { text-align: left; margin: 1.8rem auto 0; max-width: 30rem; list-style: none; padding: 0; }
.includes li { position: relative; padding-left: 1.5rem; margin-bottom: .6rem; font-size: .97rem; color: #c8cdd6; }
.includes li::before { content: '\2014'; position: absolute; left: 0; color: var(--brass); }

/* ---------- guarantee ---------- */
.guarantee {
  border: 2px solid var(--brass);
  border-radius: 6px;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  max-width: 44rem;
  margin: 0 auto;
  background: var(--paper);
}
.guarantee h3 { color: var(--ink); margin-bottom: .6rem; }
.guarantee p:last-child { margin-bottom: 0; }

/* ---------- application form ---------- */
.form-card {
  background: var(--paper);
  border: 1px solid var(--bone-dim);
  border-radius: 6px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  max-width: 44rem;
  margin: 2rem auto 0;
}
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-size: .87rem; font-weight: 600; margin-bottom: .38rem; color: #2b313b; }
.field .req { color: var(--rust-solid); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: .78rem .9rem;
  border: 1px solid #cfc9bf;
  border-radius: var(--r);
  background: #fff;
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(184,147,79,.18);
}
.field textarea { resize: vertical; min-height: 5.5rem; }
.field-invalid { border-color: var(--rust-solid) !important; background: #fdf6f4; }
.field-row { display: grid; gap: 1.15rem; grid-template-columns: 1fr 1fr; }
.hp { position: absolute; left: -9999px; top: -9999px; }
.form-note { font-size: .85rem; color: var(--grey); margin-top: 1rem; text-align: center; }
.form-error {
  background: #fdf3f1; border: 1px solid #e7c4bb; color: #8a3526;
  padding: .9rem 1rem; border-radius: var(--r); font-size: .93rem; margin-bottom: 1.2rem;
}
.form-success { text-align: center; padding: 2rem 1rem; }
.form-success h3 { color: var(--green); }

/* ---------- faq ---------- */
.faq { max-width: 44rem; margin: 2rem auto 0; }
.faq-item { border-bottom: 1px solid var(--bone-dim); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer;
  font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--ink);
  text-align: left; padding: 1.1rem 2rem 1.1rem 0; position: relative;
}
.faq-q::after {
  content: '+'; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-weight: 400; font-size: 1.4rem; color: var(--brass);
}
.faq-q[aria-expanded="true"]::after { content: '\2212'; }
.faq-a { padding: 0 0 1.2rem; color: #3b424e; font-size: .99rem; }
.faq-a p:last-child { margin-bottom: 0; }

/* ---------- sticky bar ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(15,17,21,.97);
  border-top: 1px solid var(--ink-line);
  padding: .8rem 1rem;
  display: flex; align-items: center; justify-content: center; gap: 1.2rem;
  transform: translateY(110%);
  transition: transform .25s ease;
  backdrop-filter: blur(6px);
}
.sticky-bar.is-visible { transform: translateY(0); }
.sticky-bar .s-text { color: var(--bone); font-size: .93rem; }
.sticky-bar .s-text b { color: #fff; }
@media (max-width: 33rem) { .sticky-bar .s-text { display: none; } .sticky-bar .btn { width: 100%; } }

/* ---------- footer ---------- */
footer { background: var(--ink); color: var(--grey-soft); padding: 3rem 0 4.5rem; font-size: .88rem; }
footer a { color: var(--bone-dim); }
.disclaimer { font-size: .8rem; line-height: 1.55; color: #767d88; max-width: 52rem; margin-top: 1.4rem; }

/* ---------- responsive ---------- */
@media (max-width: 40rem) {
  .field-row { grid-template-columns: 1fr; }
  .day { grid-template-columns: 1fr; gap: .5rem; }
  .compare { font-size: .87rem; }
  .compare th, .compare td { padding: .65rem .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .sticky-bar, .btn { display: none; }
  body { background: #fff; }
}


/* ===================================================================
   REFINEMENT PASS — density, hierarchy, and form legibility
   =================================================================== */

/* --- more air between sections and inside long copy --- */
section { padding: clamp(4rem, 9vw, 8rem) 0; }
.letter p { margin-bottom: 1.35em; }
.letter h2 { margin-top: 3.2rem; margin-bottom: 1rem; }
.letter h2:first-child { margin-top: 0; }

/* --- hero: give the sub real presence, lift the CTA --- */
.hero h1 { letter-spacing: -0.025em; }
.hero .sub {
  font-size: clamp(1.14rem, 2.2vw, 1.42rem);
  line-height: 1.5;
  color: #cfd5de;
  max-width: 42ch;
  margin-top: 1.7rem;
}
.hero .btn-lg { font-size: 1.15rem; padding: 1.25rem 3rem; }

/* --- pillar cards: real visual weight --- */
.pillars { gap: 1.35rem; margin-top: 3rem; }
.pillar {
  background: linear-gradient(180deg, #fffdfa 0%, #faf7f2 100%);
  border: 1px solid #ddd6ca;
  border-top: 4px solid var(--brass);
  padding: 2rem 1.75rem;
  box-shadow: 0 1px 2px rgba(15,17,21,.04), 0 8px 24px -12px rgba(15,17,21,.10);
  transition: transform .18s ease, box-shadow .18s ease;
}
.pillar:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(15,17,21,.05), 0 14px 32px -14px rgba(15,17,21,.18);
}
.pillar h3 { font-size: 1.42rem; margin-bottom: .55rem; }
.pillar p { font-size: 1rem; line-height: 1.6; }
.pillar .num { font-size: .68rem; letter-spacing: .18em; margin-bottom: .9rem; }

/* --- pull quotes: more space, more authority --- */
.pullquote {
  margin: 3.4rem auto;
  padding: 0 1rem;
  font-size: clamp(1.4rem, 3.4vw, 2.1rem);
  line-height: 1.3;
  position: relative;
}
.pullquote::before,
.pullquote::after {
  content: '';
  display: block;
  width: 46px; height: 2px;
  background: var(--brass);
  margin: 0 auto 1.6rem;
}
.pullquote::after { margin: 1.6rem auto 0; }

/* --- letter blockquote --- */
.letter blockquote { font-size: 1.32rem; margin: 2.2rem 0; }

/* --- form on dark: stop the white glare --- */
.dark .form-card {
  background: #161a21;
  border: 1px solid var(--ink-line);
  box-shadow: 0 24px 60px -30px rgba(0,0,0,.7);
}
.dark .field label { color: #d6dae1; }
.dark .field input,
.dark .field select,
.dark .field textarea {
  background: #1e232c;
  border-color: #333b47;
  color: var(--bone);
}
.dark .field input::placeholder,
.dark .field textarea::placeholder { color: #6f7785; }
.dark .field input:focus,
.dark .field select:focus,
.dark .field textarea:focus {
  border-color: var(--brass);
  background: #232935;
  box-shadow: 0 0 0 3px rgba(184,147,79,.22);
}
.dark .field .req { color: #d98b78; }
.dark .form-note { color: var(--grey-soft); }
.dark .form-error { background: #2a1c19; border-color: #6b3a2e; color: #f0b9a9; }
.dark .form-success h3 { color: var(--brass-lit); }
.dark .form-success p { color: #c8cdd6; }
.dark .field-invalid { border-color: #c9705c !important; background: #2a1f1c !important; }

/* --- qualify columns: clearer separation --- */
.qual { padding: 1.9rem 1.75rem; }
.qual.yes { border-left: 4px solid var(--green); }
.qual.no  { border-left: 4px solid #c2b6a6; background: #f7f4ef; }
.qual h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.qual li { margin-bottom: .85rem; line-height: 1.5; }

/* --- FAQ: give it weight --- */
.faq { margin-top: 2.6rem; }
.faq-item { border-bottom: 1px solid var(--bone-dim); }
.faq-item:first-child { border-top: 1px solid var(--bone-dim); }
.faq-q { padding: 1.35rem 2.4rem 1.35rem 0; font-size: 1.16rem; transition: color .15s ease; }
.faq-q:hover { color: var(--brass); }
.faq-q::after {
  width: 26px; height: 26px; line-height: 24px; text-align: center;
  border: 1px solid var(--bone-dim); border-radius: 50%; font-size: 1.05rem;
}
.faq-a { padding: 0 0 1.5rem; line-height: 1.65; }

/* --- day blocks: more breathing room --- */
.day { padding: 2.1rem 0; gap: 1.8rem; }
.day h3 { font-size: 1.4rem; }
.day .leave { margin-top: 1.1rem; padding: .8rem 1.1rem; }

/* --- comparison table --- */
.compare { margin-top: 2.6rem; }
.compare th, .compare td { padding: 1rem 1.1rem; }
.compare tbody tr:hover td, .compare tbody tr:hover th { background: rgba(255,255,255,.025); }

/* --- equation: more presence --- */
.equation { padding: clamp(2rem, 5vw, 3.4rem); margin-top: 2.6rem; }

/* --- section intro spacing --- */
.kicker { margin-bottom: 1.3rem; }


/* ===================================================================
   PASS 3 — card elevation, hero sizing discipline
   =================================================================== */

/* Pillars sit on a light section; give them true separation + lift */
.pillars-band {
  background: linear-gradient(180deg, #f2ede4 0%, #ece5d9 100%);
  border-top: 1px solid #ddd6ca;
  border-bottom: 1px solid #ddd6ca;
}
.pillar {
  background: #fffdfa;
  border: 1px solid #e3dbcd;
  border-top: 4px solid var(--brass);
  box-shadow:
    0 1px 1px rgba(15,17,21,.04),
    0 4px 8px -2px rgba(15,17,21,.06),
    0 18px 36px -18px rgba(15,17,21,.22);
}
.pillar:hover {
  box-shadow:
    0 1px 1px rgba(15,17,21,.05),
    0 8px 16px -4px rgba(15,17,21,.10),
    0 28px 48px -20px rgba(15,17,21,.30);
}

/* Hero: keep impact, stop it eating the fold */
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); max-width: 19ch; }
.hero { padding: clamp(2.8rem, 6.5vw, 5.5rem) 0 clamp(2.8rem, 6vw, 4.8rem); }
.hero-meta { margin-top: 2rem; }

/* Equation legibility on small screens */
@media (max-width: 34rem) {
  .equation .eq-line { font-size: 1.02rem; line-height: 1.7; }
}


/* ===================================================================
   PASS 4 — imagery
   =================================================================== */

/* Full-bleed cinematic band */
.figure-band {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--ink);
}
.figure-band img {
  display: block;
  width: 100%;
  height: clamp(15rem, 34vw, 26rem);
  object-fit: cover;
  filter: saturate(.88) contrast(1.04);
}
.figure-band figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.6rem 1.5rem 1.15rem;
  background: linear-gradient(180deg, transparent, rgba(15,17,21,.88));
  color: #e7e2d9;
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
}

/* Hero backdrop image */
.hero {
  position: relative;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-image: url('/assets/img/living-room.jpg');
  background-size: cover;
  background-position: center 60%;
}
.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(15,17,21,.80) 0%, rgba(15,17,21,.90) 55%, rgba(15,17,21,.97) 100%);
}

/* Inline figure inside letter copy */
.letter figure { margin: 2.6rem 0; }
.letter figure img {
  width: 100%;
  border-radius: 5px;
  display: block;
  filter: saturate(.9) contrast(1.03);
}
.letter figcaption {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: .7rem;
  text-align: center;
}

@media (max-width: 34rem) {
  .figure-band img { height: 13rem; }
  .hero-bg { background-position: center center; }
}
