/* truckin24 – Klaus Lassen */
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(fonts/barlow-400.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url(fonts/barlow-500.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(fonts/barlow-600.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(fonts/barlow-condensed-600.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url(fonts/barlow-condensed-800.woff2) format("woff2"); }

:root {
  --bg: #f4f2ed;
  --surface: #ffffff;
  --surface-2: #ebe8e1;
  --text: #17191c;
  --muted: #5b6168;
  --line: #dbd7ce;
  --accent: #c8231c;
  --accent-hover: #a51b15;
  --accent-ink: #ffffff;
  --amber: #d99611;
  --header-bg: rgba(244, 242, 237, .86);
  --shadow: 0 1px 2px rgba(20, 20, 20, .06), 0 8px 24px rgba(20, 20, 20, .08);
  --bp-opacity: .14;
  --bp-filter: none;
  --bp-blend: multiply;
  --radius: 14px;
  --wrap: 1200px;
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1012; --surface: #16191c; --surface-2: #1e2226; --text: #ecebe7; --muted: #9ea4ab; --line: #2a2f35;
    --accent: #ef4237; --accent-hover: #ff5a4f; --accent-ink: #ffffff; --amber: #f2b33d;
    --header-bg: rgba(14, 16, 18, .82); --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .35);
    --bp-opacity: .16; --bp-filter: invert(1); --bp-blend: screen; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1012; --surface: #16191c; --surface-2: #1e2226; --text: #ecebe7; --muted: #9ea4ab; --line: #2a2f35;
  --accent: #ef4237; --accent-hover: #ff5a4f; --accent-ink: #ffffff; --amber: #f2b33d;
  --header-bg: rgba(14, 16, 18, .82); --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .35);
  --bp-opacity: .16; --bp-filter: invert(1); --bp-blend: screen; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.65 var(--font); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.fill { fill: currentColor; stroke: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.05; letter-spacing: .005em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.35rem; font-weight: 600; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: .5em 1em; border-radius: 8px; }
.skip:focus { left: 8px; }
.kicker { font: 600 .9rem/1.2 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 .9rem; display: flex; align-items: center; gap: .6rem; }
.kicker::before { content: ""; width: 28px; height: 6px; flex: none; background: repeating-linear-gradient(-45deg, var(--amber) 0 5px, var(--text) 5px 10px); border-radius: 2px; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 60ch; margin: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .8em 1.35em; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 600 1.05rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 2px solid var(--accent); transition: background .2s, transform .2s; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--text); }
.btn-sm { padding: .6em 1.1em; font-size: .95rem; }
.i-arrow { transition: transform .2s; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; }
.icon-btn:hover { border-color: var(--text); }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.25rem; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; flex: none; }
.logo-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--accent); color: #fff; font: 800 1.2rem/1 var(--font-display); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .18); }
.logo-text { font: 800 1.65rem/1 var(--font-display); letter-spacing: .01em; }
.logo-text b { color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.main-nav ul { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.main-nav ul a { display: block; padding: .45em .7em; border-radius: 8px; text-decoration: none; font: 600 1.06rem/1.2 var(--font-display); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.main-nav ul a:hover { color: var(--text); background: var(--surface-2); }
.main-nav ul a[aria-current] { color: var(--text); box-shadow: inset 0 -3px 0 var(--accent); border-radius: 8px 8px 0 0; }
.header-tools { display: flex; align-items: center; gap: .5rem; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface); }
.lang-switch a { padding: .3em .6em; border-radius: 999px; font: 600 .85rem/1 var(--font-display); letter-spacing: .06em; text-decoration: none; color: var(--muted); }
.lang-switch a:hover { color: var(--text); }
.lang-switch a[aria-current] { background: var(--text); color: var(--bg); }
.theme-toggle .i-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: block; }
}
.menu-toggle { display: none; }

@media (max-width: 1120px) {
  .menu-toggle { display: inline-grid; }
  .header-inner { height: 64px; }
  .main-nav { position: fixed; inset: 64px 0 auto 0; height: calc(100dvh - 64px); flex-direction: column; align-items: stretch; gap: 1.5rem; padding: 1.5rem 16px 2rem; background: var(--bg); border-top: 1px solid var(--line); overflow-y: auto; opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .nav-open .main-nav { opacity: 1; transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { font-size: 1.6rem; padding: .55em .25em; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--text); }
  .main-nav ul a[aria-current] { box-shadow: inset 4px 0 0 var(--accent); padding-left: .7em; border-radius: 0; }
  .nav-contact { align-self: flex-start; font-size: 1.2rem; }
  .header-tools { margin-left: auto; }
  .nav-open { overflow: hidden; }
}
@media (max-width: 420px) {
  .logo-text { font-size: 1.4rem; }
  .logo-mark { width: 34px; height: 34px; font-size: 1rem; }
  .icon-btn { width: 38px; height: 38px; }
  .lang-switch a { padding: .3em .45em; }
  .header-inner { gap: .6rem; }
}

/* home hero */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 7vw, 6rem) 0 clamp(2.5rem, 6vw, 5rem); border-bottom: 1px solid var(--line); }
.hero-blueprint { position: absolute; inset: 0; background: var(--bp) right -6% center / min(1100px, 120%) auto no-repeat; opacity: var(--bp-opacity); filter: var(--bp-filter); mix-blend-mode: var(--bp-blend); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
.hero .lead { margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-media { margin: 0; position: relative; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-media::before { content: ""; position: absolute; inset: auto -14px -14px auto; width: 45%; height: 40%; border-radius: var(--radius); background: repeating-linear-gradient(-45deg, var(--amber) 0 12px, transparent 12px 24px); opacity: .55; z-index: -1; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-media { order: -1; } }

.facts { background: var(--text); color: var(--bg); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-grid div { padding: 1.6rem 1rem; display: flex; flex-direction: column; gap: .2rem; border-left: 1px solid color-mix(in srgb, var(--bg) 18%, transparent); }
.facts-grid div:first-child { border-left: 0; padding-left: 0; }
.facts strong { font: 800 clamp(1.8rem, 4vw, 2.6rem)/1 var(--font-display); color: var(--amber); }
.facts span { font-size: .95rem; opacity: .8; }
@media (max-width: 700px) {
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .facts-grid div { padding: 1.1rem .9rem; border-left: 0; }
  .facts-grid div:nth-child(even) { border-left: 1px solid color-mix(in srgb, var(--bg) 18%, transparent); }
  .facts-grid div:nth-child(odd) { padding-left: 0; }
  .facts-grid div:nth-child(n+3) { border-top: 1px solid color-mix(in srgb, var(--bg) 18%, transparent); }
}

.welcome { display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; padding: clamp(3rem, 8vw, 6rem) 0; }
.portrait { margin: 0; position: relative; }
.portrait img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; }
.welcome .prose { padding: 0; width: auto; }
@media (max-width: 760px) { .welcome { grid-template-columns: 1fr; } .portrait { max-width: 420px; } }

.tiles-section { padding-bottom: clamp(3rem, 8vw, 6rem); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.tile { position: relative; display: flex; flex-direction: column; min-height: 340px; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; background: #222; isolation: isolate; box-shadow: var(--shadow); }
.tile-media { position: absolute; inset: 0; z-index: -1; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, .85)); }
.tile:hover .tile-media img { transform: scale(1.05); }
.tile-body { margin-top: auto; padding: 1.4rem; }
.tile h3 { font-size: 1.9rem; font-weight: 800; text-transform: uppercase; margin-bottom: .3rem; }
.tile p { margin: 0 0 .9rem; font-size: .98rem; opacity: .88; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile-cta { display: inline-flex; align-items: center; gap: .4em; font: 600 1rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--amber); }
.tile:hover .i-arrow { transform: translateX(4px); }
@media (max-width: 960px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tiles { grid-template-columns: 1fr; } .tile { min-height: 260px; } }

.featured { background: var(--surface-2); padding: clamp(3rem, 8vw, 5.5rem) 0; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.section-title h2 { margin: 0; text-transform: uppercase; }
.section-title a { display: inline-flex; align-items: center; gap: .4em; font: 600 1.05rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); text-decoration: none; }

.books-band { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; padding: clamp(3rem, 8vw, 6rem) 0; }
.books { display: flex; }
.book { width: clamp(100px, 14vw, 170px); transform: rotate(-4deg); margin-right: -28px; transition: transform .3s; }
.book:nth-child(2) { transform: rotate(1deg) translateY(-12px); z-index: 1; }
.book:nth-child(3) { transform: rotate(5deg); }
.book img { border-radius: 4px; box-shadow: 0 12px 28px rgba(0, 0, 0, .3); }
.books-band h2 { text-transform: uppercase; }
.books-band p { color: var(--muted); max-width: 55ch; margin: 0 0 1.5rem; }
@media (max-width: 720px) { .books-band { grid-template-columns: 1fr; } .books { justify-content: center; padding-right: 28px; } }

/* page hero */
.page-hero { padding: 1.5rem 0 clamp(2rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--surface-2), var(--bg)); }
.page-hero-grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; margin-top: clamp(1.5rem, 4vw, 3rem); }
.page-hero.has-media .page-hero-grid { grid-template-columns: 1.1fr 1fr; }
.page-hero h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); overflow-wrap: anywhere; hyphens: auto; }
.page-hero-media { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.page-hero-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s; }
.page-hero-media:hover img { transform: scale(1.03); }
@media (max-width: 800px) { .page-hero.has-media .page-hero-grid { grid-template-columns: 1fr; } }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .3rem .5rem; list-style: none; margin: 0; padding: 0; font-size: .92rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

/* prose */
.prose { max-width: 820px; padding: clamp(2rem, 5vw, 3.5rem) 0; overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose h2 { margin: 1.8em 0 .5em; text-transform: uppercase; font-size: clamp(1.5rem, 3vw, 2rem); }
.prose h2:first-child { margin-top: 0; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose ul { padding-left: 1.2em; margin: 0; }
.prose li::marker { color: var(--accent); }
.prose blockquote { margin: 1.5em 0; padding: .5em 0 .5em 1.2em; border-left: 4px solid var(--amber); font-style: italic; color: var(--muted); }
.fig { margin: 1.8em 0; }
.fig a { display: block; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.fig img { width: 100%; max-height: 80vh; object-fit: contain; }
.fig-link { box-shadow: var(--shadow); transition: transform .3s; }
.fig-link:hover { transform: translateY(-3px); }
.fig figcaption { margin-top: .6em; font-size: .93rem; color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.table-wrap table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.table-wrap td { padding: .55em .8em; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap tr:nth-child(odd) td { background: var(--surface); }
.table-wrap tr:last-child td { border-bottom: 0; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 1.8em 0; }
.prose .gallery { margin-inline: calc((min(100vw - 32px, var(--wrap)) - 100%) / -2 * 0); }
.g-item { display: block; border-radius: 8px; overflow: hidden; background: var(--surface-2); aspect-ratio: 4 / 3; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s, opacity .2s; }
.g-item:hover img { transform: scale(1.06); }
@media (max-width: 500px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 4px; } .g-item { border-radius: 4px; } }

.video { margin: 1.8em 0; }
.video-btn { position: relative; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); cursor: pointer; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; padding: 1.5rem; text-align: center; font: inherit;
  background: radial-gradient(circle at 30% 20%, #3a1210, #111 70%); overflow: hidden; }
.video-btn::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .03) 0 14px, transparent 14px 28px); }
.video-play { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--accent); transition: transform .2s; position: relative; }
.video-play svg { width: 34px; height: 34px; fill: #fff; stroke: none; margin-left: 4px; }
.video-btn:hover .video-play { transform: scale(1.08); }
.video-title { font: 600 clamp(1.1rem, 2.4vw, 1.5rem)/1.2 var(--font-display); position: relative; max-width: 40ch; }
.video-note { font-size: .82rem; opacity: .65; position: relative; }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); display: block; }

/* related & pager */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; padding-bottom: 2rem; max-width: 820px; }
.related-link { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .2rem 1rem; padding: 1.1rem 1.3rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--amber); text-decoration: none; }
.related-link span { grid-column: 1; font-size: .88rem; color: var(--muted); }
.related-link strong { grid-column: 1; font: 600 1.25rem/1.2 var(--font-display); }
.related-link svg { grid-column: 2; grid-row: 1 / 3; color: var(--accent); }
.related-link:hover { border-color: var(--text); border-left-color: var(--amber); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1.5rem 0 clamp(3rem, 7vw, 5rem); border-top: 1px solid var(--line); margin-top: 1rem; }
.pager a { display: flex; flex-direction: column; gap: .2rem; padding: 1rem 1.2rem; border-radius: var(--radius); text-decoration: none; font: 600 1.2rem/1.2 var(--font-display); background: var(--surface); border: 1px solid var(--line); }
.pager a:hover { border-color: var(--accent); }
.pager span { font: 500 .85rem/1.2 var(--font); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.pager-next { text-align: right; align-items: flex-end; }
@media (max-width: 560px) { .pager a { font-size: 1.02rem; padding: .85rem .9rem; } }

/* cards */
.section-cards { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 8vw, 6rem); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--text); padding: .5em 1em; border-radius: 999px; font: 600 .98rem/1 var(--font-display); letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.chip:hover { border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 1.25rem; }
.card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card[hidden] { display: none; }
.card-media { position: relative; aspect-ratio: 3 / 2; background: var(--surface-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-count { position: absolute; right: .6rem; bottom: .6rem; background: rgba(0, 0, 0, .7); color: #fff; font-size: .78rem; font-weight: 600; padding: .25em .6em; border-radius: 999px; backdrop-filter: blur(4px); }
.card-body { padding: 1.05rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: .35rem; }
.card-body h3 { margin: 0; font-size: 1.4rem; }
.card-body p { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tag { align-self: flex-start; font: 600 .78rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }

/* footer */
.site-footer { background: #101214; color: #d9d8d4; padding-top: clamp(3rem, 7vw, 4.5rem); border-top: 6px solid transparent; border-image: repeating-linear-gradient(-45deg, var(--amber) 0 14px, #101214 14px 28px) 6; }
.site-footer .logo-text { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer-brand p { color: #9a9fa5; margin: .8rem 0 0; }
.footer-nav { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 1.5rem; }
.footer-nav a { display: inline-block; padding: .25em 0; text-decoration: none; color: #c9c8c4; }
.footer-nav a:hover, .footer-bottom a:hover { color: #fff; text-decoration: underline; }
.footer-contact h2 { font: 600 .82rem/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: #8d9298; margin: 0 0 .7rem; }
.footer-contact h2 + * { margin-bottom: 1.6rem; }
.footer-mail { display: inline-flex; align-items: center; gap: .5rem; color: #fff; text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.footer-mail:hover span { text-decoration: underline; }
.social { display: flex; gap: .6rem; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #1f2326; color: #fff; }
.social a:hover { background: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding: 1.25rem 0 1.5rem; border-top: 1px solid #262a2e; font-size: .9rem; color: #8d9298; }
.footer-bottom a { color: #b9b8b4; text-decoration: none; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* lightbox */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 9, 10, .95); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox img { max-width: calc(100vw - 32px); max-height: calc(100dvh - 110px); width: auto; height: auto; object-fit: contain; border-radius: 6px; user-select: none; touch-action: pan-y; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: var(--accent); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; translate: 0 -50%; }
.lb-next { right: 14px; top: 50%; translate: 0 -50%; }
.lb-count { position: absolute; bottom: 18px; left: 50%; translate: -50% 0; font: 600 1rem/1 var(--font-display); letter-spacing: .1em; opacity: .75; }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 8px; translate: none; } }

.notfound { padding: clamp(4rem, 12vw, 9rem) 0; }
.notfound .lead { margin-bottom: 2rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .pager, .chips, .lightbox { display: none !important; }
  body { background: #fff; color: #000; }
}
