/* Fleurieu Coast Bookkeeping concept. Colours come from her logo: navy book, blue waves, gold sun. */
:root {
  --paper: #fbf8f1;
  --paper-2: #f3eee2;
  --ink: #1b2440;
  --muted: #545c72;
  --navy: #1d3566;
  --navy-2: #152749;
  --blue: #3d8fe0;
  --link: #1f5fae;
  --blue-text: #2468b8; /* logo blue darkened to pass AA on paper */
  --sun: #f3b23a;
  --sun-soft: #fde7b8;
  --line: #e3dccb;
  --radius: 14px;
  --wrap: 1120px;
  --head-font: "Outfit", system-ui, sans-serif;
  --body-font: "Source Sans 3", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--body-font); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--head-font); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 3.2vw, 2rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }

.concept { background: var(--navy-2); color: #fff; font-size: .8rem; text-align: center; padding: 6px 12px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.3em; border-radius: 999px; font: 600 1rem/1.2 var(--head-font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn svg { width: 1.05em; height: 1.05em; fill: currentColor; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-sun { background: var(--sun); color: var(--navy-2); }
.btn-sun:hover { background: #ffc65a; color: var(--navy-2); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }

/* ---------- header ---------- */
.head { position: sticky; top: 0; z-index: 20; background: rgba(251,248,241,.96); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand img { width: 52px; mix-blend-mode: multiply; }
.brand span { font: 500 .95rem/1.05 var(--head-font); color: var(--blue-text); text-transform: uppercase; letter-spacing: .06em; }
.brand b { display: block; font-weight: 700; color: var(--navy); font-size: 1.02rem; }
.brand span, .brand b { white-space: nowrap; }
.nav { display: none; gap: 4px; }
.nav a { padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font: 500 .95rem var(--head-font); white-space: nowrap; }
.nav a:hover { background: var(--paper-2); }
.nav a[aria-current] { color: var(--navy); box-shadow: inset 0 -3px 0 var(--sun); border-radius: 0; }
.head-call { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 999px; background: var(--navy); color: #fff; text-decoration: none; font: 600 .95rem var(--head-font); white-space: nowrap; }
.head-call:hover { background: var(--navy-2); color: #fff; }
.head-call svg { width: 17px; height: 17px; fill: currentColor; }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: 600 .9rem var(--head-font); color: var(--navy); cursor: pointer; min-height: 44px; }
.bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .bars { background: transparent; }
.menu-btn[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
.drawer { display: none; border-top: 1px solid var(--line); background: var(--paper); }
.drawer.open { display: block; max-height: calc(100dvh - 68px); overflow-y: auto; }
.drawer .wrap { display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 20px; }
.drawer a:not(.btn) { padding: 13px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 500 1.08rem var(--head-font); }
.drawer a[aria-current] { color: var(--navy); font-weight: 700; }
.drawer .btn { margin-top: 18px; }
@media (max-width: 420px) {
  .head-call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .head-call { padding: 12px; }
  .brand span { font-size: .82rem; }
  .brand b { font-size: .92rem; }
  .brand img { width: 44px; }
}
@media (max-width: 560px) {
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .head-in { gap: 10px; }
}
@media (min-width: 1100px) {
  .nav { display: flex; }
  .menu-btn, .drawer, .drawer.open { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 36px 0 0; }
.hero::before { /* ledger lines */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, transparent 0 39px, rgba(61,143,224,.07) 39px 40px);
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
}
.hero-in { position: relative; display: grid; gap: 28px; align-items: end; }
.eyebrow { font: 600 .82rem/1.3 var(--head-font); text-transform: uppercase; letter-spacing: .1em; color: var(--blue-text); margin-bottom: .9em; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.hero h1 { margin-bottom: .35em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 28px; }
.hero-photo { position: relative; margin: 0; justify-self: center; width: min(100%, 400px); padding: 18px 18px 0; }
.hero-photo::before { /* the sun rising behind the arch */
  content: ""; position: absolute; inset: 0 0 auto 0; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--sun) 0 62%, var(--sun-soft) 62.5% 100%);
}
.arch { position: relative; aspect-ratio: 1 / 1.08; border-radius: 999px 999px 0 0; overflow: hidden; background: #fff; box-shadow: 0 0 0 6px var(--paper); }
.arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
@media (min-width: 860px) {
  .hero { padding-top: 64px; }
  .hero-in { grid-template-columns: 1.15fr .85fr; gap: 48px; }
  .hero-copy { padding-bottom: 56px; }
}

/* ---------- credentials ---------- */
.band-creds { background: var(--navy); color: #fff; padding: 26px 0; }
.creds { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.creds li { position: relative; padding-left: 30px; }
.creds li::before { content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(243,178,58,.25); }
.creds strong { display: block; font: 600 1.05rem/1.3 var(--head-font); }
.creds span { color: #c9d4ec; font-size: .95rem; }
@media (min-width: 760px) { .creds { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* ---------- sections ---------- */
.section { padding: 56px 0; }
.section-tight { padding-top: 8px; }
.section-alt { background: var(--paper-2); }
.sec-title { position: relative; padding-top: 34px; }
.sec-title::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 22px; border-radius: 44px 44px 0 0; background: var(--sun); }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; }
.more { font: 600 1rem var(--head-font); text-decoration: none; }
.trio { display: grid; gap: 18px; margin-top: 12px; }
.trio article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.trio p { color: var(--muted); margin: 0; }
@media (min-width: 760px) { .trio { grid-template-columns: repeat(3, 1fr); } }
.svc-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.svc-list a { display: block; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 10px; padding: 14px 18px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.svc-list a:hover { border-left-color: var(--sun); transform: translateX(2px); }
.svc-list b { display: block; font: 600 1.08rem var(--head-font); color: var(--navy); }
.svc-list span { color: var(--muted); font-size: .97rem; }
@media (min-width: 700px) { .svc-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .svc-list { grid-template-columns: repeat(3, 1fr); } }

/* ---------- CTA band ---------- */
.cta { background: var(--navy); color: #fff; padding: 48px 0; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -80px; bottom: -160px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(243,178,58,.5), rgba(243,178,58,0) 70%); pointer-events: none; }
.cta-in { position: relative; z-index: 1; display: grid; gap: 20px; align-items: center; }
.cta h2 { color: #fff; }
.cta p { color: #d3dcef; margin: 0; max-width: 36em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 860px) { .cta-in { grid-template-columns: 1fr auto; gap: 40px; } }

/* ---------- inner pages ---------- */
.page-head { padding: 44px 0 28px; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3rem); max-width: 18em; }
.prose { max-width: 40em; }
.prose h2 { font-size: 1.4rem; margin-top: 1.4em; }
.about { display: grid; gap: 28px; align-items: start; }
.about-photo { margin: 0; border-radius: var(--radius); overflow: hidden; max-width: 420px; }
@media (min-width: 860px) { .about { grid-template-columns: 380px 1fr; gap: 48px; } .about-photo { position: sticky; top: 96px; } }

.svc-grid { display: grid; gap: 16px; }
.svc-grid article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; scroll-margin-top: 90px; }
.svc-grid h2 { font-size: 1.25rem; }
.svc-grid p, .svc-grid li { color: var(--muted); }
.svc-grid ul { margin: 0; padding-left: 1.2em; }
.svc-grid article:target { border-color: var(--sun); box-shadow: 0 0 0 3px var(--sun-soft); }
@media (min-width: 760px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1060px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }

.tips { list-style: none; counter-reset: tip; margin: 0; padding: 0; display: grid; gap: 14px; }
.tips li { counter-increment: tip; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 18px 72px; }
.tips li::before { content: counter(tip); position: absolute; left: 18px; top: 18px; width: 38px; height: 38px; border-radius: 50%; background: var(--sun-soft); color: var(--navy); font: 700 1rem/38px var(--head-font); text-align: center; }
.tips h2 { font-size: 1.12rem; margin-bottom: .3em; }
.tips p { margin: 0; color: var(--muted); }
@media (min-width: 860px) { .tips { grid-template-columns: 1fr 1fr; } }

.addons { display: grid; gap: 16px; }
.addons article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.addons h2 { font-size: 1.3rem; margin-bottom: .15em; }
.addons .was { font: 500 .95rem var(--body-font); color: var(--muted); }
.fit { font: 600 .92rem var(--head-font); color: var(--blue-text); margin-bottom: .6em; }
.addons ul { margin: 0; padding-left: 1.2em; color: var(--muted); }
@media (min-width: 700px) { .addons { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .addons { grid-template-columns: repeat(3, 1fr); } }

.tiers { display: grid; gap: 16px; align-items: start; }
.tiers article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.tiers ul { margin: 0; padding-left: 1.2em; color: var(--muted); }
.tiers li + li { margin-top: .45em; }
.tiers .tier-me { border: 2px solid var(--navy); position: relative; }
.tag { display: inline-block; background: var(--sun); color: var(--navy-2); font: 700 .78rem var(--head-font); text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.plus { font-weight: 600; color: var(--ink); margin-bottom: .5em; }
.source { margin-top: 20px; font-size: .95rem; color: var(--muted); }
@media (min-width: 960px) { .tiers { grid-template-columns: 1fr 1.35fr 1fr; } }

/* ---------- contact ---------- */
.contact { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .contact { grid-template-columns: 1.4fr 1fr; gap: 40px; } }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.contact-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 26px; }
.contact-card h2, .contact-card h3 { color: #fff; }
.contact-card h3 { margin-top: 1.4em; font-size: 1.05rem; color: var(--sun); }
.phone-text { margin: 10px 0 0; font: 600 1.15rem var(--head-font); color: #fff; letter-spacing: .02em; }
.contact-card .small { color: #c9d4ec; }
.field { margin-bottom: 16px; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
label, .label { display: block; font: 600 .97rem var(--head-font); color: var(--navy); margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--muted); }
input, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid #8a8170; border-radius: 10px; padding: 12px 14px; min-height: 48px; }
input:focus, textarea:focus { outline: 3px solid var(--link); outline-offset: 1px; border-color: var(--link); }
.file-drop { position: relative; display: grid; justify-items: center; gap: 4px; text-align: center; padding: 22px 16px; border: 2px dashed #8a8170; border-radius: 12px; background: var(--paper); color: var(--muted); transition: border-color .15s, background .15s; }
.file-drop svg { width: 30px; height: 30px; fill: var(--blue); margin-bottom: 4px; }
.file-drop input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; padding: 0; opacity: 0; cursor: pointer; }
.file-drop:hover, .file-drop.drag { border-color: var(--blue); background: #eef5fd; }
.file-drop:focus-within { outline: 3px solid var(--link); outline-offset: 1px; border-color: var(--link); }
.file-cta { color: var(--ink); }
.file-cta b { color: var(--link); text-decoration: underline; text-underline-offset: .18em; }
.file-hint { font-size: .9rem; }
.file-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.file-list:empty { display: none; }
.file-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; background: #eef5fd; border-radius: 8px; font-size: .95rem; color: var(--ink); overflow-wrap: anywhere; }
.file-list small { color: var(--muted); white-space: nowrap; }
.hint { font-size: .92rem; color: var(--muted); margin: 6px 0 0; }
.demo-msg { margin-top: 14px; padding: 12px 14px; background: var(--sun-soft); border-radius: 10px; color: var(--navy-2); }

/* ---------- hours / footer ---------- */
.hours { margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.hours dt { font-weight: 600; } .hours dd { margin: 0; text-align: right; }
.foot { background: var(--navy-2); color: #d3dcef; padding: 48px 0 0; margin-top: 0; }
.foot a { color: #fff; }
.foot h2 { color: #fff; font-size: 1.1rem; }
.foot-in { display: grid; gap: 28px; }
.social { list-style: none; display: flex; gap: 10px; margin: 16px 0 0; padding: 0; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; transition: background .15s, color .15s; }
.social a:hover { background: var(--sun); color: var(--navy-2); }
.social svg { width: 21px; height: 21px; fill: currentColor; }
.foot-brand img { width: 80px; background: #fff; border-radius: 10px; padding: 6px; margin-bottom: 12px; }
.foot .small, .small { font-size: .92rem; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin-top: 36px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; }
.foot-base p { margin: 0; }
@media (min-width: 760px) { .foot-in { grid-template-columns: 1.2fr 1fr 1fr; } }
