/* icybay */

:root {
    --blue: #2982d2;
    --blue-d: #1f6fb8;
    --blue-ink: #163a66;
    --wash: #f3f8fd;
    --line-blue: #d5e7f7;
    --ink: #142033;
    --text: #405066;
    --mute: #6d7c90;
    --line: #e8eef5;
    --white: #fff;
    --wrap: 1160px;
    --font: "Cabin", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }

.wrap {
    width: min(var(--wrap), calc(100% - 64px));
    margin-inline: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: 8px;
    background: var(--blue);
    color: var(--white);
    font-weight: 600;
    font-size: .92rem;
    cursor: pointer;
    touch-action: manipulation;
}
.btn:hover { background: var(--blue-d); }
.btn-outline {
    background: transparent;
    color: var(--blue-ink);
    border: 1px solid rgba(22,58,102,.28);
}
.btn-outline:hover {
    background: rgba(41,130,210,.08);
    border-color: var(--blue);
}
.btn-dark {
    width: 100%;
    background: var(--blue-ink);
}
.btn-dark:hover { background: #0f2a4d; }

.eyebrow {
    margin: 0 0 14px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--blue);
}
.eyebrow-dark { color: var(--blue); }
.quiet { margin-top: 8px; color: var(--mute); font-size: .92rem; }

/* Header */
.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 40;
    border-bottom: 1px solid transparent;
    transition: background .25s ease, border-color .25s ease;
}
.header.is-solid {
    background: rgba(255,255,255,.96);
    border-bottom-color: var(--line);
}
.header-row {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 72px;
}
.logo img { height: 28px; width: auto; }
.logo--dark { display: none; }
.header.is-solid .logo--light { display: none; }
.header.is-solid .logo--dark { display: block; }

.nav {
    display: flex;
    gap: 28px;
    margin-left: auto;
    margin-right: 48px;
}
.nav a {
    font-size: .88rem;
    font-weight: 500;
    color: rgba(255,255,255,.92);
}
.nav a:hover { color: #fff; }
.header.is-solid .nav a { color: var(--text); }
.header.is-solid .nav a:hover { color: var(--blue); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.btn-header {
    min-height: 40px;
    padding: 0 16px;
    font-size: .84rem;
    box-shadow: 0 1px 2px rgba(0,0,0,.12);
}
.btn-header:hover { background: var(--blue-d); }

.burger {
    display: none;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.burger span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: #fff;
}
.header.is-solid .burger span { background: var(--ink); }

/* Hero — full-bleed; copy under logo, same left edge */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: flex-start;
    padding: 248px 0 72px;
    overflow: hidden;
    background: #1a3d63;
}
.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% 42%;
    transform: scale(1.04);
    filter: brightness(.88) contrast(1.05);
    animation: hero-zoom 18s ease-out forwards;
}
.hero > picture {
    position: absolute;
    inset: 0;
    display: block;
}
@keyframes hero-zoom {
    from { transform: scale(1.08); }
    to { transform: scale(1.02); }
}
.hero-scrim {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(12, 28, 48, .4) 0%, transparent 24%),
        linear-gradient(0deg, rgba(12, 28, 48, .45) 0%, transparent 36%);
}
.hero > .wrap {
    position: relative;
    z-index: 1;
}
.hero-content {
    max-width: 540px;
    color: #fff;
    animation: hero-rise .9s ease-out both;
}
.hero-content::before,
.hero-content::after {
    content: none !important;
    display: none !important;
}
@keyframes hero-rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}
.hero-kicker {
    margin: 0 0 16px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #b7e0ff;
    text-shadow: 0 1px 2px rgba(0,0,0,.65);
}
.hero-content h1 {
    font-size: clamp(2.8rem, 6vw, 4.4rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.03em;
    margin-bottom: 18px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,.7);
}
.hero-text {
    max-width: 34rem;
    font-size: 1.08rem;
    line-height: 1.7;
    color: #fff;
    margin-bottom: 30px;
    text-shadow: 0 1px 2px rgba(0,0,0,.7);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,.8);
}
.btn-ghost:hover {
    background: rgba(255,255,255,.12);
    border-color: #fff;
}

/* Sections */
.section { padding: 96px 0; }
.section-soft { background: var(--wash); }
.section-blue { background: var(--blue); color: #fff; }
.section-head { max-width: 560px; margin-bottom: 44px; }
.section-head h2,
.about h2,
.contact h2 {
    font-size: clamp(1.7rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.02em;
    color: var(--ink);
}
.section-blue h2 { color: #fff; }

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.section-head .quiet {
    max-width: 560px;
    margin-top: 12px;
}
.coverage-note {
    margin-top: 20px;
    max-width: 720px;
    color: var(--mute);
    font-size: .95rem;
    line-height: 1.65;
}
.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 28px 24px;
}
.section-soft .card { border-color: var(--line-blue); }
.card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 24px;
    padding: 0 10px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: var(--wash);
    color: var(--blue);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
}
.card h3 {
    font-size: 1.2rem;
    color: var(--ink);
    margin-bottom: 10px;
}
.card p {
    color: var(--mute);
    font-size: .95rem;
    line-height: 1.65;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.step {
    background: var(--white);
    border: 1px solid var(--line-blue);
    border-radius: 12px;
    padding: 24px;
}
.step strong {
    display: block;
    color: var(--blue);
    font-size: .72rem;
    letter-spacing: .1em;
    margin-bottom: 12px;
}
.step h3 {
    font-size: 1.1rem;
    color: var(--ink);
    margin-bottom: 8px;
}
.step p {
    color: var(--mute);
    font-size: .92rem;
    line-height: 1.6;
}

.app-downloads {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.app-download {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 24px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
}
.app-download h3 {
    font-size: 1.15rem;
    color: var(--ink);
    margin-bottom: 8px;
}
.app-download p {
    color: var(--mute);
    font-size: .92rem;
    line-height: 1.6;
    max-width: 36ch;
}
.app-download .btn {
    flex-shrink: 0;
    white-space: nowrap;
}

.photo-break {
    background: var(--wash);
    padding: 8px 0 56px;
}
.photo-break-frame {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #2a4a66;
    border: 1px solid var(--line-blue);
}
.photo-break-frame picture,
.photo-break-frame img {
    width: 100%;
    height: 100%;
    display: block;
}
.photo-break-frame img {
    object-fit: cover;
    object-position: center 42%;
}
.photo-break-caption {
    margin: 14px 0 0;
    color: var(--mute);
    font-size: .95rem;
}

.places {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.places figure {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
}
.places picture,
.places img {
    width: 100%;
    height: 100%;
    display: block;
}
.places img {
    object-fit: cover;
}
.places figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 48px 16px 16px;
    background: linear-gradient(transparent, rgba(20,32,51,.8));
    color: #fff;
    font-weight: 600;
}

.about {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 56px;
    align-items: center;
}
.about-slogan {
    margin: 0 0 16px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--blue);
    letter-spacing: -.01em;
}
.about-lead {
    margin: 0 0 28px;
    color: var(--mute);
    font-size: 1.05rem;
    max-width: 520px;
    line-height: 1.7;
}
.about-blocks {
    display: grid;
    gap: 20px;
    max-width: 520px;
}
.about-blocks h3 {
    font-size: 1.05rem;
    color: var(--ink);
    margin-bottom: 6px;
}
.about-blocks p {
    color: var(--mute);
    font-size: .95rem;
    line-height: 1.65;
}
.about-contact {
    margin-top: 10px !important;
}
.about-contact a {
    color: var(--blue);
    font-weight: 600;
}
.about-contact a:hover { text-decoration: underline; }
.checks { display: grid; gap: 12px; }
.checks li {
    position: relative;
    padding-left: 26px;
}
.checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .5em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--blue);
}
.about-photos {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 12px;
}
.about-photos picture,
.about-photos img {
    width: 100%;
    display: block;
}
.about-photos img {
    border-radius: 12px;
    object-fit: cover;
}
.about-photos picture:first-child img,
.about-photos > img:first-child { height: 400px; }
.about-photos picture:last-child img,
.about-photos > img:last-child {
    height: 300px;
    margin-top: 50px;
}

.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.contact > div > p {
    margin: 12px 0 20px;
    color: rgba(255,255,255,.85);
    max-width: 400px;
}
.mail {
    color: #fff;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,.4);
}
.mail:hover { border-bottom-color: #fff; }
.form {
    display: grid;
    gap: 12px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 12px;
    padding: 24px;
}
.form label { display: grid; gap: 7px; }
.form span {
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: rgba(255,255,255,.75);
}
.form input,
.form select {
    min-height: 46px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.28);
    background: rgba(255,255,255,.12);
    color: #fff;
    outline: none;
    font-size: 16px; /* stop iOS zoom on focus */
    width: 100%;
}
.form select option { color: var(--ink); }

.footer {
    background: var(--white);
    border-top: 1px solid var(--line);
    padding: 56px 0 24px;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
}
.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 32px;
}
.footer-logo { height: 26px; width: auto; margin-bottom: 12px; }
.footer-top p {
    max-width: 260px;
    color: var(--mute);
    font-size: .92rem;
}
.footer-cols { display: flex; gap: 64px; }
.footer-cols h4 {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 12px;
}
.footer-cols a {
    display: block;
    color: var(--mute);
    margin-bottom: 8px;
    font-size: .92rem;
    min-height: 32px;
}
.footer-cols a:hover { color: var(--blue); }
.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 18px;
    color: var(--mute);
    font-size: .84rem;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-media,
    .hero-content {
        animation: none !important;
        transform: none !important;
    }
}

/* Large tablets / small laptops */
@media (max-width: 1100px) {
    .steps { grid-template-columns: repeat(2, 1fr); }
    .nav { gap: 20px; }
    .hero { padding: 180px 0 64px; }
    .hero-content h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
}

/* Tablets */
@media (max-width: 960px) {
    .wrap { width: min(var(--wrap), calc(100% - 48px)); }
    .cards, .places, .app-downloads { grid-template-columns: 1fr 1fr; }
    .app-download {
        flex-direction: column;
        align-items: flex-start;
    }
    .about, .contact { grid-template-columns: 1fr; gap: 36px; }
    .about-photos {
        grid-template-columns: 1fr 1fr;
    }
    .about-photos picture:last-child img,
    .about-photos > img:last-child { margin-top: 0; height: 240px; }
    .about-photos picture:first-child img,
    .about-photos > img:first-child { height: 240px; }
    .section { padding: 80px 0; }
    .banner { height: clamp(340px, 48vh, 520px); }
    .photo-break { padding-bottom: 40px; }
    .photo-break-frame { aspect-ratio: 16 / 10; }
    .hero {
        padding: 140px 0 64px;
        min-height: min(100dvh, 900px);
    }
    .hero-media { object-position: 78% center; }
    .header-row { height: 64px; }
    .header-actions { margin-left: auto; }
    .nav { margin-right: 0; }
    .btn-header {
        min-height: 38px;
        padding: 0 12px;
        font-size: .78rem;
    }
    .burger {
        display: block;
        position: relative;
        z-index: 50;
        width: 44px;
        height: 44px;
    }
    .nav {
        margin-left: 0;
        position: fixed;
        inset: 0;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;
        padding: max(24px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
        transform: translateX(100%);
        transition: transform .3s ease;
        z-index: 30;
    }
    .nav.is-open { transform: none; }
    .nav a {
        color: var(--ink) !important;
        font-size: 1.2rem;
        font-weight: 600;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        padding: 0 16px;
    }
}

/* Phones */
@media (max-width: 640px) {
    .wrap { width: min(var(--wrap), calc(100% - 32px)); }
    .cards,
    .steps,
    .places,
    .app-downloads,
    .about-photos { grid-template-columns: 1fr; }
    .app-download .btn { width: 100%; }
    .section { padding: 64px 0; }
    .section-head { margin-bottom: 28px; }
    .banner { height: clamp(240px, 42vh, 360px); }
    .photo-break { padding: 0 0 40px; }
    .photo-break-frame { aspect-ratio: 4 / 3; border-radius: 12px; }
    .hero {
        padding: 112px 0 48px;
        align-items: flex-end;
        min-height: 100svh;
    }
    .hero-content { max-width: none; }
    .hero-content h1 {
        font-size: clamp(2.1rem, 9vw, 2.75rem);
        margin-bottom: 12px;
    }
    .hero-text {
        font-size: 1rem;
        margin-bottom: 22px;
        max-width: none;
    }
    .hero-actions {
        width: 100%;
        flex-direction: column;
    }
    .hero-actions .btn {
        width: 100%;
        min-height: 48px;
    }
    .hero-scrim {
        background:
            linear-gradient(180deg, rgba(12, 28, 48, .45) 0%, transparent 22%),
            linear-gradient(0deg, rgba(12, 28, 48, .78) 0%, rgba(12, 28, 48, .4) 48%, transparent 78%);
    }
    .hero-media { object-position: 70% 40%; }
    .card, .step { padding: 22px 18px; }
    .places figure { aspect-ratio: 16 / 11; }
    .about-photos picture:first-child img,
    .about-photos picture:last-child img,
    .about-photos > img:first-child,
    .about-photos > img:last-child {
        height: 220px;
        margin-top: 0;
    }
    .footer-top {
        flex-direction: column;
        gap: 28px;
    }
    .footer-cols {
        width: 100%;
        justify-content: space-between;
        gap: 24px;
    }
    .contact { gap: 28px; }
    .form { padding: 18px; }
}

/* Small phones */
@media (max-width: 400px) {
    .wrap { width: calc(100% - 28px); }
    .hero-kicker { letter-spacing: .12em; }
    .hero-content h1 { font-size: 1.95rem; }
    .footer-cols { flex-direction: column; gap: 20px; }
}

/* Landscape phones */
@media (max-height: 480px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 96px 0 40px;
        align-items: center;
    }
    .hero-actions { flex-direction: row; }
    .hero-actions .btn { width: auto; }
    .banner { height: 220px; }
    .photo-break-frame { aspect-ratio: 16 / 9; }
}
