/* SAHO Logistics — 2026 */
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  --asphalt: #1f2023;
  --graphite: #2a2b2d;
  --graphite-2: #34363a;
  --signal: #f4c21a;
  --signal-deep: #d9a600;
  --paper: #ffffff;
  --mist: #f1f2f3;
  --ink: #1f2023;
  --muted: #5b6068;
  --muted-dark: #a7abb1;
  --line: #dcdee1;
  --line-dark: #3b3d42;
  --radius: 4px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; font-weight: 800; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

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

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--signal); color: var(--asphalt); padding: 10px 16px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.ico { width: 1.25em; height: 1.25em; flex: none; stroke-width: 1.75; }

/* ---------- type ---------- */
.display {
  font-variation-settings: "wdth" 125;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.95;
}
.h2 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-variation-settings: "wdth" 118;
  letter-spacing: -0.015em;
  margin-bottom: 0.5em;
}
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.on-dark .lead, .on-dark p { color: var(--muted-dark); }
.on-dark { color: var(--paper); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; min-height: 48px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  border-radius: var(--radius); border: 2px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s;
  cursor: pointer; white-space: nowrap;
}
.btn-signal { background: var(--signal); color: var(--asphalt); }
.btn-signal:hover { background: #ffd23d; }
.btn-ghost { border-color: currentColor; color: var(--paper); }
.btn-ghost:hover { background: var(--paper); color: var(--asphalt); border-color: var(--paper); }
.btn-dark { background: var(--asphalt); color: var(--paper); }
.btn-dark:hover { background: var(--graphite-2); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; text-decoration: none;
  border-bottom: 2px solid var(--signal); padding-bottom: 2px;
}
.link-arrow:hover { border-color: currentColor; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--asphalt); color: var(--paper);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand img { width: 150px; height: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 12px; text-decoration: none; font-weight: 600; font-size: .95rem;
  color: #d6d8db; border-radius: var(--radius);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--paper); background: var(--graphite-2); }
.nav a.nav-jobs { color: var(--signal); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn { padding: 10px 16px; min-height: 42px; font-size: .95rem; }

.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  padding: 9px 10px; border-radius: var(--radius);
  font-weight: 700; font-size: .9rem; color: #d6d8db;
  border: 1px solid var(--line-dark);
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { color: var(--paper); border-color: #5a5d63; }
.lang[open] summary { color: var(--paper); }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: var(--paper); color: var(--ink);
  min-width: 170px; padding: 6px; border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
}
.lang button {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; justify-content: space-between; gap: 12px;
  padding: 9px 12px; border-radius: 3px; font-size: .95rem;
}
.lang button span { color: var(--muted); font-size: .8rem; font-weight: 700; }
.lang button:hover { background: var(--mist); }
.lang button[aria-current="true"] { font-weight: 700; }
.lang button[aria-current="true"]::after { content: ""; }

.menu-btn {
  display: none; background: none; border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: 9px; cursor: pointer; color: var(--paper);
}
.menu-btn .ico { width: 22px; height: 22px; }
.menu-btn .i-close { display: none; }
.menu-open .menu-btn .i-close { display: block; }
.menu-open .menu-btn .i-menu { display: none; }

@media (max-width: 1080px) {
  .header-actions .btn-signal { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .brand img { width: 128px; }
  .menu-btn { display: block; }
  .header-actions { margin-left: auto; }
  .nav {
    display: none;
    position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--asphalt);
    flex-direction: column; gap: 0;
    padding: 16px var(--gutter) 32px;
    overflow-y: auto;
  }
  .menu-open .nav { display: flex; }
  .nav a { font-size: 1.5rem; font-variation-settings: "wdth" 115; font-weight: 700; padding: 14px 0; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .nav a:hover, .nav a[aria-current="page"] { background: none; }
  .nav .nav-cta { display: flex; margin-top: 24px; border: 0; justify-content: center; font-size: 1.05rem; padding: 16px; background: var(--signal); color: var(--asphalt); border-radius: var(--radius); font-variation-settings: "wdth" 100; }
  .menu-open { overflow: hidden; }
}
@media (min-width: 901px) { .nav .nav-cta { display: none; } }

/* ---------- hero (home) ---------- */
.hero {
  position: relative; background: var(--asphalt); color: var(--paper);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  min-height: min(calc(100vh - var(--header-h)), 820px);
}
.hero-copy {
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 4vw, 56px) clamp(48px, 8vw, 96px) 0;
}
.hero h1 { font-size: clamp(3rem, 6.2vw, 6rem); margin-bottom: 28px; }
.hero h1 span { display: block; }
.hero .lead { color: #c4c7cc; margin-bottom: 36px; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 56px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; border-top: 1px solid var(--line-dark); }
.hero-facts div { padding: 18px 28px 0 0; margin-right: 28px; }
.hero-facts div + div { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.hero-facts b { white-space: nowrap; display: block; font-size: 1.75rem; font-variation-settings: "wdth" 120; font-weight: 800; color: var(--signal); line-height: 1.1; }
.hero-facts span { font-size: .9rem; color: var(--muted-dark); }

.hero-photo { position: relative; margin-right: calc(-1 * max(var(--gutter), (100vw - var(--wrap)) / 2 + var(--gutter))); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 48% 60%; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--asphalt) 0%, rgba(31,32,35,0) 28%);
}

/* lane line — the one orchestrated moment */
.lane {
  position: absolute; left: 0; bottom: 0; width: 100%; height: 6px; z-index: 2;
  background: repeating-linear-gradient(90deg, var(--signal) 0 56px, transparent 56px 92px);
  transform-origin: left center;
  animation: lane-draw 1.6s cubic-bezier(.6,.05,.2,1) .25s both;
}
@keyframes lane-draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.hero-copy > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .12s; }
.hero-copy > *:nth-child(3) { animation-delay: .2s; }
.hero-copy > *:nth-child(4) { animation-delay: .28s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { order: -1; height: 46vh; min-height: 280px; margin: 0 calc(-1 * var(--gutter)); }
  .hero-photo::after { background: linear-gradient(0deg, var(--asphalt) 0%, rgba(31,32,35,0) 45%); }
  .hero-photo img { object-position: 30% 62%; }
  .hero-copy { padding: 8px 0 56px; }
  .hero-facts { grid-template-columns: repeat(3, 1fr); }
  .hero-facts div { padding-right: 10px; margin-right: 0; }
  .hero-facts div + div { padding-left: 12px; }
  .hero-facts b { font-size: 1.05rem; font-variation-settings: "wdth" 100; white-space: nowrap; }
  .hero-facts span { font-size: .8rem; }
}

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-dark { background: var(--asphalt); }
.section-mist { background: var(--mist); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head .h2 { margin: 0; }
.section-head .lead { margin: 0; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about p { font-size: 1.125rem; max-width: 58ch; }
.about-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; max-height: 560px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; } .about-photo { aspect-ratio: 4 / 3; } }

/* certificates */
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cert { display: flex; flex-direction: column; gap: 16px; text-decoration: none; }
.cert-thumb { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; aspect-ratio: 4 / 5; overflow: hidden; }
.cert-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; box-shadow: 0 2px 10px rgba(31,32,35,.12); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.cert:hover .cert-thumb img { transform: translateY(-4px); }
.cert-body { display: flex; flex-direction: column; gap: 10px; }
.cert h3 { font-size: 1.2rem; font-variation-settings: "wdth" 110; }
.cert .link-arrow { align-self: flex-start; font-size: .95rem; }
@media (max-width: 800px) {
  .certs { grid-template-columns: 1fr; }
  .cert { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 16px; }
  .cert-thumb { padding: 6px; aspect-ratio: 3 / 4; }
  .cert-body { display: flex; flex-direction: column; gap: 10px; }
}

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); }
.contact-big { display: flex; flex-direction: column; gap: 4px; margin: 32px 0 40px; }
.contact-big a {
  font-size: clamp(1.35rem, 2.6vw, 2.1rem); font-variation-settings: "wdth" 105; font-weight: 800;
  text-decoration: none; color: var(--paper); letter-spacing: -0.01em; overflow-wrap: anywhere;
}
.contact-big a:hover { color: var(--signal); }
.contact-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.contact-meta .span-all { grid-column: 1 / -1; }
.contact-meta h3 { font-size: .95rem; font-weight: 700; color: var(--signal); margin-bottom: 8px; font-variation-settings: "wdth" 100; }
.contact-meta p { margin: 0; color: #c4c7cc; font-size: 1rem; line-height: 1.55; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 420px; background: var(--graphite); position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.map-link { margin-top: 14px; color: var(--paper); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .map { min-height: 320px; } }
@media (max-width: 480px) { .contact-meta { grid-template-columns: 1fr; } }

/* ---------- inner pages ---------- */
.page-hero { position: relative; background: var(--asphalt); color: var(--paper); overflow: hidden; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); min-height: 440px; }
.page-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 56px 40px 72px 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--muted-dark); margin-bottom: 28px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--paper); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #6b6f76; }
.page-hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.5rem); margin-bottom: 20px; }
.page-hero .lead { color: #c4c7cc; margin: 0; max-width: 44ch; }
.page-hero-photo { position: relative; margin-right: calc(-1 * max(var(--gutter), (100vw - var(--wrap)) / 2 + var(--gutter))); }
.page-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--asphalt) 0%, rgba(31,32,35,0) 35%); }
@media (max-width: 860px) {
  .page-hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .page-hero-photo { order: -1; height: 240px; margin: 0 calc(-1 * var(--gutter)); }
  .page-hero-photo::after { background: linear-gradient(0deg, var(--asphalt) 0%, rgba(31,32,35,0) 60%); }
  .page-hero-copy { padding: 8px 0 48px; }
  .crumbs { margin-bottom: 18px; }
}

.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 6vw, 96px); }
.intro p { font-size: 1.15rem; max-width: 58ch; }
.intro > div:first-child p { font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.4; font-weight: 600; color: var(--ink); font-variation-settings: "wdth" 104; }
@media (max-width: 800px) { .intro { grid-template-columns: 1fr; } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.features.cols-4 { grid-template-columns: repeat(4, 1fr); }
.feature { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--line); }
.features .feature:not(:first-child) { }
.feature .ico { width: 30px; height: 30px; color: var(--ink); margin-bottom: 18px; }
.feature .ico-wrap { width: 52px; height: 52px; display: grid; place-items: center; background: var(--signal); border-radius: var(--radius); margin-bottom: 20px; }
.feature .ico-wrap .ico { width: 26px; height: 26px; margin: 0; }
.feature h3 { font-size: 1.25rem; font-variation-settings: "wdth" 110; margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; max-width: 34ch; }
@media (max-width: 960px) { .features.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 800px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .features, .features.cols-4 { grid-template-columns: 1fr; } .feature { padding-right: 0; } }

.cta-band { background: var(--signal); color: var(--asphalt); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; padding-top: 56px; padding-bottom: 56px; }
.cta-band h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); font-variation-settings: "wdth" 118; letter-spacing: -0.01em; margin-bottom: 8px; }
.cta-band p { margin: 0; max-width: 52ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* jobs */
.jobs { display: grid; gap: 24px; }
.job { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.job-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 28px 32px; background: var(--asphalt); color: var(--paper); }
.job-head h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-variation-settings: "wdth" 118; }
.job-type { background: var(--signal); color: var(--asphalt); font-weight: 700; font-size: .9rem; padding: 6px 12px; border-radius: var(--radius); }
.job-body { padding: 32px; }
.job-desc { font-size: 1.15rem; max-width: 64ch; margin-bottom: 28px; }
.job-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; margin-bottom: 32px; }
.job-cols h3 { font-size: 1.05rem; font-variation-settings: "wdth" 100; font-weight: 700; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.job-cols li { display: flex; gap: 10px; padding: 7px 0; }
.job-cols li .ico { color: var(--signal-deep); width: 20px; height: 20px; margin-top: 3px; stroke-width: 2.5; }
.job-apply { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.job-apply p { margin: 0 auto 0 0; }
.job-apply .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 720px) { .job-cols { grid-template-columns: 1fr; } .job-head, .job-body { padding: 24px 20px; } }

/* 404 */
.nf { min-height: 60vh; display: flex; align-items: center; }
.nf h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); margin-bottom: 20px; }

/* ---------- footer ---------- */
.site-footer { background: var(--graphite); color: #b9bdc3; font-size: .95rem; }
.site-footer .lane-static { height: 6px; background: repeating-linear-gradient(90deg, var(--signal) 0 56px, transparent 56px 92px); }
.site-footer a { text-decoration: none; }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
  padding: 56px 0 40px; border-bottom: 1px solid var(--line-dark);
}
.footer-id img { width: 170px; margin-bottom: 14px; }
.footer-id p { margin: 0; color: var(--paper); font-weight: 600; font-variation-settings: "wdth" 108; }
.footer-reach { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.footer-reach a { color: var(--paper); font-weight: 800; font-size: clamp(1.15rem, 2vw, 1.5rem); font-variation-settings: "wdth" 108; }
.footer-reach a:hover { color: var(--signal); }
.footer-reach span { margin-top: 6px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 40px; padding: 40px 0; }
.footer-grid h2 { font-size: .9rem; font-weight: 700; color: var(--signal); margin-bottom: 14px; font-variation-settings: "wdth" 100; }
.footer-grid p { margin: 0; line-height: 1.75; }
.footer-grid li { padding: 3px 0; }
.footer-grid a:hover { color: var(--paper); text-decoration: underline; }
.footer-partners li { display: flex; flex-direction: column; padding: 0 0 12px; }
.footer-partners a { color: var(--paper); font-weight: 700; }
.footer-partners span { font-size: .875rem; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 18px 0 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .875rem; color: #8d9198; }
.social { display: flex; gap: 8px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: var(--radius); color: var(--paper); }
.social a:hover { background: var(--signal); border-color: var(--signal); color: var(--asphalt); }
.social .ico { width: 18px; height: 18px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-reach { align-items: flex-start; text-align: left; }
}
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(160px, 17vw, 240px); gap: 12px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--mist); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .g-london-street { grid-column: span 2; grid-row: span 2; }
.gallery .g-ferry-night { grid-row: span 2; }
.gallery .g-sunset, .gallery .g-field { grid-column: span 2; }
.gallery .g-eurotunnel img { object-position: 60% 40%; }
@media (max-width: 700px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 8px; }
  .gallery .g-london-street { grid-row: span 1; }
}

/* steps (PL → UK) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 0; right: calc(25% - 50px); top: 23px; height: 4px;
  background: repeating-linear-gradient(90deg, var(--signal) 0 32px, transparent 32px 52px);
}
.step { position: relative; padding: 0 28px 0 0; }
.step-n {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 24px;
  background: var(--signal); color: var(--asphalt); border-radius: var(--radius);
  font-weight: 800; font-size: 1.3rem; font-variation-settings: "wdth" 120;
  box-shadow: 0 0 0 8px var(--asphalt);
}
.step h3 { font-size: 1.4rem; font-variation-settings: "wdth" 115; margin-bottom: 10px; color: var(--paper); }
.step p { color: var(--muted-dark); margin: 0; max-width: 30ch; }
.how-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: clamp(48px, 7vw, 80px); }
.how-photos figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.how-photos img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step { display: grid; grid-template-columns: 50px 1fr; column-gap: 20px; padding: 0 0 32px; }
  .step::before { content: ""; position: absolute; left: 23px; top: 50px; bottom: 0; width: 4px; background: repeating-linear-gradient(180deg, var(--signal) 0 18px, transparent 18px 30px); }
  .step:last-child::before { display: none; }
  .step-n { grid-row: span 2; margin: 0; box-shadow: none; }
  .step h3 { align-self: center; margin: 12px 0 8px; }
  .how-photos { grid-template-columns: 1fr; }
}
.certs.certs-2 { grid-template-columns: repeat(2, minmax(0, 320px)); gap: 32px; }
@media (max-width: 800px) { .certs.certs-2 { grid-template-columns: 1fr; } }

/* partner network (SAHO, ADI-TRANS, Croncel) */
.network { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.net-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px; background: var(--graphite); border: 1px solid var(--line-dark); border-radius: var(--radius);
}
.net-self { border-color: var(--signal); box-shadow: inset 0 4px 0 var(--signal); }
.net-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 72px; margin-bottom: 8px; padding-bottom: 20px; border-bottom: 1px solid var(--line-dark); box-sizing: content-box; }
.net-logo { display: flex; align-items: center; height: 100%; }
.net-logo img { max-height: 40px; width: auto; max-width: 200px; }
.net-logo-light { background: var(--paper); padding: 8px 14px; border-radius: var(--radius); height: auto; }
.net-logo-light img { max-height: 40px; }
.net-tag { background: var(--signal); color: var(--asphalt); font-weight: 700; font-size: .85rem; padding: 4px 10px; border-radius: var(--radius); white-space: nowrap; }
.net-card h3 { font-size: 1.35rem; font-variation-settings: "wdth" 112; color: var(--paper); }
.net-card p { margin: 0; color: var(--muted-dark); }
.net-card .link-arrow { align-self: flex-start; margin-top: auto; padding-top: 12px; color: var(--paper); }
.contact-net { margin-top: 12px; padding-left: 14px; border-left: 3px solid var(--signal); }
@media (max-width: 960px) { .network { grid-template-columns: 1fr; } }
@media (max-width: 1240px) and (min-width: 901px) { .nav a { padding: 8px 8px; font-size: .9rem; } }
