/* --- hero.blade.php --- */
.hero { position: relative; min-height: var(--hero-min); display: flex; align-items: center; overflow: hidden; padding: 100px 0; }
    .hero__bg { position: absolute; inset: 0; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
    .hero__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
    @keyframes heroZoom { to { transform: scale(1); } }
    .hero__scrim { position: absolute; inset: 0; }
    .hero__scrim--image { background: linear-gradient(180deg, rgba(12,12,22,0.52) 0%, rgba(12,12,22,0.42) 42%, rgba(12,12,22,0.82) 100%); }
    .hero__scrim--image::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 42%, rgba(0,0,0,0) 38%, rgba(6,6,12,0.42) 100%); }
    /* Image-less hero: a branded dark gradient keeps white hero text readable on every theme. */
    .hero__scrim--solid { background: linear-gradient(160deg, #191922 0%, #0d0d15 100%); }
    .hero__scrim--contrast { background: linear-gradient(180deg, rgba(8,8,16,0.32) 0%, rgba(8,8,16,0.12) 45%, rgba(8,8,16,0.58) 100%); }
    .hero__glow { position: absolute; inset: 0; background:
        radial-gradient(60% 55% at 50% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
        radial-gradient(50% 50% at 85% 90%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%); }
    .hero__inner { position: relative; z-index: 2; color: #fff; }
    /* On a photo the scrim is always dark, so lift the accent towards white. */
    .hero__eyebrow { color: color-mix(in srgb, var(--accent) 30%, #ffffff); text-shadow: 0 1px 12px rgba(0,0,0,.55); }
    /* Image-less hero painted in the template's own background colour. */
    .hero__scrim--theme { background: linear-gradient(160deg, var(--band-bg) 0%, color-mix(in srgb, var(--band-bg) 82%, var(--accent)) 100%); }
    .hero--theme .hero__inner { color: var(--band-text); }
    .hero--theme .hero__eyebrow { color: var(--band-accent); text-shadow: none; }
    .hero--theme .hero__title { color: var(--band-text); text-shadow: none; }
    .hero--theme .hero__desc { color: var(--band-muted); }
    .hero__title { font-size: clamp(40px, 7vw, 82px); color: #fff; margin-bottom: 22px; letter-spacing: -0.02em; text-shadow: 0 2px 24px rgba(0,0,0,.45), 0 1px 3px rgba(0,0,0,.35); }
    .hero__desc { font-size: clamp(16px, 2vw, 20px); color: rgba(255,255,255,0.86); max-width: 620px; margin: 0 auto 38px; line-height: 1.65; }
    .hero__inner[style*="left"] .hero__desc { margin-left: 0; }
    .hero__cta { margin-bottom: 8px; }
    /* Outline templates: accent text on a dark photo or scrim is unreadable, so go light. */
    .hero:not(.hero--theme) .hero__cta .btn-primary { color: var(--btn-on-dark-color, var(--btn-color)); border-color: var(--btn-on-dark-border, var(--btn-border)); }

    .hero__search {
        display: flex; align-items: stretch; gap: 4px; background: #fff; padding: 12px 12px 12px 20px;
        border-radius: calc(var(--radius) + 8px); margin: 44px auto 0; max-width: 860px;
        box-shadow: 0 30px 70px -20px rgba(0,0,0,0.5); text-align: left;
    }
    .hero__inner[style*="left"] .hero__search { margin-left: 0; }
    .hero__inner[style*="center"] .hero__search { margin-left: auto; margin-right: auto; }
    .hero__search-field { display: flex; flex-direction: column; justify-content: center; padding: 6px 16px; flex: 1; min-width: 0; }
    .hero__search-field label { font-size: 11px; font-weight: 700; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
    .hero__search-field input, .hero__search-field select { border: none; font-size: 15px; color: var(--ink); outline: none; background: transparent; font-family: inherit; font-weight: 500; width: 100%; }
    .hero__search-div { width: 1px; background: var(--line); margin: 8px 0; }
    .hero__search-btn { white-space: nowrap; }

    @media (max-width: 720px) {
        .hero__search { flex-direction: column; align-items: stretch; gap: 0; padding: 12px; }
        .hero__search-div { width: auto; height: 1px; margin: 4px 12px; }
        .hero__search-btn { margin-top: 8px; }
    }

/* --- text.blade.php --- */
.sp-text-heading { font-size: clamp(30px, 4vw, 44px); margin-bottom: 24px; }
    .prose { font-size: 17px; line-height: 1.85; color: var(--ink-soft); }
    .prose br + br { content: ""; display: block; margin-top: 12px; }

/* --- gallery.blade.php --- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
    .gallery-item { position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden; aspect-ratio: 4 / 3; margin: 0; }
    .gallery-item--wide { grid-column: span 2; }
    .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
    .gallery-item:hover img { transform: scale(1.06); }
    .gallery-item figcaption {
        position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 16px 14px; color: #fff; font-size: 13.5px;
        background: linear-gradient(transparent, rgba(0,0,0,0.6)); opacity: 0; transition: opacity .25s;
    }
    .gallery-item:hover figcaption { opacity: 1; }
    @media (max-width: 640px) { .gallery-item--wide { grid-column: span 1; } }

/* --- faq.blade.php --- */
.faq-list { border: 1px solid var(--line); border-radius: calc(var(--radius) + 8px); overflow: hidden; }
    .faq-item { border-bottom: 1px solid var(--line); background: var(--canvas); }
    .faq-item:last-child { border-bottom: none; }
    .faq-item summary {
        display: flex; justify-content: space-between; align-items: center; gap: 16px;
        font-size: 17px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; padding: 22px 26px;
        transition: background .15s;
    }
    .faq-item summary::-webkit-details-marker { display: none; }
    .faq-item summary:hover { background: var(--canvas-alt); }
    .faq-plus {
        flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px;
        border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent);
        font-size: 20px; line-height: 1; transition: transform .25s;
    }
    .faq-item[open] .faq-plus { transform: rotate(45deg); }
    .faq-item p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.75; padding: 0 26px 24px; margin: 0; }

/* --- rooms.blade.php --- */
.service-badge {
        position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,0.95);
        color: var(--ink); font-family: var(--font-heading); font-size: 19px; font-weight: 600;
        padding: 7px 14px; border-radius: 100px; box-shadow: 0 6px 18px rgba(0,0,0,.16); backdrop-filter: blur(4px);
    }
    .service-badge small { font-family: inherit; font-size: 12px; color: var(--ink-mute); font-weight: 500; }
    .service-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
    .service-meta { display: flex; gap: 16px; font-size: 13px; color: var(--ink-mute); margin-bottom: 12px; }
    .service-desc { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 16px; }
    .service-cta { margin-top: auto; width: 100%; }

/* --- testimonials.blade.php --- */
.testimonials .tcard {
        border-radius: calc(var(--radius) + 8px); padding: 32px; position: relative;
    }
    .testimonials__stars, .tcard__stars { color: var(--accent-ink); font-size: 17px; letter-spacing: 2px; margin-bottom: 18px; }
    .tcard__quote { font-size: 16px; line-height: 1.75; margin-bottom: 26px; font-style: italic; }
    .tcard__by { display: flex; align-items: center; gap: 14px; }
    .tcard__avatar {
        display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0;
        border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 17px;
    }
    .tcard__name { display: block; font-size: 15px; font-weight: 600; }
    .tcard__src { display: block; font-size: 12.5px; margin-top: 2px; }

    /* Dark theme — glassy cards on the theme background. */
    .testimonials--dark .tcard-heading { color: var(--band-text); }
    .testimonials--dark .eyebrow, .testimonials--dark .tcard__stars { color: var(--band-accent); }
    .testimonials--dark .tcard { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); backdrop-filter: blur(2px); }
    .testimonials--dark .tcard__quote { color: var(--band-text); opacity: .92; }
    .testimonials--dark .tcard__name { color: var(--band-text); }
    .testimonials--dark .tcard__src { color: var(--band-muted); }

    /* Light / warm theme — solid cards with readable ink. */
    .testimonials--light .tcard-heading { color: var(--ink); }
    .testimonials--light .tcard { background: var(--canvas); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
    .testimonials--light .tcard__quote { color: var(--ink-soft); }
    .testimonials--light .tcard__name { color: var(--ink); }
    .testimonials--light .tcard__src { color: var(--ink-mute); }

/* --- map.blade.php --- */
.location-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: stretch; }
    .location-info { display: flex; flex-direction: column; justify-content: center; }
    .location-list { display: flex; flex-direction: column; gap: 15px; }
    .location-item { display: flex; align-items: center; gap: 14px; font-size: 15.5px; color: var(--ink); }
    .location-ic { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex-shrink: 0; background: color-mix(in srgb, var(--accent) 14%, transparent); border-radius: 12px; font-size: 17px; }
    .location-map { border-radius: calc(var(--radius) + 10px); overflow: hidden; box-shadow: var(--shadow-md); min-height: var(--map-h); }
    .location-map iframe { width: 100%; height: 100%; min-height: var(--map-h); display: block; }
    .location-map__ph { height: var(--map-h); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: var(--canvas-alt); color: var(--ink-soft); font-size: 15px; text-align: center; padding: 20px; }
    @media (max-width: 860px) { .location-grid { grid-template-columns: 1fr; gap: 28px; } }

/* --- contact.blade.php --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
    .contact-list { display: flex; flex-direction: column; gap: 16px; }
    .contact-item { display: flex; align-items: center; gap: 14px; font-size: 15.5px; color: var(--ink); }
    .contact-ic {
        display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex-shrink: 0;
        background: color-mix(in srgb, var(--accent) 14%, transparent); border-radius: 12px; font-size: 17px;
    }
    .contact-form { background: var(--canvas); padding: 36px; border-radius: calc(var(--radius) + 8px); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
    .contact-ok { background: color-mix(in srgb, var(--accent) 10%, #ffffff); color: var(--accent-ink); border: 1px solid color-mix(in srgb, var(--accent) 30%, #ffffff); border-radius: var(--radius); padding: 12px 14px; font-size: 14px; font-weight: 500; margin-bottom: 18px; }
    @media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }

/* --- rooms.blade.php --- */
.page-hero { position: relative; background: var(--band-bg); padding: clamp(70px, 10vw, 120px) 0 80px; overflow: hidden; }
    .page-hero__glow { position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%); }
    .avail-bar {
        display: grid; grid-template-columns: 1fr 1fr 0.8fr auto; gap: 16px; align-items: end;
        background: var(--canvas); border: 1px solid var(--line); border-radius: calc(var(--radius) + 8px);
        padding: 22px 24px; margin-bottom: 20px; box-shadow: var(--shadow-md); position: relative; z-index: 2;
    }
    .avail-bar .btn-primary { height: 46px; }
    .avail-pill {
        position: absolute; top: 14px; left: 14px; background: var(--accent);
        color: var(--on-accent); font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 100px;
    }
    .service-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
    .service-meta { display: flex; gap: 16px; font-size: 13px; color: var(--ink-mute); margin-bottom: 12px; }
    .service-desc { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 18px; }
    .service-price-row { margin-bottom: 20px; }
    .service-cta { margin-top: auto; width: 100%; }
    @media (max-width: 720px) { .avail-bar { grid-template-columns: 1fr 1fr; } .avail-bar .btn-primary { grid-column: 1 / -1; } }

/* --- room-detail.blade.php --- */
.back-link { display: inline-block; font-size: 14px; color: var(--ink-mute); font-weight: 500; margin-bottom: 28px; transition: color .15s; }
    .back-link:hover { color: var(--accent-ink); }
    .detail-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 52px; align-items: start; }
    .detail-hero { border-radius: calc(var(--radius) + 10px); overflow: hidden; box-shadow: var(--shadow-md); background: linear-gradient(135deg, #f1ebe1, #e4d8c8); }
    .detail-hero img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
    .detail-thumbs { display: flex; gap: 12px; margin-top: 12px; }
    .detail-thumb { flex: 1; padding: 0; border: 2px solid transparent; border-radius: calc(var(--radius) + 2px); overflow: hidden; cursor: pointer; background: none; transition: border-color .18s, opacity .18s; opacity: .7; }
    .detail-thumb.is-active { border-color: var(--accent); opacity: 1; }
    .detail-thumb:hover { opacity: 1; }
    .detail-thumb img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
    .detail-info { position: sticky; top: 100px; }
    .detail-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
    .book-card {
        display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
        background: var(--canvas-alt); border: 1px solid var(--line); border-radius: calc(var(--radius) + 8px); padding: 24px 26px;
    }
    @media (max-width: 900px) {
        .detail-grid { grid-template-columns: 1fr; gap: 32px; }
        .detail-info { position: static; }
    }

/* --- booking.blade.php --- */
.back-link { display: inline-block; font-size: 14px; color: var(--ink-mute); font-weight: 500; margin-bottom: 26px; transition: color .15s; }
    .back-link:hover { color: var(--accent-ink); }
    .book-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 40px; align-items: start; }
    .book-form { background: var(--canvas); border: 1px solid var(--line); border-radius: calc(var(--radius) + 10px); padding: 32px; box-shadow: var(--shadow-sm); }
    .form-legend { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 16px; }
    .form-legend + .form-row { margin-bottom: 26px; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .alert-error { background: #FDECEC; border: 1px solid #F5C6C6; color: #C43A3A; padding: 16px 18px; border-radius: var(--radius); margin-bottom: 24px; font-size: 14px; }
    .alert-error p { margin: 2px 0; }
    .book-summary { position: sticky; top: 100px; background: var(--canvas); border: 1px solid var(--line); border-radius: calc(var(--radius) + 10px); overflow: hidden; box-shadow: var(--shadow-sm); }
    .book-summary__media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
    .book-summary__body { padding: 24px; }
    .summary-line { display: flex; justify-content: space-between; font-size: 14.5px; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
    .summary-line span:first-child { color: var(--ink-mute); }
    .summary-breakdown { margin-top: 6px; padding-top: 4px; border-top: 2px solid var(--line); }
    .summary-line--calc span:first-child { color: var(--ink-soft); }
    .summary-total { border-bottom: none; padding-top: 13px; font-size: 15px; font-weight: 700; color: var(--ink); }
    .summary-total span:first-child { color: var(--ink) !important; }
    .summary-total span:last-child { font-size: 20px; color: var(--accent-ink); }
    .summary-selectdates { font-size: 12.5px; color: var(--ink-mute); padding: 12px 0 2px; text-align: center; }
    .summary-note { margin-top: 18px; font-size: 13px; color: #C4623B; line-height: 1.7; }
    @media (max-width: 860px) {
        .book-grid { grid-template-columns: 1fr; gap: 28px; }
        .book-summary { position: static; order: -1; }
        .form-row { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

/* --- confirmation.blade.php --- */
.confirm-check { width: 84px; height: 84px; margin: 0 auto 24px; border-radius: 50%; background: #F7ECE6; display: flex; align-items: center; justify-content: center; animation: pop .5s cubic-bezier(.2,1.4,.5,1) both; }
    @keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
    .confirm-tick { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .5s ease .3s forwards; }
    @keyframes draw { to { stroke-dashoffset: 0; } }
    .confirm-card { background: var(--canvas); border: 1px solid var(--line); border-radius: calc(var(--radius) + 10px); overflow: hidden; text-align: left; box-shadow: var(--shadow-sm); }
    .confirm-ref { background: var(--band-bg); color: var(--band-text); padding: 22px 28px; display: flex; flex-direction: column; gap: 4px; }
    .confirm-ref span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--band-muted); }
    .confirm-ref strong { font-family: monospace; font-size: 24px; letter-spacing: .04em; color: var(--band-accent); }
    .confirm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: 28px; }
    .confirm-label { font-size: 11px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 5px; }
    .confirm-val { font-size: 16px; color: var(--ink); font-weight: 500; }
    @media (max-width: 480px) { .confirm-grid { grid-template-columns: 1fr; gap: 16px; } }

/* --- Shared page utilities (replace static inline styles) --- */
.page-hero__inner { position: relative; z-index: 1; text-align: center; }
.page-hero__title { font-size: clamp(34px, 5vw, 56px); color: var(--band-text); margin-bottom: 12px; }
.page-hero__sub { color: var(--band-muted); font-size: 17px; }
.eyebrow--accent { color: var(--accent-ink); }
.page-hero .eyebrow, .section--hero-fallback .eyebrow { color: var(--band-accent); }
.section--overlap { padding-top: 0; margin-top: -46px; }
.text-muted-center { text-align: center; color: var(--ink-mute); font-size: 14px; margin-bottom: 36px; }
.empty-state { text-align: center; padding: 70px 20px; }
.empty-state__icon { font-size: 46px; margin-bottom: 16px; }
.empty-state__title { font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.empty-state__text { color: var(--ink-mute); margin-bottom: 20px; }
.service-card-title { font-size: 23px; margin-bottom: 10px; }
.price-label { font-size: 11px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .08em; }
.price-total { font-size: 13px; color: var(--ink-mute); margin-top: 4px; }

/* ===================================================================
   Date-range picker (progressive enhancement of native date inputs)
   Source of truth stays the hidden native <input type=date>; JS in
   firm-site.js draws the calendar and writes values back.
   =================================================================== */
.dp-native {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* Trigger — matches a bordered field by default */
.dp-trigger {
    display: flex; align-items: center; gap: 9px; width: 100%;
    padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius);
    background: var(--canvas); color: var(--ink); font-family: inherit; font-size: 15px;
    font-weight: 500; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s;
}
.dp-trigger:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.dp-trigger:focus-visible,
.dp-trigger.is-active { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.dp-trigger .dp-ico { flex: none; width: 17px; height: 17px; color: var(--accent-ink); opacity: .9; }
.dp-trigger .dp-val { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-trigger.is-empty .dp-val { color: var(--ink-mute); font-weight: 400; }
/* Hero search variant — borderless, sits inside the white pill */
.hero__search-field .dp-trigger { border: 0; background: transparent; padding: 0; border-radius: 0; box-shadow: none; }
.hero__search-field .dp-trigger:hover { border: 0; }
.hero__search-field .dp-trigger:focus-visible,
.hero__search-field .dp-trigger.is-active { box-shadow: none; }
.hero__search-field .dp-trigger .dp-ico { width: 15px; height: 15px; }

/* Popover */
.dp-pop {
    position: fixed; z-index: 9999; background: var(--canvas);
    border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px);
    box-shadow: 0 24px 60px -18px rgba(10,12,24,.45), 0 6px 18px -10px rgba(10,12,24,.3);
    padding: 16px; opacity: 0; transform: translateY(-6px); pointer-events: none;
    transition: opacity .14s ease, transform .14s ease; font-family: var(--font-body);
}
.dp-pop.is-open { opacity: 1; transform: none; pointer-events: auto; }
.dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 8px; }
.dp-titles { display: flex; flex: 1; justify-content: space-around; gap: 24px; }
.dp-title { font-family: var(--font-heading); font-size: 16px; color: var(--ink); font-weight: 500; }
.dp-nav {
    flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
    background: var(--canvas); color: var(--ink); font-size: 18px; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: border-color .15s, background .15s;
}
.dp-nav:hover { border-color: var(--accent); color: var(--accent); }
.dp-nav:disabled { opacity: .3; cursor: not-allowed; }
.dp-cals { display: flex; gap: 28px; }
.dp-cal { width: 252px; }
.dp-dow { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: 6px; }
.dp-dow span { text-align: center; font-size: 11px; font-weight: 700; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .04em; padding: 4px 0; }
.dp-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dp-pad { aspect-ratio: 1; }
.dp-day {
    aspect-ratio: 1; border: 0; background: transparent; color: var(--ink); font-family: inherit;
    font-size: 13.5px; cursor: pointer; border-radius: 8px; position: relative; transition: background .12s, color .12s;
}
.dp-day:hover:not(.is-dis):not(.is-start):not(.is-end) { background: color-mix(in srgb, var(--accent) 16%, transparent); }
.dp-day.is-dis { color: color-mix(in srgb, var(--ink-mute) 55%, transparent); cursor: not-allowed; }
.dp-day.is-mid { background: color-mix(in srgb, var(--accent) 14%, transparent); border-radius: 0; }
.dp-day.is-start, .dp-day.is-end { background: var(--accent); color: var(--on-accent); font-weight: 600; }
.dp-day.is-start { border-radius: 8px 0 0 8px; }
.dp-day.is-end { border-radius: 0 8px 8px 0; }
.dp-day.is-start.is-end { border-radius: 8px; }
.dp-foot { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.dp-nights { font-size: 13px; color: var(--ink-mute); }
.dp-nights b { color: var(--ink); font-weight: 600; }
.dp-clear { border: 0; background: transparent; color: var(--ink-mute); font-family: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; }
.dp-clear:hover { color: var(--accent-ink); }
@media (max-width: 640px) {
    .dp-cal--2, .dp-title--2 { display: none; }
    .dp-cals { gap: 0; }
    .dp-cal { width: min(78vw, 300px); }
}

/* ── Content blocks: split, cards, CTA band, rich text ─────────────────── */
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 1.3em; margin-top: 10px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--accent-ink); }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 600; }
.btn-link { display: inline-flex; align-items: center; font-weight: 600; font-size: 15px; color: var(--accent-ink); }
.btn-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--image-left .split__media { order: -1; }
.split--text-only { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; }
.split__body { font-size: 16.5px; line-height: 1.8; }
.split__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.split__media { position: relative; margin: 0; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--radius) + 8px); box-shadow: var(--shadow-md); }
.split__media::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: calc(var(--radius) + 8px); z-index: -1; }
.split--image-left .split__media::before { inset: 18px 18px -18px -18px; }
/* Tall photos (attorney portraits): a 4:5 frame anchored at the top keeps the head in view. */
.split__media--portrait { justify-self: center; width: min(100%, 440px); }
.split__media--portrait img { aspect-ratio: 4 / 5; object-position: center top; }
.split-block { position: relative; isolation: isolate; }
@media (max-width: 860px) {
    .split { grid-template-columns: 1fr; }
    .split--image-left .split__media { order: 0; }
    .split__media::before { display: none; }
}

.link-cards { display: grid; gap: 24px; }
.link-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.link-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.link-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.link-card {
    position: relative; display: flex; flex-direction: column; background: var(--canvas);
    border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.link-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.link-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--canvas-alt); }
.link-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.link-card:hover .link-card__media img { transform: scale(1.05); }
.link-card__body { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 26px; flex: 1; }
.link-card--plain .link-card__body { border-top: 3px solid var(--accent); }
.link-card__meta { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.link-card__title { font-size: 22px; line-height: 1.25; }
.link-card__title a::after { content: ''; position: absolute; inset: 0; }
.link-card__text { font-size: 15px; line-height: 1.7; color: var(--ink-mute); }
.link-card__more { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--accent-ink); }
.link-card:has(a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 1000px) { .link-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .link-cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .link-cards--2, .link-cards--3, .link-cards--4 { grid-template-columns: 1fr; } }

.cta-band { position: relative; overflow: hidden; background: var(--band-bg); padding: clamp(64px, 9vw, 112px) 0; text-align: center; isolation: isolate; }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band--image::before { content: ''; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--band-bg) 84%, transparent); }
.cta-band__inner { max-width: 760px; }
.cta-band .eyebrow { color: var(--band-accent); }
.cta-band__title { color: var(--band-text); font-size: clamp(30px, 4.4vw, 46px); }
.cta-band__desc { color: var(--band-muted); font-size: 17px; line-height: 1.7; margin-top: 16px; }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px; margin-top: 32px; }
.cta-band__secondary { color: var(--band-text); font-weight: 600; border-bottom: 1.5px solid var(--band-accent); padding-bottom: 2px; }

.rich-block__title { font-size: clamp(32px, 4.6vw, 48px); margin-bottom: 14px; }
.rich-block__meta { font-size: 14px; color: var(--ink-mute); margin-bottom: 26px; }
.rich-block__figure { margin: 0 0 34px; }
.rich-block__figure img { width: 100%; border-radius: calc(var(--radius) + 6px); }
.prose--rich h2 { font-size: 28px; margin: 38px 0 12px; }
.prose--rich h3 { font-size: 22px; margin: 28px 0 10px; }
.prose--rich p { margin-top: 14px; }
.prose--rich img { border-radius: var(--radius); margin: 22px 0; }
.prose--rich blockquote { border-left: 3px solid var(--accent); padding-left: 18px; margin: 22px 0; font-style: italic; }

/* ── Heritage blocks: credentials, team, portrait hero, card and FAQ variants ──
   Built from theme tokens only, so any template can restyle them. */

.credentials { background: var(--band-bg); color: var(--band-text); }
.credentials__list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.credentials__item { padding: 28px 24px; border-left: 1px solid color-mix(in srgb, var(--band-text) 16%, transparent); display: grid; gap: 4px; align-content: start; }
.credentials__item:first-child { border-left: 0; padding-left: 0; }
.credentials__value { font-family: var(--font-heading); font-size: 28px; font-weight: 500; line-height: 1.1; color: var(--band-accent); }
.credentials__label { font-size: 14px; line-height: 1.5; color: var(--band-muted); }

.team__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.team__card { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; align-items: start; }
.team__photo { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: top; background: var(--canvas-alt); border-bottom: 3px solid var(--accent); }
.team__name { font-size: 28px; }
.team__role { margin: 4px 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); }
.team__points { list-style: none; padding: 0; display: grid; gap: 6px; font-size: 15px; color: var(--ink-mute); }
.team__points li::before { content: '—'; color: var(--accent); margin-right: 8px; }

.hero--portrait { min-height: 0; background: var(--canvas-alt); padding: 64px 0 0; align-items: end; }
.hero--portrait .hero__split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; text-align: left; color: var(--ink); }
.hero--portrait .hero__copy { padding-bottom: 64px; }
.hero--portrait .hero__eyebrow { color: var(--accent-ink); text-shadow: none; }
.hero--portrait .hero__title { color: var(--ink); text-shadow: none; font-size: clamp(38px, 5.2vw, 64px); margin-block: 16px 20px; }
.hero--portrait .hero__desc { color: var(--ink-mute); text-shadow: none; margin: 0 0 32px; max-width: 34em; }
.hero__portrait { position: relative; justify-self: center; width: min(100%, 420px); margin: 0; }
.hero__arch { background: var(--bg); border-radius: 220px 220px 0 0; padding: 36px 24px 0; overflow: hidden; }
.hero__arch img { width: 100%; height: auto; }
.hero__plate { position: absolute; left: -16px; bottom: 28px; display: grid; gap: 2px; padding: 12px 18px; background: var(--canvas); border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0, 0, 0, .12); font-size: 14px; line-height: 1.35; }
.hero__plate b { font-family: var(--font-heading); font-size: 20px; font-weight: 600; color: var(--ink); }
.hero__plate span { color: var(--ink-mute); }

.link-card__quote { margin: 4px 0 0; padding: 12px 14px; background: var(--canvas-alt); border-left: 2px solid var(--accent); font-family: var(--font-heading); font-size: 18px; font-style: italic; line-height: 1.35; color: var(--ink); }
.link-card__list { list-style: none; padding: 0; display: grid; gap: 6px; font-size: 15px; color: var(--ink-soft); }
.link-card__list li::before { content: '·'; color: var(--accent); font-weight: 700; margin-right: 8px; }

.link-cards--pillars { gap: 0; border-block: 1px solid var(--line); }
.link-cards--pillars .link-card { border: 0; border-left: 1px solid var(--line); border-radius: 0; box-shadow: none; background: transparent; }
.link-cards--pillars .link-card:first-child { border-left: 0; }
.link-cards--pillars .link-card:hover { transform: none; box-shadow: none; }
.link-cards--pillars .link-card__body { padding: 28px 28px 32px; }
.link-cards--pillars .link-card__title { font-size: 30px; }

.link-cards--steps { counter-reset: step; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.link-cards--steps .link-card { border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; background: transparent; }
.link-cards--steps .link-card:hover { transform: none; box-shadow: none; }
.link-cards--steps .link-card__body { padding: 18px 0 0; border-top: 0; gap: 8px; }
.link-cards--steps .link-card::before { counter-increment: step; content: counter(step, upper-roman); display: block; padding-top: 16px; font-family: var(--font-heading); font-size: 30px; line-height: 1; color: var(--accent-ink); }
.link-cards--steps .link-card__meta { order: -1; }

.faq-list--cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; border: 0; border-radius: 0; overflow: visible; }
.faq-list--cols-2 .faq-item { background: transparent; border-bottom: 1px solid var(--line); }
.faq-list--cols-2 .faq-item:last-child { border-bottom: 1px solid var(--line); }
.container--w820:has(.faq-list--cols-2) { max-width: 1160px; }

@media (max-width: 900px) {
    .credentials__list { grid-template-columns: 1fr 1fr; }
    .credentials__item { border-left: 0; padding-left: 0; padding-block: 18px; }
    .team__grid { grid-template-columns: 1fr; }
    .hero--portrait { padding-top: 44px; }
    .hero--portrait .hero__split { grid-template-columns: 1fr; gap: 28px; }
    .hero--portrait .hero__copy { padding-bottom: 0; }
    .hero__portrait { width: min(100%, 340px); }
    .link-cards--pillars { border-block: 0; }
    .link-cards--pillars .link-card { border-left: 0; border-top: 1px solid var(--line); }
    .link-cards--pillars .link-card:first-child { border-top: 0; }
    .faq-list--cols-2 { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .team__card { grid-template-columns: 1fr; }
    .team__photo { width: 160px; }
}
@media (prefers-reduced-motion: reduce) {
    .link-cards--pillars .link-card, .link-cards--steps .link-card { transition: none; }
}

/* AI check CTA (Growth P1b T2.4): heading, web address field and button. */
.aicheck__inner { max-width: 760px; text-align: center; }
.aicheck__title { font-size: clamp(28px, 4vw, 40px); }
.aicheck__desc { color: var(--ink-mute); font-size: 17px; line-height: 1.7; margin-top: 12px; }
.aicheck__form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 26px auto 0; max-width: 620px; }
.aicheck__input {
    flex: 1 1 260px; min-width: 0; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius);
    background: var(--canvas); color: var(--ink); font: inherit; font-size: 15px;
}
.aicheck__input:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.footer__aicheck-row { margin: 0 0 14px; }
