/* Smooth Foundations Financial — shared styles for every page.
   Brand (from the original GoDaddy site): warm sand + bronze, deep blue for actions,
   Cinzel wordmark, Playfair Display headings, Source Sans 3 body, overhead foundation photo.
   Layout: calm, airy sections on warm paper; soft-rounded white cards; one photo moment on the landing page.
   Fonts are self-hosted in /fonts (latin subset, variable weights) — the site makes no outside requests. */

@font-face { font-family: "Cinzel"; src: url("../fonts/Cinzel-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/PlayfairDisplay-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/PlayfairDisplay-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/SourceSans3-normal.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/SourceSans3-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --bg: #faf7f2;        /* warm paper */
  --surface: #ffffff;
  --sand: #f1e9dc;      /* section bands */
  --ink: #26221d;
  --muted: #6b6257;
  --rule: #e6dccd;
  --bronze: #8a7354;    /* brand accent: eyebrows, links, marks */
  --tan: #d2b48c;       /* brand highlight */
  --blue: #064a74;      /* actions */
  --blue-ink: #ffffff;
  --navy: #064a74;      /* brand dark blue for bands, headings, and structure */
  --navy-deep: #04324f;
  --on-navy: #ffffff;
  --on-navy-muted: #cfe0ec;
  --heading: #064a74;
  --good: #2f6b4a;
  --shadow: 0 1px 2px rgba(60, 45, 25, .05), 0 8px 24px rgba(60, 45, 25, .07);

  --font-logo: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono: "Cascadia Mono", Consolas, "SF Mono", Menlo, ui-monospace, monospace;

  --radius: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171411; --surface: #211d18; --sand: #1d1915; --ink: #f1ebe2; --muted: #b3a795; --rule: #3a332a;
    --bronze: #cdb08a; --tan: #b8986a; --blue: #8cc2e6; --blue-ink: #0c1a24; --good: #7fcf9f;
    --navy: #0f3a57; --navy-deep: #0a2a40; --on-navy: #f1ebe2; --on-navy-muted: #b9cad8; --heading: #f1ebe2;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font-body);
  padding-inline: 20px;
  padding-block: 0 40px;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1120px; margin-inline: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--tan); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; display: block; }

/* ---------- Header: logo lockup + nav ---------- */
header.top {
  position: sticky; top: 0; z-index: 10;
  margin-inline: -20px; padding: 14px 20px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
  border-top: 4px solid var(--navy);
}
header.top .bar { max-width: 1120px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand .mark-a { fill: var(--bronze); }
.brand .mark-b { fill: var(--tan); }
.brand .words { display: grid; line-height: 1; }
.brand .name { font-family: var(--font-logo); font-weight: 700; font-size: 1.12rem; letter-spacing: .06em; }
.brand .sub { font-family: var(--font-logo); font-weight: 400; font-size: .68rem; letter-spacing: .42em; color: var(--bronze); margin-top: 5px; }

nav.site ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
nav.site a { display: block; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 7px 14px; border-radius: 999px; transition: background .15s ease, color .15s ease; }
nav.site a:hover { color: var(--ink); background: var(--sand); }
nav.site a[aria-current="page"] { color: var(--on-navy); background: var(--navy); }

.crumbs { font-size: .85rem; color: var(--muted); padding-top: 28px; }
.crumbs a { color: var(--muted); }

/* ---------- Type ---------- */
.hero { padding-block: 64px 40px; max-width: 46rem; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); }
h1 {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  line-height: 1.08; letter-spacing: -0.015em; margin: 14px 0 18px; text-wrap: balance; color: var(--heading);
}
h1 mark, h1 em { font-style: italic; color: var(--bronze); background: none; }
.hero p { color: var(--muted); font-size: 1.15rem; margin: 0; max-width: 38rem; }
h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.2; margin: 0; text-wrap: balance; color: var(--heading); }
h3 { font-weight: 700; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin: 72px 0 24px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.2rem); }
.section-head p { margin: 6px 0 0; color: var(--muted); max-width: 36rem; }
.section-head > div { min-width: 0; }
.prose { max-width: 40rem; }
.prose p { margin: 0 0 1em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; font: 600 1rem var(--font-body); text-decoration: none; cursor: pointer;
  border-radius: 999px; padding: 12px 22px; border: 1.5px solid var(--blue);
  background: var(--blue); color: var(--blue-ink); transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn.ghost { background: transparent; color: var(--blue); }
.on-navy .btn, .cta .btn, .bundle .btn { background: var(--on-navy); color: var(--navy); border-color: var(--on-navy); }
.on-navy .btn.ghost, .cta .btn.ghost { background: transparent; color: var(--on-navy); }
.btn.soon { background: transparent; color: var(--muted); border-color: var(--rule); cursor: default; transform: none; box-shadow: none; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- Landing hero with photo ---------- */
.hero-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 56px 24px; }
.hero-split .hero { padding-block: 0; }
.hero-photo { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow); }
.hero-photo .illo { width: 100%; height: auto; display: block; }
/* The illustration sets its own shape; the name card sits under it instead of on top of it */
.hero-photo:has(.illo) { aspect-ratio: auto; background: var(--surface); border: 1px solid var(--rule); }
.hero-photo:has(.illo) figcaption {
  position: static; max-width: none; border-radius: 0; backdrop-filter: none; -webkit-backdrop-filter: none;
  background: var(--surface); border-top: 1px solid var(--rule); padding: 14px 20px;
}
/* Hero illustration colors (follow the brand tokens, so dark mode just works) */
.illo .bg { fill: var(--sand); }
.illo .grid path { stroke: var(--rule); stroke-width: 1.5; }
.illo .sun { fill: var(--tan); opacity: .28; }
.illo .soil { fill: color-mix(in srgb, var(--tan) 30%, var(--sand)); }
.illo .navy { fill: var(--navy); }
.illo .tan { fill: var(--tan); }
.illo .bronze { fill: var(--bronze); }
.illo .wall { fill: var(--surface); stroke: var(--rule); stroke-width: 2; }
.illo .win { fill: color-mix(in srgb, var(--navy) 16%, var(--surface)); }
.illo .mullion { stroke: var(--surface); stroke-width: 3; }
.illo .awning { fill: var(--tan); }
.illo .awning-stripe { stroke: var(--surface); stroke-width: 5; opacity: .7; }
.illo .sign { fill: var(--surface); stroke: var(--navy); stroke-width: 1.5; }
.illo .t-sign { font: 700 9px var(--font-body); letter-spacing: .1em; fill: var(--navy); }
.illo .line { fill: none; stroke: var(--navy); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.illo .dots circle { fill: var(--surface); stroke: var(--navy); stroke-width: 3; }
.illo .card { fill: var(--surface); stroke: var(--rule); stroke-width: 1.5; }
.illo .card-shadow rect { fill: var(--ink); opacity: .08; }
.illo .t-label { font: 700 10px var(--font-body); letter-spacing: .14em; fill: var(--bronze); }
.illo .t-row { font: 600 11.5px var(--font-body); fill: var(--muted); }
.illo .bar-bg { fill: var(--rule); }
.illo .t-good { font: 700 12.5px var(--font-body); fill: var(--good); }
@media (prefers-color-scheme: dark) { .illo { --navy: var(--blue); } }
.hero-photo figcaption {
  position: absolute; left: 16px; bottom: 16px; right: 16px; max-width: 20rem;
  background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-radius: 12px; padding: 12px 16px; font-size: .92rem; color: var(--ink);
}
.hero-photo figcaption { display: flex; align-items: center; gap: 12px; max-width: 23rem; }
.hero-photo figcaption span { min-width: 0; }
.hero-photo figcaption strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }

/* Credentials strip */
.trust { display: flex; flex-wrap: wrap; gap: 10px 32px; padding: 20px 0; margin-top: 32px; border-block: 1px solid var(--rule); color: var(--muted); font-size: .95rem; }
.trust span { display: inline-flex; align-items: center; gap: 10px; }
.trust span::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--navy); flex: none; }

/* ---------- Path cards (landing + clients pages) ---------- */
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.path {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 32px;
  display: flex; flex-direction: column; gap: 12px; min-width: 0; text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow); transition: transform .18s ease, border-color .18s ease;
  border-top: 5px solid var(--navy);
}
a.path:hover { transform: translateY(-3px); border-color: var(--tan); }
.path h2 { font-size: 1.9rem; }
.path p { margin: 0; color: var(--muted); }
.path ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.path li { display: flex; gap: 10px; }
.path li::before { content: ""; flex: none; width: 14px; height: 2px; margin-top: .8em; background: var(--tan); }
.path .go { margin-top: auto; padding-top: 12px; font-weight: 700; color: var(--blue); }

/* ---------- Services list ---------- */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.service { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px 24px; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; align-content: start; }
.service { border-left: 4px solid var(--navy); }
.service h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; margin: 0; color: var(--heading); }
.service .rate { font-size: .9rem; color: var(--bronze); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.service p { grid-column: 1 / -1; margin: 0; color: var(--muted); }

/* ---------- Product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.product {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; scroll-margin-top: 96px;
}
.product:target { border-color: var(--tan); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tan) 35%, transparent), var(--shadow); }
.product.featured { border-top: 5px solid var(--navy); }
.product.featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; background: linear-gradient(135deg, var(--surface) 55%, var(--sand)); }
.product.featured .info { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tag { align-self: flex-start; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--sand); color: var(--bronze); padding: 5px 12px; border-radius: 999px; }
.featured h2 { font-size: 2rem; }
.desc { margin: 0; color: var(--muted); }
ul.inside { margin: 0; padding-left: 1.1rem; display: grid; gap: 4px; font-size: .98rem; }
ul.inside li::marker { color: var(--tan); }
.meta { font-size: .85rem; color: var(--muted); }

.ledger { border: 1px solid var(--rule); border-radius: 12px; overflow-x: auto; background: var(--bg); align-self: start; }
.ledger table { width: 100%; border-collapse: collapse; font-size: .88rem; font-variant-numeric: tabular-nums; }
.ledger caption { text-align: left; padding: 9px 14px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy); background: var(--navy); }
.ledger th, .ledger td { padding: 7px 14px; border-bottom: 1px dashed var(--rule); text-align: right; white-space: nowrap; }
.ledger th:first-child, .ledger td:first-child { text-align: left; }
.ledger th { font-weight: 600; color: var(--muted); }
.ledger tr:last-child td { border-bottom: 0; font-weight: 700; }
.ledger .pos { color: var(--good); }

.buy { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 8px; }
.price { font-family: var(--font-display); font-weight: 600; font-size: 1.8rem; font-variant-numeric: tabular-nums lining-nums; color: var(--heading); }
.price s { color: var(--muted); font-family: var(--font-body); font-size: 1rem; font-weight: 400; margin-right: 8px; }

.quicklinks { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.quicklinks a { display: inline-block; font-size: .92rem; font-weight: 600; text-decoration: none; padding: 7px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--surface); color: var(--ink); transition: border-color .15s ease; }
.quicklinks a:hover { border-color: var(--tan); }

.bundle {
  margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-radius: var(--radius); padding: 26px 30px; color: var(--on-navy);
  background: linear-gradient(135deg, var(--navy) 60%, var(--navy-deep)); box-shadow: var(--shadow);
}
.bundle h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; margin: 0 0 4px; color: var(--on-navy); }
.bundle p { margin: 0; color: var(--on-navy-muted); }
.bundle .price { color: var(--on-navy); }
.bundle .price s { color: var(--on-navy-muted); }
.bundle .buy { margin-top: 0; padding-top: 0; }

/* ---------- Forms library ---------- */
.forms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.formgroup { min-width: 0; }
.formgroup h3 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); margin: 0 0 10px; }
.formlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.formlist a { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 12px; padding: 10px 6px; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); border-radius: 6px; transition: background .12s ease; }
.formlist a:hover { background: var(--sand); }
.fnum { font-weight: 700; font-size: .92rem; color: var(--blue); font-variant-numeric: tabular-nums; }
.formgroup.state { grid-column: 1 / -1; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.formgroup.state .formlist { columns: 2; column-gap: 32px; border-top: 0; }
.formgroup.state .formlist li { break-inside: avoid; }
.formgroup.state p { margin: 14px 0 0; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 56px; align-items: start; padding-top: 56px; }
.facts-card { background: var(--surface); border: 1px solid var(--rule); border-top: 5px solid var(--navy); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 26px 10px; position: sticky; top: 100px; min-width: 0; }
.facts-card .facts { margin-top: 12px; }
.facts-card .facts li:last-child { border-bottom: 0; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; border-top: 1px solid var(--rule); }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--rule); }
.facts span:first-child { color: var(--muted); }
.facts span:last-child { text-align: right; font-weight: 600; }

/* ---------- Call to action band & footer ---------- */
.cta {
  margin-top: 80px; border-radius: 24px; padding: 40px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cg fill='%23ffffff'%3E%3Crect x='1' y='25' width='32' height='7' rx='1.5' opacity='.1'/%3E%3Crect x='1' y='16' width='15' height='7' rx='1.5' opacity='.16'/%3E%3Crect x='18' y='16' width='15' height='7' rx='1.5' opacity='.1'/%3E%3Crect x='8' y='7' width='18' height='7' rx='1.5' opacity='.16'/%3E%3C/g%3E%3C/svg%3E") right -30px bottom -40px / 260px no-repeat,
    linear-gradient(120deg, var(--navy) 50%, var(--navy-deep));
  color: var(--on-navy); box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta > div { min-width: 0; max-width: 34rem; }
.cta h2 { font-size: clamp(1.6rem, 3vw, 2rem); color: var(--on-navy); }
.cta p { margin: 8px 0 0; color: var(--on-navy-muted); }
.cta .contact { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.cta .contact a { font-weight: 700; overflow-wrap: anywhere; color: var(--on-navy); }
.cta a:focus-visible { outline-color: var(--on-navy); }

footer.site { margin-top: 56px; padding-top: 24px; border-top: 3px solid var(--navy); color: var(--muted); font-size: .9rem; display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }
footer.site span { min-width: 0; overflow-wrap: anywhere; }

@media (max-width: 860px) {
  .hero-split { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 36px 8px; }
  .hero-photo { aspect-ratio: 16 / 10; }
}
@media (max-width: 760px) {
  body { padding-inline: 16px; }
  header.top { margin-inline: -16px; padding-inline: 16px; position: static; }
  .grid, .paths, .services, .forms { grid-template-columns: minmax(0, 1fr); }
  .formgroup.state .formlist { columns: 1; }
  .formlist a { grid-template-columns: 5.5rem minmax(0, 1fr); }
  .product.featured { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .about { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 32px; }
  .facts-card { position: static; }
  .hero { padding-block: 40px 24px; }
  .section-head { margin-top: 56px; }
  .cta { padding: 28px 24px; margin-top: 56px; }
  .path { padding: 24px; }
  nav.site a { padding: 6px 11px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }
