/* =========================================================
   Blue Astra Bookkeeping — site styles
   To change colors, edit the values in :root below.
   ========================================================= */

[hidden] { display: none !important; }

:root {
  /* Colors taken from the Blue Astra logo */
  --bg: #0c151f;                         /* page background: deep slate navy */
  --surface: #122131;                    /* cards and bands */
  --slate: #587488;                      /* logo slate blue: glows and accents */
  --line: rgba(215, 200, 182, 0.14);     /* thin divider lines (cream) */
  --line-strong: rgba(215, 200, 182, 0.34);
  --heading: #f4efe7;                    /* headings: warm white */
  --text: #ccd3da;                       /* body text */
  --muted: #8d9dab;                      /* secondary text: soft slate */
  --accent: #d7c8b6;                     /* logo champagne cream: buttons, links, highlights */
  --accent-hover: #e8ddcf;
  --on-accent: #0c151f;                  /* text on cream buttons */
  --max-width: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* Star field, two layers behind the text on every section (dark and blue):
   - tiny pinpoint stars everywhere
   - brighter stars and sparkles shaped like the logo star, only near the
     left and right edges so they never sit behind words */
:root {
  --stars-dots: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22720%22 height=%22720%22 viewBox=%220 0 720 720%22%3E%3Ccircle cx=%22235.3%22 cy=%22112.8%22 r=%220.6%22 fill=%22%23f4efe7%22 opacity=%220.73%22/%3E%3Ccircle cx=%2272.6%22 cy=%22418.6%22 r=%220.9%22 fill=%22%23f4efe7%22 opacity=%220.36%22/%3E%3Ccircle cx=%22302.1%22 cy=%22176.4%22 r=%221.3%22 fill=%22%23f4efe7%22 opacity=%220.73%22/%3E%3Ccircle cx=%2293.7%22 cy=%22164.1%22 r=%220.6%22 fill=%22%238fa9bd%22 opacity=%220.34%22/%3E%3Ccircle cx=%22162.5%22 cy=%22400.1%22 r=%220.8%22 fill=%22%23d7c8b6%22 opacity=%220.53%22/%3E%3Ccircle cx=%22388.8%22 cy=%22410.2%22 r=%220.8%22 fill=%22%23f4efe7%22 opacity=%220.61%22/%3E%3Ccircle cx=%22458.4%22 cy=%22269.7%22 r=%220.7%22 fill=%22%23f4efe7%22 opacity=%220.63%22/%3E%3Ccircle cx=%22357.5%22 cy=%22382.5%22 r=%221.1%22 fill=%22%238fa9bd%22 opacity=%220.61%22/%3E%3Ccircle cx=%22326.9%22 cy=%22218.2%22 r=%220.8%22 fill=%22%23f4efe7%22 opacity=%220.36%22/%3E%3Ccircle cx=%22218.6%22 cy=%22356.5%22 r=%221.1%22 fill=%22%238fa9bd%22 opacity=%220.46%22/%3E%3Ccircle cx=%22700.0%22 cy=%2289.6%22 r=%221.3%22 fill=%22%23f4efe7%22 opacity=%220.7%22/%3E%3Ccircle cx=%22113.6%22 cy=%22352.2%22 r=%220.6%22 fill=%22%23f4efe7%22 opacity=%220.7%22/%3E%3Ccircle cx=%22411.7%22 cy=%22625.8%22 r=%221.1%22 fill=%22%23d7c8b6%22 opacity=%220.67%22/%3E%3Ccircle cx=%22426.8%22 cy=%22416.6%22 r=%221.5%22 fill=%22%23f4efe7%22 opacity=%220.74%22/%3E%3Ccircle cx=%22674.8%22 cy=%22341.7%22 r=%220.7%22 fill=%22%23f4efe7%22 opacity=%220.69%22/%3E%3Ccircle cx=%22225.2%22 cy=%22415.2%22 r=%221.5%22 fill=%22%23d7c8b6%22 opacity=%220.68%22/%3E%3Ccircle cx=%22634.0%22 cy=%22251.7%22 r=%221.5%22 fill=%22%23d7c8b6%22 opacity=%220.4%22/%3E%3Ccircle cx=%2288.9%22 cy=%2247.7%22 r=%221.0%22 fill=%22%23f4efe7%22 opacity=%220.69%22/%3E%3Ccircle cx=%22287.7%22 cy=%22655.1%22 r=%221.5%22 fill=%22%23f4efe7%22 opacity=%220.4%22/%3E%3Ccircle cx=%22290.4%22 cy=%22202.7%22 r=%220.8%22 fill=%22%238fa9bd%22 opacity=%220.75%22/%3E%3Ccircle cx=%22203.1%22 cy=%22300.0%22 r=%221.1%22 fill=%22%238fa9bd%22 opacity=%220.8%22/%3E%3Ccircle cx=%22112.9%22 cy=%22130.8%22 r=%220.9%22 fill=%22%23f4efe7%22 opacity=%220.33%22/%3E%3Ccircle cx=%22594.4%22 cy=%22135.1%22 r=%221.0%22 fill=%22%23f4efe7%22 opacity=%220.39%22/%3E%3Ccircle cx=%22384.5%22 cy=%22437.7%22 r=%221.1%22 fill=%22%23f4efe7%22 opacity=%220.67%22/%3E%3Ccircle cx=%22371.0%22 cy=%22443.3%22 r=%220.6%22 fill=%22%238fa9bd%22 opacity=%220.77%22/%3E%3Ccircle cx=%22558.2%22 cy=%22625.2%22 r=%221.3%22 fill=%22%238fa9bd%22 opacity=%220.52%22/%3E%3C/svg%3E");
  --stars-sparkles: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22720%22 height=%22720%22 viewBox=%220 0 720 720%22%3E%3Ccircle cx=%2290%22 cy=%22110%22 r=%2210.799999999999999%22 fill=%22%23d7c8b6%22 opacity=%220.128%22/%3E%3Cpath d=%22M90,101 Q91.62,108.38 99,110 Q91.62,111.62 90,119 Q88.38,111.62 81,110 Q88.38,108.38 90,101Z%22 fill=%22%23d7c8b6%22 opacity=%220.8%22/%3E%3Ccircle cx=%22520%22 cy=%22380%22 r=%227.199999999999999%22 fill=%22%23d7c8b6%22 opacity=%220.10400000000000001%22/%3E%3Cpath d=%22M520,374 Q521.08,378.92 526,380 Q521.08,381.08 520,386 Q518.92,381.08 514,380 Q518.92,378.92 520,374Z%22 fill=%22%23d7c8b6%22 opacity=%220.65%22/%3E%3Ccircle cx=%22300%22 cy=%22660%22 r=%228.4%22 fill=%22%23d7c8b6%22 opacity=%220.096%22/%3E%3Cpath d=%22M300,653 Q301.26,658.74 307,660 Q301.26,661.26 300,667 Q298.74,661.26 293,660 Q298.74,658.74 300,653Z%22 fill=%22%23d7c8b6%22 opacity=%220.6%22/%3E%3Ccircle cx=%22640%22 cy=%22600%22 r=%226.0%22 fill=%22%23d7c8b6%22 opacity=%220.08800000000000001%22/%3E%3Cpath d=%22M640,595 Q640.9,599.1 645,600 Q640.9,600.9 640,605 Q639.1,600.9 635,600 Q639.1,599.1 640,595Z%22 fill=%22%23d7c8b6%22 opacity=%220.55%22/%3E%3Ccircle cx=%2240%22 cy=%22420%22 r=%227.199999999999999%22 fill=%22%23d7c8b6%22 opacity=%220.096%22/%3E%3Cpath d=%22M40,414 Q41.08,418.92 46,420 Q41.08,421.08 40,426 Q38.92,421.08 34,420 Q38.92,418.92 40,414Z%22 fill=%22%23d7c8b6%22 opacity=%220.6%22/%3E%3Ccircle cx=%22690%22 cy=%22250%22 r=%228.4%22 fill=%22%23d7c8b6%22 opacity=%220.11199999999999999%22/%3E%3Cpath d=%22M690,243 Q691.26,248.74 697,250 Q691.26,251.26 690,257 Q688.74,251.26 683,250 Q688.74,248.74 690,243Z%22 fill=%22%23d7c8b6%22 opacity=%220.7%22/%3E%3Ccircle cx=%22150%22 cy=%22520%22 r=%223.6%22 fill=%22%23d7c8b6%22 opacity=%220.14%22/%3E%3Ccircle cx=%22150%22 cy=%22520%22 r=%221.5%22 fill=%22%23f4efe7%22 opacity=%220.9%22/%3E%3Ccircle cx=%22600%22 cy=%22140%22 r=%223.6%22 fill=%22%23d7c8b6%22 opacity=%220.14%22/%3E%3Ccircle cx=%22600%22 cy=%22140%22 r=%221.5%22 fill=%22%23f4efe7%22 opacity=%220.9%22/%3E%3Ccircle cx=%22260%22 cy=%22260%22 r=%223.6%22 fill=%22%23d7c8b6%22 opacity=%220.14%22/%3E%3Ccircle cx=%22260%22 cy=%22260%22 r=%221.5%22 fill=%22%23f4efe7%22 opacity=%220.9%22/%3E%3Ccircle cx=%2220%22 cy=%22640%22 r=%223.6%22 fill=%22%23d7c8b6%22 opacity=%220.14%22/%3E%3Ccircle cx=%2220%22 cy=%22640%22 r=%221.5%22 fill=%22%23f4efe7%22 opacity=%220.9%22/%3E%3C/svg%3E");
}
/* The stars are one layer pinned to the screen, behind every section.
   As you scroll, the text moves normally while the stars drift slowly
   (script.js sets --stars-y1 and --stars-y2), which gives a sense of depth. */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-size: 720px 720px;
  will-change: background-position;
}
body::before {
  background-image: var(--stars-dots);
  background-position: 0 var(--stars-y1, 0px);
  opacity: 0.7;
  /* Fainter in the middle where the text is */
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 8%, rgba(0,0,0,0.4) 20%, rgba(0,0,0,0.4) 80%, #000 92%, #000 100%);
          mask-image: linear-gradient(90deg, #000 0%, #000 8%, rgba(0,0,0,0.4) 20%, rgba(0,0,0,0.4) 80%, #000 92%, #000 100%);
}
body::after {
  background-image: var(--stars-sparkles);
  background-position: 0 var(--stars-y2, 0px);
  opacity: 0.75;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 5%, transparent 9.5%, transparent 90.5%, #000 95%, #000 100%);
          mask-image: linear-gradient(90deg, #000 0%, #000 5%, transparent 9.5%, transparent 90.5%, #000 95%, #000 100%);
}
/* Keep all page content above the stars */
main > section > *,
.site-footer > * { position: relative; z-index: 1; }
/* Phones: no empty edges beside the text, so only the pinpoint stars show */
@media (max-width: 720px) {
  body::after { display: none; }
  body::before { opacity: 0.45; -webkit-mask-image: none; mask-image: none; }
}

h1, h2, h3, .serif {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3rem); }
h3 { font-size: 1.65rem; }
em { color: var(--accent); }

p { margin: 0 0 1.1em; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
strong { color: var(--heading); font-weight: 700; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Small uppercase label with a short line in front */
.label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.label::before { content: ""; width: 32px; height: 1px; background: var(--accent); }
.center .label::after { content: ""; width: 32px; height: 1px; background: var(--accent); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(12, 21, 31, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 82px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}
.logo .emblem { width: auto; height: 46px; flex-shrink: 0; }
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wm-top {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--heading);
}
.wm-bottom {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 6px;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover { color: var(--heading); }
.nav-links a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  color: var(--heading);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 9px 14px;
  cursor: pointer;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--on-accent);
  border: 1px solid var(--accent);
  border-radius: 3px;
  padding: 17px 32px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-outline { background: transparent; color: var(--heading); border-color: var(--line-strong); }
.btn-outline:hover { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-small { padding: 11px 18px; font-size: 0.72rem; white-space: nowrap; }
.button-row { display: flex; gap: 14px; flex-wrap: wrap; }
.center .button-row,
.brand-hero .button-row { justify-content: center; }

.text-link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}
.text-link:hover { color: var(--accent-hover); }

/* ---------- Sections ---------- */

section { padding: 110px 0; }
.bordered { border-top: 1px solid var(--line); }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.center { text-align: center; }
.section-head { max-width: 660px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ---------- Home hero: the brand, front and center ---------- */

.brand-hero {
  text-align: center;
  /* Spacing shrinks on shorter screens so the buttons stay in view */
  padding: clamp(28px, 10vh, 130px) 0 clamp(56px, 9vh, 110px);
  background: radial-gradient(ellipse 70% 55% at 50% 42%, rgba(88, 116, 136, 0.3), transparent 70%);
}
.brand-hero .container { width: 100%; }
.hero-emblem { width: auto; height: clamp(110px, 17vh, 230px); margin: 0 auto clamp(14px, 2.5vh, 32px); filter: drop-shadow(0 0 40px rgba(88, 116, 136, 0.45)); }
.brand-name {
  font-size: clamp(3rem, min(12vw, 10vh), 8rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 0.95;
  margin: 0 0 clamp(14px, 2.2vh, 22px);
}
.brand-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-size: clamp(0.8rem, 1.6vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 clamp(20px, 3.2vh, 40px);
  padding-left: 0.55em; /* balances the letter spacing */
}
.brand-sub::before,
.brand-sub::after { content: ""; flex: 0 0 64px; height: 1px; background: var(--line-strong); }
.tagline {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  color: var(--heading);
  line-height: 1.35;
  max-width: 760px;
  text-wrap: balance;
  margin: 0 auto 16px;
}
.hero-services {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: var(--text);
  line-height: 1.6;
  max-width: 700px;
  text-wrap: balance;
  margin: 0 auto 26px;
}
.hero-meta {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--heading);
  margin-bottom: clamp(24px, 3.6vh, 44px);
}
.hero-meta span { color: var(--accent); padding: 0 10px; }

/* ---------- Page header (inner pages) ---------- */

.page-hero {
  padding: 120px 0 90px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(88, 116, 136, 0.24), transparent 70%);
}
.page-hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; margin: 0 auto; }
/* Contact page: a shorter hero so the form is reached sooner */
.contact-hero { padding: 86px 0 64px; }
.page-hero .statement-divider { margin: 30px auto 18px; }
.name-note {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  color: var(--accent);
  margin: 0;
}
.name-note em { font-style: normal; color: var(--heading); }

/* ---------- Statement ---------- */

.statement {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--heading);
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
  text-wrap: balance;
}
.statement em { color: var(--accent); }
.statement-section {
  padding: 90px 0;
  text-align: center;
  background:
    radial-gradient(ellipse 55% 70% at 50% 50%, rgba(88, 116, 136, 0.16), transparent 70%),
    var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.statement-star {
  display: block;
  color: var(--accent);
  font-size: 1.35rem;
  margin-bottom: 26px;
  opacity: 0.85;
}
.statement-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--accent);
  font-size: 0.7rem;
  margin: 30px auto;
  opacity: 0.8;
}
.statement-divider::before,
.statement-divider::after { content: ""; width: 80px; height: 1px; background: var(--line-strong); }
.statement-body {
  font-size: clamp(1.1rem, 1.55vw, 1.32rem);
  line-height: 1.8;
  color: var(--text);
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  text-wrap: pretty;
}

/* ---------- Two services side by side ---------- */

.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.split-2 > div { padding: 48px 56px 8px 0; }
.split-2 > div + div { padding: 48px 0 8px 56px; border-left: 1px solid var(--line); }
.number {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 14px;
}
.price {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--heading);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  margin: 26px 0;
}
.price span { color: var(--accent); }
.section-head.wide { max-width: 820px; }
/* Home page service cards: link sits on a divider line at the bottom */
.services-split > div { display: flex; flex-direction: column; padding-bottom: 0; }
.services-split > div + div { padding-bottom: 0; }
.services-split p { margin-bottom: 32px; }
.service-link {
  display: block;
  margin-top: auto;
  padding: 22px 0 6px;
  border-top: 1px solid var(--line-strong);
}

/* ---------- Three columns ---------- */

.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.cols-3 > div { border-top: 1px solid var(--line-strong); padding-top: 28px; }
.cols-3 p { color: var(--muted); margin: 0; }

/* ---------- Home: Why Blue Astra ---------- */

.why-section { padding: 100px 0; }
.why-section .section-head { margin-bottom: 56px; }
.why-section h2 { text-wrap: balance; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}
.star-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--accent);
  font-size: 0.75rem;
  margin-bottom: 28px;
  opacity: 0.85;
}
.star-rule::before,
.star-rule::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.why-grid h3 { margin: 0 0 12px; text-wrap: balance; }
.why-grid p { margin: 0; color: var(--text); }

@media (max-width: 960px) {
  .why-grid { grid-template-columns: 1fr; gap: 40px; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 720px) {
  .why-section { padding: 72px 0; }
  .why-section .section-head { margin-bottom: 40px; }
}

/* ---------- Lists ---------- */

.star-list { list-style: none; padding: 0; margin: 0; }
.star-list li {
  position: relative;
  padding: 14px 0 14px 30px;
  border-bottom: 1px solid var(--line);
}
.star-list li:first-child { border-top: 1px solid var(--line); }
.star-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 14px;
  color: var(--accent);
  font-size: 0.8rem;
}

/* ---------- Quote ---------- */

.quote { max-width: 820px; margin: 0 auto; text-align: center; }
.quote-mark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 5rem;
  line-height: 0.6;
  color: var(--accent);
  display: block;
  margin-bottom: 18px;
}
.quote blockquote {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--heading);
  line-height: 1.4;
  margin: 0 0 26px;
}
.quote cite {
  font-style: normal;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Service detail rows ---------- */

.detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}
.detail:first-child { border-top: none; padding-top: 0; }
.detail:last-child { padding-bottom: 0; }
.detail h3 { font-size: 1.1rem; font-family: "Manrope", sans-serif; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.detail-note { color: var(--muted); font-size: 0.98rem; }
.list-note { color: var(--muted); font-size: 0.95rem; margin: 20px 0 0; }
.list-cta { display: inline-block; margin-top: 28px; }
.pricing-jump { display: inline-block; margin-top: 6px; }

/* ---------- Services: monthly pricing guide ---------- */

#pricing { scroll-margin-top: 90px; }
#pricing h2 { text-wrap: balance; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}
.pricing-grid h3 { margin: 0 0 10px; }
.pricing-amount {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--accent);
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.pricing-amount span {
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.pricing-grid p:not(.pricing-amount) { color: var(--text); margin: 0; }
.pricing-note {
  max-width: 760px;
  margin: 56px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.98rem;
  text-wrap: pretty;
}
.pricing-cta { text-align: center; margin: 28px 0 0; }
@media (max-width: 960px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 40px; max-width: 560px; margin: 0 auto; }
  .pricing-note { margin-top: 44px; }
}

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

.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 24px 0; }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--heading);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-family: "Manrope", sans-serif; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 14px 0 0; color: var(--muted); max-width: 680px; }

/* ---------- Call to action band ---------- */

.cta-band { text-align: center; }
.cta-glow { background: radial-gradient(ellipse 55% 80% at 50% 50%, rgba(88, 116, 136, 0.18), transparent 70%); }
/* Home page consultation: wider, slightly larger, closer to the edges */
.cta-glow { background: radial-gradient(ellipse 75% 85% at 50% 50%, rgba(88, 116, 136, 0.2), transparent 72%); }
.cta-glow h2 { font-size: clamp(2.3rem, 5vw, 3.7rem); }
.cta-band.cta-glow p {
  max-width: 980px;
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  line-height: 1.75;
  color: var(--text);
  text-wrap: balance;
  margin-bottom: 40px;
}
.cta-band p { color: var(--muted); max-width: 640px; margin: 0 auto 36px; font-size: 1.08rem; text-wrap: pretty; }

/* ---------- About / name story ---------- */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.big-serif {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--heading);
  margin: 0;
}

/* ---------- Meet your bookkeeper (contact page) ---------- */

.bookkeeper {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: center;
}
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
}
.portrait::before {           /* thin offset frame */
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
}
.portrait img,
.portrait .photo-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}
.photo-placeholder {
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.role {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: -6px 0 28px;
}
.credentials { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.credentials li { font-size: 0.85rem; font-weight: 700; color: var(--heading); }
.credentials li::before { content: "✦ "; color: var(--accent); }
.founder-subhead {
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 36px 0 6px;
}
#founder .bookkeeper { align-items: start; }

/* ---------- Contact form & details ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 64px;
  align-items: start;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 44px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-group { margin-bottom: 22px; }
label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
input, select, textarea {
  width: 100%;
  font: inherit;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: var(--bg);
  color: var(--heading);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(215, 200, 182, 0.15);
}
textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 16px 0 0; }
.form-required-note { font-size: 0.85rem; color: var(--muted); margin: 6px 0 24px; }
/* "Select a service" shows in the muted color until something is chosen */
select:invalid { color: var(--muted); }
select option { color: var(--heading); background: var(--bg); }
/* Fields with a problem, and their messages */
.field-error { display: block; font-size: 0.82rem; color: #e8b4a6; margin-top: 7px; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #c98f80; }
/* Sending, success, and error messages */
.form-status { font-size: 0.92rem; margin: 16px 0 0; padding: 12px 14px; border-radius: 3px; border: 1px solid var(--line-strong); color: var(--heading); }
.form-status.is-error { border-color: #c98f80; color: #f1d1c8; }
.form-status.is-success { border-color: var(--accent); }
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--text); margin: 0; }
.contact-form .btn[disabled] { opacity: 0.6; cursor: wait; }
/* Spam trap: kept off screen, not just invisible, so real visitors never see it */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-info { margin: 0; }
.contact-info dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-info dd {
  margin: 4px 0 0;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--heading);
}
.contact-info dd a { color: var(--heading); text-decoration: none; }
a[href^="mailto:"] { overflow-wrap: anywhere; }
.contact-info dd a:hover { color: var(--accent); }
/* Tablets: stack the form and details so the email fits on one line */
@media (max-width: 960px) {
  .contact-layout { grid-template-columns: 1fr; gap: 56px; }
}
.portal-box { margin-top: 40px; }
.portal-box p { color: var(--muted); }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 72px 0 32px; font-size: 0.92rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.5fr 0.9fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-grid p { color: var(--muted); max-width: 300px; margin-top: 20px; }
.footer-grid h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--heading);
  margin: 0 0 16px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--accent); }
.footer-grid a[href^="mailto:"] { white-space: nowrap; }
@media (max-width: 380px) { .footer-grid a[href^="mailto:"] { white-space: normal; } }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  font-size: 0.8rem;
  color: var(--muted);
}
.footer-bottom p { margin: 0; }

/* ---------- Privacy Policy page ---------- */

.policy-date { margin: 26px 0 0; font-size: 0.9rem; letter-spacing: 0.04em; color: var(--accent); }
.policy { max-width: 760px; }
.policy h2 {
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  margin: 56px 0 16px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.policy > p:first-child { font-size: 1.05rem; color: var(--heading); }
.policy strong { color: var(--heading); font-weight: 600; }
.policy-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.policy-list li { position: relative; padding: 0 0 0 26px; margin-bottom: 10px; }
.policy-list li::before { content: "✦"; position: absolute; left: 0; top: 0.2em; color: var(--accent); font-size: 0.72rem; }
.policy-contact { font-style: normal; line-height: 1.8; }

/* ---------- Tablets ---------- */

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .site-header .container { gap: 12px; min-height: 72px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a[aria-current="page"] { border-bottom-color: var(--line); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bookkeeper { grid-template-columns: 300px 1fr; gap: 56px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Short laptop screens: keep the hero buttons in view ---------- */

@media (min-width: 721px) and (max-height: 720px) {
  .brand-hero { padding-top: 30px; }
  .hero-emblem { height: 96px; margin-bottom: 12px; }
  .brand-sub { margin-bottom: 18px; }
  .tagline { margin-bottom: 10px; }
  .hero-services { margin-bottom: 18px; }
  .hero-meta { margin-bottom: 22px; }
}

/* ---------- Phones ---------- */

@media (max-width: 720px) {
  body { font-size: 16px; }
  section { padding: 72px 0; }
  .container { padding: 0 20px; }
  .section-head { margin-bottom: 40px; }

  .wm-top { font-size: 1.05rem; letter-spacing: 0.12em; }
  .wm-bottom { font-size: 0.52rem; letter-spacing: 0.36em; }
  .logo .emblem { height: 38px; }

  .brand-hero { min-height: auto; padding: 60px 0; }
  .hero-emblem { height: 160px; margin-bottom: 24px; }
  .brand-name { letter-spacing: 0.05em; }
  .brand-sub { gap: 14px; letter-spacing: 0.4em; padding-left: 0.4em; }
  .brand-sub::before, .brand-sub::after { flex-basis: 28px; }
  .hero-meta span { display: block; height: 0; overflow: hidden; }

  .statement-section { padding: 60px 0; }
  .page-hero { padding: 80px 0 64px; }
  .contact-hero { padding: 58px 0 46px; }

  .split-2,
  .cols-3,
  .detail,
  .two-col,
  .bookkeeper,
  .contact-layout,
  .form-row { grid-template-columns: 1fr; }
  .split-2 > div,
  .split-2 > div + div { padding: 40px 0 8px; border-left: none; }
  .split-2 > div + div { border-top: 1px solid var(--line); margin-top: 32px; }
  .cols-3 { gap: 36px; }
  .detail, .two-col { gap: 32px; padding: 56px 0; }
  .two-col { padding: 0; }
  .bookkeeper { gap: 48px; }
  .portrait { max-width: 300px; margin-right: 18px; }
  .contact-layout { gap: 48px; }
  .panel { padding: 28px 22px; }

  .button-row { flex-direction: column; }
  .button-row .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 400px) {
  .header-cta { display: none; }   /* the Menu still links to Contact */
}

/* ---------- Short phones (e.g. iPhone SE): keep the booking button in view ---------- */

@media (max-width: 720px) and (max-height: 740px) {
  .brand-hero { padding: 28px 0 56px; }
  .hero-emblem { height: 104px; margin-bottom: 14px; }
  .brand-name { margin-bottom: 14px; }
  .brand-sub { margin-bottom: 20px; }
  .tagline { margin-bottom: 10px; }
  .hero-services { margin-bottom: 16px; }
  .hero-meta { margin-bottom: 20px; }
}
