/* =========================================================
   ATLAS MARITIME AGENCY — design system
   Red + black + white (official brand)
   ========================================================= */

:root {
    /* Legacy names retained as aliases so existing selectors keep working.
       --navy-* is now a near-black scale; --brass-* is now the Atlas red scale;
       --parchment is now white/off-white. */
    --navy-900: #0b0b0b;
    --navy-800: #141414;
    --navy-700: #1f1f1f;
    --navy-600: #2a2a2a;
    --navy-500: #3a3a3a;
    --brass-600: #a60d0d;
    --brass-500: #c8102e;
    --brass-400: #e3344a;
    --brass-300: #f26474;
    --parchment: #ffffff;
    --parchment-2: #f5f5f5;
    --ink: #1a1a1a;
    --ink-muted: #4a4a4a;
    --ink-faint: #8a8a8a;
    --surface: #ffffff;
    --line: rgba(0, 0, 0, 0.12);
    --line-strong: rgba(0, 0, 0, 0.28);

    --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    --mono: "IBM Plex Mono", "SF Mono", Menlo, monospace;

    --wrap: 1240px;
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 8px;

    --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

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

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

body {
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* ---------- Layout primitives ---------- */

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 32px;
}

@media (max-width: 720px) {
    .wrap {
        padding: 0 20px;
    }
}

.section {
    padding: 120px 0;
}

.section--tight {
    padding: 80px 0;
}

@media (max-width: 720px) {
    .section {
        padding: 72px 0;
    }
    .section--tight {
        padding: 56px 0;
    }
}

.eyebrow {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brass-600);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--brass-500);
}

.eyebrow.eyebrow--light {
    color: var(--brass-400);
}
.eyebrow.eyebrow--light::before {
    background: var(--brass-400);
}

.eyebrow--center {
    justify-content: center;
}
.eyebrow--center::before {
    display: none;
}
.eyebrow--center::after {
    content: "";
    flex: 0 0 40px;
    height: 1px;
    background: var(--brass-500);
}
.eyebrow--center {
    position: relative;
}

/* ---------- Typography ---------- */

h1,
h2,
h3,
h4 {
    font-family: var(--serif);
    font-weight: 500;
    color: var(--navy-900);
    letter-spacing: -0.01em;
    line-height: 1.08;
    margin: 0 0 0.5em;
}

h1 {
    font-size: clamp(44px, 6.6vw, 96px);
    font-weight: 500;
}

h2 {
    font-size: clamp(34px, 4.2vw, 60px);
}

h3 {
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.2;
}

p {
    margin: 0 0 1em;
    max-width: 62ch;
}

.lede {
    font-size: clamp(18px, 1.5vw, 22px);
    color: var(--ink-muted);
    line-height: 1.55;
    max-width: 60ch;
}

em.accent,
.accent {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    color: var(--brass-600);
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    font-family: var(--sans);
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    border-radius: var(--radius-sm);
}

.btn--primary {
    background: var(--brass-500);
    color: #ffffff;
}

.btn--primary:hover {
    background: var(--brass-600);
    transform: translateY(-1px);
    box-shadow: 0 10px 30px -10px rgba(200, 16, 46, 0.5);
}

.btn--ghost {
    background: transparent;
    border-color: var(--brass-500);
    color: var(--brass-500);
}

.btn--ghost:hover {
    background: var(--brass-500);
    color: #ffffff;
}

.btn--dark {
    background: var(--navy-900);
    color: #ffffff;
    border-radius: 999px;
    padding: 14px 28px;
}
.btn--dark:hover {
    background: var(--brass-500);
}

.btn .arrow {
    transition: transform 0.3s var(--ease);
}
.btn:hover .arrow {
    transform: translateX(4px);
}

/* ---------- Header / Nav ---------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    background: rgba(6, 18, 38, 0);
    backdrop-filter: blur(0px);
    transition: all 0.3s var(--ease);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background: rgba(11, 11, 11, 0.92);
    backdrop-filter: blur(12px);
    border-bottom-color: rgba(200, 16, 46, 0.28);
    padding: 14px 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--parchment);
}

.brand-mark {
    width: 38px;
    height: 38px;
    position: relative;
    flex-shrink: 0;
}

.brand-mark svg {
    width: 100%;
    height: 100%;
}

/* Wordmark logo (ATLAS with red swoosh) */
.brand--wordmark {
    gap: 16px;
}

.brand-wordmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 168px;
    height: 52px;
    flex-shrink: 0;
}

.brand-wordmark svg,
.brand-wordmark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-text--sub {
    padding-left: 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.brand-name {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.brand-tag {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--brass-400);
    margin-top: 3px;
}

@media (max-width: 720px) {
    .brand-text--sub {
        display: none;
    }
    .brand-wordmark {
        width: 132px;
        height: 42px;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--parchment);
    font-size: 14px;
    letter-spacing: 0.06em;
    position: relative;
    padding: 6px 0;
    transition: color 0.2s var(--ease);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--brass-400);
    transition: width 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--brass-400);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    padding: 13px 22px;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    border: 1px solid var(--navy-900);
    background: var(--navy-900);
    color: #ffffff;
    border-radius: 999px;
    transition: all 0.25s var(--ease);
}

.nav-cta:hover {
    background: var(--brass-500);
    border-color: var(--brass-500);
    color: #ffffff;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--parchment);
    font-size: 24px;
    cursor: pointer;
    padding: 6px;
}

@media (max-width: 900px) {
    .nav-links,
    .nav-cta {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .mobile-open .nav-links {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--navy-900);
        padding: 30px;
        gap: 22px;
        border-top: 1px solid rgba(200, 16, 46, 0.25);
    }
    .mobile-open .nav-cta {
        display: inline-flex;
        margin: 10px 30px 20px;
        background: var(--navy-900);
        width: calc(100% - 60px);
        justify-content: center;
    }
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    background: var(--navy-900);
    color: var(--parchment);
    overflow: hidden;
}

.hero--short {
    min-height: 65vh;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.95) contrast(1.05);
}

/* Slow "breathing" parallax on the hero photo so the ocean feels alive */
.hero-bg-img {
    will-change: transform;
    animation: hero-breathe 22s ease-in-out infinite alternate;
    transform-origin: 50% 55%;
}

@keyframes hero-breathe {
    0% {
        transform: scale(1.04) translate3d(0, 0, 0);
    }
    100% {
        transform: scale(1.08) translate3d(-1.5%, -1%, 0);
    }
}

/* Animated wake / ripple overlay */
.hero-wake {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 55%;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.9;
}

.hero-wake .wake-layer {
    will-change: transform;
    transform-origin: center;
}

.hero-wake .wake-layer-1 {
    animation: wake-drift-1 14s linear infinite;
}

.hero-wake .wake-layer-2 {
    animation: wake-drift-2 22s linear infinite;
}

.hero-wake .wake-glint {
    animation: wake-flicker 6s ease-in-out infinite;
    transform-origin: center;
}

@keyframes wake-drift-1 {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-600px, 0, 0);
    }
}

@keyframes wake-drift-2 {
    0% {
        transform: translate3d(-200px, 0, 0);
    }
    100% {
        transform: translate3d(-800px, 0, 0);
    }
}

@keyframes wake-flicker {
    0%, 100% {
        opacity: 0.35;
    }
    50% {
        opacity: 0.9;
    }
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.45) 30%,
        rgba(0, 0, 0, 0.30) 55%,
        rgba(0, 0, 0, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 200px;
    padding-bottom: 80px;
    width: 100%;
}

.hero h1 {
    color: var(--parchment);
    max-width: 14ch;
    margin-bottom: 28px;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.4);
}

.hero h1 .accent {
    color: var(--brass-400);
}

.hero-lede {
    font-size: clamp(18px, 1.4vw, 20px);
    max-width: 52ch;
    color: rgba(244, 239, 228, 0.86);
    line-height: 1.6;
    margin-bottom: 48px;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-meta {
    display: flex;
    gap: 48px;
    margin-top: 72px;
    padding-top: 32px;
    border-top: 1px solid rgba(227, 52, 74, 0.35);
    flex-wrap: wrap;
}

@media (max-width: 720px) {
    .hero-meta {
        gap: 28px 40px;
        margin-top: 48px;
    }
    .hero-meta-value {
        font-size: 18px;
    }
    .hero-content {
        padding-top: 140px;
        padding-bottom: 60px;
    }
}

.hero-meta-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hero-meta-label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brass-400);
}

.hero-meta-value {
    font-family: var(--serif);
    font-size: 22px;
    color: var(--parchment);
}

/* Ticker */
.ticker {
    position: relative;
    z-index: 2;
    overflow: hidden;
    background: var(--navy-900);
    border-top: 1px solid rgba(200, 16, 46, 0.3);
    border-bottom: 1px solid rgba(200, 16, 46, 0.3);
    padding: 18px 0;
}

.ticker-track {
    display: flex;
    gap: 60px;
    white-space: nowrap;
    animation: marquee 42s linear infinite;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brass-400);
}

.ticker-track span {
    display: inline-flex;
    align-items: center;
    gap: 20px;
}

.ticker-track span::after {
    content: "◆";
    color: rgba(227, 52, 74, 0.65);
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

/* ---------- Section headings ---------- */

.section-head {
    margin-bottom: 64px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: end;
}

.section-head--center {
    text-align: center;
    grid-template-columns: 1fr;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
}

.section-head h2 {
    margin-bottom: 0;
}

.section-head p {
    color: var(--ink-muted);
    font-size: 17px;
    line-height: 1.65;
    max-width: 56ch;
}

@media (max-width: 860px) {
    .section-head {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ---------- Services grid (home overview) ---------- */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--line);
    border: 1px solid var(--line);
}

.service-card {
    background: #ffffff;
    padding: 44px 36px 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 400px;
    transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.service-card:hover {
    background: var(--parchment-2);
    box-shadow: 0 12px 40px -20px rgba(200, 16, 46, 0.35);
}

.service-num {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.22em;
    color: var(--brass-600);
    margin-bottom: 32px;
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    color: var(--brass-600);
}

.service-card h3 {
    margin-bottom: 16px;
}

.service-card p {
    color: var(--ink-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 28px;
    flex: 1;
}

.service-card .service-link {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--navy-800);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    transition: color 0.2s var(--ease);
}

.service-card .service-link:hover {
    color: var(--brass-600);
}

.service-card .service-link::after {
    content: "→";
    transition: transform 0.2s var(--ease);
}

.service-card .service-link:hover::after {
    transform: translateX(4px);
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Two-column about ---------- */

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.two-col--reverse .two-col-media {
    order: 2;
}

.two-col-media {
    position: relative;
}

.two-col--reverse .two-col-media {
    /* no offset padding — frame sits flush with the photo */
}

.two-col-media img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

/* Red frame flush around the photo */
.two-col-media::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid var(--brass-500);
    border-radius: 2px;
    z-index: 2;
    pointer-events: none;
}

/* Reverse layout uses the same flush frame */
.two-col--reverse .two-col-media::before {
    inset: 0;
}

.two-col-body h2 {
    margin-bottom: 24px;
}

.two-col-body .lede {
    margin-bottom: 28px;
}

.two-col-body ul {
    list-style: none;
    padding: 0;
    margin: 32px 0;
}

.two-col-body ul li {
    position: relative;
    padding: 16px 0 16px 32px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    color: var(--ink);
}

.two-col-body ul li:last-child {
    border-bottom: none;
}

.two-col-body ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 24px;
    width: 16px;
    height: 1px;
    background: var(--brass-500);
}

@media (max-width: 900px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .two-col--reverse .two-col-media {
        order: 0;
    }
    .two-col-media img {
        min-height: 340px;
    }
}

/* ---------- Process timeline ---------- */

.process {
    background: var(--navy-900);
    color: var(--parchment);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: "";
    position: absolute;
    top: 10%;
    right: -120px;
    width: 600px;
    height: 600px;
    background-image: url("/images/compass.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.08;
    mix-blend-mode: screen;
}

.process h2 {
    color: var(--parchment);
}

.process .section-head p {
    color: rgba(244, 239, 228, 0.7);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    z-index: 1;
}

.process-step {
    padding: 32px 28px 32px 0;
    border-left: 1px solid rgba(227, 52, 74, 0.4);
    padding-left: 28px;
    position: relative;
}

.process-step::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 32px;
    width: 9px;
    height: 9px;
    background: var(--brass-500);
    border-radius: 50%;
}

.process-step .step-num {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.22em;
    color: var(--brass-400);
    margin-bottom: 16px;
    display: block;
}

.process-step h3 {
    color: var(--parchment);
    font-size: 24px;
    margin-bottom: 12px;
}

.process-step p {
    color: rgba(244, 239, 228, 0.72);
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 900px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .process-step {
        padding: 20px 0 20px 28px;
    }
}

/* ---------- Stats ---------- */

.stats {
    background: #fafafa;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat {
    text-align: center;
    padding: 40px 20px;
    border-right: 1px solid var(--line);
}

.stat:last-child {
    border-right: none;
}

.stat-value {
    font-family: var(--serif);
    font-size: clamp(48px, 5vw, 72px);
    color: var(--navy-900);
    line-height: 1;
    margin-bottom: 12px;
    font-feature-settings: "tnum" 1, "lnum" 1;
}

.stat-value .unit {
    font-size: 0.5em;
    color: var(--brass-600);
    margin-left: 4px;
    vertical-align: middle;
}

.stat-label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat {
        border-right: none;
        border-bottom: 1px solid var(--line);
        padding: 30px 20px;
    }
    .stat:nth-child(odd) {
        border-right: 1px solid var(--line);
    }
    .stat:nth-last-child(-n + 2) {
        border-bottom: none;
    }
}

/* ---------- Fleet showcase / quotes ---------- */

.pullquote {
    position: relative;
    padding: 100px 0;
    background: var(--navy-800);
    color: var(--parchment);
    text-align: center;
    overflow: hidden;
}

.pullquote::before,
.pullquote::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 120px;
    height: 1px;
    background: var(--brass-500);
    transform: translateX(-50%);
}

.pullquote::before {
    top: 60px;
}
.pullquote::after {
    bottom: 60px;
}

.pullquote blockquote {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(26px, 3vw, 42px);
    line-height: 1.35;
    max-width: 900px;
    margin: 0 auto 32px;
    color: var(--parchment);
    padding: 0 40px;
}

.pullquote cite {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brass-400);
    font-style: normal;
}

/* ---------- CTA block ---------- */

.cta-block {
    background: var(--navy-900);
    color: var(--parchment);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.cta-block-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-block h2 {
    color: var(--parchment);
    max-width: 14ch;
}

.cta-block p {
    color: rgba(244, 239, 228, 0.76);
    font-size: 17px;
    line-height: 1.6;
}

.cta-block-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (max-width: 900px) {
    .cta-block {
        padding: 80px 0;
    }
    .cta-block-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ---------- Footer ---------- */

.site-footer {
    background: var(--navy-900);
    color: var(--parchment);
    padding: 80px 0 32px;
    border-top: 3px solid var(--brass-500);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand p {
    color: rgba(244, 239, 228, 0.66);
    font-size: 14.5px;
    line-height: 1.6;
    margin: 20px 0 24px;
}

.footer-col h4 {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brass-400);
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: rgba(244, 239, 228, 0.76);
    font-size: 14.5px;
    transition: color 0.2s var(--ease);
}

.footer-col a:hover {
    color: var(--brass-400);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(227, 52, 74, 0.22);
    display: flex;
    justify-content: space-between;
    gap: 24px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(244, 239, 228, 0.48);
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* ---------- Page hero (interior) ---------- */

.page-hero {
    background: var(--navy-900);
    color: var(--parchment);
    padding: 180px 0 80px;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--brass-500);
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    filter: saturate(0.8);
}

.page-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.88) 0%,
        rgba(0, 0, 0, 0.78) 100%
    );
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.page-hero h1 {
    color: var(--parchment);
    font-size: clamp(42px, 5.4vw, 78px);
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 19px;
    line-height: 1.55;
    color: rgba(244, 239, 228, 0.82);
    max-width: 56ch;
}

.breadcrumbs {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brass-400);
    margin-bottom: 24px;
    display: flex;
    gap: 10px;
}

.breadcrumbs a {
    color: var(--brass-400);
    opacity: 0.7;
}

.breadcrumbs a:hover {
    opacity: 1;
}

.breadcrumbs .sep {
    opacity: 0.4;
}

/* ---------- Detail content ---------- */

.rich h2 {
    font-size: clamp(28px, 3vw, 42px);
    margin-top: 1.2em;
}

.rich h3 {
    font-size: 22px;
    margin-top: 1.4em;
    color: var(--navy-800);
}

.rich p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--ink);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    margin-top: 48px;
}

.feature-list-item {
    background: #ffffff;
    padding: 32px 28px;
}

.feature-list-item h4 {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    color: var(--navy-900);
    margin: 12px 0 10px;
}

.feature-list-item .feature-icon {
    width: 32px;
    height: 32px;
    color: var(--brass-600);
}

.feature-list-item p {
    color: var(--ink-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 720px) {
    .feature-list {
        grid-template-columns: 1fr;
    }
}

/* ---------- Contact form ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-side h3 {
    margin-bottom: 8px;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 20px;
    border-left: 2px solid var(--brass-500);
}

.contact-info .label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brass-600);
}

.contact-info .value {
    font-family: var(--serif);
    font-size: 22px;
    color: var(--navy-900);
}

.contact-info a.value {
    transition: color 0.2s var(--ease);
}
.contact-info a.value:hover {
    color: var(--brass-600);
}

.form-box {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 48px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.field label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-muted);
    font-weight: 500;
}

.field input,
.field select,
.field textarea {
    font-family: var(--sans);
    font-size: 15px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    background: #fafafa;
    color: var(--ink);
    border-radius: 2px;
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--brass-500);
    background: var(--surface);
}

.field textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.form-note {
    font-size: 13px;
    color: var(--ink-muted);
    margin-top: 16px;
}

.form-success {
    display: none;
    padding: 20px;
    background: rgba(200, 16, 46, 0.08);
    border: 1px solid var(--brass-500);
    color: var(--navy-900);
    margin-bottom: 20px;
    font-size: 15px;
}

.form-success.show {
    display: block;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .form-box {
        padding: 32px 24px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ---------- FAQ ---------- */

.faq {
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--line);
    padding: 28px 0;
}

.faq-item:first-child {
    border-top: 1px solid var(--line);
}

.faq-q {
    font-family: var(--serif);
    font-size: 22px;
    color: var(--navy-900);
    margin-bottom: 12px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.faq-q::after {
    content: "+";
    font-family: var(--sans);
    font-size: 20px;
    color: var(--brass-600);
    transition: transform 0.3s var(--ease);
    font-weight: 300;
}

.faq-item.open .faq-q::after {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), margin-top 0.4s var(--ease);
    color: var(--ink-muted);
    font-size: 16px;
    line-height: 1.7;
    max-width: 68ch;
}

.faq-item.open .faq-a {
    max-height: 500px;
    margin-top: 12px;
}

/* ---------- Utilities ---------- */

.center {
    text-align: center;
}

.mt-lg {
    margin-top: 64px;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
    .hero-bg-img,
    .hero-wake .wake-layer,
    .hero-wake .wake-glint {
        animation: none !important;
    }
    .hero-wake {
        opacity: 0.5;
    }
}

/* ---------- President feedback updates (April 2026) ---------- */

/* Display ATLAS — match small caps weight & letter-spacing of italic display headings */
.display-atlas {
    font-family: inherit;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.06em;
}

/* Stacked section heading variant: tagline above a larger heading */
.section-head--stacked {
    display: block;
    grid-template-columns: none;
    text-align: left;
    max-width: 880px;
}

.section-head--stacked .eyebrow {
    display: inline-block;
    margin-bottom: 14px;
}

.section-head .section-tagline {
    font-family: var(--serif);
    font-style: italic;
    font-size: 18px;
    line-height: 1.55;
    color: var(--ink-muted);
    max-width: 60ch;
    margin: 0 0 18px;
}

.section-head-xl {
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin: 0 0 24px;
}

.section-head--stacked > p:not(.section-tagline) {
    max-width: 60ch;
    margin-top: 0;
}

@media (max-width: 720px) {
    .section-head-xl {
        font-size: clamp(32px, 8vw, 44px);
    }
}

/* ---------- Hero meta: cycling ports ---------- */

.hero-meta-value--cycle {
    position: relative;
    display: inline-block;
    min-height: 1.3em;
    line-height: 1.3;
    overflow: hidden;
}

.port-cycle {
    position: relative;
    display: block;
    min-height: 1.3em;
}

.port-cycle-item {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s var(--ease, ease), transform 0.5s var(--ease, ease);
    pointer-events: none;
}

.port-cycle-item.is-active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .port-cycle-item {
        transition: opacity 0.2s linear;
        transform: none;
    }
}

/* ---------- Footer brand alignment ---------- */
/* Align the visual baseline of the footer-brand column with the other columns'
   uppercase eyebrow headings. The wordmark is taller than an <h4>, so we lift
   it slightly and trim the paragraph spacing. */
.footer-grid {
    align-items: start;
}

.footer-brand {
    padding-top: 0;
}

.footer-brand .brand--wordmark {
    margin-top: -6px;
    margin-bottom: 4px;
    display: inline-flex;
    align-items: center;
}

.footer-brand p {
    margin-top: 16px;
}

@media (max-width: 900px) {
    .footer-brand .brand--wordmark {
        margin-top: 0;
    }
}
