﻿/* ==========================================================================
   JapanAutoExport — Port Logistics / Export Warehouse design system
   Prefix: jae-  |  Fonts: IBM Plex Sans JP + Barlow Condensed (400/500 only)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500&family=IBM+Plex+Sans+JP:wght@400;500&display=swap');

:root {
    --jae-navy: #0B1F33;
    --jae-navy-2: #0E2740;
    --jae-navy-deep: #071523;
    --jae-orange: #E85D04;
    --jae-orange-2: #C24A00;
    --jae-gray: #C5CBD3;
    --jae-gray-2: #EEF0F2;
    --jae-white: #FFFFFF;
    --jae-ink: #10233A;
    --jae-line: rgba(11, 31, 51, 0.12);
    --jae-line-dark: rgba(197, 203, 211, 0.22);
    --jae-jp: 'IBM Plex Sans JP', 'Hiragino Sans', sans-serif;
    --jae-cond: 'Barlow Condensed', 'IBM Plex Sans JP', sans-serif;
    --jae-header-h: 76px;
    --jae-wrap: 1288px;
    --jae-ease: cubic-bezier(.22,.75,.28,1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar, *::-webkit-scrollbar { display: none; width: 0; height: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--jae-header-h);
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    margin: 0;
    font-family: var(--jae-jp);
    font-weight: 400;
    color: var(--jae-ink);
    background: var(--jae-white);
    -webkit-font-smoothing: antialiased;
    line-height: 1.9;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; color: var(--jae-navy); }
p { margin: 0; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, select, textarea { font: inherit; }
address { font-style: normal; }
iframe { border: 0; }

.jae-wrap {
    max-width: var(--jae-wrap);
    margin: 0 auto;
    padding: 0 clamp(20px, 4.4vw, 56px);
}

.jae-skip {
    position: absolute; left: -999px; top: 0; z-index: 999;
    background: var(--jae-orange); color: #fff; padding: 12px 20px;
}
.jae-skip:focus { left: 12px; top: 12px; }

/* ==========================================================================
   Typography helpers
   ========================================================================== */
.jae-tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--jae-cond); font-weight: 500;
    font-size: 14px; letter-spacing: .16em; text-transform: uppercase;
    color: var(--jae-orange-2); margin-bottom: 18px;
}
.jae-tag::before {
    content: ''; width: 18px; height: 10px; background: var(--jae-orange); flex: none;
    clip-path: polygon(0 0, 100% 0, 82% 100%, 0% 100%);
}
.jae-tag--on-dark { color: #FFC79A; }

.jae-sec-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.jae-sec-head h2 { font-size: clamp(26px, 3.6vw, 42px); line-height: 1.35; letter-spacing: .01em; }
.jae-sec-head p { margin-top: 18px; font-size: 16px; line-height: 2; color: #3A4A5C; }
.jae-sec-head--light h2, .jae-sec-head--light p { color: #fff; }
.jae-sec-head--light p { color: rgba(255,255,255,.72); }

/* ==========================================================================
   Section shells
   ========================================================================== */
.jae-sec { position: relative; padding: clamp(64px, 9vw, 116px) 0; }
.jae-sec--navy { background: var(--jae-navy); color: #fff; }
.jae-sec--navy h2, .jae-sec--navy h3 { color: #fff; }
.jae-sec--navy p { color: rgba(255,255,255,.74); }
.jae-sec--gray { background: linear-gradient(180deg, #F4F5F6 0%, #EAECEE 100%); }
.jae-sec--white { background: var(--jae-white); }

.jae-band {
    clip-path: polygon(0 28px, 100% 0, 100% calc(100% - 28px), 0 100%);
}
@media (min-width: 900px) {
    .jae-band { clip-path: polygon(0 56px, 100% 0, 100% calc(100% - 56px), 0 100%); }
}

.jae-hazard {
    height: 8px; width: 100%;
    background: repeating-linear-gradient(135deg, var(--jae-orange) 0 16px, var(--jae-navy) 16px 32px);
}

/* ==========================================================================
   Header
   ========================================================================== */
.jae-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 60;
    background: rgba(11, 31, 51, 0);
    transition: background .35s var(--jae-ease), box-shadow .35s var(--jae-ease);
}
.jae-header.is-scrolled {
    background: rgba(11, 31, 51, .96);
    backdrop-filter: blur(6px);
    box-shadow: 0 12px 28px rgba(7, 21, 35, .22);
}
.jae-header__inner {
    max-width: var(--jae-wrap); margin: 0 auto;
    padding: 0 clamp(20px, 4.4vw, 56px);
    height: var(--jae-header-h);
    display: flex; align-items: center; gap: 20px;
}
.jae-logo { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.jae-logo__mark { display: flex; }
.jae-logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.jae-logo__en { font-family: var(--jae-cond); font-size: 20px; letter-spacing: .04em; color: #fff; }
.jae-logo__jp { font-size: 11px; letter-spacing: .06em; color: var(--jae-gray); }

.jae-nav--desk { display: none; }
@media (min-width: 1024px) { .jae-nav--desk { display: block; } }
.jae-nav--desk .jae-nav__list { display: flex; align-items: center; gap: 6px; }
.jae-nav__link {
    display: inline-block; padding: 10px 16px; font-size: 14.5px;
    color: rgba(255,255,255,.82); border-radius: 2px; position: relative;
    transition: color .2s;
}
.jae-nav__link::after {
    content: ''; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px;
    background: var(--jae-orange); transform: scaleX(0); transform-origin: left;
    transition: transform .3s var(--jae-ease);
}
.jae-nav__link:hover, .jae-nav__link.is-active { color: #fff; }
.jae-nav__link:hover::after, .jae-nav__link.is-active::after { transform: scaleX(1); }
.jae-nav__link--cta {
    background: var(--jae-orange); color: #fff !important; padding: 10px 22px;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.jae-nav__link--cta::after { display: none; }
.jae-nav__link--cta:hover { background: var(--jae-orange-2); }

.jae-header__phone {
    display: none; align-items: center; gap: 8px; color: #fff; font-size: 14px;
    padding: 8px 14px; border: 1px solid var(--jae-line-dark);
}
@media (min-width: 1180px) { .jae-header__phone { display: inline-flex; } }
.jae-header__phone svg { color: var(--jae-orange); }

.jae-menu-toggle {
    width: 44px; height: 44px; display: grid; place-items: center; gap: 5px;
    flex: none;
}
@media (min-width: 1024px) { .jae-menu-toggle { display: none; } }
.jae-menu-toggle span {
    display: block; width: 24px; height: 2px; background: #fff;
    transition: transform .3s var(--jae-ease), opacity .3s var(--jae-ease);
}
.jae-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.jae-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.jae-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.jae-scroll-progress { height: 3px; background: rgba(255,255,255,.08); }
.jae-scroll-progress span { display: block; height: 100%; width: 0%; background: var(--jae-orange); transition: width .1s linear; }

/* ==========================================================================
   Mobile nav
   ========================================================================== */
.jae-nav-overlay {
    position: fixed; inset: 0; background: rgba(7,21,35,.55); z-index: 65;
    opacity: 0; visibility: hidden; transition: opacity .3s ease;
}
.jae-nav-overlay.is-open { opacity: 1; visibility: visible; }

.jae-nav--mobile {
    position: fixed; top: 0; right: 0; height: 100%; width: min(88vw, 420px);
    background: var(--jae-navy); z-index: 70;
    padding: 28px 28px 32px;
    transform: translateX(100%);
    transition: transform .45s var(--jae-ease);
    display: flex; flex-direction: column;
    clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%);
}
.jae-nav--mobile.is-open { transform: translateX(0); }
.jae-nav__mobile-head {
    display: flex; align-items: center; justify-content: space-between;
    color: #fff; font-family: var(--jae-cond); font-size: 20px; letter-spacing: .04em;
    padding-bottom: 20px; border-bottom: 1px solid var(--jae-line-dark);
}
.jae-nav__close { width: 36px; height: 36px; color: #fff; font-size: 28px; line-height: 1; }
.jae-nav--mobile .jae-nav__list { margin-top: 24px; display: flex; flex-direction: column; }
.jae-nav--mobile .jae-nav__list li {
    display: flex; align-items: baseline; gap: 14px;
    padding: 14px 0; border-bottom: 1px solid var(--jae-line-dark);
    opacity: 0; transform: translateX(24px);
}
.jae-nav--mobile.is-open .jae-nav__list li {
    animation: jaeNavIn .5s var(--jae-ease) forwards;
    animation-delay: calc(var(--d, 0) * 60ms + 120ms);
}
@keyframes jaeNavIn { to { opacity: 1; transform: translateX(0); } }
.jae-nav__idx { font-family: var(--jae-cond); color: var(--jae-orange); font-size: 14px; }
.jae-nav--mobile .jae-nav__link { font-size: 21px; color: #fff; }
.jae-nav--mobile .jae-nav__link--cta { color: var(--jae-orange) !important; background: none; padding: 0; clip-path: none; }
.jae-nav__mobile-foot {
    margin-top: auto; padding-top: 20px; display: flex; flex-direction: column; gap: 8px;
    color: var(--jae-gray); font-size: 13px;
}
.jae-nav__mobile-foot a { color: #fff; font-family: var(--jae-cond); font-size: 20px; }

body.jae-nav-open { overflow: hidden; }

/* ==========================================================================
   Left sticky chapter rail (desktop industrial signature)
   ========================================================================== */
.jae-rail {
    display: none;
    position: fixed; left: 28px; top: 50%; transform: translateY(-50%);
    z-index: 40; width: 34px;
}
@media (min-width: 1280px) {
    .jae-rail { display: block; }
}
.jae-rail__line {
    position: absolute; left: 16px; top: 0; bottom: 0; width: 1px;
    background: var(--jae-line);
}
.jae-rail__list { display: flex; flex-direction: column; gap: 22px; position: relative; }
.jae-rail__list a {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--jae-cond); font-size: 13px; color: rgba(11,31,51,.35);
    transition: color .25s, gap .25s;
}
.jae-rail__list a::before {
    content: ''; width: 8px; height: 8px; border-radius: 50%;
    background: var(--jae-gray); flex: none; transition: background .25s, transform .25s;
}
.jae-rail__list a:hover { color: var(--jae-navy); }
.jae-rail__list a.is-active { color: var(--jae-orange-2); gap: 14px; }
.jae-rail__list a.is-active::before { background: var(--jae-orange); transform: scale(1.35); }
[data-page="home"] .jae-rail__list a,
.jae-header.is-scrolled ~ .jae-rail .jae-rail__list a { color: rgba(11,31,51,.35); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.jae-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 30px; font-size: 14.5px; letter-spacing: .04em;
    font-family: var(--jae-jp);
    border: 1px solid transparent; white-space: nowrap;
    transition: background .25s, color .25s, border-color .25s, transform .25s;
    will-change: transform;
}
.jae-btn--orange {
    background: var(--jae-orange); color: #fff;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.jae-btn--orange:hover { background: var(--jae-orange-2); }
.jae-btn--ghost {
    border-color: currentColor; color: inherit;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.jae-btn--ghost:hover { background: rgba(255,255,255,.1); }
.jae-btn--ghost-dark { border-color: var(--jae-navy); color: var(--jae-navy); }
.jae-btn--ghost-dark:hover { background: rgba(11,31,51,.06); }
.jae-hero__actions, .jae-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ==========================================================================
   Reveal / motion utilities
   ========================================================================== */
.jae-reveal, .jae-curtain { opacity: 0; }
.jae-reveal { transform: translateY(28px); transition: opacity .7s var(--jae-ease), transform .7s var(--jae-ease); }
.jae-reveal.is-in { opacity: 1; transform: translateY(0); }
.jae-curtain { position: relative; overflow: hidden; }
.jae-curtain img { transition: transform 1s var(--jae-ease); transform: scale(1.12); }
.jae-curtain::after {
    content: ''; position: absolute; inset: 0; background: var(--jae-orange);
    transform-origin: right; transform: scaleX(1); transition: transform .8s var(--jae-ease);
}
.jae-curtain.is-in::after { transform: scaleX(0); }
.jae-curtain.is-in img { transform: scale(1); }
.jae-kenburns img { transform: scale(1.1); transition: transform 6s linear; }
.jae-kenburns.is-active img { transform: scale(1); }
html:not(.js) .jae-reveal, html:not(.js) .jae-curtain { opacity: 1; transform: none; }
html:not(.js) .jae-curtain::after { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.jae-hero {
    position: relative; min-height: 100vh; display: flex; align-items: flex-end;
    color: #fff; overflow: hidden;
}
.jae-hero--short { min-height: 74vh; }
.jae-hero__media { position: absolute; inset: 0; }
.jae-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.jae-hero__veil {
    position: absolute; inset: 0;
    background:
        linear-gradient(0deg, rgba(7,21,35,.94) 0%, rgba(7,21,35,.55) 46%, rgba(7,21,35,.28) 100%),
        linear-gradient(100deg, rgba(7,21,35,.6) 0%, rgba(7,21,35,0) 42%);
}
.jae-hero__corner {
    position: absolute; top: 0; left: 0; width: 120px; height: 10px;
    background: var(--jae-orange); z-index: 2;
}
.jae-hero__content { position: relative; z-index: 2; padding-bottom: clamp(48px, 8vw, 96px); width: 100%; }
.jae-hero__eyebrow {
    display: flex; align-items: center; gap: 12px;
    font-family: var(--jae-cond); letter-spacing: .18em; text-transform: uppercase;
    color: var(--jae-orange); font-size: 14px; margin-bottom: 20px;
}
.jae-hero__eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--jae-orange); }
.jae-hero__brand { display: flex; flex-direction: column; gap: 6px; margin-bottom: 22px; }
.jae-hero__en { font-family: var(--jae-cond); font-size: clamp(15px, 2vw, 18px); letter-spacing: .3em; color: var(--jae-gray); text-transform: uppercase; }
.jae-hero__jp { font-size: clamp(34px, 6.2vw, 76px); line-height: 1.18; color: #fff; max-width: 16ch; }
.jae-hero__lead { max-width: 52ch; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.95; color: rgba(255,255,255,.86); margin-bottom: 34px; }
.jae-hero__scrollcue {
    position: absolute; right: clamp(20px, 4vw, 56px); bottom: 40px; z-index: 2;
    display: none; flex-direction: column; align-items: center; gap: 8px;
    color: rgba(255,255,255,.7); font-family: var(--jae-cond); font-size: 12px; letter-spacing: .2em;
}
@media (min-width: 900px) { .jae-hero__scrollcue { display: flex; } }
.jae-hero__scrollcue span { display: block; width: 1px; height: 46px; background: linear-gradient(180deg, var(--jae-orange), transparent); animation: jaeScrollCue 1.8s ease-in-out infinite; }
@keyframes jaeScrollCue { 0%, 100% { transform: scaleY(1); opacity:.4; } 50% { transform: scaleY(1.3); opacity: 1; } }

/* ==========================================================================
   Split (image + copy, diagonal divider)
   ========================================================================== */
.jae-split { display: grid; gap: 0; }
@media (min-width: 940px) { .jae-split { grid-template-columns: 1.05fr 1fr; align-items: stretch; } }
.jae-split__media { position: relative; min-height: 320px; overflow: hidden; }
.jae-split__media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.jae-split--rev { direction: rtl; }
.jae-split--rev > * { direction: ltr; }
.jae-split__panel {
    background: var(--jae-white); padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 64px);
    display: flex; flex-direction: column; justify-content: center;
}
.jae-split__panel h2 { font-size: clamp(25px, 3.2vw, 36px); line-height: 1.42; margin-bottom: 20px; }
.jae-split__panel p { color: #3A4A5C; margin-bottom: 16px; font-size: 15.5px; }
.jae-split__panel p:last-of-type { margin-bottom: 24px; }
.jae-text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--jae-orange-2); font-family: var(--jae-cond); font-size: 16px; letter-spacing: .04em; }
.jae-text-link:hover { text-decoration: underline; }

/* ==========================================================================
   Conveyor marquee
   ========================================================================== */
.jae-conveyor { background: var(--jae-navy); padding: 0; overflow: hidden; border-top: 3px dashed rgba(232,93,4,.5); border-bottom: 3px dashed rgba(232,93,4,.5); }
.jae-conveyor__track { display: flex; width: max-content; animation: jaeConveyor 34s linear infinite; }
.jae-conveyor:hover .jae-conveyor__track { animation-play-state: paused; }
@keyframes jaeConveyor { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.jae-conveyor__item {
    display: flex; align-items: center; gap: 16px; padding: 26px clamp(24px, 3vw, 44px);
    white-space: nowrap; border-right: 1px solid var(--jae-line-dark);
}
.jae-conveyor__num { font-family: var(--jae-cond); font-size: clamp(28px, 3vw, 40px); color: var(--jae-orange); }
.jae-conveyor__label { font-size: 13px; letter-spacing: .08em; color: var(--jae-gray); }

/* ==========================================================================
   Cargo-bay grid (vehicle units)
   ========================================================================== */
.jae-cargo-grid {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
}
.jae-cargo-grid__item {
    position: relative; border: 2px solid var(--jae-navy); background: #fff;
    grid-column: span 6;
}
@media (min-width: 700px) {
    .jae-cargo-grid__item:nth-child(1) { grid-column: span 4; }
    .jae-cargo-grid__item:nth-child(2) { grid-column: span 2; }
    .jae-cargo-grid__item:nth-child(3) { grid-column: span 2; }
    .jae-cargo-grid__item:nth-child(4) { grid-column: span 4; }
    .jae-cargo-grid__item:nth-child(5) { grid-column: span 6; }
}
@media (min-width: 1080px) {
    .jae-cargo-grid__item:nth-child(1) { grid-column: span 3; }
    .jae-cargo-grid__item:nth-child(2) { grid-column: span 3; }
    .jae-cargo-grid__item:nth-child(3) { grid-column: span 2; }
    .jae-cargo-grid__item:nth-child(4) { grid-column: span 2; }
    .jae-cargo-grid__item:nth-child(5) { grid-column: span 2; }
}
.jae-cargo-grid__unit {
    position: absolute; top: 0; left: 0; z-index: 2;
    background: var(--jae-orange); color: #fff; font-family: var(--jae-cond);
    font-size: 13px; letter-spacing: .08em; padding: 5px 12px 5px 10px;
    clip-path: polygon(0 0, 100% 0, 88% 100%, 0% 100%);
}
.jae-cargo-grid__dest {
    position: absolute; top: 12px; right: 12px; z-index: 2;
    background: rgba(11,31,51,.82); color: #fff; font-size: 11.5px;
    padding: 5px 10px; letter-spacing: .03em;
}
.jae-cargo-grid__img { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.jae-cargo-grid__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--jae-ease); }
.jae-cargo-grid__item:hover .jae-cargo-grid__img img { transform: scale(1.07); }
.jae-cargo-grid__body { padding: 18px 20px 22px; border-top: 2px solid var(--jae-navy); }
.jae-cargo-grid__body h3 { font-size: 18px; margin-bottom: 8px; }
.jae-cargo-grid__body p { color: #4A5A6C; font-size: 14px; }

/* ==========================================================================
   Process rail (horizontal numbered steps)
   ========================================================================== */
.jae-process-rail { display: grid; gap: 0; grid-template-columns: 1fr; overflow-x: auto; padding-bottom: 8px; }
@media (min-width: 900px) { .jae-process-rail { grid-auto-flow: column; grid-auto-columns: 1fr; overflow: visible; } }
.jae-process-rail__item {
    position: relative; padding: 26px 22px 22px; border-top: 3px solid var(--jae-orange);
    border-right: 1px solid var(--jae-line-dark);
}
.jae-process-rail__item:last-child { border-right: none; }
.jae-process-rail__n { font-family: var(--jae-cond); font-size: 34px; color: rgba(255,255,255,.28); display: block; margin-bottom: 10px; }
.jae-process-rail__item h3 { font-size: 17px; margin-bottom: 8px; }
.jae-process-rail__item p { font-size: 13.6px; }

/* ==========================================================================
   Destination band
   ========================================================================== */
.jae-dest-list { display: flex; flex-direction: column; }
.jae-dest-list__row {
    display: grid; grid-template-columns: 1fr; gap: 6px;
    padding: 22px 0; border-bottom: 1px solid var(--jae-line-dark);
    align-items: baseline;
}
@media (min-width: 760px) { .jae-dest-list__row { grid-template-columns: 1.4fr 2fr .8fr; gap: 20px; } }
.jae-dest-list__region { font-family: var(--jae-cond); font-size: clamp(24px, 2.6vw, 32px); color: #fff; }
.jae-dest-list__countries { color: rgba(255,255,255,.62); font-size: 14.5px; }
.jae-dest-list__count { font-family: var(--jae-cond); font-size: 20px; color: var(--jae-orange); text-align: left; }
@media (min-width: 760px) { .jae-dest-list__count { text-align: right; } }

/* ==========================================================================
   Quote band
   ========================================================================== */
.jae-quote-band { position: relative; color: #fff; min-height: 60vh; display: flex; align-items: center; }
.jae-quote-band__bg { position: absolute; inset: 0; }
.jae-quote-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.jae-quote-band__bg::after { content: ''; position: absolute; inset: 0; background: rgba(7,21,35,.82); }
.jae-quote-band__inner { position: relative; z-index: 2; max-width: 880px; }
.jae-quote-band__mark { font-family: var(--jae-cond); font-size: 100px; line-height: .6; color: var(--jae-orange); display: block; margin-bottom: 10px; }
.jae-quote-band__inner p { font-size: clamp(20px, 2.6vw, 30px); line-height: 1.6; color: #fff; }
.jae-quote-band__inner footer { margin-top: 24px; color: var(--jae-gray); font-size: 14px; letter-spacing: .04em; }

/* ==========================================================================
   Gallery yard (offset mosaic)
   ========================================================================== */
.jae-yard-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.jae-yard-grid__item { position: relative; overflow: hidden; border: 4px solid #fff; box-shadow: 0 14px 30px rgba(11,31,51,.14); }
.jae-yard-grid__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jae-yard-grid__item--a { grid-column: span 12; aspect-ratio: 16/10; }
.jae-yard-grid__item--b { grid-column: span 6; aspect-ratio: 4/5; }
.jae-yard-grid__item--c { grid-column: span 6; aspect-ratio: 4/5; margin-top: 30px; }
.jae-yard-grid__item--d { grid-column: span 12; aspect-ratio: 16/7; }
@media (min-width: 860px) {
    .jae-yard-grid__item--a { grid-column: span 7; aspect-ratio: 4/5; }
    .jae-yard-grid__item--b { grid-column: span 5; aspect-ratio: 1/1; margin-top: 40px; }
    .jae-yard-grid__item--c { grid-column: span 5; aspect-ratio: 1/1; margin-top: 0; }
    .jae-yard-grid__item--d { grid-column: span 7; aspect-ratio: 16/9; margin-top: -40px; }
}
.jae-yard-grid__tag {
    position: absolute; bottom: 10px; left: 10px; background: rgba(11,31,51,.82); color: #fff;
    font-size: 11.5px; padding: 5px 10px; letter-spacing: .03em;
}

/* ==========================================================================
   Timeline track
   ========================================================================== */
.jae-timeline { position: relative; overflow-x: auto; padding-top: 8px; }
.jae-timeline__track { display: flex; gap: 0; min-width: max-content; position: relative; padding-bottom: 8px; }
.jae-timeline__track::before { content: ''; position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: var(--jae-line-dark); }
.jae-timeline__node { width: 260px; padding: 0 26px 0 0; position: relative; }
.jae-timeline__node::before { content: ''; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--jae-orange); border: 3px solid var(--jae-navy); }
.jae-timeline__node time { display: block; margin: 30px 0 10px; font-family: var(--jae-cond); font-size: 22px; color: var(--jae-orange); }
.jae-timeline__node h3 { font-size: 16.5px; margin-bottom: 8px; }
.jae-timeline__node p { font-size: 13.6px; }
.jae-sec--navy .jae-timeline__node p { color: rgba(255,255,255,.62); }

/* ==========================================================================
   Manifesto numbered list (values / docs / tips / address)
   ========================================================================== */
.jae-manifesto { display: flex; flex-direction: column; }
.jae-manifesto__item {
    display: grid; grid-template-columns: 64px 1fr; gap: 20px;
    padding: 26px 0; border-top: 1px solid var(--jae-line);
}
.jae-manifesto__item:last-child { border-bottom: 1px solid var(--jae-line); }
.jae-sec--navy .jae-manifesto__item, .jae-sec--navy .jae-manifesto__item:last-child { border-color: var(--jae-line-dark); }
.jae-manifesto__num { font-family: var(--jae-cond); font-size: 42px; color: var(--jae-orange); line-height: 1; }
.jae-manifesto__item h3 { font-size: 18px; margin-bottom: 8px; }
.jae-manifesto__item p { font-size: 15px; color: #3A4A5C; }
.jae-sec--navy .jae-manifesto__item p { color: rgba(255,255,255,.68); }

/* ==========================================================================
   Sticky duo (text sticky + tall media)
   ========================================================================== */
.jae-sticky-duo { display: grid; gap: 28px; }
@media (min-width: 940px) { .jae-sticky-duo { grid-template-columns: 1fr .9fr; gap: 0; align-items: start; } }
.jae-sticky-duo__sticky { position: relative; }
@media (min-width: 940px) { .jae-sticky-duo__sticky { position: sticky; top: calc(var(--jae-header-h) + 40px); padding-right: 56px; } }
.jae-sticky-duo__media { overflow: hidden; }
.jae-sticky-duo__media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
@media (min-width: 940px) { .jae-sticky-duo__media img { min-height: 560px; } }
.jae-check { margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.jae-check li { position: relative; padding-left: 28px; font-size: 15px; }
.jae-check li::before { content: ''; position: absolute; left: 0; top: 6px; width: 12px; height: 12px; background: var(--jae-orange); }
.jae-check--light li { color: rgba(255,255,255,.82); }

/* ==========================================================================
   Feature offset
   ========================================================================== */
.jae-feature-offset__grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .jae-feature-offset__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; } }
.jae-feature-offset__media { overflow: hidden; }
.jae-feature-offset__media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
@media (min-width: 900px) { .jae-feature-offset--rev .jae-feature-offset__media { order: -1; margin-top: -32px; } }
.jae-feature-offset__copy p { margin-bottom: 14px; font-size: 15.5px; color: #3A4A5C; }

/* ==========================================================================
   Frame utility (generic media frame)
   ========================================================================== */
.jae-frame { overflow: hidden; }
.jae-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Stacked (media over prose)
   ========================================================================== */
.jae-stacked__media { margin-bottom: 40px; aspect-ratio: 16/7; }
.jae-stacked__copy { max-width: 880px; }
.jae-stacked__copy p { margin-bottom: 16px; font-size: 15.5px; color: #3A4A5C; }

/* ==========================================================================
   Team ribbon
   ========================================================================== */
.jae-team-ribbon { display: grid; gap: 22px; }
@media (min-width: 760px) { .jae-team-ribbon { grid-template-columns: repeat(3, 1fr); } }
.jae-team-ribbon__item { border-left: 3px solid var(--jae-orange); padding: 4px 0 4px 22px; }
.jae-team-ribbon__idx { font-family: var(--jae-cond); color: var(--jae-orange); font-size: 15px; }
.jae-team-ribbon__item h3 { font-size: 19px; margin: 10px 0 4px; }
.jae-team-ribbon__role { font-size: 13.5px; color: var(--jae-orange-2); letter-spacing: .03em; margin-bottom: 10px; display: block; }
.jae-team-ribbon__item p { font-size: 14.5px; color: #3A4A5C; }

/* ==========================================================================
   Badge rail (certifications / partners)
   ========================================================================== */
.jae-badge-rail { display: flex; overflow-x: auto; gap: 0; border-top: 1px solid var(--jae-line); border-bottom: 1px solid var(--jae-line); }
.jae-badge-rail__item {
    flex: 0 0 auto; min-width: 240px; padding: 26px 26px; border-right: 1px solid var(--jae-line);
}
.jae-badge-rail__num { font-family: var(--jae-cond); color: var(--jae-orange); font-size: 13px; letter-spacing: .1em; }
.jae-badge-rail__item h3 { font-size: 16px; margin: 10px 0 6px; }
.jae-badge-rail__item p { font-size: 13.6px; color: #3A4A5C; }

/* ==========================================================================
   Overlay band (image bg + content)
   ========================================================================== */
.jae-overlay { position: relative; color: #fff; }
.jae-overlay__bg { position: absolute; inset: 0; }
.jae-overlay__bg img { width: 100%; height: 100%; object-fit: cover; }
.jae-overlay__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(7,21,35,.92) 24%, rgba(7,21,35,.5) 100%); }
.jae-overlay__content { position: relative; z-index: 2; max-width: 640px; }
.jae-overlay__content p { color: rgba(255,255,255,.82); margin: 18px 0 28px; font-size: 15.5px; }

/* ==========================================================================
   Packages / plans + FAQ
   ========================================================================== */
.jae-plans { display: grid; gap: 18px; margin-bottom: 48px; }
@media (min-width: 760px) { .jae-plans { grid-template-columns: repeat(3, 1fr); } }
.jae-plans__item { border: 2px solid var(--jae-navy); padding: 28px 24px; position: relative; }
.jae-plans__item::before {
    content: ''; position: absolute; top: -2px; left: -2px; width: 26px; height: 26px;
    background: var(--jae-orange); clip-path: polygon(0 0, 100% 0, 0 100%);
}
.jae-plans__item h3 { font-size: 19px; margin-bottom: 6px; }
.jae-plans__price { font-family: var(--jae-cond); font-size: 24px; color: var(--jae-orange-2); margin-bottom: 16px; }
.jae-plans__item ul { display: flex; flex-direction: column; gap: 8px; }
.jae-plans__item li { font-size: 14px; padding-left: 18px; position: relative; color: #3A4A5C; }
.jae-plans__item li::before { content: '—'; position: absolute; left: 0; color: var(--jae-orange); }

.jae-faq__title { font-size: 20px; margin-bottom: 18px; }
.jae-faq__item { border-top: 1px solid var(--jae-line); padding: 18px 0; }
.jae-faq__item:last-child { border-bottom: 1px solid var(--jae-line); }
.jae-faq__item summary {
    cursor: pointer; font-size: 16px; list-style: none; position: relative; padding-right: 30px;
    color: var(--jae-navy);
}
.jae-faq__item summary::-webkit-details-marker { display: none; }
.jae-faq__item summary::after {
    content: '+'; position: absolute; right: 0; top: -2px; font-family: var(--jae-cond); font-size: 24px; color: var(--jae-orange);
    transition: transform .25s;
}
.jae-faq__item[open] summary::after { transform: rotate(135deg); }
.jae-faq__item p { margin-top: 14px; font-size: 14.5px; color: #3A4A5C; }

/* ==========================================================================
   CTA slab (diagonal image band)
   ========================================================================== */
.jae-cta-slab { position: relative; color: #fff; min-height: 62vh; display: flex; align-items: center; }
.jae-cta-slab__media { position: absolute; inset: 0; }
.jae-cta-slab__media img { width: 100%; height: 100%; object-fit: cover; }
.jae-cta-slab__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(7,21,35,.5) 0%, rgba(7,21,35,.94) 78%); }
.jae-cta-slab__panel { position: relative; z-index: 2; max-width: 640px; }
.jae-cta-slab__panel h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); margin-bottom: 18px; }
.jae-cta-slab__panel p { color: rgba(255,255,255,.82); margin-bottom: 14px; font-size: 15.5px; }
.jae-cta-slab__panel p:nth-of-type(2) { margin-bottom: 30px; }

/* ==========================================================================
   Newsletter strip
   ========================================================================== */
.jae-news-strip__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 940px) { .jae-news-strip__grid { grid-template-columns: 1fr 1fr; } }
.jae-news-strip__form { display: flex; flex-direction: column; gap: 14px; max-width: 420px; }
.jae-news-strip__form label { font-size: 13px; color: var(--jae-gray); }
.jae-news-strip__form input {
    width: 100%; padding: 15px 16px; background: transparent; border: 1px solid var(--jae-line-dark);
    color: #fff;
}
.jae-news-strip__form input::placeholder { color: rgba(255,255,255,.5); }
.jae-news-strip__media { aspect-ratio: 4/3; overflow: hidden; }

/* ==========================================================================
   Featured article (blog)
   ========================================================================== */
.jae-featured { display: grid; gap: 0; }
@media (min-width: 980px) { .jae-featured { grid-template-columns: 1.15fr 1fr; } }
.jae-featured__media { min-height: 340px; }
.jae-featured__media img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; }
.jae-featured__panel { background: var(--jae-navy); color: #fff; padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.jae-featured__panel h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin: 16px 0 18px; line-height: 1.4; }
.jae-featured__panel p { color: rgba(255,255,255,.72); margin-bottom: 14px; font-size: 15px; }
.jae-featured__panel .jae-tag { color: #FFC79A; }

/* ==========================================================================
   Article list (asymmetric editorial)
   ========================================================================== */
.jae-article-list { display: flex; flex-direction: column; }
.jae-article-list__item {
    display: grid; gap: 20px; padding: 30px 0; border-top: 1px solid var(--jae-line);
}
.jae-article-list__item:last-child { border-bottom: 1px solid var(--jae-line); }
@media (min-width: 760px) { .jae-article-list__item { grid-template-columns: 240px 1fr; align-items: center; } }
.jae-article-list__img { aspect-ratio: 4/3; overflow: hidden; }
.jae-article-list__copy time { font-size: 12.5px; color: #6B7A8C; letter-spacing: .04em; }
.jae-article-list__copy h3 { font-size: 19px; margin: 10px 0 10px; line-height: 1.5; }
.jae-article-list__copy p { font-size: 14.5px; color: #3A4A5C; margin-bottom: 14px; }

/* ==========================================================================
   Category rail (text)
   ========================================================================== */
.jae-cat-rail { display: flex; overflow-x: auto; gap: 0; }
.jae-cat-rail__item {
    flex: 0 0 auto; min-width: 220px; padding: 24px; border-right: 1px solid var(--jae-line-dark);
    border-top: 3px solid var(--jae-orange);
}
.jae-cat-rail__item h3 { font-size: 18px; margin-bottom: 8px; }
.jae-cat-rail__item p { font-size: 13.6px; }

/* ==========================================================================
   Contact form
   ========================================================================== */
.jae-contact-grid { display: grid; gap: 40px; }
@media (min-width: 980px) { .jae-contact-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.jae-contact-intro p { margin-bottom: 16px; font-size: 15.5px; color: #3A4A5C; }
.jae-contact-intro a { color: var(--jae-orange-2); }
.jae-contact-intro__media { margin-top: 28px; aspect-ratio: 16/10; overflow: hidden; }

.jae-form { position: relative; background: #fff; border: 1px solid var(--jae-line); padding: clamp(28px, 4vw, 44px); box-shadow: 0 20px 50px rgba(11,31,51,.08); }
.jae-form::before { content: ''; position: absolute; top: -1px; right: -1px; width: 40px; height: 40px; background: var(--jae-orange); clip-path: polygon(100% 0, 0 0, 100% 100%); }
.jae-form__row { margin-bottom: 20px; }
.jae-form__row label { display: block; font-size: 13.5px; margin-bottom: 8px; color: var(--jae-navy); }
.jae-form__row label span { color: var(--jae-orange); font-size: 12px; margin-left: 4px; }
.jae-form__row input, .jae-form__row select, .jae-form__row textarea {
    width: 100%; padding: 13px 14px; border: 1px solid var(--jae-line); background: var(--jae-gray-2);
    color: var(--jae-ink); transition: border-color .2s, background .2s;
}
.jae-form__row input:focus, .jae-form__row select:focus, .jae-form__row textarea:focus {
    outline: none; border-color: var(--jae-orange); background: #fff;
}
.jae-form__note { margin-top: 16px; font-size: 12.5px; color: #6B7A8C; }

/* ==========================================================================
   Map + hours duo
   ========================================================================== */
.jae-map-hours { display: grid; gap: 28px; }
@media (min-width: 980px) { .jae-map-hours { grid-template-columns: 1.2fr 1fr; gap: 40px; } }
.jae-map-hours__embed { margin-top: 20px; aspect-ratio: 16/11; overflow: hidden; border: 3px solid var(--jae-orange); }
.jae-map-hours__embed iframe { width: 100%; height: 100%; }
.jae-map-hours__hours { background: var(--jae-navy); color: #fff; padding: 30px; }
.jae-map-hours__hours h3 { color: var(--jae-orange); font-family: var(--jae-cond); font-size: 26px; margin: 6px 0 14px; }
.jae-map-hours__hours p { color: rgba(255,255,255,.7); font-size: 14.5px; }
.jae-map-hours__photo { margin-top: 20px; aspect-ratio: 16/9; overflow: hidden; }

/* ==========================================================================
   Social band
   ========================================================================== */
.jae-social-band__grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .jae-social-band__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; } }
.jae-social-band__media { aspect-ratio: 4/3; overflow: hidden; }

/* ==========================================================================
   Footer
   ========================================================================== */
.jae-footer { background: var(--jae-navy-deep); color: #fff; }
.jae-footer__top { background: var(--jae-navy); border-bottom: 1px solid var(--jae-line-dark); padding: 40px 0; }
.jae-footer__news { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.jae-footer__news-copy h3 { color: #fff; font-size: 22px; max-width: 480px; }
.jae-footer__news-form { display: flex; gap: 0; flex: 0 1 420px; }
.jae-footer__news-form input {
    flex: 1; padding: 14px 16px; border: 1px solid var(--jae-line-dark); border-right: none;
    background: rgba(255,255,255,.04); color: #fff;
}
.jae-footer__news-form input::placeholder { color: rgba(255,255,255,.5); }
.jae-footer__news-form .jae-btn { border-radius: 0; }

.jae-footer__grid { display: grid; gap: 36px; padding: 56px 0 40px; }
@media (min-width: 760px) { .jae-footer__grid { grid-template-columns: 1.4fr repeat(4, 1fr); gap: 24px; } }
.jae-footer__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.jae-footer__logo strong { display: block; font-family: var(--jae-cond); font-size: 19px; letter-spacing: .04em; }
.jae-footer__logo em { display: block; font-style: normal; font-size: 12px; color: var(--jae-gray); }
.jae-footer__desc { font-size: 13.6px; color: rgba(255,255,255,.6); max-width: 320px; }
.jae-footer__col h3 { color: #fff; font-size: 14px; letter-spacing: .04em; margin-bottom: 16px; }
.jae-footer__col a { display: block; font-size: 13.6px; color: rgba(255,255,255,.6); margin-bottom: 10px; }
.jae-footer__col a:hover { color: var(--jae-orange); }
address p { font-size: 13.6px; color: rgba(255,255,255,.6); margin-bottom: 8px; }
address a:hover { color: var(--jae-orange); }
.jae-footer__hours { color: var(--jae-gray) !important; }

.jae-footer__social { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 24px 0; border-top: 1px solid var(--jae-line-dark); }
.jae-footer__social-label { font-size: 12.5px; color: var(--jae-gray); letter-spacing: .06em; }
.jae-social { display: flex; gap: 10px; }
.jae-social__item { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--jae-line-dark); font-size: 13px; color: rgba(255,255,255,.75); }
.jae-social__item:hover { border-color: var(--jae-orange); color: var(--jae-orange); }

.jae-footer__bottom { display: flex; align-items: center; justify-content: space-between; padding: 22px 0 32px; border-top: 1px solid var(--jae-line-dark); gap: 20px; flex-wrap: wrap; }
.jae-footer__bottom p { font-size: 12.5px; color: rgba(255,255,255,.5); }
.jae-top { width: 42px; height: 42px; border: 1px solid var(--jae-line-dark); display: grid; place-items: center; color: #fff; }
.jae-top:hover { border-color: var(--jae-orange); color: var(--jae-orange); }

/* ==========================================================================
   Responsive nudges
   ========================================================================== */
@media (max-width: 620px) {
    .jae-hero { min-height: 92vh; }
    .jae-hero__jp { max-width: 100%; }
    .jae-sec { padding: 56px 0; }
    .jae-btn { padding: 14px 22px; font-size: 13.5px; }
}
