/* Ledgerstone Bookkeeping - site styles
   Colors: Harbor Navy #12384A, Buoy Red #CE3A25, Lantern Yellow #F4C430, Sea Fog #DCE9EA */

:root {
  --navy: #12384A;
  --navy-deep: #0C2937;
  --red: #CE3A25;
  --red-dark: #A92C1B;
  --yellow: #F4C430;
  --fog: #DCE9EA;
  --fog-light: #EFF5F5;
  --white: #FFFFFF;
  --slab: 'Alfa Slab One', 'Rockwell', Georgia, serif;
  --script: 'Yellowtail', 'Brush Script MT', cursive;
  --caps: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1160px;
  --line: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  font-weight: 400;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--red-dark); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .site-footer :focus-visible, .topbar :focus-visible { outline-color: var(--yellow); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: var(--white); padding: 12px 18px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- type ---------- */
.h1 { font-family: var(--slab); font-weight: 400; font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.04; letter-spacing: .005em; }
.h2 { font-family: var(--slab); font-weight: 400; font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.1; }
.h3 { font-family: var(--caps); font-weight: 700; font-size: 1.6rem; line-height: 1.15; letter-spacing: .01em; }
.red { color: var(--red); }
.script { font-family: var(--script); font-weight: 400; line-height: 1.1; }
.eyebrow { font-family: var(--caps); font-weight: 700; font-size: 1.05rem; letter-spacing: .2em; text-transform: uppercase; color: var(--red-dark); }
.on-dark .eyebrow { color: var(--yellow); }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; font-weight: 500; }
.small { font-size: 1rem; }
.center { text-align: center; }
.measure { max-width: 46rem; }
.center .measure, .measure.center { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 10px 28px;
  font-family: var(--caps); font-weight: 700; font-size: 1.3rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; line-height: 1.1;
  color: var(--white); background: var(--red);
  border: var(--line) solid var(--navy); box-shadow: 6px 6px 0 var(--navy);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  cursor: pointer;
}
.btn:hover { color: var(--white); background: var(--red-dark); transform: translate(2px, 2px); box-shadow: 4px 4px 0 var(--navy); }
.btn:active { transform: translate(6px, 6px); box-shadow: 0 0 0 var(--navy); }
.btn-ghost { background: var(--white); color: var(--navy); }
.btn-ghost:hover { background: var(--fog); color: var(--navy); }
.btn-yellow { background: var(--yellow); color: var(--navy); border-color: var(--white); box-shadow: 6px 6px 0 var(--red); }
.btn-yellow:hover { background: #FFD653; color: var(--navy); box-shadow: 4px 4px 0 var(--red); }
.btn-small { min-height: 46px; padding: 6px 20px; font-size: 1.1rem; box-shadow: 4px 4px 0 var(--navy); }
.btn-small:hover { box-shadow: 2px 2px 0 var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.center .btn-row { justify-content: center; }
.text-link { font-family: var(--caps); font-weight: 700; font-size: 1.2rem; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }

/* ---------- top strip + header ---------- */
.topbar { background: var(--navy); color: var(--white); font-family: var(--caps); font-weight: 700; font-size: .95rem; letter-spacing: .18em; text-transform: uppercase; }
.topbar .wrap { display: flex; align-items: center; gap: 18px; min-height: 40px; }
.topbar .rule { flex: 1; height: 3px; background: var(--white); min-width: 20px; }
.topbar .accent { color: var(--yellow); white-space: nowrap; }
.topbar span { white-space: nowrap; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: var(--line) solid var(--navy); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 58px; height: 58px; flex: none; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--slab); font-size: 1.75rem; line-height: 1; color: var(--red); text-shadow: 2px 2px 0 var(--navy); letter-spacing: .01em; }
.brand-sub { font-family: var(--script); font-size: 1.4rem; line-height: 1; margin-top: 2px; color: var(--navy); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  font-family: var(--caps); font-weight: 700; font-size: 1.15rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  color: var(--navy); padding: 12px 14px; border-bottom: 4px solid transparent;
}
.nav a:not(.btn):hover { border-bottom-color: var(--yellow); }
.nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--red); }
.nav .btn { margin-left: 12px; }
.nav-toggle {
  display: none; align-items: center; gap: 10px; min-height: 48px; padding: 6px 16px;
  font-family: var(--caps); font-weight: 700; font-size: 1.15rem; letter-spacing: .14em; text-transform: uppercase;
  background: var(--white); color: var(--navy); border: var(--line) solid var(--navy); cursor: pointer;
}
.nav-toggle .bars { width: 22px; height: 16px; border-top: 4px solid var(--navy); border-bottom: 4px solid var(--navy); position: relative; }
.nav-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; height: 4px; background: var(--navy); }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.bg-fog { background: var(--fog); }
.bg-yellow { background: var(--yellow); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy a:not(.btn) { color: var(--yellow); }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { align-items: center; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-lg { display: flex; flex-direction: column; gap: 32px; }
.waves { height: 34px; background: url('../img/waves.svg') repeat-x center / auto 34px; }
.waves-light { filter: brightness(0) invert(1); }

/* ---------- hero ---------- */
.hero { background: var(--fog); padding: clamp(40px, 6vw, 80px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-bottom: clamp(40px, 6vw, 72px); }
.hero .stack { gap: 24px; align-items: flex-start; }
.hero .h1 { font-size: clamp(2.3rem, 4.9vw, 4.1rem); }
.hero-note { font-family: var(--caps); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 1rem; display: flex; align-items: center; gap: 10px; }
.hero-note::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--red); flex: none; }
.frame { background: var(--white); border: 8px solid var(--navy); box-shadow: 16px 16px 0 var(--navy); padding: 34px 0 0; display: flex; flex-direction: column; align-items: center; overflow: hidden; margin-right: 16px; }
.frame .script { font-size: clamp(1.7rem, 3.2vw, 2.7rem); text-align: center; transform: rotate(-3deg); padding: 0 16px; }
.frame img { width: 100%; margin-top: 22px; }

.page-hero { background: var(--fog); padding: clamp(40px, 6vw, 72px) 0 0; }
.page-hero .inner { display: flex; flex-direction: column; gap: 16px; padding-bottom: clamp(36px, 5vw, 60px); max-width: 52rem; }

/* ---------- tagline band ---------- */
.band { background: var(--navy); color: var(--white); padding: 34px 0; text-align: center; }
.band .script { font-size: clamp(1.9rem, 4.2vw, 3.2rem); color: var(--yellow); }

/* ---------- cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--white); border: var(--line) solid var(--navy); box-shadow: 8px 8px 0 var(--navy); padding: 28px; display: flex; flex-direction: column; gap: 12px; color: var(--navy); }
.card p { font-size: 1.05rem; }
.icon { width: 60px; height: 60px; flex: none; }
.icon-chip { width: 72px; height: 72px; border-radius: 50%; background: var(--yellow); border: var(--line) solid var(--navy); display: flex; align-items: center; justify-content: center; flex: none; }
.icon-chip .icon { width: 42px; height: 42px; }
.card-link { margin-top: auto; padding-top: 8px; }

/* ---------- checklist ---------- */
.checks { display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; width: 26px; height: 26px; flex: none; margin-top: 2px; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M9 21l8 8l14-18' fill='none' stroke='%23fff' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.checks.caps li { font-family: var(--caps); font-weight: 700; font-size: 1.35rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1.2; }
.checks.caps li::before { margin-top: 0; }

/* ---------- split blocks ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split .art { display: flex; justify-content: center; }
.split .art img { width: min(100%, 520px); }
.sun { width: min(100%, 440px); aspect-ratio: 1; border-radius: 50%; background: var(--yellow); display: flex; align-items: center; justify-content: center; }
.sun img { width: 100%; }
.shadow-title { text-shadow: 5px 5px 0 var(--white); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { counter-increment: step; display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.step::before {
  content: counter(step); font-family: var(--slab); font-size: 2.1rem; line-height: 1;
  width: 72px; height: 72px; display: flex; align-items: center; justify-content: center;
  background: var(--red); color: var(--white); border: var(--line) solid var(--navy); box-shadow: 5px 5px 0 var(--navy);
}
.step p { font-size: 1.05rem; }

/* ---------- pricing ---------- */
.plan { position: relative; }
.plan .price { font-family: var(--slab); font-size: 2.3rem; line-height: 1; color: var(--red); }
.plan .price small { font-family: var(--caps); font-weight: 700; font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.plan .fits { font-family: var(--caps); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 1rem; color: var(--navy); border-top: 3px solid var(--navy); border-bottom: 3px solid var(--navy); padding: 8px 0; }
.plan .checks { gap: 10px; }
.plan .checks li { font-size: 1.02rem; line-height: 1.4; }
.plan .checks li::before { width: 22px; height: 22px; }
.plan.featured { background: var(--navy); color: var(--white); border-color: var(--navy); box-shadow: 8px 8px 0 var(--red); }
.plan.featured .price { color: var(--yellow); }
.plan.featured .price small, .plan.featured .fits { color: var(--white); border-color: var(--white); }
.plan.featured .h3 { color: var(--white); }
.flag { position: absolute; top: -18px; right: 20px; background: var(--yellow); color: var(--navy); border: 3px solid var(--navy); font-family: var(--caps); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .95rem; padding: 3px 12px; }
.callout { border: var(--line) solid var(--navy); background: var(--white); box-shadow: 8px 8px 0 var(--navy); padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; color: var(--navy); }
.callout .price { font-family: var(--slab); font-size: 2.3rem; line-height: 1; color: var(--red); }
.callout .price small { font-family: var(--caps); font-weight: 700; font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }

/* ---------- info rows / faq ---------- */
.info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item .stack { gap: 6px; }
.faq { display: flex; flex-direction: column; gap: 16px; max-width: 52rem; margin: 0 auto; }
.faq details { background: var(--white); border: var(--line) solid var(--navy); box-shadow: 6px 6px 0 var(--navy); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 60px 18px 22px; position: relative; font-family: var(--caps); font-weight: 700; font-size: 1.4rem; line-height: 1.2; letter-spacing: .01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-family: var(--slab); font-size: 1.8rem; color: var(--red); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 22px 20px; font-size: 1.05rem; }

/* ---------- contact / calendly ---------- */
.book-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.calendly-box { border: var(--line) solid var(--navy); box-shadow: 8px 8px 0 var(--navy); background: var(--white); min-height: 460px; display: flex; }
.calendly-box.is-live { display: block; height: 740px; min-width: 300px; }
.calendly-box.is-live iframe { width: 100%; height: 100%; border: 0; }
.calendly-empty { margin: auto; padding: 40px 28px; text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; max-width: 30rem; }
.calendly-empty img { width: 150px; }
.side { display: flex; flex-direction: column; gap: 24px; }
.side .card { box-shadow: 6px 6px 0 var(--navy); padding: 24px; }
.big-link { font-family: var(--caps); font-weight: 700; font-size: 1.35rem; letter-spacing: .02em; word-break: break-word; }

/* ---------- cta band ---------- */
.cta { background: var(--navy); color: var(--white); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(48px, 7vw, 88px) 0; }
.cta .script { color: var(--yellow); font-size: clamp(1.8rem, 3vw, 2.4rem); }
.cta .h2 { color: var(--white); }
.cta .art { display: flex; justify-content: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--white); font-size: 1rem; }
.site-footer .top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 40px; padding: 56px 0 40px; }
.site-footer img.logo { width: 320px; }
.site-footer h2 { font-family: var(--caps); font-weight: 700; font-size: 1.05rem; letter-spacing: .2em; text-transform: uppercase; color: var(--yellow); margin-bottom: 12px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }
.site-footer li { padding: 4px 0; }
.site-footer .legal { border-top: 2px solid rgba(255, 255, 255, .25); padding: 22px 0 30px; display: flex; flex-direction: column; gap: 10px; font-size: .92rem; line-height: 1.5; color: #D5E2E5; }

/* ---------- 404 ---------- */
.lost { text-align: center; padding: clamp(48px, 8vw, 96px) 0; }
.lost img { width: 240px; margin: 0 auto 8px; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .grid-4, .steps.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav a:not(.btn) { padding: 12px 9px; font-size: 1.05rem; letter-spacing: .08em; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: var(--line) solid var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 16px 4px; font-size: 1.25rem; border-bottom: 2px solid var(--fog); }
  .nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--red); }
  .nav .btn { margin: 18px 6px 0 0; }
  .hero-grid, .split, .cta-grid, .book-grid, .callout { grid-template-columns: minmax(0, 1fr); }
  .grid-3, .steps, .info { grid-template-columns: minmax(0, 1fr); }
  .site-footer .top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .site-footer .top > :first-child { grid-column: 1 / -1; }
  .split.flip .art { order: -1; }
  .frame { margin-right: 12px; box-shadow: 12px 12px 0 var(--navy); }
  .cta .art { order: -1; }
  .cta .sun { width: 240px; }
  .topbar .hide-sm { display: none; }
  .topbar .wrap { justify-content: center; }
}
@media (max-width: 640px) {
  body { font-size: 1.06rem; }
  .wrap { padding: 0 18px; }
  .grid-4, .grid-2, .steps.four { grid-template-columns: minmax(0, 1fr); }
  .brand img { width: 48px; height: 48px; }
  .brand-name { font-size: 1.35rem; }
  .brand-sub { font-size: 1.15rem; }
  .site-header .bar { min-height: 72px; }
  .btn { width: 100%; font-size: 1.2rem; }
  .nav .btn { width: auto; }
  .site-footer .top { grid-template-columns: minmax(0, 1fr); }
  .site-footer img.logo { width: 260px; }
  .topbar { font-size: .82rem; letter-spacing: .12em; }
  .calendly-box { min-height: 400px; }
  .calendly-box.is-live { height: 900px; }
  .shadow-title { text-shadow: 3px 3px 0 var(--white); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
@media print {
  .site-header, .topbar, .cta, .nav-toggle { display: none; }
}
