/* Carlito, self-hosted (SIL OFL 1.1) */
@font-face {
  font-family: Carlito;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/carlito-400.a29c4a4e61.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Carlito;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/carlito-700.af249cfe41.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Carlito;
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/carlito-400-italic.6bbdd83c57.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Carlito;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/carlito-arrows-400.c12df3b1ce.woff2) format('woff2');
  unicode-range: U+2192;
}
@font-face {
  font-family: Carlito;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/carlito-arrows-700.983456a64d.woff2) format('woff2');
  unicode-range: U+2192;
}
@font-face {
  font-family: Carlito;
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/carlito-arrows-400-italic.5fd04f8e55.woff2) format('woff2');
  unicode-range: U+2192;
}

/* ---- design-system/tokens.css ---- */
/* Johanssen & Co — generated from tokens.json */
:root {
  --ink: #000000;
  --ink-soft: #333333;
  --ink-muted: #555555;
  --ink-subtle: #6b6b6b;
  --legacy-grey: #8d8d8d;
  --surface: #ffffff;
  --surface-alt: #f4f4f4;
  --surface-subtle: #f9f9f9;
  --line: #e2e2e2;
  --line-strong: #000000;
  --field-border: #767676;
  --inverse-surface: #000000;
  --inverse-ink: #ffffff;
  --accent: #a8b4bf;
  --accent-pale: #e4ebf0;
  --focus: #000000;
  --success: #1f6b3a;
  --success-bg: #e8f3ec;
  --warning: #8a5a00;
  --warning-bg: #fbf1dc;
  --danger: #b42318;
  --danger-bg: #fbe9e7;
  --info: #2f4a63;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-14: 56px;
  --space-18: 72px;
  --space-20: 80px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-2xl: 28px;
  --radius-pill: 999px;
  --shadow-card: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-pop: 0 8px 24px rgba(0, 0, 0, 0.12);
  --container: 1200px;
  --container-narrow: 720px;
  --touch-target: 44px;
  --app-sidebar: 240px;
  --font-sans: Carlito, Calibri, AppleGothic, "Helvetica Neue", Arial, sans-serif;
}

/* ---- design-system/components/bundle.css ---- */
/* Johanssen & Co — component styles. Plain CSS, no build step.
   Load after tokens.css. Every class starts with jc-. */

/* ---------- Motion ---------- */
:root { --jc-ease: cubic-bezier(.2, .7, .2, 1); --jc-fast: 150ms; --jc-base-dur: 250ms; --jc-reveal-dur: 600ms; }

/* ---------- Base ---------- */
.jc-base, .jc-app { font-family: var(--font-sans); color: var(--ink); background: var(--surface); -webkit-font-smoothing: antialiased; }
.jc-base { font-size: 18px; line-height: 1.55; }
.jc-base *, .jc-app * { box-sizing: border-box; }
:where(.jc-base) a { color: var(--ink); }
.jc-base :focus-visible, .jc-app :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.jc-container { max-width: var(--container); margin: 0 auto; padding-left: var(--space-8); padding-right: var(--space-8); }
.jc-section { padding-top: var(--space-20); padding-bottom: var(--space-20); }
.jc-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--space-4) var(--space-10); margin-bottom: var(--space-10); }
.jc-section-head__text { display: flex; flex-direction: column; gap: var(--space-3); max-width: 640px; }
.jc-section-head__text p { margin: 0; color: var(--ink-soft); }
.jc-section--alt { background: var(--surface-alt); }
.jc-display { margin: 0; font-size: 64px; line-height: 1.02; font-weight: 700; letter-spacing: -1.2px; text-wrap: balance; }
.jc-h1 { margin: 0; font-size: 52px; line-height: 1.05; font-weight: 700; letter-spacing: -0.8px; text-wrap: balance; }
.jc-h2 { margin: 0; font-size: 40px; line-height: 1.12; font-weight: 700; letter-spacing: -0.5px; text-wrap: balance; }
.jc-h3 { margin: 0; font-size: 23px; line-height: 1.3; font-weight: 700; }
.jc-lead { margin: 0; font-size: 21px; line-height: 1.5; }
.jc-eyebrow { font-size: 14px; line-height: 1.4; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-muted); }
@media (max-width: 720px) {
  .jc-display { font-size: 40px; }
  .jc-h1 { font-size: 34px; }
  .jc-h2 { font-size: 30px; }
}

/* ---------- Button (website: pill) ---------- */
.jc-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 48px; padding: 12px 28px; border-radius: var(--radius-pill); border: 2px solid var(--ink); font: 700 18px/1.2 var(--font-sans); text-decoration: none; cursor: pointer; transition: background-color var(--jc-fast) var(--jc-ease), color var(--jc-fast) var(--jc-ease), transform var(--jc-base-dur) var(--jc-ease), box-shadow var(--jc-base-dur) var(--jc-ease); }
.jc-btn:hover { transform: translateY(-1px); }
.jc-btn:active { transform: translateY(0); }
.jc-btn--primary { background: var(--ink); color: var(--inverse-ink); }
.jc-btn--primary:hover { background: var(--ink-soft); border-color: var(--ink-soft); color: var(--inverse-ink); }
.jc-btn--secondary { background: var(--surface); color: var(--ink); }
.jc-btn--secondary:hover { background: var(--surface-alt); }
.jc-btn--inverse { background: var(--inverse-ink); color: var(--ink); border-color: var(--inverse-ink); }
.jc-btn--inverse-outline { background: transparent; color: var(--inverse-ink); border-color: var(--inverse-ink); }
.jc-btn--sm { min-height: 44px; padding: 10px 22px; font-size: 16px; }
.jc-btn--app { min-height: 44px; padding: 10px 18px; border-radius: var(--radius-sm); font-size: 16px; }
.jc-btn--danger { background: var(--danger); border-color: var(--danger); color: var(--inverse-ink); }
.jc-btn[disabled], .jc-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.jc-link-arrow { font-weight: 700; color: var(--ink); text-underline-offset: 4px; display: inline-block; transition: transform var(--jc-base-dur) var(--jc-ease); }
.jc-link-arrow:hover { transform: translateX(4px); }
.jc-inverse :focus-visible { outline-color: var(--accent); }

/* ---------- Header: utility bar + main bar + menu ---------- */
.jc-topbar { background: var(--inverse-surface); color: var(--inverse-ink); font-size: 14px; }
.jc-topbar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-6); padding-top: 9px; padding-bottom: 9px; }
.jc-topbar a { color: var(--inverse-ink); text-decoration: none; }
.jc-topbar a:hover { text-decoration: underline; }
.jc-topbar__group { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); }
.jc-topbar :focus-visible { outline-color: var(--accent); }
.jc-topbar__phone { display: none; font-weight: 700; }

.jc-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); transition: box-shadow var(--jc-base-dur) var(--jc-ease); }
.jc-header.is-scrolled { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06); }
.jc-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); min-height: 88px; }
.jc-header__logo { display: inline-flex; align-items: center; flex: none; }
.jc-header__logo img { height: 52px; width: auto; display: block; }

.jc-menu { display: flex; align-items: center; gap: var(--space-2); }
.jc-menu__list { display: flex; align-items: center; gap: var(--space-1); list-style: none; margin: 0; padding: 0; }
.jc-menu__item { position: relative; }
.jc-menu__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: var(--radius-pill); border: 0; background: none; font: 700 17px/1 var(--font-sans); color: var(--ink); text-decoration: none; cursor: pointer; transition: background-color var(--jc-fast) var(--jc-ease); }
.jc-menu__link:hover, .jc-menu__item:focus-within > .jc-menu__link { background: var(--surface-alt); }
.jc-menu__link[aria-current="page"], .jc-menu__link.is-current { background: var(--surface-alt); box-shadow: inset 0 -2px 0 var(--ink); }
.jc-menu__chev { width: 12px; height: 12px; transition: transform var(--jc-base-dur) var(--jc-ease); }
.jc-menu__item.is-open .jc-menu__chev { transform: rotate(180deg); }
.jc-menu__cta { margin-left: var(--space-4); }

/* Services dropdown */
.jc-dropdown { position: absolute; top: calc(100% + 10px); left: -16px; width: 420px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-pop); padding: var(--space-3); list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity var(--jc-base-dur) var(--jc-ease), transform var(--jc-base-dur) var(--jc-ease), visibility 0s linear var(--jc-base-dur); }
.jc-dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.jc-menu__item:hover > .jc-dropdown, .jc-menu__item.is-open > .jc-dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.jc-dropdown a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: var(--radius-md); color: var(--ink); text-decoration: none; }
.jc-dropdown a:hover, .jc-dropdown a:focus-visible { background: var(--surface-alt); }
.jc-dropdown strong { font-size: 17px; }
.jc-dropdown span { font-size: 15px; color: var(--ink-muted); line-height: 1.4; }
.jc-dropdown__all { border-top: 1px solid var(--line); margin-top: var(--space-2); padding-top: var(--space-2); }

/* Mobile menu */
.jc-menu-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: var(--radius-pill); border: 2px solid var(--ink); background: var(--surface); font: 700 16px/1 var(--font-sans); color: var(--ink); cursor: pointer; }
.jc-menu-toggle svg { width: 20px; height: 20px; }
@media (max-width: 980px) {
  .jc-header__inner { min-height: 72px; }
  .jc-header__logo img { height: 40px; }
  .jc-menu-toggle { display: inline-flex; }
  .jc-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: var(--space-4); background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px rgba(0, 0, 0, 0.08); padding: var(--space-4) var(--space-8) var(--space-6); max-height: calc(100vh - 72px); overflow-y: auto; }
  .jc-header.is-open .jc-menu { display: flex; }
  .jc-menu__list { flex-direction: column; align-items: stretch; gap: 0; }
  .jc-menu__link { width: 100%; justify-content: space-between; min-height: 56px; padding: 0 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 20px; }
  .jc-menu__link:hover, .jc-menu__item:focus-within > .jc-menu__link, .jc-menu__link[aria-current="page"], .jc-menu__link.is-current { background: none; box-shadow: none; }
  .jc-menu__link[aria-current="page"], .jc-menu__link.is-current { text-decoration: underline; text-underline-offset: 6px; }
  .jc-dropdown { position: static; width: auto; border: 0; box-shadow: none; padding: var(--space-1) 0 var(--space-2); opacity: 1; visibility: visible; transform: none; display: none; }
  .jc-menu__item.is-open > .jc-dropdown { display: block; }
  .jc-menu__item:hover > .jc-dropdown { display: none; }
  .jc-menu__item.is-open:hover > .jc-dropdown { display: block; }
  .jc-dropdown span { display: none; }
  .jc-menu__cta { margin-left: 0; width: 100%; }
  .jc-topbar__hours { display: none; }
  .jc-topbar__phone { display: inline; }
}
@media (max-width: 600px) {
  .jc-topbar__inner { justify-content: center; }
  .jc-topbar__inner > .jc-topbar__group:first-child, .jc-topbar a[href^="mailto"] { display: none; }
}

/* ---------- Hero (home) ---------- */
.jc-hero { padding-top: var(--space-18); padding-bottom: var(--space-20); }
.jc-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--space-14); align-items: center; }
.jc-hero__text { display: flex; flex-direction: column; gap: var(--space-6); }
.jc-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-2); }
.jc-hero__facts { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); margin: var(--space-2) 0 0; padding: 0; list-style: none; font-size: 16px; color: var(--ink-muted); }
.jc-hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.jc-hero__facts svg { width: 18px; height: 18px; color: var(--ink); }
.jc-hero__media { position: relative; }
.jc-hero__media .jc-photo { aspect-ratio: 4 / 3; }
.jc-hero__badge { position: absolute; left: -24px; bottom: 28px; display: flex; flex-direction: column; gap: 2px; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-pop); padding: 16px 20px; text-decoration: none; color: var(--ink); max-width: 260px; }
.jc-hero__badge span { font-size: 14px; color: var(--ink-muted); }
.jc-hero__badge strong { font-size: 19px; }
@media (max-width: 900px) {
  .jc-hero { padding-top: var(--space-12); padding-bottom: var(--space-14); }
  .jc-hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-10); }
  .jc-hero__badge { left: 16px; bottom: 16px; }
}

/* ---------- Page header (inner pages) ---------- */
.jc-pagehead { background: var(--surface-alt); padding-top: var(--space-14); padding-bottom: var(--space-14); }
.jc-pagehead__inner { display: flex; flex-direction: column; gap: var(--space-4); max-width: 820px; }
.jc-crumbs { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: 0; padding: 0; font-size: 15px; color: var(--ink-muted); }
.jc-crumbs li + li::before { content: "/"; margin-right: var(--space-2); color: var(--ink-subtle); }
.jc-crumbs a { color: var(--ink-muted); }
.jc-pagehead .jc-lead { color: var(--ink-soft); }

/* ---------- Service cards ---------- */
.jc-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-5); }
.jc-card { display: flex; flex-direction: column; gap: 10px; padding: var(--space-7); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); color: var(--ink); text-decoration: none; }
.jc-card__title { font-size: 23px; line-height: 1.3; font-weight: 700; }
.jc-card__text { font-size: 17px; line-height: 1.5; color: var(--ink-soft); }
a.jc-card { transition: transform var(--jc-base-dur) var(--jc-ease), box-shadow var(--jc-base-dur) var(--jc-ease), border-color var(--jc-fast) var(--jc-ease); }
a.jc-card:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-pop); }
a.jc-card--featured:hover, a.jc-card--inverse:hover { box-shadow: none; }
.jc-card--featured { grid-column: 1 / -1; border: 2px solid var(--line-strong); box-shadow: none; }
.jc-card--featured .jc-card__title { font-size: 26px; }
.jc-card--inverse { background: var(--inverse-surface); color: var(--inverse-ink); border-color: var(--inverse-surface); box-shadow: none; justify-content: space-between; }
.jc-card--inverse .jc-card__text { color: var(--inverse-ink); border-bottom: 2px solid var(--accent); align-self: flex-start; padding-bottom: 2px; }

/* ---------- Value tiles ---------- */
.jc-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-6); }
.jc-tile { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-7); border-radius: var(--radius-lg); background: var(--surface-alt); }
.jc-tile p { margin: 0; }

/* ---------- Fee table ---------- */
.jc-fees { background: var(--surface); border-radius: var(--radius-lg); padding: var(--space-3) var(--space-7); }
.jc-fees__row { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.jc-fees__row:last-child { border-bottom: 0; }
.jc-fees__price { font-weight: 700; white-space: nowrap; }

/* ---------- Photo ---------- */
.jc-photo { display: block; width: 100%; border-radius: var(--radius-xl); overflow: hidden; object-fit: cover; background: var(--surface-alt); }
.jc-photo--mono { filter: grayscale(1) contrast(1.05); }
.jc-photo-frame { border-radius: var(--radius-xl); overflow: hidden; }
.jc-photo-frame .jc-photo { border-radius: 0; transition: transform 800ms var(--jc-ease); }
.jc-photo-frame:hover .jc-photo { transform: scale(1.03); }

/* ---------- Scroll reveal ----------
   Add .jc-reveal to a section's children; the small script in the README adds .is-visible
   as they scroll into view. Without the script (or with reduced motion) they simply show. */
.jc-js .jc-reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--jc-reveal-dur) var(--jc-ease), transform var(--jc-reveal-dur) var(--jc-ease); }
.jc-js .jc-reveal.is-visible { opacity: 1; transform: none; }
.jc-js .jc-reveal--d1 { transition-delay: 80ms; } .jc-js .jc-reveal--d2 { transition-delay: 160ms; } .jc-js .jc-reveal--d3 { transition-delay: 240ms; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
  .jc-js .jc-reveal { opacity: 1; transform: none; }
  .jc-btn:hover, a.jc-card:hover, .jc-link-arrow:hover, .jc-photo-frame:hover .jc-photo { transform: none; }
}

/* ---------- Profile ---------- */
.jc-profile { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-12); align-items: center; }
.jc-profile__text { display: flex; flex-direction: column; gap: 18px; }
.jc-profile__text p { margin: 0; }

/* ---------- Contact panel ---------- */
.jc-contact { background: var(--inverse-surface); color: var(--inverse-ink); border-radius: var(--radius-2xl); padding: var(--space-14); display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-10); }
:where(.jc-contact) a:not(.jc-btn) { color: var(--inverse-ink); }
.jc-contact__label { color: var(--accent); font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.jc-contact__details { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-6); font-size: 17px; line-height: 1.6; }
.jc-contact__group { display: flex; flex-direction: column; gap: var(--space-1); }
@media (max-width: 720px) { .jc-contact { padding: var(--space-8); border-radius: var(--radius-lg); } }

/* ---------- Footer ---------- */
.jc-footer { border-top: 1px solid var(--line); font-size: 16px; color: var(--ink-soft); }
.jc-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: var(--space-10); padding-top: var(--space-18); padding-bottom: var(--space-12); }
.jc-footer__brand { display: flex; flex-direction: column; gap: var(--space-4); max-width: 320px; }
.jc-footer__brand img { height: 48px; width: auto; align-self: flex-start; }
.jc-footer__brand p { margin: 0; }
.jc-footer h2 { font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-muted); margin: 0 0 var(--space-4); }
.jc-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.jc-footer a { color: var(--ink); text-decoration: none; }
.jc-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.jc-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); border-top: 1px solid var(--line); padding-top: var(--space-6); padding-bottom: var(--space-8); font-size: 14px; color: var(--ink-subtle); }
@media (max-width: 900px) { .jc-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .jc-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .jc-footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* ================= App ================= */
.jc-app { font-size: 16px; line-height: 1.5; }
.jc-shell { display: grid; grid-template-columns: var(--app-sidebar) 1fr; min-height: 100%; }
.jc-sidebar { background: var(--surface-alt); border-right: 1px solid var(--line); padding: var(--space-6) var(--space-4); display: flex; flex-direction: column; gap: var(--space-1); }
.jc-sidebar__brand { font-size: 22px; font-weight: 400; padding: 0 var(--space-3) var(--space-5); }
.jc-sidebar a { display: flex; align-items: center; min-height: 44px; padding: 0 var(--space-3); border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-weight: 700; }
.jc-sidebar a:hover { background: var(--surface); }
.jc-sidebar a[aria-current="page"] { background: var(--ink); color: var(--inverse-ink); }
.jc-main { padding: var(--space-8); display: flex; flex-direction: column; gap: var(--space-6); }
.jc-page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-4); }
.jc-app-title { margin: 0; font-size: 26px; line-height: 1.2; font-weight: 700; }
@media (max-width: 720px) { .jc-shell { grid-template-columns: 1fr; } .jc-sidebar { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); } .jc-sidebar__brand { display: none; } }

/* Panel */
.jc-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); }
.jc-panel__title { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 700; }

/* Fields */
.jc-field { display: flex; flex-direction: column; gap: var(--space-1); }
.jc-label { font-size: 15px; font-weight: 700; line-height: 1.35; }
.jc-hint { font-size: 14px; color: var(--ink-muted); }
.jc-input, .jc-select, .jc-textarea { font: 400 16px/1.4 var(--font-sans); color: var(--ink); background: var(--surface); border: 1px solid var(--field-border); border-radius: var(--radius-sm); min-height: 44px; padding: 10px 12px; width: 100%; }
.jc-textarea { min-height: 96px; resize: vertical; }
.jc-input:focus, .jc-select:focus, .jc-textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--line-strong); }
.jc-field--error .jc-input, .jc-field--error .jc-select { border-color: var(--danger); border-width: 2px; }
.jc-error { font-size: 14px; color: var(--danger); font-weight: 700; }
.jc-field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-4); }

/* Checkbox and radio */
.jc-choice { display: inline-flex; align-items: center; gap: var(--space-3); min-height: 44px; cursor: pointer; font-size: 16px; }
.jc-choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); }

/* Badge */
.jc-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 700; line-height: 1.4; background: var(--surface-alt); color: var(--ink); white-space: nowrap; }
.jc-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.jc-badge--success { background: var(--success-bg); color: var(--success); }
.jc-badge--warning { background: var(--warning-bg); color: var(--warning); }
.jc-badge--danger { background: var(--danger-bg); color: var(--danger); }
.jc-badge--info { background: var(--accent-pale); color: var(--info); }

/* Alert */
.jc-alert { display: flex; gap: var(--space-3); padding: var(--space-4); border-radius: var(--radius-md); background: var(--accent-pale); color: var(--info); font-size: 16px; }
.jc-alert strong { display: block; }
.jc-alert svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.jc-alert--success { background: var(--success-bg); color: var(--success); }
.jc-alert--warning { background: var(--warning-bg); color: var(--warning); }
.jc-alert--danger { background: var(--danger-bg); color: var(--danger); }

/* Table */
.jc-table-wrap { border: 1px solid var(--line); border-radius: var(--radius-md); overflow-x: auto; }
.jc-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.jc-table th { text-align: left; font-size: 15px; font-weight: 700; background: var(--surface-alt); padding: 12px 16px; border-bottom: 1px solid var(--line); }
.jc-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.jc-table tr:last-child td { border-bottom: 0; }
.jc-table tbody tr:hover { background: var(--surface-subtle); }
.jc-table tr[aria-selected="true"] { background: var(--accent-pale); }

/* Tabs */
.jc-tabs { display: flex; gap: var(--space-1); border-bottom: 1px solid var(--line); }
.jc-tab { font: 700 16px/1 var(--font-sans); color: var(--ink-muted); background: none; border: 0; border-bottom: 3px solid transparent; padding: 14px 16px 11px; min-height: 44px; cursor: pointer; }
.jc-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }

/* ---- prototype/css/site.css ---- */
/* Johanssen & Co — page layouts. Uses tokens.css and jc.css (the design system). */
:root { color-scheme: light; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; overflow-x: clip; }
img { max-width: 100%; height: auto; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--inverse-ink); padding: 12px 18px; border-radius: var(--radius-pill); z-index: 10; }
.skip:focus { left: 16px; color: var(--inverse-ink); }

/* Article + aside */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--space-12); align-items: start; }
@media (max-width: 900px) { .article-grid { grid-template-columns: minmax(0, 1fr); } }
.prose { max-width: 720px; }
.prose h2 { font-size: 30px; line-height: 1.2; margin: var(--space-12) 0 var(--space-4); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 22px; line-height: 1.3; margin: var(--space-8) 0 var(--space-3); }
.prose p, .prose ul { margin: 0 0 var(--space-4); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: var(--space-2); }
.note { background: var(--surface-alt); border-radius: var(--radius-lg); padding: var(--space-6) var(--space-7); margin: var(--space-6) 0; }
.note p:last-child { margin-bottom: 0; }

.aside { position: sticky; top: 112px; display: flex; flex-direction: column; gap: var(--space-5); }
.aside-card { background: var(--surface-alt); border-radius: var(--radius-lg); padding: var(--space-7); display: flex; flex-direction: column; gap: var(--space-3); }
.aside-card h2 { font-size: 21px; margin: 0; }
.aside-card p { margin: 0; font-size: 17px; }
.aside-card--dark { background: var(--inverse-surface); color: var(--inverse-ink); }
.aside-card--dark .jc-btn { align-self: flex-start; }
.aside-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.aside-list a { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.aside-list a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 900px) { .aside { position: static; } }

/* Section heads */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--space-4); margin-bottom: var(--space-10); }

/* Fees section on home */
.fees-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-10); align-items: start; }
.fees-grid__text { display: flex; flex-direction: column; gap: var(--space-4); }
.fees-grid__text p { margin: 0; }

/* Services overview */
.svc-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-5); }
.svc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-7); display: flex; flex-direction: column; gap: var(--space-3); }
.svc h2 { font-size: 23px; margin: 0; }
.svc ul { margin: 0; padding-left: 1.1em; font-size: 17px; color: var(--ink-soft); }
.svc li { margin-bottom: 4px; }
.svc .jc-link-arrow { margin-top: auto; padding-top: var(--space-2); align-self: flex-start; }

/* Costs table */
.jc-table td.num, .jc-table th.num { text-align: right; white-space: nowrap; }
.jc-table small { display: block; color: var(--ink-muted); font-size: 15px; }
.costs-table { font-size: 18px; }

/* Contact page */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: var(--space-5); }
.contact-card { background: var(--surface-alt); border-radius: var(--radius-lg); padding: var(--space-7); display: flex; flex-direction: column; gap: var(--space-2); font-size: 18px; }
.contact-card .jc-eyebrow { margin-bottom: var(--space-1); }
.contact-card strong { font-size: 23px; }


/* Home service grid: featured beside one card, then three, then a full-width call bar */
@media (min-width: 980px) {
  .home-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-cards .jc-card--featured { grid-column: span 2; }
  .home-cards .jc-card--inverse { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
  .home-cards .jc-card--inverse .jc-card__text { align-self: center; }
}

/* ---- src/css/page.css ---- */
/* Johanssen & Co — classes that replace the prototype's inline style="" attributes,
   so the Content-Security-Policy can forbid inline styles. Each rule reproduces the
   prototype's inline value exactly (raw values only where no token exists).
   Selectors are compound where needed to win over the class they used to override. */

/* Contact panel ("Let's talk.") */
.contact-intro { display: flex; flex-direction: column; gap: var(--space-4); }
.contact-intro .contact-intro__text { margin: 0; font-size: 19px; }
.contact-intro__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-2); }

/* A section that sits straight under the previous one */
.jc-section.section--flush-top { padding-top: 0; }

/* Home hero photo crop (4:3 frame from the design system) */
.jc-photo.hero-photo { object-position: 53% 50%; }

/* David's portrait */
.jc-photo-frame.portrait-frame { max-width: 440px; }
.jc-photo.portrait { aspect-ratio: 4 / 5; object-position: 50% 22%; }
.jc-profile.profile--top { align-items: start; }

/* Section headings with a measure */
.jc-h2.heading-measure { max-width: 640px; margin-bottom: var(--space-10); }

/* Spacing helpers */
.jc-btn.btn-start { align-self: flex-start; margin-top: var(--space-2); }
.jc-btn.btn-start--lg { align-self: flex-start; margin-top: var(--space-3); }
.m-0, .note.m-0, .jc-h2.m-0 { margin: 0; }
.jc-table-wrap.mb-6 { margin-bottom: var(--space-6); }
.jc-table-wrap.mb-6-only { margin: 0 0 var(--space-6); }
.stack-10 { display: flex; flex-direction: column; gap: var(--space-10); }

/* Wider prose (costs tables) */
.prose.prose--wide { max-width: none; }

/* Fees list inside an aside card */
.jc-fees.fees-plain { padding: 0; background: none; }

/* Tiles on an alt section */
.jc-tile.tile-surface { background: var(--surface); }

/* 404: a row of buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
