/* Ledger — Accountant template by Nexus Digital.
   Colours and typefaces: change the variables below. Everything else follows. */
@font-face { font-family: "Source Serif 4"; src: url("../fonts/SourceSerif4.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSans.woff2") format("woff2"); font-weight: 400; font-display: swap; }
:root {
  --bg: #f7f8fa; --ink: #13233f; --accent: #2457c5; --soft: #556178; --panel: #e9eef7;
  --display: "Source Serif 4", Georgia, serif; --body: "IBM Plex Sans", system-ui, sans-serif;
  --pad: clamp(1.25rem, 5vw, 4.5rem); --ease: cubic-bezier(.2,.8,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 1rem; top: 1rem; background: var(--ink); color: var(--bg); padding: .6rem 1rem; z-index: 99; }
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 1rem; padding: 1rem var(--pad); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); }
.brand { font-family: var(--display); font-size: 1.5rem; text-decoration: none; letter-spacing: -.01em; }
.top nav { margin-left: auto; display: flex; gap: 1.5rem; }
.top nav a { text-decoration: none; font-size: .95rem; padding: .3rem 0; border-bottom: 1.5px solid transparent; }
.top nav a:hover { border-color: var(--accent); }
.menu { display: none; margin-left: auto; background: none; border: 1.5px solid currentColor; color: inherit; font: inherit; padding: .4rem .9rem; border-radius: 999px; }
.btn { display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1.6rem; background: var(--accent); color: var(--bg); border: 0; border-radius: 999px; font: 600 1rem var(--body); text-decoration: none; cursor: pointer; transition: transform .3s var(--ease), filter .3s; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.kicker { font-size: .85rem; letter-spacing: .08em; color: var(--soft); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); max-width: 36ch; color: var(--soft); }
section { padding: clamp(3.5rem, 9vw, 7rem) var(--pad); }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4.5vw, 3.6rem); line-height: 1.05; margin-bottom: 2rem; }
.services ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.services li { padding-top: 1.1rem; border-top: 1.5px solid var(--ink); }
.services h3 { font-family: var(--display); font-weight: 400; font-size: 1.45rem; margin-bottom: .35rem; }
.services p { color: var(--soft); }
.list { background: var(--panel); }
.list dl { max-width: 44rem; }
.list dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.list dt { font-weight: 600; } .list dd { font-variant-numeric: tabular-nums; }
.fine { margin-top: 1rem; font-size: .8rem; color: var(--soft); }
.contact-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); align-items: start; }
address { font-style: normal; line-height: 1.9; }
.hours { border-collapse: collapse; width: 100%; } .hours td { padding: .55rem 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 15%, transparent); } .hours td:last-child { text-align: right; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.form label { display: grid; gap: .3rem; font-size: .85rem; font-weight: 600; }
.form input, .form textarea { font: inherit; padding: .75rem .85rem; border: 1.5px solid color-mix(in srgb, var(--ink) 30%, transparent); border-radius: .7rem; background: color-mix(in srgb, var(--bg) 70%, white); color: var(--ink); }
.form [aria-invalid="true"] { border-color: #c0392b; }
.wide { grid-column: 1 / -1; } .note { font-size: .9rem; padding: .8rem 1rem; background: var(--panel); }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding: 1.5rem var(--pad); font-size: .85rem; color: var(--soft); border-top: 1px solid color-mix(in srgb, var(--ink) 15%, transparent); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }




.hero { text-align: center; display: grid; justify-items: center; gap: 1.3rem; padding-top: clamp(4rem, 12vw, 9rem); }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.8rem, 7vw, 6.4rem); line-height: 1; letter-spacing: -.015em; max-width: 14ch; }
.hero .lead { margin: 0 auto; }
.hero-img { width: min(100%, 64rem); margin-top: 2.5rem; } .hero-img img { aspect-ratio: 16/8; object-fit: cover; border-radius: 999px 999px 1rem 1rem; }
.mark { width: 7rem; height: 7rem; margin-top: 2rem; border-radius: 50%; border: 1.5px solid var(--accent); position: relative; }
.mark::before, .mark::after { content: ""; position: absolute; inset: 1.3rem; border-radius: 50%; border: 1.5px solid var(--accent); opacity: .6; }
.mark::after { inset: 2.6rem; background: var(--accent); opacity: .9; }
.services { text-align: center; } .services ul { text-align: left; }
.list dl { margin: 0 auto; } .list h2 { text-align: center; } .fine { text-align: center; }
@media (max-width: 760px) {
  .menu { display: inline-flex; }
  .top nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: .5rem var(--pad) 1rem; background: var(--bg); }
  .top nav.open { display: flex; } .top nav a { padding: .8rem 0; }
  .form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .giant span, .ticker div { animation: none !important; } .btn { transition: none; } }
