:root {
    --bg: #f4efe7;
    --surface: rgba(255, 255, 255, 0.76);
    --surface-strong: #ffffff;
    --surface-dark: #123446;
    --text: #17303d;
    --text-soft: #4b6674;
    --accent: #0e4d68;
    --accent-strong: #0a3a50;
    --accent-soft: #d8edf5;
    --gold: #db8a39;
    --border: rgba(23, 48, 61, 0.12);
    --shadow: 0 24px 60px rgba(16, 43, 57, 0.12);
    --radius: 24px;
    --radius-sm: 16px;
    --container: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(14, 77, 104, 0.14), transparent 28%),
        radial-gradient(circle at top right, rgba(219, 138, 57, 0.12), transparent 26%),
        linear-gradient(180deg, #f8f3ec 0%, #f4efe7 38%, #eef4f7 100%);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -3rem;
    background: var(--surface-dark);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    z-index: 1000;
}

.skip-link:focus {
    top: 1rem;
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(248, 243, 236, 0.82);
    border-bottom: 1px solid rgba(23, 48, 61, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 82px;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    gap: 0.15rem;
    text-decoration: none;
}

.brand-kicker,
.eyebrow,
.card-tag,
.card-label {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.74rem;
    font-weight: 800;
    color: var(--accent);
}

.brand-name {
    font-family: "Newsreader", serif;
    font-size: clamp(1.35rem, 2vw, 1.6rem);
    font-weight: 700;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.site-nav a {
    text-decoration: none;
    font-weight: 600;
    color: var(--text-soft);
    transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
    color: var(--accent);
}

.nav-cta {
    padding: 0.9rem 1.1rem;
    border-radius: 999px;
    background: var(--accent);
    color: #fff !important;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
    background: var(--accent-strong);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(14, 77, 104, 0.25);
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.7);
    padding: 0;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--text);
    border-radius: 999px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-6px) rotate(-45deg);
}

.hero,
.section {
    padding: 5.5rem 0;
}

.hero {
    padding-top: 4.5rem;
}

.hero-grid,
.split-section,
.spotlight,
.contact-grid,
.cta-banner,
.trust-grid,
.hero-visual,
.listing-showcase {
    display: grid;
    gap: 1.5rem;
}

.hero-grid {
    grid-template-columns: 1.3fr 0.85fr;
    align-items: center;
}

.hero-copy h1,
.section-heading h2,
.split-section h2,
.spotlight h2,
.contact-grid h2,
.cta-banner h2 {
    margin: 0.35rem 0 1rem;
    font-family: "Newsreader", serif;
    font-size: clamp(2.55rem, 5vw, 4.75rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
}

.section-heading h2,
.split-section h2,
.spotlight h2,
.contact-grid h2,
.cta-banner h2 {
    font-size: clamp(2rem, 3.5vw, 3.4rem);
}

.hero-lead,
.section-heading p,
.split-section p,
.spotlight p,
.contact-grid p,
.hero-card p,
.info-card p,
.process-grid p,
.faq-list p,
.cta-banner p,
.trust-grid span {
    color: var(--text-soft);
    font-size: 1.02rem;
}

.hero-actions,
.contact-actions,
.cta-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin: 1.8rem 0;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0.95rem 1.35rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 16px 30px rgba(14, 77, 104, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--accent-strong);
    box-shadow: 0 20px 40px rgba(14, 77, 104, 0.32);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.72);
    color: var(--text);
    border: 1px solid var(--border);
}

.button-dark {
    background: var(--surface-dark);
    color: #fff;
}

.hero-highlights,
.spotlight-panel ul,
.checklist-card ul {
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.hero-highlights li,
.spotlight-panel li,
.checklist-card li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.85rem;
    color: var(--text-soft);
}

.hero-highlights li::before,
.spotlight-panel li::before,
.checklist-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), var(--accent));
}

.hero-card,
.info-card,
.checklist-card,
.spotlight-panel,
.contact-panel {
    padding: 2rem;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow);
}

.hero-visual {
    grid-template-rows: 1.1fr auto;
}

.hero-card {
    position: relative;
    overflow: hidden;
}

.hero-card-image {
    min-height: 320px;
    padding: 0;
}

.hero-card-image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-card-profile {
    z-index: 1;
}

.hero-profile-top {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 1rem;
    align-items: center;
}

.portrait {
    width: 86px;
    height: 86px;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 12px 30px rgba(18, 52, 70, 0.16);
}

.hero-card::after,
.contact-panel::after {
    content: "";
    position: absolute;
    inset: auto -80px -80px auto;
    width: 210px;
    height: 210px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(14, 77, 104, 0.18), transparent 68%);
    pointer-events: none;
}

.hero-card-badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    padding: 0.7rem 0.9rem;
    box-shadow: 0 18px 40px rgba(18, 52, 70, 0.18);
}

.hero-card-badge img,
.contact-logo {
    display: block;
    max-width: 160px;
    height: auto;
}

.hero-card h2,
.info-card h3,
.checklist-card h3,
.spotlight-panel h3,
.contact-panel h3 {
    margin-top: 0.35rem;
    margin-bottom: 0.8rem;
    font-size: 1.35rem;
}

.contact-stack {
    display: grid;
    gap: 0.75rem;
    margin: 1.5rem 0 1.75rem;
}

.contact-stack a,
.contact-panel a {
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-panel a:hover,
.contact-panel a:focus-visible {
    color: var(--accent);
}

.trust-band {
    padding-bottom: 0.5rem;
}

.trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-grid article {
    padding: 1.5rem 1.25rem;
    border-top: 1px solid var(--border);
}

.trust-grid strong {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 1.5rem;
    color: var(--accent);
}

.section-light {
    background: rgba(255, 255, 255, 0.46);
}

.section-accent {
    background:
        linear-gradient(180deg, rgba(14, 77, 104, 0.08), rgba(14, 77, 104, 0)),
        rgba(216, 237, 245, 0.45);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 2rem;
}

.card-grid.three-up,
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.info-card a,
.text-link {
    font-weight: 800;
    color: var(--accent);
    text-decoration: none;
}

.info-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 64px rgba(16, 43, 57, 0.18);
}

.split-section {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
}

.media-checklist-card {
    overflow: hidden;
}

.section-photo {
    width: calc(100% + 4rem);
    max-width: none;
    margin: -2rem -2rem 1.4rem;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.checklist-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.68));
}

.process-grid article {
    padding: 1.6rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.process-grid article:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(16, 43, 57, 0.12);
    background: rgba(255, 255, 255, 0.92);
}

.process-grid span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    background: var(--surface-dark);
    color: #fff;
    font-weight: 800;
    margin-bottom: 0.9rem;
}

.process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.spotlight {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
}

blockquote {
    margin: 1.75rem 0;
    padding: 1.35rem 1.5rem;
    border-left: 4px solid var(--gold);
    background: rgba(255, 255, 255, 0.58);
    border-radius: 0 18px 18px 0;
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text);
}

.listing-showcase {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
}

.listing-gallery {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1rem;
}

.listing-gallery img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: box-shadow 0.4s ease;
}

.listing-gallery img:hover {
    box-shadow: 0 32px 70px rgba(16, 43, 57, 0.2);
}

.listing-gallery img:last-child {
    transform: translateY(2.25rem);
}

.cta-banner {
    grid-template-columns: 1.2fr auto;
    align-items: center;
    padding: 2rem;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(14, 77, 104, 0.95), rgba(18, 52, 70, 0.98));
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -10%;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(219, 138, 57, 0.12);
    pointer-events: none;
}

.cta-banner::after {
    content: "";
    position: absolute;
    bottom: -50%;
    left: -8%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.cta-banner h2,
.cta-banner p,
.cta-banner .eyebrow {
    color: #fff;
    position: relative;
    z-index: 1;
}

.cta-banner-actions {
    position: relative;
    z-index: 1;
}

.faq-list {
    display: grid;
    gap: 1rem;
}

.faq-list details {
    padding: 1.2rem 1.35rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--border);
    transition: background 0.2s ease;
}

.faq-list details[open] {
    background: rgba(255, 255, 255, 0.88);
}

.faq-list summary {
    cursor: pointer;
    font-weight: 800;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "";
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-right: 2.5px solid var(--accent);
    border-bottom: 2.5px solid var(--accent);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.faq-list details[open] summary::after {
    transform: rotate(-135deg);
}

.faq-list p {
    margin-bottom: 0;
}

.contact-section {
    padding-bottom: 6rem;
}

.contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
}

.contact-panel {
    position: relative;
    overflow: hidden;
}

.contact-logo {
    margin-bottom: 1rem;
}

.site-footer {
    padding: 1.5rem 0 2.25rem;
    border-top: 1px solid rgba(23, 48, 61, 0.1);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--text-soft);
}

/* --- Nav hover underline (desktop) --- */

@media (min-width: 981px) {
    .site-nav a:not(.nav-cta) {
        position: relative;
    }

    .site-nav a:not(.nav-cta)::after {
        content: "";
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--accent);
        transition: width 0.3s ease;
    }

    .site-nav a:not(.nav-cta):hover::after,
    .site-nav a:not(.nav-cta):focus-visible::after {
        width: 100%;
    }
}

/* --- Scroll reveal --- */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.card-grid .reveal:nth-child(2),
.trust-grid .reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.card-grid .reveal:nth-child(3),
.trust-grid .reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.process-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.process-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.process-grid .reveal:nth-child(4) { transition-delay: 0.3s; }

.faq-list .reveal:nth-child(2) { transition-delay: 0.05s; }
.faq-list .reveal:nth-child(3) { transition-delay: 0.1s; }
.faq-list .reveal:nth-child(4) { transition-delay: 0.15s; }

/* --- Focus outlines --- */

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.button:focus-visible {
    outline-offset: 4px;
}

/* --- Responsive --- */

@media (max-width: 980px) {
    .hero-grid,
    .split-section,
    .spotlight,
    .contact-grid,
    .cta-banner,
    .process-grid,
    .card-grid.three-up,
    .trust-grid,
    .listing-showcase,
    .listing-gallery {
        grid-template-columns: 1fr;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 0.75rem);
        right: 1rem;
        left: 1rem;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.97);
        border: 1px solid var(--border);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .menu-toggle {
        display: inline-block;
    }
}

@media (max-width: 640px) {
    .hero,
    .section {
        padding: 4.5rem 0;
    }

    .header-inner {
        min-height: 74px;
    }

    .hero-copy h1,
    .section-heading h2,
    .split-section h2,
    .spotlight h2,
    .contact-grid h2,
    .cta-banner h2 {
        line-height: 1.02;
    }

    .hero-card,
    .info-card,
    .checklist-card,
    .spotlight-panel,
    .contact-panel,
    .cta-banner {
        padding: 1.4rem;
    }

    .hero-profile-top {
        grid-template-columns: 72px 1fr;
    }

    .portrait {
        width: 72px;
        height: 72px;
        border-radius: 18px;
    }

    .section-photo {
        width: calc(100% + 2.8rem);
        margin: -1.4rem -1.4rem 1.2rem;
    }

    .listing-gallery img:last-child {
        transform: none;
    }

    .button,
    .nav-cta {
        width: 100%;
    }

    .hero-actions,
    .contact-actions,
    .cta-banner-actions {
        flex-direction: column;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* --- Reduced motion --- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .button,
    .info-card,
    .process-grid article,
    .listing-gallery img,
    .nav-cta,
    .faq-list summary::after,
    .faq-list details,
    .menu-toggle span,
    .site-nav a {
        transition: none;
    }
}
