:root {
    --bg: #081726;
    --bg-soft: #102538;
    --surface: rgba(255, 255, 255, 0.08);
    --surface-strong: rgba(255, 255, 255, 0.14);
    --card: #eef5fb;
    --card-2: #f8fbff;
    --text: #eef7ff;
    --text-dark: #163046;
    --muted: #a8bdd0;
    --line: rgba(255, 255, 255, 0.12);
    --sand: #f1ddca;
    --sky: #8ec5ff;
    --foam: #dff2ff;
    --accent: #9ad0ff;
    --shadow: 0 20px 60px rgba(5, 16, 29, 0.22);
    --radius: 28px;
    --radius-sm: 18px;
    --max: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top right, rgba(142, 197, 255, 0.22), transparent 24%),
        linear-gradient(180deg, #0c2033 0%, #081523 46%, #0b1825 100%);
    line-height: 1.55;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.site-shell {
    overflow: clip;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(20px);
    background: rgba(8, 23, 38, 0.7);
    border-bottom: 1px solid var(--line);
}

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

.brand img {
    width: min(240px, 42vw);
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.main-nav a {
    color: var(--foam);
    font-size: 0.96rem;
    letter-spacing: 0.03em;
}

.main-nav a:hover {
    color: #ffffff;
}

.nav-cta {
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(142, 197, 255, 0.24), rgba(241, 221, 202, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: end;
    isolation: isolate;
}

.hero-media,
.hero-gradient {
    position: absolute;
    inset: 0;
}

.hero-media {
    background-image: url("img/hero-family.jpg");
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.hero-gradient {
    background:
        linear-gradient(180deg, rgba(7, 18, 28, 0.18) 0%, rgba(7, 18, 28, 0.34) 34%, rgba(6, 15, 26, 0.88) 100%),
        linear-gradient(90deg, rgba(6, 18, 29, 0.76) 0%, rgba(6, 18, 29, 0.2) 56%, rgba(6, 18, 29, 0.18) 100%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 160px;
    background: linear-gradient(180deg, transparent, rgba(8, 23, 38, 0.95));
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 7rem 0 5rem;
}

.hero-copy {
    max-width: 680px;
}

.eyebrow,
.section-kicker,
.mini-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.74rem;
    color: var(--sky);
    margin: 0 0 1rem;
}

.eyebrow::before,
.section-kicker::before,
.mini-label::before {
    content: "";
    width: 34px;
    height: 1px;
    background: currentColor;
    opacity: 0.7;
}

.hero h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.8rem, 6vw, 5.3rem);
    line-height: 0.98;
    max-width: 10ch;
    text-wrap: balance;
}

.hero-text {
    font-size: 1.1rem;
    max-width: 58ch;
    color: #dceaf8;
    margin: 1.3rem 0 0;
}

.hero-actions,
.hero-points,
.feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero-actions {
    margin-top: 2rem;
}

.hero-points {
    margin-top: 1.4rem;
}

.hero-points span,
.feature-pills span {
    border-radius: 999px;
    padding: 0.72rem 1rem;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #eff7ff;
    font-size: 0.95rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.95rem 1.35rem;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #082338;
    background: linear-gradient(135deg, #f7e6d6, #a8d6ff);
    box-shadow: 0 14px 32px rgba(14, 28, 40, 0.22);
}

.button-secondary {
    color: #f7fbff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.button-light {
    background: rgba(255, 255, 255, 0.12);
}

.section {
    position: relative;
    padding: 6rem 0;
}

.intro-strip {
    padding-top: 3rem;
}

.intro-grid,
.about-grid,
.footer-grid,
.split-head,
.callout-card {
    display: grid;
    gap: 1.5rem;
}

.intro-grid {
    grid-template-columns: 1.2fr 1fr;
}

.intro-card {
    padding: 2rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.intro-card h2,
.section-title,
.callout-card h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3.8vw, 3.5rem);
    line-height: 1.02;
    color: #f6fbff;
    text-wrap: balance;
}

.intro-copy {
    display: flex;
    align-items: center;
}

.intro-copy p,
.section-side-text,
.about-copy p,
.callout-card p,
.site-footer p,
.service-card p,
.panel figcaption,
.quote-panel p {
    color: #c9d9e8;
    font-size: 1.02rem;
}

.cards-3 {
    margin-top: 2.25rem;
    display: grid;
    gap: 1.35rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
    padding: 2rem;
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(143, 197, 255, 0.09), rgba(255, 255, 255, 0.04)),
        url("img/beach-wash.jpg") center/cover no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--shadow);
}

.service-card h3 {
    margin: 1rem 0 0.5rem;
    font-size: 1.4rem;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
}

.service-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #0a2233;
    font-weight: 800;
    background: linear-gradient(135deg, #f4dec7, #9fd3ff);
}

.split-head {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: end;
    margin-bottom: 2rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.78fr;
    gap: 1.5rem;
    grid-template-areas:
        "large tall"
        "quote tall";
}

.panel,
.quote-panel,
.callout-card {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.panel {
    background: rgba(255, 255, 255, 0.05);
}

.panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.panel figcaption {
    padding: 1rem 1.1rem 1.25rem;
    background: rgba(11, 24, 37, 0.95);
}

.panel-large {
    grid-area: large;
    min-height: 440px;
}

.panel-tall {
    grid-area: tall;
    min-height: 100%;
}

.panel-overlay {
    position: relative;
}

.panel-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 30, 48, 0.02), rgba(12, 30, 48, 0.48));
    pointer-events: none;
}

.quote-panel {
    grid-area: quote;
    display: flex;
    align-items: center;
    padding: 2rem;
    min-height: 160px;
    background: linear-gradient(135deg, rgba(146, 201, 255, 0.13), rgba(243, 213, 184, 0.1));
}

.quote-panel p {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    color: #f4fbff;
    font-size: clamp(1.35rem, 2.8vw, 2rem);
    line-height: 1.2;
}

.about-grid {
    grid-template-columns: 0.82fr 1.18fr;
    align-items: center;
}

.about-image-wrap {
    position: relative;
    min-height: 420px;
    display: grid;
    place-items: center;
}

.about-image-wrap::before {
    content: "";
    position: absolute;
    width: 88%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, rgba(142, 197, 255, 0.28), transparent 45%),
        radial-gradient(circle at 70% 70%, rgba(241, 221, 202, 0.28), transparent 46%),
        rgba(255, 255, 255, 0.05);
    filter: blur(4px);
}

.about-badge {
    position: relative;
    max-width: 440px;
    width: 100%;
}

.about-copy {
    padding: 1rem 0;
}

.callout {
    padding-top: 2rem;
}

.callout-card {
    grid-template-columns: 1.2fr auto;
    align-items: center;
    padding: 2rem;
    background:
        linear-gradient(135deg, rgba(142, 197, 255, 0.15), rgba(243, 213, 184, 0.12)),
        rgba(255, 255, 255, 0.05);
}

.site-footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}

.footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.9fr;
    align-items: start;
}

.site-footer h3,
.site-footer h4 {
    margin-top: 0;
    color: #ffffff;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li + li {
    margin-top: 0.5rem;
}

.footer-button {
    display: inline-block;
    margin-top: 0.8rem;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom {
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--line);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
}

.footer-switchboard-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    min-height: 52px;
    padding: 0.95rem 1.35rem;
    border-radius: 999px;
    font-weight: 700;
    color: #082338;
    background: linear-gradient(135deg, #f7e6d6, #a8d6ff);
    box-shadow: 0 14px 32px rgba(14, 28, 40, 0.22);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.footer-switchboard-button:hover {
    transform: translateY(-2px);
}

@media (max-width: 980px) {
    .intro-grid,
    .split-head,
    .about-grid,
    .footer-grid,
    .callout-card,
    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-template-areas: none;
    }

    .panel-large,
    .panel-tall {
        min-height: 380px;
    }

    .cards-3 {
        grid-template-columns: 1fr;
    }

    .main-nav {
        display: none;
    }

    .hero {
        min-height: 84vh;
    }

    .hero-copy {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(calc(100% - 1.25rem), var(--max));
    }

    .site-header {
        position: relative;
    }

    .nav-wrap {
        min-height: 72px;
    }

    .hero-inner {
        padding: 5rem 0 3rem;
    }

    .section {
        padding: 4.5rem 0;
    }

    .hero h1,
    .section-title,
    .intro-card h2,
    .callout-card h2 {
        text-wrap: initial;
    }

    .hero-points span,
    .feature-pills span {
        width: 100%;
    }

    .intro-card,
    .service-card,
    .quote-panel,
    .callout-card {
        padding: 1.35rem;
    }
}

.footer-button + .footer-button {
    margin-left: 0.75rem;
}

.footer-button-secondary {
    background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 640px) {
    .footer-button + .footer-button {
        margin-left: 0;
        margin-top: 0.75rem;
    }
}