/* ==========================================================================
   CaregiverCrew design system - "Sunrise"
   Deep indigo for trust, sunflower yellow for warmth, cool white space for calm.
   Headings: Bricolage Grotesque. Body: Atkinson Hyperlegible Next (designed for low-vision readers).
   Dashboards and account pages also load crew-skin.css on top of main.css.
   ========================================================================== */

@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/bricolage.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/atkinson.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: italic; font-weight: 400 800; font-display: swap; src: url("../fonts/atkinson-italic.woff2") format("woff2"); }

:root {
    --brand-900: #0e1131;
    --brand-800: #161a48;
    --brand-700: #1f2462;
    --brand: #2b3190;
    --brand-500: #3d44b8;
    --brand-200: #c8cbf1;
    --brand-100: #e2e4fa;
    --brand-50: #f1f2fd;
    --sage: #a9b0e8;
    --accent: #f6be3b;
    --accent-600: #e3a414;
    --accent-200: #fbe0a0;
    --accent-50: #fff6df;
    --rose: #e8677b;
    --honey: #e59a12;
    --cream: #ffffff;
    --sand: #f3f4fa;
    --sand-2: #e7e9f4;
    --line: #e1e3ee;
    --line-strong: #c6cadd;
    --white: #ffffff;
    --ink: #14183a;
    --ink-2: #464b6a;
    --ink-3: #676c8c;
    --danger: #b3261e;
    --success: #1f7a4d;

    --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
    --font-body: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, -apple-system, sans-serif;

    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 26px;
    --radius-xl: 40px;
    --shadow-sm: 0 1px 2px rgba(20, 24, 58, .06), 0 2px 8px rgba(20, 24, 58, .05);
    --shadow: 0 2px 4px rgba(20, 24, 58, .05), 0 14px 34px -10px rgba(20, 24, 58, .18);
    --shadow-lg: 0 4px 10px rgba(20, 24, 58, .06), 0 32px 64px -20px rgba(20, 24, 58, .32);
    --container: 1240px;
    --gutter: clamp(16px, 4vw, 32px);
    --section: clamp(48px, 6.5vw, 96px);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body.cc {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
.cc img { max-width: 100%; height: auto; display: block; }
.cc a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cc a:hover { color: var(--accent); }
.cc h1, .cc h2, .cc h3, .cc h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.028em; color: var(--ink); margin: 0 0 .5em; font-variation-settings: "opsz" 72; }
.cc h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 750; letter-spacing: -.035em; }
.cc h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.cc h3 { font-size: clamp(1.3rem, 1.9vw, 1.6rem); letter-spacing: -.02em; font-variation-settings: "opsz" 24; }
.cc h4 { font-size: 1.2rem; }
.cc h5, .cc h6 { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; margin: 0 0 .4em; color: var(--ink); }
.cc p { margin: 0 0 1.1em; }
.cc em.accent, .cc .accent, .hero h1 em { font-style: normal; color: inherit; font-weight: inherit; background: linear-gradient(180deg, transparent 60%, var(--accent) 60%, var(--accent) 92%, transparent 92%); padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.cc ::selection { background: var(--brand-200); color: var(--brand-900); }
.cc :focus-visible { outline: 3px solid var(--brand-500); outline-offset: 3px; border-radius: 6px; }
.cc .ic { display: inline-block; flex: none; vertical-align: -0.18em; }
.cc button { font: inherit; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--brand-900); color: #fff !important; padding: 12px 18px; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(820px + var(--gutter) * 2); }
.wrap--mid { max-width: calc(1040px + var(--gutter) * 2); }
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section--sand { background: var(--sand); }
.section--white { background: var(--white); }
.section--deep { background: var(--brand-800); color: #e9f1ed; }
.section--deep h2, .section--deep h3, .section--deep h4 { color: #fff; }
.section--deep a:not(.btn) { color: #fff; }
.grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 991px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 899px) { .split, .split--wide-left { grid-template-columns: 1fr; } }
.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Section heads ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-size: .92rem; font-weight: 700; color: var(--brand-700); background: var(--brand-50); border: 1px solid var(--brand-100); padding: 6px 14px 6px 10px; border-radius: 999px; margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-50); }
.section--deep .eyebrow, .band .eyebrow { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); }
.lead { font-size: clamp(1.15rem, 1.5vw, 1.32rem); line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.section--deep .lead { color: #cfe0d8; }
.head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.head.center { margin-left: auto; margin-right: auto; }
.head.center .lead { margin-left: auto; margin-right: auto; }
.head--row { max-width: none; display: flex; gap: 24px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
.head--row > div { max-width: 720px; }
.muted { color: var(--ink-3); }
.small { font-size: .92rem; }

/* ---------- Buttons ---------- */
.btn-cc, .cc .btn-cc { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 26px; border-radius: 999px; border: 1.5px solid transparent; font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); white-space: nowrap; }
.btn-cc:active { transform: translateY(1px); }
.btn-cc .ic { width: 20px; height: 20px; transition: transform .2s var(--ease); }
.btn-cc:hover .ic-arrow { transform: translateX(3px); }
.btn-primary-cc { background: var(--accent); color: var(--ink) !important; box-shadow: 0 8px 20px -10px rgba(227, 164, 20, .8), inset 0 -2px 0 rgba(0,0,0,.08); }
.btn-primary-cc:hover { background: var(--accent-600); color: var(--ink) !important; }
.btn-brand { background: var(--brand); color: #fff !important; }
.btn-brand:hover { background: var(--brand-800); color: #fff !important; }
.btn-ghost { background: transparent; color: var(--ink) !important; border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand) !important; background: var(--white); }
.btn-light { background: #fff; color: var(--brand-900) !important; }
.btn-light:hover { background: var(--accent-50); color: var(--brand-900) !important; }
.btn-outline-light { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .45); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-sm-cc { min-height: 42px; padding: 8px 18px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-cc[disabled], .btn-cc.disabled { opacity: .55; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none !important; color: var(--brand) !important; }
.link-arrow .ic { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--accent) !important; }
.link-arrow:hover .ic { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(20, 40, 35, .35); }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none !important; color: var(--ink) !important; flex: none; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 750; letter-spacing: -.035em; line-height: 1; }
.brand__name em { font-style: normal; color: var(--brand-500); }
.site-footer .brand__name em { color: var(--accent); }
.nav-main { display: flex; align-items: center; gap: 4px; margin: 0 auto; padding: 0; list-style: none; }
.nav-main > li { position: relative; }
.nav-main a, .nav-main button { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; color: var(--ink) !important; text-decoration: none; font-weight: 600; font-size: 1rem; background: none; border: 0; cursor: pointer; }
.nav-main a:hover, .nav-main button:hover, .nav-main .is-active > a { background: var(--sand); }
.nav-main .ic { width: 16px; height: 16px; transition: transform .2s; }
.nav-drop { position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; width: min(720px, 90vw); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 18px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.nav-main li:hover > .nav-drop, .nav-main li:focus-within > .nav-drop, .nav-main li.open > .nav-drop { opacity: 1; visibility: visible; transform: none; }
.nav-main li:hover > button .ic, .nav-main li.open > button .ic { transform: rotate(180deg); }
.nav-drop a { display: flex; gap: 12px; align-items: flex-start; border-radius: var(--radius-sm); padding: 10px 12px; white-space: normal; }
.nav-drop a .ic { width: 22px; height: 22px; color: var(--brand); margin-top: 2px; }
.nav-drop strong { display: block; font-size: .98rem; }
.nav-drop span { display: block; font-weight: 500; font-size: .86rem; color: var(--ink-3); line-height: 1.4; }
.nav-drop__foot { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header-actions .login-link { font-weight: 700; color: var(--ink) !important; text-decoration: none; padding: 10px 12px; }
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
@media (max-width: 1139px) {
    .nav-main, .header-actions .login-link, .header-actions .btn-ghost { display: none; }
    .menu-toggle { display: inline-flex; }
    .site-header__inner { justify-content: space-between; min-height: 70px; }
    .header-actions { margin-left: auto; }
}
@media (max-width: 479px) { .header-actions .btn-primary-cc { display: none; } .brand__name { font-size: 1.35rem; } }

.mobile-nav { position: fixed; inset: 0; z-index: 200; background: var(--cream); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--ease); visibility: hidden; overflow-y: auto; }
.mobile-nav.open { transform: none; visibility: visible; }
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; padding: 12px var(--gutter); min-height: 70px; border-bottom: 1px solid var(--line); }
.mobile-nav__body { padding: 16px var(--gutter) 32px; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav__body a { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; font-size: 1.2rem; font-weight: 600; color: var(--ink) !important; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav__label { margin: 20px 0 4px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.mobile-nav__cta { display: grid; gap: 12px; margin-top: 24px; }
body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(32px, 5vw, 72px) 0 clamp(56px, 8vw, 112px); overflow: hidden; }
.hero { background: linear-gradient(180deg, var(--brand-50) 0%, #fff 80%); }
.hero::before { content: ""; position: absolute; right: 4%; top: 6%; width: 360px; height: 360px; border-radius: 50%; background: var(--accent); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: -140px; bottom: -180px; width: 440px; height: 440px; border-radius: 50%; border: 2px dashed var(--brand-200); pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; position: relative; }
.hero h1 { margin-bottom: 22px; }

.hero .lead { margin-bottom: 32px; }
.hero__media { position: relative; }
.hero__photo { position: relative; border-radius: var(--radius-xl) var(--radius-xl) var(--radius-xl) 140px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); background: var(--sand-2); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__note { position: absolute; left: -32px; bottom: 40px; background: #fff; border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); max-width: 280px; display: flex; gap: 14px; align-items: flex-start; font-size: .95rem; line-height: 1.45; animation: floaty 7s ease-in-out infinite; }
.hero__note .ic { width: 28px; height: 28px; color: var(--brand); background: var(--brand-50); border-radius: 50%; padding: 6px; box-sizing: content-box; }
.hero__note strong { display: block; font-size: 1rem; }
.hero__stamp { position: absolute; right: -14px; top: 30px; width: 116px; height: 116px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; text-align: center; font-family: var(--font-display); font-weight: 750; font-size: 1.1rem; line-height: 1.1; padding: 16px; box-shadow: var(--shadow); transform: rotate(-10deg); border: 4px solid #fff; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 899px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__media { order: -1; max-width: 520px; margin: 0 auto; width: 100%; }
    .hero__photo { aspect-ratio: 5 / 4; border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 90px; }
    .hero::before { width: 200px; height: 200px; right: -50px; top: 10px; }
    .hero__note { position: relative; left: auto; bottom: auto; margin: -36px 16px 0; max-width: none; animation: none; }
    .hero__stamp { right: 6px; top: 10px; width: 96px; height: 96px; font-size: .9rem; }
}

/* ---------- Search card ---------- */
.search-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 10px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 6px; align-items: stretch; }
.search-card__field { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 10px 16px 10px 50px; border-radius: var(--radius); transition: background .2s; min-height: 64px; }
.search-card__field:hover, .search-card__field:focus-within { background: var(--brand-50); }
.search-card__field + .search-card__field { border-left: 1px solid var(--line); }
.search-card__field .ic { position: absolute; left: 16px; top: 50%; translate: 0 -50%; color: var(--brand); width: 22px; height: 22px; }
.search-card label { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0; }
.search-card input, .search-card select { border: 0; outline: 0; background: transparent; font: inherit; font-size: 1.05rem; color: var(--ink); padding: 2px 0 0; width: 100%; appearance: none; -webkit-appearance: none; }
.search-card select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2344514d' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0 center; padding-right: 22px; }
.search-card .btn-cc { border-radius: var(--radius); min-height: 64px; padding: 0 30px; }
@media (max-width: 767px) {
    .search-card { grid-template-columns: 1fr; padding: 8px; }
    .search-card__field + .search-card__field { border-left: 0; border-top: 1px solid var(--line); }
}
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; padding: 0; list-style: none; }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; font-size: .98rem; color: var(--ink-2); font-weight: 600; }
.trust-row .ic { width: 20px; height: 20px; color: var(--brand-500); }

/* ---------- Cards ---------- */
.card-cc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 2.6vw, 34px); position: relative; }
.card-cc--sand { background: var(--sand); border-color: transparent; }
.card-cc--flat { border: 0; box-shadow: none; }
.card-lift { transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card-lift:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.icon-badge { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); margin-bottom: 20px; }
.icon-badge .ic { width: 28px; height: 28px; }
.icon-badge--accent { background: var(--accent-50); color: var(--accent); }
.section--deep .icon-badge { background: rgba(255, 255, 255, .08); color: #fff; }

/* Service cards */
.service-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; text-decoration: none !important; color: var(--ink) !important; border: 1px solid var(--line); height: 100%; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-2); }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card:hover .service-card__img img { transform: scale(1.05); }
.service-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.service-card__body h3 { font-size: 1.4rem; margin: 0; }
.service-card__body p { color: var(--ink-2); font-size: 1rem; margin: 0; flex: 1; }
.service-card__more { margin-top: 10px; font-weight: 700; color: var(--brand); display: inline-flex; align-items: center; gap: 8px; }
.service-card:hover .service-card__more { color: var(--accent); }
.service-pill { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none !important; color: var(--ink) !important; font-weight: 600; transition: border-color .2s, background .2s; }
.service-pill:hover { border-color: var(--brand); background: var(--brand-50); }
.service-pill .ic { color: var(--brand); width: 22px; height: 22px; }
.service-pill .ic-arrow { margin-left: auto; color: var(--ink-3); width: 18px; height: 18px; }

/* Caregiver cards */
.cg-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: transform .3s var(--ease), box-shadow .3s var(--ease); position: relative; }
.cg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cg-card__photo { position: relative; aspect-ratio: 1 / 1; background: linear-gradient(135deg, var(--brand-100), var(--sand)); overflow: hidden; }
.cg-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.cg-card__initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 3.4rem; letter-spacing: -.04em; color: var(--brand); }
.cg-card__save { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .2s, color .2s; text-decoration: none; }
.cg-card__save:hover { transform: scale(1.06); color: var(--accent); }
.cg-card__save.is-saved { color: var(--accent); }
.cg-card__save.is-saved .ic { fill: currentColor; }
.cg-card__badge { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .95); color: var(--brand-800); font-size: .82rem; font-weight: 700; padding: 6px 10px; border-radius: 999px; }
.cg-card__badge .ic { width: 16px; height: 16px; color: var(--brand-500); }
.cg-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cg-card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.cg-card__name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 750; letter-spacing: -.02em; margin: 0; line-height: 1.15; }
.cg-card__name a { color: var(--ink) !important; text-decoration: none; }
.cg-card__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.cg-card__save, .cg-card form { z-index: 2; }
.cg-card__rate { font-weight: 800; color: var(--ink); white-space: nowrap; }
.cg-card__rate small { font-weight: 500; color: var(--ink-3); }
.cg-card__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--ink-3); font-size: .93rem; }
.cg-card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.cg-card__meta .ic { width: 16px; height: 16px; }
.cg-card__headline { color: var(--ink-2); font-size: .98rem; margin: 4px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cg-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 12px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--sand); color: var(--ink-2); font-size: .86rem; font-weight: 600; }
.tag--brand { background: var(--brand-50); color: var(--brand-700); }
.tag--accent { background: var(--accent-50); color: var(--accent-600); }
.tag .ic { width: 15px; height: 15px; }
.stars { display: inline-flex; align-items: center; gap: 4px; color: var(--honey); font-weight: 700; }
.stars .ic { width: 16px; height: 16px; fill: currentColor; }
.stars span { color: var(--ink-2); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 899px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 72px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1; color: var(--ink); background: var(--accent); transform: rotate(-4deg); }
.step::after { content: ""; position: absolute; top: 28px; left: 84px; right: -20px; height: 1px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px); }
.step:last-child::after { display: none; }
@media (max-width: 899px) { .step::after { display: none; } }
.step h3 { font-size: 1.5rem; }
.step p { color: var(--ink-2); }
.section--deep .step p { color: #cfe0d8; }


/* Tabs */
.tabs-cc { display: inline-flex; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; gap: 4px; margin-bottom: 44px; }
.tabs-cc button { border: 0; background: transparent; padding: 12px 22px; border-radius: 999px; font-weight: 700; color: var(--ink-2); cursor: pointer; min-height: 48px; }
.tabs-cc button[aria-selected="true"] { background: var(--brand); color: #fff; }
.tab-panel[hidden] { display: none; }

/* ---------- Feature list ---------- */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.feature-list li { display: flex; gap: 18px; align-items: flex-start; }
.feature-list .icon-badge { margin: 0; width: 48px; height: 48px; border-radius: 14px; flex: none; }
.feature-list .icon-badge .ic { width: 24px; height: 24px; }
.feature-list h3, .feature-list h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.12rem; margin: 2px 0 4px; letter-spacing: 0; }
.feature-list p { color: var(--ink-2); margin: 0; font-size: 1.02rem; }
.section--deep .feature-list p { color: #cfe0d8; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231f5248' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center no-repeat; }
.x-list li::before { background: var(--accent-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23b04a26' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center no-repeat; }
.section--deep .check-list li::before { background-color: rgba(255, 255, 255, .12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* ---------- Media frames ---------- */
.frame { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); background: var(--sand-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--arch { border-radius: var(--radius-xl) var(--radius-xl) var(--radius-xl) 120px; box-shadow: var(--shadow-lg); }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame-duo { position: relative; padding: 0 0 18% 14%; }
.frame-duo .frame:last-child { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 8px solid var(--cream); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.section--sand .frame-duo .frame:last-child { border-color: var(--sand); }

/* ---------- Trust block ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 639px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-item { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 22px; }
.trust-item h3, .trust-item h4 { font-family: var(--font-body); font-size: 1.08rem; font-weight: 700; margin: 12px 0 6px; letter-spacing: 0; }
.trust-item p { margin: 0; font-size: .98rem; color: #cfe0d8; }
.trust-item .ic { width: 26px; height: 26px; color: var(--accent-200); }
.notice { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--accent-50); border: 1px solid var(--accent-200); color: var(--ink); font-size: 1rem; }
.notice .ic { color: var(--accent); width: 24px; height: 24px; margin-top: 2px; }
.notice--brand { background: var(--brand-50); border-color: var(--brand-200); }
.notice--brand .ic { color: var(--brand); }
.notice p:last-child { margin: 0; }

/* ---------- FAQ (details/summary) ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--brand-200); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 24px; font-weight: 700; font-size: 1.1rem; position: relative; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231a2321' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center no-repeat; transition: transform .25s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--brand-100); }
.faq .faq__a { padding: 0 24px 22px; color: var(--ink-2); }
.faq .faq__a p:last-child { margin: 0; }

/* ---------- Articles ---------- */
.article-card { display: flex; flex-direction: column; text-decoration: none !important; color: var(--ink) !important; height: 100%; }
.article-card__img { aspect-ratio: 3 / 2; border-radius: var(--radius-lg); overflow: hidden; background: var(--sand-2); margin-bottom: 18px; }
.article-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.article-card:hover .article-card__img img { transform: scale(1.04); }
.article-card__meta { display: flex; gap: 12px; font-size: .9rem; font-weight: 700; color: var(--brand-500); margin-bottom: 8px; }
.article-card__meta span + span { color: var(--ink-3); }
.article-card h3 { font-size: 1.45rem; margin-bottom: 8px; transition: color .2s; }
.article-card:hover h3 { color: var(--brand); }
.article-card p { color: var(--ink-2); font-size: 1rem; margin: 0; }

/* ---------- Bands / CTA ---------- */
.band { position: relative; border-radius: var(--radius-xl); overflow: hidden; background: var(--brand-800); color: #e9f1ed; display: grid; grid-template-columns: 1fr 1fr; min-height: 440px; }
.band h2 { color: #fff; }
.band .lead { color: #cfe0d8; }
.band__body { padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.band__img { position: relative; }
.band__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band--sun { background: var(--accent); color: var(--ink); }
.band--sun h2 { color: var(--ink); }
.band--sun .lead { color: var(--ink-2); }
.band--sun .btn-outline-light { color: var(--ink) !important; border-color: rgba(20,24,58,.35); }
@media (max-width: 899px) { .band { grid-template-columns: 1fr; } .band__img { aspect-ratio: 16 / 10; order: -1; } }
.stat-honest { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 28px; }
.stat-honest div { border-left: 2px solid rgba(255, 255, 255, .25); padding-left: 16px; }
.stat-honest strong { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; color: #fff; line-height: 1.2; }
.stat-honest span { font-size: .95rem; color: #cfe0d8; }

/* ---------- Page hero ---------- */
.page-hero { padding: clamp(40px, 6vw, 88px) 0 clamp(40px, 5vw, 64px); position: relative; }
.page-hero--split .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 899px) { .page-hero--split .wrap { grid-template-columns: 1fr; } }
.page-hero .frame { aspect-ratio: 5 / 4; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .92rem; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.crumbs a { color: var(--ink-3) !important; text-decoration: none; }
.crumbs a:hover { color: var(--brand) !important; text-decoration: underline; }

/* ---------- Prose ---------- */
.prose { font-size: 1.15rem; line-height: 1.75; color: var(--ink); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: 2em 0 .5em; }
.prose h3 { font-size: 1.45rem; margin: 1.7em 0 .4em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--brand-500); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); font-family: var(--font-display); font-size: 1.35rem; color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; margin: 1.4em 0; background: #fff; border-radius: var(--radius); overflow: hidden; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--brand-50); font-weight: 700; }
.prose .table-scroll { overflow-x: auto; }
.prose a { font-weight: 600; }
.prose .callout { background: var(--brand-50); border-radius: var(--radius); padding: 20px 24px; border: 1px solid var(--brand-200); }
.prose .callout p:last-child { margin: 0; }
.prose .sources { font-size: .95rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 1.2em; }
.toc { position: sticky; top: 110px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.toc h2 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; font-size: .98rem; }
.toc a { color: var(--ink-2) !important; text-decoration: none; }
.toc a:hover { color: var(--accent) !important; }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 991px) { .with-aside { grid-template-columns: 1fr; } .toc { position: static; } }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label, .label-cc { font-weight: 700; font-size: 1rem; color: var(--ink); }
.field .hint { font-size: .9rem; color: var(--ink-3); font-weight: 500; }
.input-cc, .cc select.input-cc, .cc textarea.input-cc { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-strong); background: #fff; font: inherit; font-size: 1.05rem; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
textarea.input-cc { min-height: 140px; resize: vertical; line-height: 1.55; }
.input-cc:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.input-cc::placeholder, .search-card input::placeholder { color: var(--ink-3); opacity: 1; }
select.input-cc { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2344514d' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.check-cc { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 1rem; line-height: 1.45; padding: 6px 0; }
.check-cc input { width: 22px; height: 22px; accent-color: var(--brand); flex: none; margin-top: 1px; cursor: pointer; }
.chip-check { display: inline-flex; }
.chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-check span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff; font-weight: 600; font-size: .95rem; cursor: pointer; transition: all .15s; min-height: 44px; }
.chip-check input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip-check input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Directory ---------- */
.directory { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); align-items: start; }
@media (max-width: 1023px) { .directory { grid-template-columns: 1fr; } }
.filters { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.filters h2 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 800; letter-spacing: 0; margin: 0; }
.filters fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.filters legend { font-weight: 700; font-size: .98rem; margin-bottom: 10px; float: none; width: auto; padding: 0; }
.filters .input-cc { min-height: 48px; font-size: 1rem; }
.filters__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.filters__reset { font-size: .95rem; font-weight: 700; }
.range-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.filters-toggle { display: none; }
@media (max-width: 1023px) {
    .filters { position: fixed; inset: 0; z-index: 210; border-radius: 0; overflow-y: auto; transform: translateY(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; padding-bottom: 110px; }
    .filters.open { transform: none; visibility: visible; }
    .filters__apply { position: fixed; left: 0; right: 0; bottom: 0; padding: 14px var(--gutter); background: #fff; border-top: 1px solid var(--line); }
    .filters-toggle { display: inline-flex; }
}
@media (min-width: 1024px) { .filters__apply, .filters__close { display: none !important; } }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.results-bar h2 { font-family: var(--font-body); font-size: 1.15rem; font-weight: 700; margin: 0; letter-spacing: 0; }
.results-bar select { min-height: 46px; width: auto; }
.results-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1279px) { .results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .results-grid { grid-template-columns: 1fr; } }
.results-grid.is-loading { opacity: .45; pointer-events: none; transition: opacity .2s; }
.empty-state { text-align: center; padding: clamp(40px, 6vw, 80px) 24px; background: #fff; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); grid-column: 1 / -1; }
.empty-state .icon-badge { margin: 0 auto 20px; width: 72px; height: 72px; border-radius: 50%; }
.empty-state h3 { font-size: 1.7rem; }
.empty-state p { color: var(--ink-2); max-width: 520px; margin: 0 auto 24px; }

/* Pagination (Laravel default markup) */
.cc .pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 40px 0 0; padding: 0; list-style: none; }
.cc .pagination .page-link { min-width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50% !important; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; padding: 0 10px; }
.cc .pagination .active .page-link { background: var(--brand); border-color: var(--brand); color: #fff; }
.cc .pagination .disabled .page-link { opacity: .45; }

/* ---------- Profile ---------- */
.profile-hero { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 899px) { .profile-hero { grid-template-columns: 1fr; } }
.profile-photo { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 1; background: linear-gradient(135deg, var(--brand-100), var(--sand)); position: relative; box-shadow: var(--shadow); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-photo .cg-card__initials { font-size: 6rem; }
.profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 1023px) { .profile-layout { grid-template-columns: 1fr; } }
.book-card { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.book-card__rate { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1; letter-spacing: -.03em; }
.book-card__rate small { font-family: var(--font-body); font-size: 1rem; color: var(--ink-3); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 24px 0; }
.facts div { background: var(--sand); border-radius: var(--radius); padding: 14px 16px; }
.facts dt { font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { margin: 2px 0 0; font-weight: 700; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); margin-bottom: 22px; }
.panel h2 { font-size: 1.6rem; margin-bottom: 16px; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
@media (max-width: 599px) { .week { grid-template-columns: repeat(4, 1fr); } }
.week div { border-radius: var(--radius-sm); padding: 12px 8px; text-align: center; background: var(--sand); font-size: .9rem; }
.week strong { display: block; font-size: .95rem; }
.week .on { background: var(--brand-50); color: var(--brand-800); border: 1px solid var(--brand-200); }
.week .off { color: var(--ink-3); }
.review { padding: 20px 0; border-bottom: 1px solid var(--line); }
.review:last-child { border-bottom: 0; }
.review__head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.slot-grid button { min-height: 46px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-strong); background: #fff; font-weight: 700; cursor: pointer; }
.slot-grid button.selected { background: var(--brand); color: #fff; border-color: var(--brand); }
.slot-grid button:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }

/* Modal (Bootstrap) restyle */
.cc .modal-content { border-radius: var(--radius-lg); border: 0; box-shadow: var(--shadow-lg); }
.cc .modal-header { border-bottom: 1px solid var(--line); padding: 20px 26px; }
.cc .modal-header h2, .cc .modal-title { font-size: 1.5rem; margin: 0; font-family: var(--font-display); }
.cc .modal-body { padding: 24px 26px; }
.cc .btn-close { width: 44px; height: 44px; border-radius: 50%; background-color: var(--sand); opacity: 1; background-size: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-900); color: #c5d6ce; padding: clamp(56px, 7vw, 96px) 0 32px; font-size: 1rem; }
.site-footer a { color: #e6efea !important; text-decoration: none; }
.site-footer a:hover { color: #fff !important; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
@media (max-width: 991px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) { .footer-top { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff !important; }
.site-footer h2 { font-family: var(--font-body); font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8fb0a3; margin: 0 0 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.newsletter { display: flex; gap: 8px; margin-top: 18px; max-width: 420px; }
.newsletter input { flex: 1; min-height: 52px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; padding: 0 20px; font: inherit; }
.newsletter input::placeholder { color: #9db8ad; }
.newsletter .btn-cc { min-height: 52px; }
.footer-note { padding: 28px 0; font-size: .92rem; color: #9db8ad; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-note p { margin: 0; max-width: 980px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: .92rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; }

/* ---------- Cookie bar ---------- */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300; max-width: 560px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 22px; font-size: .98rem; transform: translateY(140%); transition: transform .4s var(--ease); }
.cookie-bar.show { transform: none; }
.cookie-bar p { margin: 0 0 14px; color: var(--ink-2); }

/* ---------- Toast (iziToast override) ---------- */
.iziToast { border-radius: 14px !important; font-family: var(--font-body) !important; }

/* ---------- Reveal on scroll ---------- */
.reveal, .reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .hero__note { animation: none; } }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-s { margin-top: 12px; } .mt-m { margin-top: 24px; } .mt-l { margin-top: 48px; }
.mb-s { margin-bottom: 12px; } .mb-m { margin-bottom: 24px; } .mb-l { margin-bottom: 48px; }
.divider { height: 1px; background: var(--line); margin: 32px 0; border: 0; }
.kicker-num { font-family: var(--font-display); font-weight: 800; color: var(--brand-500); }


/* ---------- Sample profiles ---------- */
.cg-card__sample { position: absolute; top: 14px; right: 14px; z-index: 2; background: var(--ink); color: #fff; font-size: .82rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; letter-spacing: .01em; }
.cg-card--sample .cg-card__initials { color: var(--brand-500); opacity: .75; }
.sample-note { display: inline-block; font-size: .88rem; color: var(--ink-3); background: var(--sand); border-radius: 999px; padding: 5px 12px; margin: 0 0 14px; }

/* ---------- Polish pass (audit 2026-11-04) ---------- */
/* Typography: balanced headings, no orphans, readable measure */
.cc h1, .cc h2, .cc h3 { text-wrap: balance; }
.lead, .prose p, .prose li, .notice p { text-wrap: pretty; }
.prose { max-width: 34em; }
.lead, .page-hero .lead, .head .lead, .band .lead { max-width: 33em; }
.notice p { max-width: 35em; }
.footer-note p { max-width: 34em; }
.empty-state p, .founding p { max-width: 34em; }
.cg-card__rate, .book-card__rate, .prose table, .facts dd, .week { font-variant-numeric: tabular-nums; }

/* Browser surfaces in the palette */
.cc { caret-color: var(--brand); accent-color: var(--brand); scrollbar-color: var(--line-strong) transparent; }
.cc ::selection { background: var(--accent-200); color: var(--ink); }
.cc a { text-underline-offset: .2em; }

/* Section titles without labels need a little more air above */
.head h2, .page-hero h1 { margin-top: 0; }
.head { margin-bottom: clamp(32px, 4.5vw, 56px); }

/* Points: a lighter alternative to grids of identical cards */
.point { padding-top: 26px; border-top: 1.5px solid var(--line); }
.point .icon-badge { width: 46px; height: 46px; border-radius: 14px; margin-bottom: 16px; }
.point .icon-badge .ic { width: 24px; height: 24px; }
.point h3 { font-size: 1.3rem; margin-bottom: 6px; }
.point p { color: var(--ink-2); margin: 0; }
.grid:has(> .point) { row-gap: clamp(32px, 4vw, 48px); }

/* Pricing plan names */
.plan-name { font-family: var(--font-display); font-weight: 750; font-size: 1.25rem; letter-spacing: -.02em; margin: 0 0 18px; color: var(--brand); }
.section--deep .plan-name, .card-cc[style*="brand-800"] .plan-name { color: var(--accent); }

/* Lazy images rest on a calm tone, never an empty box */
.service-card__img, .frame, .article-card__img { background: linear-gradient(135deg, var(--brand-50), var(--sand-2)); }


/* Empty directory state on the homepage: compact, not a half-empty section */
.founding { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(18px, 2.4vw, 28px); }
.founding .frame { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); box-shadow: none; }
.founding h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
@media (max-width: 799px) { .founding { grid-template-columns: 1fr; } }
/* Points read as a list: icon beside the text, not stacked above the heading */
.point { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 16px; align-items: start; }
.point .icon-badge { margin: 2px 0 0; grid-row: span 2; }

/* ---------- Service pages ---------- */
.svc-facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.svc-facts dl { display: grid; grid-template-columns: 1.3fr 1fr 1fr; margin: 0; }
.svc-facts dl > div { padding: 22px 28px 22px 0; }
.svc-facts dl > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.svc-facts dt { font-size: .88rem; font-weight: 700; color: var(--brand-500); margin-bottom: 4px; }
.svc-facts dd { margin: 0; font-weight: 600; line-height: 1.45; }
@media (max-width: 899px) {
    .svc-facts dl { grid-template-columns: 1fr; }
    .svc-facts dl > div, .svc-facts dl > div + div { padding: 16px 0; border-left: 0; }
    .svc-facts dl > div + div { border-top: 1px solid var(--line); }
}
.svc-tasks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 72px); }
.svc-tasks li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px 0; border-top: 1px solid var(--line); }
.svc-tasks__icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.svc-tasks__icon .ic { width: 22px; height: 22px; }
.svc-tasks h3 { font-size: 1.15rem; margin: 2px 0 4px; letter-spacing: -.01em; }
.svc-tasks p { margin: 0; color: var(--ink-2); }
@media (max-width: 699px) { .svc-tasks { grid-template-columns: 1fr; } }
.svc-fit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.svc-fit h3 { font-size: 1.3rem; margin-bottom: 16px; }
.svc-fit__other { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); }
@media (max-width: 799px) { .svc-fit { grid-template-columns: 1fr; } }
.svc-rate { display: grid; gap: 6px; min-width: 220px; }
.svc-rate label { font-weight: 700; }
.svc-rate__input { display: flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; padding: 0 14px; min-height: 54px; }
.svc-rate__input:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.svc-rate__input span { font-weight: 800; color: var(--ink-3); margin-right: 6px; }
.svc-rate__input input { border: 0; outline: 0; font: inherit; font-size: 1.25rem; font-weight: 700; width: 100%; background: transparent; color: var(--ink); font-variant-numeric: tabular-nums; }
.svc-schedules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.svc-schedule { padding: clamp(22px, 2.6vw, 32px); }
.svc-schedule + .svc-schedule { border-left: 1px solid var(--line); }
.svc-schedule h3 { font-size: 1.25rem; margin-bottom: 6px; }
.svc-schedule__hours { margin: 0 0 6px; color: var(--ink-2); }
.svc-schedule__hours strong { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.svc-schedule__cost { margin: 14px 0 0; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.svc-schedule__cost strong { font-size: 1.2rem; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, transparent 60%, var(--accent-200) 60%); }
@media (max-width: 899px) { .svc-schedules { grid-template-columns: 1fr; } .svc-schedule + .svc-schedule { border-left: 0; border-top: 1px solid var(--line); } }
.toc ol a { font-weight: 600; }

/* Service pages: tighter rhythm, no half-empty rows */
.svc-sec { padding: clamp(44px, 5.5vw, 80px) 0; }
.svc-sec + .svc-sec:not(.section--white):not(.section--sand), .section--white.svc-sec + .section--white.svc-sec { padding-top: 0; }
.head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px clamp(28px, 5vw, 80px); align-items: end; }
.head--split h2 { margin: 0; }
.head--split .lead { margin: 0; }
@media (max-width: 899px) { .head--split { grid-template-columns: 1fr; } }
.svc-guide { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.svc-guide .prose { max-width: 40em; }
@media (max-width: 991px) { .svc-guide { grid-template-columns: 1fr; } .svc-guide .toc { position: static; } }
.svc-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; align-items: start; }
@media (max-width: 899px) { .svc-faq { grid-template-columns: 1fr; } }
