/* =====================================================================
   GOKUL CARGO - PUBLIC WEBSITE STYLESHEET
   Design tokens first, then layout, then components, then responsive.
   Brand: navy + amber carried over from the TMS panel.
   ===================================================================== */

/* ---------- 1. Tokens ------------------------------------------------ */
:root {
    --ink:        #0a1e33;
    --ink-800:    #0f2c49;
    --ink-700:    #13365a;
    --ink-400:    #40617f;
    --amber:      #f4a300;
    --amber-700:  #c77f00;
    --paper:      #ffffff;
    --mist:       #eef3f8;
    --mist-deep:  #dde6ef;
    --line:       #d7e1ea;
    --slate:      #55697d;
    --go:         #1f8a5b;

    --wrap:       1180px;
    --radius:     10px;
    --radius-lg:  16px;

    --shadow-sm:  0 1px 2px rgba(10,30,51,.06);
    --shadow-md:  0 10px 30px -12px rgba(10,30,51,.25);
    --shadow-lg:  0 28px 60px -30px rgba(10,30,51,.45);

    --font-display: 'Archivo', 'Segoe UI', system-ui, sans-serif;
    --font-body:    'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
    --font-mono:    'IBM Plex Mono', ui-monospace, monospace;
}

/* ---------- 2. Base -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink-800);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--ink-700); text-decoration-color: rgba(19,54,90,.3); text-underline-offset: 3px; }
a:hover { color: var(--amber-700); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.12;
    color: var(--ink);
    margin: 0 0 .6em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p  { margin: 0 0 1.1em; max-width: 68ch; }

:focus-visible {
    outline: 3px solid var(--amber);
    outline-offset: 2px;
    border-radius: 4px;
}

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 999;
    background: var(--amber); color: var(--ink);
    padding: .7rem 1.1rem; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- 3. Layout helpers ---------------------------------------- */
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }

.section { padding: 5.5rem 0; }
.section--tight { padding: 3.5rem 0; }
.section--mist  { background: var(--mist); }
.section--ink   { background: var(--ink); color: #d9e4ef; }
.section--ink h2, .section--ink h3 { color: #fff; }

.section-head { max-width: 60ch; margin-bottom: 2.6rem; }
.section-head p { color: var(--slate); font-size: 1.05rem; margin-bottom: 0; }
.section--ink .section-head p { color: #a9bed2; }

.lede { font-size: 1.12rem; color: var(--slate); }

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 4. Buttons ----------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; gap: .55rem;
    font-family: var(--font-display);
    font-weight: 600; font-size: .98rem;
    padding: .82rem 1.5rem;
    border-radius: 8px; border: 1px solid transparent;
    cursor: pointer; text-decoration: none;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: #ffb41f; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-700); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- 5. Header ------------------------------------------------ */
.topline {
    background: var(--ink);
    color: #9fb6cc;
    font-size: .84rem;
}
.topline .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.topline a { color: #cfe0f0; text-decoration: none; }
.topline a:hover { color: var(--amber); }
.topline-links { display: flex; gap: 1.4rem; align-items: center; }

.site-header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 74px; }

.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.logo-mark {
    width: 42px; height: 42px; border-radius: 11px;
    background: var(--amber); color: var(--ink);
    display: grid; place-items: center; font-size: 19px;
    flex: none;
}
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; color: var(--ink); line-height: 1.05; letter-spacing: -.02em; }
.logo-sub { font-size: .72rem; color: var(--slate); letter-spacing: .02em; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
    font-family: var(--font-display);
    font-weight: 500; font-size: .95rem;
    color: var(--ink-800); text-decoration: none;
    padding: .5rem .8rem; border-radius: 7px;
}
.nav a:hover { background: var(--mist); color: var(--ink); }
.nav a.current { color: var(--amber-700); box-shadow: inset 0 -2px 0 var(--amber); border-radius: 0; }

.nav-toggle {
    display: none; border: 1px solid var(--line); background: #fff;
    width: 44px; height: 44px; border-radius: 9px; font-size: 1.1rem; color: var(--ink);
    cursor: pointer;
}

/* ---------- 6. Hero -------------------------------------------------- */
.hero {
    background:
        radial-gradient(900px 420px at 88% -10%, rgba(244,163,0,.16), transparent 60%),
        linear-gradient(180deg, var(--ink) 0%, var(--ink-800) 100%);
    color: #dce7f2;
    padding: 4.5rem 0 5rem;
    position: relative;
    overflow: hidden;
}
/* road lane markings, very low contrast */
.hero::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
    background: repeating-linear-gradient(90deg, rgba(244,163,0,.5) 0 44px, transparent 44px 86px);
    opacity: .35;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.2rem; align-items: center; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero p.lede { color: #b9cde0; max-width: 48ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 2.2rem; margin-top: 2.8rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); }
.hero-meta div { line-height: 1.3; }
.hero-meta b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: #fff; }
.hero-meta span { font-size: .86rem; color: #9fb6cc; }

/* ---------- 7. Dispatch board (the hero's centrepiece) --------------- */
.board {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    color: var(--ink-800);
}
.board-top {
    display: flex; align-items: center; justify-content: space-between;
    padding: .85rem 1.2rem;
    background: var(--ink-700); color: #fff;
    font-family: var(--font-display); font-weight: 600; font-size: .95rem;
}
.board-top .dot { width: 8px; height: 8px; border-radius: 50%; background: #46d18a; display: inline-block; margin-right: .5rem; }
.board-body { padding: 1.4rem 1.4rem 1.5rem; }

.route { position: relative; padding: .4rem 0 1.6rem; }
.route-line { position: relative; height: 2px; background: var(--mist-deep); margin: 2.4rem 6px 0; border-radius: 2px; }
.route-line i.fill { position: absolute; inset: 0 auto 0 0; width: 62%; background: var(--amber); border-radius: 2px; display: block; }
.route-node { position: absolute; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--ink-700); }
.route-node.start { left: -6px; }
.route-node.end { right: -6px; border-color: var(--mist-deep); }
.route-truck {
    position: absolute; top: -26px; left: 62%;
    transform: translateX(-50%);
    color: var(--ink-700); font-size: 1.35rem;
    animation: roll 9s ease-in-out infinite;
}
@keyframes roll {
    0%, 8%    { left: 4%; }
    46%, 54%  { left: 62%; }
    92%, 100% { left: 96%; }
}
.route-labels { display: flex; justify-content: space-between; font-size: .9rem; margin-top: .7rem; }
.route-labels b { display: block; font-family: var(--font-display); font-size: 1.02rem; color: var(--ink); }
.route-labels span { color: var(--slate); font-size: .82rem; }
.route-labels .to { text-align: right; }

.board-rows { border-top: 1px solid var(--line); }
.board-rows div {
    display: flex; justify-content: space-between; gap: 1rem;
    padding: .62rem 0; border-bottom: 1px solid var(--line);
    font-size: .92rem;
}
.board-rows div:last-child { border-bottom: 0; }
.board-rows dt, .board-rows span.k { color: var(--slate); }
.board-rows b { font-weight: 600; }
.mono { font-family: var(--font-mono); font-size: .9em; letter-spacing: -.01em; }

/* ---------- 8. Lane board -------------------------------------------- */
.lanes { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.lane {
    display: grid; grid-template-columns: 1fr auto auto;
    gap: 1rem; align-items: center;
    padding: .95rem 1.2rem;
    border-bottom: 1px solid var(--line);
}
.lane:last-child { border-bottom: 0; }
.lane:nth-child(odd) { background: #fbfcfe; }
.lane-route { font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.lane-route i { color: var(--amber-700); margin: 0 .5rem; font-size: .8em; }
.lane-km, .lane-days { font-size: .88rem; color: var(--slate); white-space: nowrap; }
.lane-days b { color: var(--ink); font-weight: 600; }

/* ---------- 9. Cards -------------------------------------------------- */
.card-s {
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 1.6rem;
}
.card-s h3 { margin-bottom: .45rem; }
.card-s p { color: var(--slate); font-size: .95rem; margin-bottom: 0; }
.card-icon {
    width: 46px; height: 46px; border-radius: 10px;
    background: var(--mist); color: var(--ink-700);
    display: grid; place-items: center; font-size: 1.1rem;
    margin-bottom: 1.1rem;
}
.card-s.feature { background: var(--ink); border-color: var(--ink); color: #c6d8e8; }
.card-s.feature h3 { color: #fff; }
.card-s.feature p { color: #a9bed2; }
.card-s.feature .card-icon { background: rgba(244,163,0,.16); color: var(--amber); }

/* service list on the services page */
.svc { display: grid; grid-template-columns: 44px 1fr; gap: 1.4rem; padding: 2.2rem 0; border-top: 1px solid var(--line); }
.svc:first-of-type { border-top: 0; }
.svc-num { font-family: var(--font-display); font-weight: 700; color: var(--amber-700); font-size: 1.1rem; padding-top: .25rem; }
.svc h3 { font-size: 1.45rem; }
.ticks { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .55rem 1.6rem; }
.ticks li { position: relative; padding-left: 1.65rem; font-size: .95rem; color: var(--ink-800); }
.ticks li::before {
    content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; left: 0; top: .05rem; color: var(--go); font-size: .8rem;
}

/* ---------- 10. Steps (a real sequence, so numbers are meaningful) ---- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.step { position: relative; padding-top: 2.6rem; }
.step::before {
    counter-increment: step; content: counter(step);
    position: absolute; top: 0; left: 0;
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--amber); color: var(--ink);
    font-family: var(--font-display); font-weight: 700; font-size: .95rem;
    display: grid; place-items: center;
}
.step::after {
    content: ""; position: absolute; top: 17px; left: 42px; right: -1.6rem; height: 1px;
    background: repeating-linear-gradient(90deg, var(--mist-deep) 0 6px, transparent 6px 12px);
}
.step:last-child::after { display: none; }
.step h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.step p { font-size: .93rem; color: var(--slate); margin: 0; }
.section--ink .step p { color: #a9bed2; }
.section--ink .step::after { background: repeating-linear-gradient(90deg, rgba(255,255,255,.2) 0 6px, transparent 6px 12px); }

/* ---------- 11. Fleet table ------------------------------------------ */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.data { width: 100%; border-collapse: collapse; min-width: 620px; }
table.data th {
    text-align: left; font-family: var(--font-display); font-weight: 600; font-size: .9rem;
    color: var(--ink); background: var(--mist); padding: .9rem 1.2rem; border-bottom: 1px solid var(--line);
    white-space: nowrap;
}
table.data td { padding: .95rem 1.2rem; border-bottom: 1px solid var(--line); font-size: .95rem; }
table.data tr:last-child td { border-bottom: 0; }
table.data td:first-child { font-weight: 600; color: var(--ink); }

/* ---------- 12. Forms ------------------------------------------------- */
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-size: .88rem; font-weight: 500; color: var(--ink-800); margin-bottom: .35rem; }
.field .hint { font-size: .8rem; color: var(--slate); }
.input, .select, .textarea {
    width: 100%; font: inherit; font-size: .97rem; color: var(--ink-800);
    background: #fff; border: 1px solid var(--line); border-radius: 8px;
    padding: .72rem .9rem;
}
.textarea { min-height: 118px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--ink-400); outline: 3px solid rgba(244,163,0,.35); outline-offset: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.honey { position: absolute; left: -9999px; opacity: 0; height: 0; }

.notice { border-radius: var(--radius); padding: 1rem 1.15rem; font-size: .95rem; margin-bottom: 1.4rem; border: 1px solid; }
.notice-error { background: #fff4f4; border-color: #f3c3c3; color: #8c1f1f; }
.notice-ok    { background: #f0faf5; border-color: #bde3ce; color: #14624a; }
.notice ul { margin: .4rem 0 0; padding-left: 1.1rem; }

/* ---------- 13. Track ------------------------------------------------- */
.track-box { background: #fff; border-radius: var(--radius); padding: .5rem; display: flex; gap: .5rem; box-shadow: var(--shadow-md); }
.track-box input {
    flex: 1; border: 0; font: inherit; font-family: var(--font-mono); font-size: 1rem;
    padding: .8rem .9rem; border-radius: 7px; color: var(--ink); min-width: 0;
}
.track-box input:focus { outline: 2px solid var(--amber); }
.hero .track-note { font-size: .84rem; color: #91a9c0; margin: .7rem 0 0; }

.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { position: relative; padding: 0 0 1.7rem 2.2rem; border-left: 2px solid var(--mist-deep); }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
    content: ""; position: absolute; left: -9px; top: 2px;
    width: 16px; height: 16px; border-radius: 50%;
    background: #fff; border: 3px solid var(--mist-deep);
}
.timeline li.done { border-left-color: var(--go); }
.timeline li.done::before { border-color: var(--go); background: var(--go); }
.timeline li.current::before { border-color: var(--amber); background: var(--amber); }
.timeline b { font-family: var(--font-display); color: var(--ink); display: block; }
.timeline span { font-size: .88rem; color: var(--slate); }

/* ---------- 14. Callout / CTA ---------------------------------------- */
.cta-band {
    background: linear-gradient(120deg, var(--ink) 0%, var(--ink-700) 100%);
    color: #fff; border-radius: var(--radius-lg);
    padding: 2.8rem 3rem;
    display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.cta-band h2 { margin-bottom: .35rem; }
.cta-band p { color: #b9cde0; margin: 0; }
.cta-actions { display: flex; gap: .75rem; flex: none; }

.quote-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-md); }

.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat-strip div { border-left: 3px solid var(--amber); padding-left: 1rem; }
.stat-strip b { display: block; font-family: var(--font-display); font-size: 2.1rem; color: var(--ink); line-height: 1.1; }
.stat-strip span { font-size: .9rem; color: var(--slate); }
.section--ink .stat-strip b { color: #fff; }
.section--ink .stat-strip span { color: #a9bed2; }

/* ---------- 15. Footer ------------------------------------------------ */
.site-footer { background: var(--ink); color: #a9bed2; padding: 4rem 0 0; font-size: .95rem; }
.site-footer h4 { font-family: var(--font-display); color: #fff; font-size: 1rem; margin: 0 0 1rem; }
.site-footer a { color: #cfe0f0; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.5rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact li { display: flex; gap: .7rem; margin-bottom: .7rem; }
.footer-contact i { color: var(--amber); width: 16px; margin-top: .3rem; flex: none; }
.footer-bottom {
    margin-top: 3rem; border-top: 1px solid rgba(255,255,255,.1);
    padding: 1.2rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    font-size: .86rem; color: #7e97ae;
}
.social { display: flex; gap: .6rem; margin-top: 1.1rem; }
.social a {
    width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center;
    background: rgba(255,255,255,.08); color: #cfe0f0;
}
.social a:hover { background: var(--amber); color: var(--ink); }

.callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    display: none; background: var(--ink); border-top: 1px solid rgba(255,255,255,.12);
}
.callbar a { flex: 1; padding: .95rem; text-align: center; color: #fff; text-decoration: none; font-weight: 600; font-family: var(--font-display); }
.callbar a + a { border-left: 1px solid rgba(255,255,255,.12); color: var(--amber); }

/* ---------- 16. Page header (inner pages) ---------------------------- */
.page-head { background: var(--ink); color: #b9cde0; padding: 3.4rem 0 3.6rem; }
.page-head h1 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: .5rem; }
.page-head p { color: #a9bed2; margin: 0; max-width: 62ch; }
.crumbs { font-size: .85rem; color: #7e97ae; margin-bottom: 1rem; }
.crumbs a { color: #9fb6cc; text-decoration: none; }
.crumbs a:hover { color: var(--amber); }

/* ---------- 17. Responsive ------------------------------------------- */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2.4rem; }
    .hero h1 { max-width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.6rem; }
    .step:nth-child(2)::after { display: none; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .stat-strip { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
}

@media (max-width: 860px) {
    .topline-links span.hide-sm { display: none; }
    .nav-toggle { display: block; }
    .nav {
        position: absolute; top: 74px; left: 0; right: 0;
        flex-direction: column; align-items: stretch;
        background: #fff; border-bottom: 1px solid var(--line);
        padding: .6rem 1.25rem 1.1rem; gap: .1rem;
        box-shadow: var(--shadow-md);
        display: none;
    }
    .nav.open { display: flex; }
    .nav a { padding: .8rem .6rem; }
    .nav a.current { box-shadow: inset 3px 0 0 var(--amber); }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .section { padding: 3.6rem 0; }
    .cta-band { flex-direction: column; align-items: flex-start; padding: 2rem 1.6rem; }
    .cta-actions { width: 100%; }
    .cta-actions .btn { flex: 1; justify-content: center; }
    .ticks { grid-template-columns: 1fr; }
    .svc { grid-template-columns: 1fr; gap: .4rem; }
    .lane { grid-template-columns: 1fr auto; }
    .lane-km { display: none; }
    body { padding-bottom: 56px; }
    .callbar { display: flex; }
}

@media (max-width: 560px) {
    .grid-4, .stat-strip, .steps, .form-row { grid-template-columns: 1fr; }
    .step::after { display: none; }
    .hero { padding: 3rem 0 3.4rem; }
    .hero-meta { gap: 1.4rem 2rem; }
    .quote-panel { padding: 1.4rem; }
    .track-box { flex-direction: column; }
}

/* ---------- 18. Motion preferences ----------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .route-truck { animation: none; left: 62%; }
    * { transition-duration: .01ms !important; }
}

/* ---------- 19. Print ------------------------------------------------- */
@media print {
    .site-header, .topline, .callbar, .site-footer, .hero-actions { display: none; }
    body { color: #000; }
}

/* =====================================================================
   20. PHOTOGRAPHY
   Pictures carry the page now, so they get proper aspect boxes, a
   consistent dark wash where text sits on them, and lazy loading.
   ===================================================================== */

/* Photo behind the hero */
.hero { isolation: isolate; }
.hero-photo {
    position: absolute; inset: 0; z-index: -2;
    background-position: center; background-size: cover; background-repeat: no-repeat;
}
.hero-photo::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(100deg, rgba(10,30,51,.94) 0%, rgba(10,30,51,.86) 46%, rgba(10,30,51,.55) 100%),
        linear-gradient(180deg, rgba(10,30,51,.35) 0%, rgba(10,30,51,.75) 100%);
}

/* A framed picture with a fixed shape, so a tall or wide upload still fits */
.shot { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--mist); }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.shot-16x9 { aspect-ratio: 16 / 9; }
.shot-4x3  { aspect-ratio: 4 / 3; }
.shot-3x2  { aspect-ratio: 3 / 2; }
.shot-1x1  { aspect-ratio: 1 / 1; }

/* Card with the picture on top and the words underneath */
.photo-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; display: flex; flex-direction: column;
    text-decoration: none; color: inherit;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.photo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--mist-deep); color: inherit; }
.photo-card:hover .shot img { transform: scale(1.045); }
.photo-card .body { padding: 1.25rem 1.35rem 1.45rem; }
.photo-card h3 { margin-bottom: .35rem; font-size: 1.1rem; }
.photo-card p { color: var(--slate); font-size: .93rem; margin: 0; }
.photo-card .tag {
    display: inline-flex; align-items: center; gap: .4rem;
    font-family: var(--font-display); font-weight: 600; font-size: .78rem;
    color: var(--amber-700); margin-top: .9rem;
}

/* Caption sitting on the picture itself */
.shot-cap {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 1.6rem 1.3rem .95rem;
    background: linear-gradient(180deg, transparent, rgba(10,30,51,.86));
    color: #fff;
}
.shot-cap b { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.shot-cap span { font-size: .82rem; color: #cfe0f0; }

/* Full-width photo band with words over it */
.band {
    position: relative; overflow: hidden; border-radius: var(--radius-lg);
    background-position: center; background-size: cover;
    padding: 3.4rem 3rem; color: #fff;
}
.band::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(10,30,51,.93) 0%, rgba(10,30,51,.78) 55%, rgba(10,30,51,.45) 100%);
}
.band > * { position: relative; }
.band h2 { color: #fff; margin-bottom: .4rem; }
.band p { color: #cfe0f0; margin: 0; }
.band-row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }

/* Side-by-side picture and text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split-media { position: relative; }
.split-media .badge-stat {
    position: absolute; right: -14px; bottom: -18px;
    background: var(--amber); color: var(--ink);
    border-radius: var(--radius); padding: 1rem 1.2rem;
    box-shadow: var(--shadow-md); text-align: center; min-width: 128px;
}
.split-media .badge-stat b { display: block; font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1; }
.split-media .badge-stat span { font-size: .76rem; font-weight: 600; }

/* Small strip of pictures */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }

@media (max-width: 1024px) {
    .split { grid-template-columns: 1fr; gap: 2.2rem; }
    .split-media .badge-stat { right: 12px; bottom: 12px; }
    .strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
    .band { padding: 2.2rem 1.6rem; }
}
