/* The Human Element — site styles. Hand-written, no framework. */
:root {
  --navy: #14243A;
  --charcoal: #202630;
  --warm: #F7F6F2;
  --slate: #60758C;
  --grey: #E9EDF1;
  --white: #FFFFFF;
  --teal: #4B9B94;
  --teal-ink: #2E716B;      /* teal for TEXT on light backgrounds (AA contrast) */
  --muted: #4B5B6D;         /* body-muted text (AA on warm white) */
  --line: #DCE2E8;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 36, 58, .05), 0 10px 30px -12px rgba(20, 36, 58, .18);
  --font: 'Manrope', 'Inter', 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --max: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--charcoal); background: var(--warm); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--teal-ink); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .75rem 1rem; z-index: 100; }
.skip-link:focus { left: .5rem; top: .5rem; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
.muted { color: var(--muted); }
.fine { font-size: .85rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--teal-ink); margin-bottom: 1rem; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 46rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: inherit; font-weight: 700; font-size: 1rem; padding: .95rem 1.6rem; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease; min-height: 48px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: var(--navy); }
.btn-primary:hover { background: #5DB0A9; color: var(--navy); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.on-dark .btn-secondary, .btn-light { color: #fff; border-color: rgba(255,255,255,.6); background: transparent; }
.on-dark .btn-secondary:hover, .btn-light:hover { background: #fff; color: var(--navy); }
.btn-sm { padding: .6rem 1.1rem; font-size: .92rem; min-height: 42px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }
.actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.6rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 246, 242, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--navy); text-decoration: none; letter-spacing: -.02em; font-size: 1.12rem; }
.brand:hover { color: var(--navy); }
.brand-light, .brand-light:hover { color: #fff; }
.brand-mark { color: var(--navy); flex: none; }
.brand-light .brand-mark { color: #fff; }
.primary-nav { display: flex; align-items: center; gap: 1.5rem; }
.primary-nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; align-items: center; }
.primary-nav a:not(.btn) { color: var(--charcoal); text-decoration: none; font-weight: 600; font-size: .96rem; padding: .55rem .8rem; border-radius: 8px; display: inline-block; }
.primary-nav a:not(.btn):hover, .primary-nav a[aria-current="page"] { color: var(--navy); background: var(--grey); }
.has-menu { position: relative; display: flex; align-items: center; }
.submenu-toggle { background: none; border: 0; cursor: pointer; font-size: .8rem; color: var(--slate); padding: .5rem .35rem; margin-left: -.5rem; display: none; }
.submenu { position: absolute; top: 100%; left: 0; min-width: 270px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: .5rem !important; display: none !important; flex-direction: column; align-items: stretch !important; }
.has-menu:hover .submenu, .has-menu:focus-within .submenu, .has-menu.open .submenu { display: flex !important; }
.submenu a { display: block !important; width: 100%; }
.nav-toggle { display: none; background: none; border: 0; width: 46px; height: 46px; cursor: pointer; border-radius: 10px; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 22px; height: 2px; background: var(--navy); position: relative; margin: auto; content: ''; transition: transform .2s; }
.nav-toggle .bars::before { position: absolute; top: -7px; left: 0; }
.nav-toggle .bars::after { position: absolute; top: 7px; left: 0; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .primary-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--warm); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.5rem; gap: 1rem; display: none; max-height: calc(100vh - 72px); overflow: auto; }
  .primary-nav.open { display: flex; }
  .primary-nav ul { flex-direction: column; align-items: stretch; }
  .primary-nav a:not(.btn) { padding: .8rem .6rem; font-size: 1.05rem; }
  .has-menu { flex-wrap: wrap; }
  .has-menu > a { flex: 1; }
  .submenu-toggle { display: block; padding: .8rem; margin: 0; }
  .submenu { position: static; box-shadow: none; border: 0; background: transparent; width: 100%; padding: 0 0 0 .75rem !important; }
  .has-menu:hover .submenu, .has-menu:focus-within .submenu { display: none !important; }
  .has-menu.open .submenu { display: flex !important; }
  .nav-cta { align-self: stretch; }
}

/* Sections */
section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.band-white { background: #fff; }
.band-grey { background: var(--grey); }
.band-navy { background: var(--navy); color: #E7ECF2; }
.band-navy h2, .band-navy h3 { color: #fff; }
.band-navy .eyebrow { color: #8FD0C9; }
.band-navy .lead, .band-navy .muted { color: #C2CCD8; }
.muted-light { color: #B5C0CD; }

/* Hero */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 6rem); background: radial-gradient(1200px 500px at 85% -10%, rgba(75,155,148,.16), transparent 60%), var(--warm); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero .lead { margin-bottom: 0; }
.hero-note { margin-top: 1.5rem; font-size: .92rem; color: var(--muted); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { order: -1; max-width: 340px; } }

/* Photo placeholder */
.photo { position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: linear-gradient(160deg, #1d3452, var(--navy)); box-shadow: var(--shadow); display: grid; place-items: center; color: #fff; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .ph { text-align: center; padding: 1.5rem; }
.photo .ph-circles { width: 70%; margin: 0 auto 1rem; opacity: .9; }
.photo .ph-initials { font-size: 3rem; font-weight: 800; letter-spacing: -.03em; }
.photo .ph-note { font-size: .8rem; color: #B5C0CD; margin: .4rem 0 0; }
.photo.square { aspect-ratio: 1; max-width: 360px; }
/* Real founder photo (picture/srcset); crop keeps the face centred */
.photo.has-img { display: block; }
.photo.has-img picture { display: block; width: 100%; height: 100%; }
.photo.has-img img { display: block; object-position: 50% 30%; }
.photo.square.has-img img { object-position: 50% 15%; }
.split > .reveal > .photo.square.has-img { margin-inline: auto; }
.split.founder-split { grid-template-columns: .85fr 1.15fr; align-items: start; }
@media (max-width: 860px) {
  .split.founder-split { grid-template-columns: 1fr; } .founder-split .photo { max-width: 420px; }
  .hero-visual .photo.has-img { aspect-ratio: 1; } .hero-visual .photo.has-img img { object-position: 50% 15%; }
}

/* Cards & grids */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.card .card-foot { margin-top: auto; padding-top: 1.25rem; }
.card-flat { box-shadow: none; }
.card.featured { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal), var(--shadow); }
.badge { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: #E3F1EF; color: var(--teal-ink); padding: .3rem .7rem; border-radius: 999px; margin-bottom: .9rem; align-self: flex-start; }
.badge-grey { background: var(--grey); color: var(--muted); }
.price { font-size: 2rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1; }
.price small { font-size: .9rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price s { color: var(--slate); font-weight: 600; font-size: 1.1rem; margin-right: .4rem; }
.meta { color: var(--muted); font-size: .92rem; margin: .4rem 0 1rem; }

.problem { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.problem .dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); margin-top: .6rem; }
.problem p { margin: 0; }

.pillar { padding: 1.5rem; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.pillar .num { font-weight: 800; color: #8FD0C9; font-size: .9rem; letter-spacing: .1em; }
.pillar h3 { margin: .4rem 0; font-size: 1.1rem; }
.pillar p { margin: 0; color: #C2CCD8; font-size: .97rem; }
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
@media (max-width: 1100px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 1rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split.wide-left { grid-template-columns: 1.2fr .8fr; }
@media (max-width: 860px) { .split, .split.wide-left { grid-template-columns: 1fr; } }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.checklist li { position: relative; padding-left: 1.9rem; }
.checklist li::before { content: ''; position: absolute; left: 0; top: .5em; width: 1rem; height: .55rem; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg) scale(.9); }
.checklist.two-col { grid-template-columns: repeat(2, 1fr); gap: .6rem 2rem; }
@media (max-width: 700px) { .checklist.two-col { grid-template-columns: 1fr; } }

.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.timeline li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: var(--radius-sm); padding: 1.25rem 1.5rem; }
.timeline h3 { margin-bottom: .25rem; font-size: 1.08rem; }
.timeline p { margin: 0; color: var(--muted); }

.cta-band { background: var(--navy); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; max-width: 40rem; margin-inline: auto; }
.cta-band p { color: #C2CCD8; margin-bottom: 1.8rem; }

.page-hero { background: var(--navy); color: #fff; padding: clamp(3rem, 7vw, 5.5rem) 0; background-image: radial-gradient(900px 380px at 90% 0%, rgba(75,155,148,.28), transparent 60%); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 22ch; }
.page-hero .lead { color: #C9D3DE; }
.page-hero .eyebrow { color: #8FD0C9; }
.page-hero .btn-secondary { color: #fff; border-color: rgba(255,255,255,.6); }
.page-hero .btn-secondary:hover { background: #fff; color: var(--navy); }

.callout { background: #EEF6F5; border: 1px solid #CFE5E2; border-radius: var(--radius); padding: 1.4rem 1.6rem; }
.callout p:last-child { margin-bottom: 0; }
.draft-notice { background: #FFF6DD; border: 1px solid #EBD38A; color: #5B4A12; padding: 1rem 1.25rem; border-radius: var(--radius-sm); margin-bottom: 2rem; font-size: .93rem; }
.placeholder-note { border: 2px dashed var(--line); border-radius: var(--radius); padding: 1.5rem; color: var(--muted); background: rgba(255,255,255,.6); }

details.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 1.25rem; margin-bottom: .75rem; }
details.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 1.1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
details.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--teal-ink); }
details.faq[open] summary::after { content: '–'; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq p { color: var(--muted); }

/* Forms */
.form { display: grid; gap: 1.1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
label, .label { font-weight: 700; font-size: .94rem; color: var(--navy); display: block; margin-bottom: .35rem; }
.hint { font-weight: 500; color: var(--muted); font-size: .86rem; }
input[type=text], input[type=email], input[type=tel], select, textarea { width: 100%; font: inherit; font-size: 1rem; padding: .8rem .95rem; border: 1.5px solid #B9C4CF; border-radius: var(--radius-sm); background: #fff; color: var(--charcoal); min-height: 48px; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(75,155,148,.45); border-color: var(--teal); }
input[aria-invalid=true], textarea[aria-invalid=true], select[aria-invalid=true] { border-color: #B3261E; }
.field-error { color: #B3261E; font-size: .86rem; margin-top: .3rem; font-weight: 600; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 500; font-size: .92rem; color: var(--charcoal); }
.check input { width: 20px; height: 20px; margin-top: .2rem; flex: none; accent-color: var(--teal-ink); }
.hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
.form-status { padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-weight: 600; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #E3F1EF; color: #1D5A54; border: 1px solid #B8DAD6; }
.form-status.err { background: #FDECEA; color: #8C1D18; border: 1px solid #F3C1BD; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }

/* Booking */
.service-picker { display: grid; gap: .8rem; }
.service-option { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; background: #fff; border: 2px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; text-align: left; font: inherit; width: 100%; transition: border-color .15s; }
.service-option:hover { border-color: var(--slate); }
.service-option[aria-pressed=true] { border-color: var(--teal); background: #F3FAF9; }
.service-option strong { color: var(--navy); display: block; }
.service-option span.meta { margin: 0; }
.service-option .p { font-weight: 800; color: var(--navy); white-space: nowrap; }
.booking-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; min-height: 200px; }
.calendly-inline-widget { min-width: 280px; height: 720px; }

/* Footer */
.site-footer { background: var(--charcoal); color: #D2D9E1; padding: 4rem 0 2rem; font-size: .96rem; }
.site-footer a { color: #D2D9E1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-h { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; font-weight: 700; }
.footer-tag { font-weight: 700; color: #fff; margin: 1rem 0 .4rem; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 3rem; padding-top: 1.5rem; }
.footer-base .fine { color: #AAB5C2; max-width: 60rem; }
.footer-base a { text-decoration: underline; }

/* Prose (policies / articles) */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2em; }
.prose h3 { margin-top: 1.6em; }
.prose li { margin-bottom: .4em; }

/* Tables */
.table-wrap { overflow-x: auto; }
table.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
table.compare th, table.compare td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.compare th { background: var(--grey); color: var(--navy); font-size: .9rem; }

/* Admin */
.admin-wrap { padding: 2rem 0 4rem; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.2rem; }
.stat b { display: block; font-size: 1.8rem; color: var(--navy); letter-spacing: -.02em; }
.stat span { font-size: .85rem; color: var(--muted); }
.admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; background: #fff; }
.admin-table th, .admin-table td { border-bottom: 1px solid var(--line); padding: .7rem .8rem; text-align: left; vertical-align: top; }
.admin-table th { background: var(--grey); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); position: sticky; top: 0; }
.admin-table select, .admin-table textarea, .admin-table input { min-height: 38px; padding: .4rem .6rem; font-size: .9rem; }
.admin-table textarea { min-height: 70px; }
.btn-tiny { padding: .35rem .8rem; min-height: 34px; font-size: .82rem; }

/* Motion */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}
@media print { .site-header, .site-footer, .cta-band { display: none; } body { background: #fff; } }
