/* =========================================================================
   Cruises with Friends — brand stylesheet
   Modern, hip, timeless. Navy + teal from the app, warmed with sand + cream.
   ========================================================================= */

:root {
    /* Brand */
    --navy:        #183C88;
    --navy-700:    #122E68;
    --navy-900:    #0E2350;
    --teal:        #2E8C92;
    --teal-bright: #3FA7AD;
    --teal-700:    #246E73;
    --sand:        #F4A24C;
    --coral:       #FF6F61;

    /* Neutrals */
    --bg:        #EEF2F8;   /* cool light blue-grey (app background) */
    --cream:     #FBF7F0;   /* warm off-white for alternating sections */
    --paper:     #FFFFFF;
    --ink:       #15233F;   /* deep navy for headings */
    --body:      #44506A;   /* body text */
    --muted:     #6B7793;
    --line:      #E2E8F2;

    /* Type — standardized on Lato (both kept as vars so a display face can return later) */
    --font-display: 'Lato', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-sans:    'Lato', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    /* Shape */
    --r-sm: 10px;
    --r:    16px;
    --r-lg: 24px;
    --r-xl: 32px;

    /* Elevation */
    --shadow-sm: 0 1px 2px rgba(16, 35, 80, .06), 0 2px 6px rgba(16, 35, 80, .05);
    --shadow:    0 8px 24px rgba(16, 35, 80, .08);
    --shadow-lg: 0 24px 60px rgba(16, 35, 80, .16);

    --container: 1180px;
    --nav-h: 74px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--body);
    background: var(--bg);
    line-height: 1.65;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.12;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 .5em;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1rem; }

a { color: var(--teal-700); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--teal); }

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

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

.eyebrow {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .78rem;
    font-weight: 700;
    color: var(--teal-700);
    margin: 0 0 .8rem;
}

.lead { font-size: 1.18rem; color: var(--body); }

.section { padding: clamp(56px, 8vw, 110px) 0; }
.section--cream { background: var(--cream); }
.section--bg    { background: var(--bg); }
.section--navy  { background: var(--navy-900); color: #cfdaf2; }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section-head .lead { margin: 0; }

.text-center { text-align: center; }

/* Scroll reveal — subtle fade-up. Only hides when JS is active (html.js); without JS,
   or with reduced-motion, content is fully visible. */
.reveal.in { opacity: 1 !important; transform: none !important; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.2,.6,.2,1), transform .6s cubic-bezier(.2,.6,.2,1); will-change: opacity, transform; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1 !important; transform: none !important; transition: none; } }

/* ---------- Buttons ---------- */
.btn {
    --btn-bg: var(--navy);
    --btn-fg: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    padding: 15px 26px;
    border-radius: 999px;
    border: 2px solid transparent;
    background: var(--btn-bg);
    color: var(--btn-fg);
    cursor: pointer;
    transition: transform .12s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
    box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }

.btn--teal    { --btn-bg: var(--teal); }
.btn--sand    { --btn-bg: var(--sand); --btn-fg: #4a2c06; }
.btn--ghost   { --btn-bg: transparent; --btn-fg: var(--navy); border-color: rgba(24,60,136,.25); box-shadow: none; }
.btn--ghost:hover { background: rgba(24,60,136,.06); color: var(--navy); }
.btn--on-navy { --btn-bg: #fff; --btn-fg: var(--navy); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.5); box-shadow: none; }
.btn--outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--lg { padding: 17px 32px; font-size: 1.05rem; }

/* App-store badges (icon + two-line label) */
.store-badges { display: flex; flex-wrap: wrap; gap: 14px; }
.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px 12px 18px;
    border-radius: 14px;
    background: #0d1b3a;
    color: #fff;
    border: 1px solid rgba(255,255,255,.14);
    transition: transform .12s ease, box-shadow .15s ease;
}
.store-badge:hover { transform: translateY(-2px); color: #fff; box-shadow: var(--shadow-lg); }
.store-badge i { font-size: 1.9rem; line-height: 1; }
.store-badge .sb-top { display: block; font-size: .68rem; letter-spacing: .04em; opacity: .8; text-transform: uppercase; }
.store-badge .sb-bot { display: block; font-size: 1.08rem; font-weight: 700; font-family: var(--font-sans); }
.store-badge--light { background: #fff; color: var(--ink); border-color: var(--line); }
.store-badge--light:hover { color: var(--ink); }

/* ---------- Navigation ---------- */
.site-nav {
    position: sticky; top: 0; z-index: 50;
    height: var(--nav-h);
    display: flex; align-items: center;
    background: rgba(255,255,255,.82);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--line);
}
.site-nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand .brand-logo { height: 30px; width: auto; display: block; }
.brand .brand-mark {
    width: 38px; height: 38px; border-radius: 11px;
    background: var(--navy); color: #fff;
    display: grid; place-items: center; font-size: 1.05rem;
    box-shadow: var(--shadow-sm);
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a:not(.btn) {
    color: var(--ink); font-weight: 550; font-size: .98rem;
    padding: 9px 14px; border-radius: 10px;
}
.nav-links a:not(.btn):hover { background: rgba(24,60,136,.07); color: var(--navy); }
.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: 8px; }

/* Nav dropdown ("Who it's for") */
.has-dropdown { position: relative; }
.has-dropdown > .drop-toggle { cursor: pointer; }
.has-dropdown > .drop-toggle .fa-chevron-down { font-size: .7rem; margin-left: 5px; transition: transform .18s ease; }
.dropdown {
    position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
    min-width: 270px; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transition: opacity .16s ease, transform .16s ease; z-index: 60;
}
.has-dropdown:hover > .dropdown, .has-dropdown:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.has-dropdown:hover > .drop-toggle .fa-chevron-down { transform: rotate(180deg); }
.dropdown a { display: flex !important; gap: 12px; align-items: center; padding: 11px 14px !important; border-radius: 11px; }
.dropdown a .dd-ico { width: 34px; height: 34px; flex: none; border-radius: 9px; display: grid; place-items: center; background: rgba(46,140,146,.12); color: var(--teal-700); font-size: .95rem; }
.dropdown a .dd-ico.navy { background: rgba(24,60,136,.10); color: var(--navy); }
.dropdown a .dd-ico.sand { background: rgba(244,162,76,.16); color: #c2761a; }
.dropdown a b { color: var(--ink); font-weight: 600; font-size: .95rem; display: block; }
.dropdown a small { color: var(--muted); font-size: .8rem; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1100px 540px at 88% -8%, rgba(63,167,173,.28), transparent 60%),
        radial-gradient(900px 520px at 6% 8%, rgba(24,60,136,.10), transparent 55%),
        linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.hero-grid {
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
    padding: clamp(48px, 7vw, 92px) 0 clamp(40px, 6vw, 76px);
}
.hero h1 { color: var(--ink); }
.hero h1 .accent {
    background: linear-gradient(120deg, var(--teal) 0%, var(--teal-bright) 60%, var(--sand) 130%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    font-style: italic;
}
.hero .lead { max-width: 33ch; margin-top: .4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-trust { display: flex; align-items: center; gap: 18px; margin-top: 28px; color: var(--muted); font-size: .92rem; flex-wrap: wrap; }
.hero-trust .stars { color: var(--sand); letter-spacing: 2px; }

/* Phones */
.phones { position: relative; display: grid; place-items: center; min-height: 520px; }
.phone {
    position: relative;
    width: 256px;
    border-radius: 38px;
    padding: 9px;
    background: linear-gradient(160deg, #20366b, #0e1f47);
    box-shadow: var(--shadow-lg);
}
.phone img { border-radius: 30px; width: 100%; }
.phone--front { z-index: 2; transform: rotate(-3deg); }
.phone--back  { position: absolute; right: 4%; top: 8%; width: 224px; transform: rotate(6deg); z-index: 1; opacity: .96; }
.phone-float {
    position: absolute; z-index: 3;
    background: #fff; border-radius: 16px; padding: 12px 16px;
    box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 11px;
    font-weight: 600; color: var(--ink); font-size: .92rem;
}
.phone-float i { color: var(--teal); font-size: 1.2rem; }
.phone-float--tl { left: -6%; top: 14%; }
.phone-float--br { right: -4%; bottom: 12%; }
.phone-float small { display: block; font-weight: 500; color: var(--muted); font-size: .76rem; }

/* ---------- Logo cloud / value strip ---------- */
.value-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-strip .vs-item { text-align: center; }
.value-strip .vs-num { font-family: var(--font-display); font-size: 2.4rem; color: var(--navy); line-height: 1; }
.value-strip .vs-label { color: var(--muted); font-size: .95rem; margin-top: 6px; }

/* ---------- Feature cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ico {
    width: 52px; height: 52px; border-radius: 14px;
    display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 18px;
    background: rgba(46,140,146,.12); color: var(--teal-700);
}
.card .ico--navy { background: rgba(24,60,136,.10); color: var(--navy); }
.card .ico--sand { background: rgba(244,162,76,.16); color: #c2761a; }
.card h3 { margin-bottom: .4rem; }
.card p { margin: 0; color: var(--body); }

/* Split feature row (text + image) */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-row + .feature-row { margin-top: clamp(48px, 7vw, 96px); }
.feature-row.reverse .fr-media { order: -1; }
.fr-media .phone { margin-inline: auto; }
.fr-list { list-style: none; padding: 0; margin: 18px 0 0; }
.fr-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; color: var(--body); }
.fr-list i { color: var(--teal); margin-top: 4px; }

/* ---------- Who it's for ---------- */
.persona { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
.persona .p-card {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
    padding: 26px; text-align: center; box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column; text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}
a.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.persona .p-ico { font-size: 1.8rem; color: var(--navy); margin-bottom: 10px; }
.persona h3 { font-size: 1.15rem; color: var(--ink); }
.persona p { font-size: .95rem; margin: 0; color: var(--body); flex: 1; }
.p-more { margin-top: 16px; color: var(--teal-700); font-weight: 650; font-size: .9rem; }
.p-more i { transition: transform .15s ease; }
a.p-card:hover .p-more { color: var(--teal); }
a.p-card:hover .p-more i { transform: translateX(4px); }

/* ---------- Two front doors (app + portal) ---------- */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.door {
    border-radius: var(--r-lg); padding: 36px; border: 1px solid var(--line);
    background: var(--paper); box-shadow: var(--shadow-sm);
}
.door--navy { background: linear-gradient(155deg, var(--navy) 0%, var(--navy-900) 100%); color: #d7e0f4; border: 0; }
.door--navy h3 { color: #fff; }
.door h3 { font-size: 1.5rem; }
.door .door-ico { font-size: 1.7rem; margin-bottom: 12px; }

/* ---------- CTA band ---------- */
.cta-band {
    border-radius: var(--r-xl);
    background:
        radial-gradient(700px 300px at 85% 0%, rgba(63,167,173,.5), transparent 60%),
        linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 100%);
    color: #fff; padding: clamp(40px, 6vw, 72px); text-align: center;
    box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #cdd8f2; max-width: 56ch; margin-inline: auto; }
.cta-band .store-badges { justify-content: center; margin-top: 26px; }

/* ---------- Blog ---------- */
.blog-hero { background: linear-gradient(180deg, #fff, var(--bg)); padding: clamp(48px,7vw,84px) 0 24px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
    overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
    transition: transform .15s ease, box-shadow .15s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card .thumb { aspect-ratio: 16/9; background: var(--bg); overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .pc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.22rem; margin-bottom: .35rem; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--navy); }
.post-card .excerpt { color: var(--body); font-size: .96rem; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--muted); margin-top: 14px; }
.chip {
    display: inline-block; padding: 5px 12px; border-radius: 999px;
    background: rgba(46,140,146,.12); color: var(--teal-700);
    font-size: .76rem; font-weight: 650; letter-spacing: .02em;
}
.chip:hover { color: #fff; background: var(--teal); }

.post-featured {
    display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; overflow: hidden;
    border-radius: var(--r-xl); background: var(--paper); border: 1px solid var(--line);
    box-shadow: var(--shadow); margin-bottom: 44px;
}
.post-featured .pf-img { background: var(--bg); min-height: 320px; }
.post-featured .pf-img img { width: 100%; height: 100%; object-fit: cover; }
.post-featured .pf-body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.post-featured h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.post-featured h2 a { color: var(--ink); }

.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 44px; align-items: start; }
.sidebar { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 24px; }
.sidebar .widget { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow-sm); }
.sidebar h4 { font-family: var(--font-sans); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 14px; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); }
.sidebar li:last-child { border-bottom: 0; }
.sidebar li a { color: var(--ink); font-weight: 550; }
.sidebar li a:hover { color: var(--teal); }
.sidebar .count { color: var(--muted); font-size: .85rem; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 44px; flex-wrap: nowrap; }
.pagination a, .pagination .current {
    min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 11px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-weight: 600;
}
.pagination a:hover { border-color: var(--teal); color: var(--teal); }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination .ellipsis { color: var(--muted); padding: 0 2px; }

/* Blog post article */
.article-hero { background: linear-gradient(180deg, #fff, var(--bg)); padding: clamp(40px,6vw,72px) 0 0; }
.article-head { max-width: 760px; margin-inline: auto; text-align: center; }
.article-head h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.article-meta { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--muted); font-size: .92rem; margin-top: 14px; }
.article-meta img { width: 38px; height: 38px; border-radius: 50%; }
.article-cover { max-width: 940px; margin: 36px auto 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.article-cover img { width: 100%; }
.article-body {
    max-width: 800px; margin: clamp(36px,5vw,56px) auto 0; font-size: 1.12rem; color: #2f3a52; line-height: 1.8;
}
.article-body img { max-width: 100%; height: auto; }
.article-body h2 { margin-top: 1.8em; }
.article-body h3 { margin-top: 1.6em; }
.article-body img { border-radius: var(--r); margin: 1.6em 0; box-shadow: var(--shadow-sm); }
.article-body a { text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote {
    margin: 1.6em 0; padding: 6px 24px; border-left: 4px solid var(--teal);
    color: var(--ink); font-family: var(--font-display); font-size: 1.3rem; font-style: italic;
}
.article-body pre { background: var(--navy-900); color: #e6edff; padding: 20px; border-radius: var(--r); overflow-x: auto; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-tags { max-width: 740px; margin: 36px auto 0; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #b9c6e6; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-family: var(--font-sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 16px; }
.site-footer a { color: #b9c6e6; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand .brand-mark { background: #fff; color: var(--navy); }
.footer-brand p { color: #93a3c9; max-width: 36ch; }
.social { display: flex; gap: 12px; margin-top: 18px; }
.social a {
    width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
    background: rgba(255,255,255,.08); color: #cdd8f2; font-size: 1.05rem; transition: .15s;
}
.social a:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #8493ba; font-size: .88rem; }

/* ---------- Browser / portal window frame ---------- */
.browser {
    width: 100%;
    border-radius: var(--r);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.browser__bar {
    display: flex; align-items: center; gap: 14px;
    padding: 10px 14px;
    background: linear-gradient(180deg, #f7f9fc, #edf1f7);
    border-bottom: 1px solid var(--line);
}
.browser__dots { display: flex; gap: 7px; flex: none; }
.browser__dots span { width: 11px; height: 11px; border-radius: 50%; display: block; }
.browser__dots span:nth-child(1) { background: #ff5f57; }
.browser__dots span:nth-child(2) { background: #febc2e; }
.browser__dots span:nth-child(3) { background: #28c840; }
.browser__addr {
    flex: 1; min-width: 0; max-width: 360px; margin-inline: auto;
    background: #fff; border: 1px solid var(--line); border-radius: 999px;
    padding: 5px 14px; font-size: .78rem; color: var(--muted);
    display: flex; align-items: center; gap: 8px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser__addr i { color: var(--teal-700); font-size: .72rem; flex: none; }
.browser__shot { display: block; width: 100%; height: auto; }

/* Small "platform" caption under a screenshot */
.platform-tag {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
    font-size: .82rem; font-weight: 650; letter-spacing: .01em; color: var(--muted);
}
.platform-tag i { color: var(--teal-700); }

/* ---------- Hero showcase: portal window + phone together ---------- */
.showcase { position: relative; padding: 8px 14px 30px 0; }
.showcase .browser { transform: rotate(-1deg); }
.showcase .phone {
    position: absolute; right: -2%; bottom: -4%;
    width: 166px; z-index: 3; transform: rotate(3deg);
}
.showcase .phone img { border-radius: 26px; }
.showcase .float-badge {
    position: absolute; z-index: 4; left: -5%; top: 10%;
    background: #fff; border-radius: 14px; padding: 11px 15px;
    box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 11px;
    font-weight: 600; color: var(--ink); font-size: .9rem;
}
.showcase .float-badge i { color: var(--teal); font-size: 1.15rem; }
.showcase .float-badge small { display: block; font-weight: 500; color: var(--muted); font-size: .74rem; }

/* ---------- Lifestyle / people imagery ---------- */
.lifestyle-photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.lifestyle-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

.photo-collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.photo-collage figure {
    margin: 0; position: relative; border-radius: var(--r); overflow: hidden;
    box-shadow: var(--shadow-sm); aspect-ratio: 4 / 5;
}
.photo-collage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-collage figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 16px 13px;
    background: linear-gradient(180deg, transparent, rgba(14, 35, 80, .82));
    color: #fff; font-weight: 600; font-size: .92rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .showcase { padding: 8px 0 24px; }
    .showcase .phone { width: 132px; right: 2%; }
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .phones { min-height: 460px; margin-top: 8px; }
    .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 30px; }
    .feature-row.reverse .fr-media { order: 0; }
    .blog-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; grid-template-columns: 1fr 1fr; }
    .post-featured { grid-template-columns: 1fr; }
    .post-featured .pf-img { min-height: 220px; }
    .grid-3, .post-grid, .persona { grid-template-columns: repeat(2, 1fr); }
    .doors { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .nav-links {
        position: fixed; inset: var(--nav-h) 0 auto 0;
        flex-direction: column; align-items: stretch; gap: 4px;
        background: #fff; padding: 16px 20px 24px; border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .25s ease; z-index: 40;
    }
    .nav-links.open { transform: translateY(0); }
    .nav-cta { margin-left: 0; flex-direction: column; align-items: stretch; }
    .nav-cta .btn { width: 100%; }
    .nav-toggle { display: block; }
    /* Flatten the dropdown into the mobile menu */
    .has-dropdown { position: static; }
    .has-dropdown > .drop-toggle { display: none; }
    .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0; min-width: 0; background: transparent; }
    .dropdown a { padding: 10px 14px !important; }
    .grid-3, .grid-2, .post-grid, .persona, .value-strip, .sidebar { grid-template-columns: 1fr; }
    .photo-collage { grid-template-columns: 1fr; }
    .showcase .phone { width: 112px; right: 4%; bottom: 0; }
    .showcase .float-badge { left: 0; top: 4%; }
    .value-strip { gap: 28px; }
    .footer-grid { grid-template-columns: 1fr; }
    .phone--back { display: none; }
    .phone-float--tl { left: 0; }
    .phone-float--br { right: 0; }
}
