:root {
  --ink: #14263B;
  --ink-2: #3A4D63;
  --paper: #F3F5F7;
  --white: #FFFFFF;
  --silver: #AEB9C5;
  --rule: #D3DAE2;
  --gold: #A27F51;
  --gold-text: #8A6A3A;
  --gold-light: #D2B27A;
  --teal: #1B7A68;
  --teal-bg: #E3F1EE;
  --focus: #2D6CDF;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 3px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.8rem, 7vw, 5rem); letter-spacing: -0.025em; }
h1 span { display: block; }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

/* Buttons */
.btn {
  display: inline-block;
  font: 600 1rem/1 var(--sans);
  text-decoration: none;
  background: var(--ink);
  color: #fff;
  border: 2px solid var(--ink);
  padding: .95rem 1.4rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: #0C1A2A; border-color: #0C1A2A; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-small { padding: .6rem 1rem; font-size: .95rem; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--paper); border-color: var(--paper); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--rule); backdrop-filter: blur(6px); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-text { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; }
.brand-text .b1 { color: var(--ink); }
.brand-text .b2 { color: var(--gold-text); }
.mark { flex: none; height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .98rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { border-color: var(--silver); }
.nav-toggle { display: none; font: 600 .95rem var(--sans); background: none; border: 2px solid var(--ink); border-radius: var(--radius); padding: .5rem .9rem; color: var(--ink); cursor: pointer; }

/* Hero */
.hero { background: var(--paper); border-bottom: 1px solid var(--rule); padding: clamp(3rem, 8vw, 6rem) 0; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.kicker { font-weight: 500; color: var(--ink-2); margin-bottom: 1.25rem; }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 34rem; margin: 1.5rem 0 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: .85rem; }

/* Ledger figure (the one memorable element) */
.ledger {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--silver);
  border-top: 5px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem 1.2rem;
  box-shadow: 0 1px 0 var(--silver), 6px 6px 0 rgba(20,38,59,.07);
}
.ledger figcaption { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; margin-bottom: .8rem; }
.ledger table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ledger th, .ledger td { padding: .55rem 0; border-bottom: 1px solid var(--rule); font-size: .98rem; }
.ledger th { text-align: left; font-weight: 400; color: var(--ink-2); padding-right: 1rem; }
.ledger td { text-align: right; font-weight: 500; white-space: nowrap; }
.ledger .sum th, .ledger .sum td { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--ink); }
.ledger .diff th, .ledger .diff td { font-weight: 600; font-size: 1.1rem; border-bottom: 3px double var(--ink); color: var(--ink); }
.ledger.is-balanced .diff td { color: var(--teal); }
.ledger-status {
  display: inline-flex; align-items: center; gap: .5rem;
  margin: 1rem 0 .4rem; padding: .3rem .7rem;
  font-weight: 600; font-size: .95rem; color: var(--teal); background: var(--teal-bg); border-radius: 99px;
  opacity: 0; transition: opacity .4s;
}
.ledger.is-balanced .ledger-status { opacity: 1; }
.tick { width: .55rem; height: .9rem; border: solid var(--teal); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px,-2px); }
.ledger-note { font-size: .85rem; color: var(--ink-2); margin: 0; }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section.tint { background: var(--paper); border-block: 1px solid var(--rule); }
.section-head { max-width: 46rem; margin-bottom: 2.75rem; }
.section-head h2 { margin-bottom: 1rem; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }

/* Why */
.why { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.plain-list li { padding: 1.4rem 0; border-top: 1px solid var(--rule); }
.plain-list li:first-child { border-top: 2px solid var(--ink); padding-top: 1.2rem; }
.plain-list h3 { margin-bottom: .4rem; }
.plain-list p { margin: 0; color: var(--ink-2); }

/* Services as ledger rows */
.rows { border-top: 2px solid var(--ink); }
.row { display: grid; grid-template-columns: 5fr 7fr; gap: 1.5rem 3rem; padding: 1.6rem 0; border-bottom: 1px solid var(--rule); }
.row-title h3 { margin-bottom: .35rem; }
.row-title p { margin: 0; color: var(--ink-2); }
.ticks { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem 1.5rem; }
.ticks li { position: relative; padding-left: 1.5rem; }
.ticks li::before { content: ""; position: absolute; left: .2rem; top: .45em; width: .4rem; height: .75rem; border: solid var(--teal); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.fine { font-size: .93rem; color: var(--ink-2); margin: 1rem 0 0; }
.notes { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
.note { background: var(--paper); border-left: 4px solid var(--ink); padding: 1.4rem 1.5rem; border-radius: 0 var(--radius) var(--radius) 0; }
.note h3 { margin-bottom: .5rem; }
.note p { margin: 0; color: var(--ink-2); }

/* Steps (a real sequence) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 1rem; }
.steps li::before { content: counter(step); display: block; font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--ink-2); margin-bottom: .75rem; }
.steps h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.steps p { margin: 0; color: var(--ink-2); font-size: 1rem; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--silver); border-radius: var(--radius); }
.price { padding: 1.8rem 1.6rem; border-right: 1px solid var(--silver); }
.price:last-child { border-right: 0; }
.price h3 { margin-bottom: .6rem; }
.price-cta { margin: 2rem 0 0; }
.amount { font-size: 1rem; color: var(--ink-2); margin-bottom: .8rem; }
.amount b { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: var(--ink); margin-left: .2rem; }
.amount span { margin-left: .15rem; }
.price p:last-child { margin: 0; color: var(--ink-2); font-size: 1rem; }
.price-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
.price-extra > div { border-top: 2px solid var(--ink); padding-top: 1.1rem; }
.price-extra h3 { margin-bottom: .5rem; }
.price-extra p:last-child { margin: 0; color: var(--ink-2); }
.fineprint { margin-top: 2.5rem; font-size: .95rem; color: var(--ink-2); max-width: 52rem; }
.fineprint p:last-child { margin: 0; }

/* About */
.portrait { aspect-ratio: 4/5; background: var(--white); border: 1px dashed var(--silver); border-radius: var(--radius); display: grid; place-items: center; color: var(--ink-2); max-width: 26rem; }
.split h2 + p { margin-top: 1.25rem; }
.values { margin: 1.75rem 0 0; display: grid; gap: 1rem; }
.values div { border-top: 1px solid var(--rule); padding-top: .8rem; }
.values dt { font-weight: 600; }
.values dd { margin: .1rem 0 0; color: var(--ink-2); }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; padding: clamp(3rem, 7vw, 4.5rem) 0; }
.cta-inner > * { max-width: 44rem; }
.cta-inner h2 { margin-bottom: .8rem; }
.cta-inner p { color: #D5DCE4; margin-bottom: 1.6rem; }

/* Contact */
.contact h2 { margin-bottom: 1rem; }
.details { margin: 2rem 0 0; display: grid; gap: .9rem; }
.details div { border-top: 1px solid var(--rule); padding-top: .7rem; }
.details dt { font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.details dd { margin: 0; }
form { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }
.field { margin: 0 0 1.15rem; border: 0; padding: 0; min-width: 0; }
.field.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label, legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; padding: 0; }
.opt { font-weight: 400; color: var(--ink-2); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid var(--silver); border-radius: var(--radius); padding: .7rem .8rem;
}
textarea { resize: vertical; }
.check { display: flex; align-items: center; gap: .6rem; font-weight: 400; font-size: 1rem; margin: 0 0 .4rem; }
.check input { width: 1.1rem; height: 1.1rem; accent-color: var(--ink); }
.error { display: none; color: #A3281F; font-size: .9rem; margin: .35rem 0 0; }
.invalid input, .invalid select, .invalid textarea { border-color: #A3281F; }
.invalid .error, .error.show { display: block; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.consent { font-size: .9rem; color: var(--ink-2); }
.form-status { margin: 1rem 0 0; font-weight: 500; }
.form-status.ok { color: var(--teal); }
.form-status.bad { color: #A3281F; }

/* Footer */
.site-footer { background: #0F1D2E; color: #CBD3DC; padding: 3rem 0 1.5rem; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; }
.foot p { max-width: 28rem; }
.brand-text.light { margin-bottom: .8rem; }
.brand-text.light .b1 { color: #fff; }
.brand-text.light .b2 { color: var(--gold-light); }
.mark-tile { display: inline-flex; background: #fff; border-radius: 4px; padding: 3px 5px; }
.mark-tile .mark { height: 34px; }
.footer-brand { display: flex; align-items: center; gap: .7rem; }
.foot nav { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.5rem; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
.legal { border-top: 1px solid #243750; margin-top: 2rem; padding-top: 1.2rem; font-size: .88rem; }
.legal p { margin: 0; }

/* Privacy / 404 pages */
.doc { padding: clamp(3rem, 7vw, 5rem) 0; }
.doc .narrow { max-width: 44rem; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 1rem; }
.doc h2 { font-size: 1.5rem; margin: 2.2rem 0 .6rem; }
.doc li { margin: 0 0 .4rem 1.2rem; list-style: disc; }
.doc .updated { color: var(--ink-2); }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .split, .notes, .price-extra, .foot { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 1rem; }
  .steps { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .price { border-right: 0; border-bottom: 1px solid var(--silver); }
  .price:last-child { border-bottom: 0; }
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: flex-start; gap: .4rem; background: #fff; border-bottom: 1px solid var(--rule); padding: 1rem 1.25rem 1.4rem; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .6rem 0; width: 100%; }
}
@media (max-width: 560px) {
  .ticks, .field.two, .steps { grid-template-columns: 1fr; }
  .brand-text { font-size: .9rem; letter-spacing: .09em; }
  .mark { height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* FAQ */
.faq-list details { border-top: 1px solid var(--rule); }
.faq-list details:first-child { border-top: 2px solid var(--ink); }
.faq-list details:last-child { border-bottom: 1px solid var(--rule); }
.faq-list summary { position: relative; cursor: pointer; list-style: none; padding: 1.1rem 2.2rem 1.1rem 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.25; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: .4rem; top: 1.35rem; width: .55rem; height: .55rem; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(-135deg); top: 1.6rem; }
.faq-list details p { margin: 0 0 1.2rem; color: var(--ink-2); max-width: 40rem; }
.split > .values { margin-top: .25rem; }
#faq .split > div:first-child p { color: var(--ink-2); margin-top: 1rem; }
a[href^="tel:"] { white-space: nowrap; }
