@font-face { font-family: "Space Grotesk"; src: url(../fonts/space-grotesk-latin-wght-normal.woff2) format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #0c0b0a;
  --bg-2: #141210;
  --fg: #f1ece4;
  --muted: #a39b8f;
  --accent: #7cb342;
  --line: rgba(241, 236, 228, .12);
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--accent); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--bg); }

.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--accent); color: var(--bg); padding: 10px 16px; border-radius: 99px; }
.skip:focus { top: 16px; }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 300; background: var(--bg); display: grid; place-items: center; transition: clip-path 1.1s var(--ease) .1s; clip-path: inset(0 0 0 0); }
.loader__inner { width: min(320px, 70vw); text-align: center; }
.loader__logo { width: 100%; height: auto; opacity: .95; }
.loader__bar { height: 1px; background: var(--line); margin: 28px 0 14px; overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.loader__count { font: 300 13px/1 var(--sans); letter-spacing: .3em; color: var(--muted); font-variant-numeric: tabular-nums; }
body.is-loaded .loader { clip-path: inset(0 0 100% 0); pointer-events: none; }

/* ---------- grain + cursor ---------- */
.grain { position: fixed; inset: -50%; z-index: 150; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite; }
@keyframes grain { 0%,100% { transform: translate(0,0) } 20% { transform: translate(-4%,3%) } 40% { transform: translate(3%,-5%) } 60% { transform: translate(-6%,-2%) } 80% { transform: translate(5%,4%) } }

.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 250; }
  .cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
  .cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--accent); }
  .cursor__ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(241,236,228,.4); display: grid; place-items: center; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .4s, border-color .4s; }
  .cursor__label { font: 600 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--bg); opacity: 0; transition: opacity .3s; }
  .cursor.is-big .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--fg); border-color: transparent; }
  .cursor.is-big .cursor__label { opacity: 1; }
  .cursor.is-big .cursor__dot { opacity: 0; }
  .cursor.is-link .cursor__ring { width: 60px; height: 60px; margin: -30px 0 0 -30px; border-color: var(--accent); }
}

/* ---------- nav ---------- */
.nav { position: fixed; z-index: 100; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 22px var(--gutter); transition: transform .6s var(--ease), background .4s, padding .4s; }
/* blur lives on ::before: backdrop-filter on .nav would trap the fixed mobile menu inside the header */
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(12,11,10,.55); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); opacity: 0; transition: opacity .4s; pointer-events: none; }
.nav.is-scrolled::before { opacity: 1; }
.nav.is-scrolled { padding-block: 14px; }
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo img { height: 26px; width: auto; }
.nav__links { display: flex; gap: clamp(18px, 2.6vw, 40px); align-items: center; font-size: 14px; letter-spacing: .04em; }
.nav__links a { position: relative; opacity: .82; transition: opacity .3s; }
.nav__links a:hover { opacity: 1; }
.nav__links a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { border: 1px solid var(--line); padding: 9px 20px; border-radius: 99px; opacity: 1 !important; transition: background .3s, color .3s, border-color .3s; }
.nav__cta:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--fg); transition: transform .5s var(--ease); }
.nav__burger span:first-child { top: 17px; } .nav__burger span:last-child { top: 26px; }
@media (max-width: 820px) {
  .nav__burger { display: block; z-index: 2; }
  .nav__links { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 28px; background: var(--bg); font: 300 34px/1.1 var(--display); clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .8s var(--ease); }
  .nav__links a { opacity: 1; }
  .nav__cta { font: 400 16px var(--sans); }
  .nav.is-open .nav__links { clip-path: circle(150% at calc(100% - 40px) 40px); }
  .nav.is-open .nav__burger span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav.is-open .nav__burger span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
}

/* ---------- shared type ---------- */
/* long German words in big headings must break on narrow phones */
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; margin: 0 0 22px; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.eyebrow .line { width: 40px; height: 1px; background: var(--accent); }
.h2 { font: 400 clamp(40px, 6.4vw, 96px)/1 var(--display); letter-spacing: -.045em; margin: 0; }
.section-head { padding: 0 var(--gutter); margin-bottom: clamp(40px, 6vw, 80px); }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

.btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 30px; border-radius: 99px; background: var(--fg); color: var(--bg); font-weight: 500; font-size: 15px; transition: background .3s, color .3s; }
.btn:hover { background: var(--accent); }
.link-arrow { position: relative; padding-bottom: 4px; border-bottom: 1px solid var(--line); transition: border-color .3s, color .3s; }
.link-arrow::after { content: " ↗"; color: var(--accent); }
.link-arrow:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- hero ---------- */
.hero { position: relative; height: 260vh; }
.hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.hero__canvas:active { cursor: grabbing; }
.hero__fallback { position: absolute; inset: 0; display: none; background: center/cover no-repeat url(../img/dsc-1333-1280.jpg); }
.no-webgl .hero__fallback { display: block; }
.hero__shade { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, rgba(12,11,10,.55) 0%, rgba(12,11,10,.15) 45%, rgba(12,11,10,.75) 100%), linear-gradient(to bottom, transparent 70%, var(--bg)); }
.hero__content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 var(--gutter); pointer-events: none; will-change: transform, opacity; }
.hero__eyebrow { margin-bottom: 28px; }
.hero__title { margin: 0; font: 500 clamp(52px, 11vw, 180px)/.9 var(--display); letter-spacing: -.055em; }
.hero__title .split { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .split > span { display: inline-block; transform: translateY(110%); transition: transform 1.4s var(--ease); }
.hero__title .char { display: inline-block; }
body.is-loaded .hero__title .split > span { transform: none; }
body.is-loaded .hero__title .split:nth-child(2) > span { transition-delay: .12s; }
body.is-loaded .hero__title .split:nth-child(3) > span { transition-delay: .24s; }
.hero__sub { margin: 30px 0 0; font-size: 13px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); opacity: 0; transition: opacity 1.2s .7s; }
body.is-loaded .hero__sub { opacity: 1; }
.hero__hint { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }
.hero__mouse { width: 20px; height: 32px; border: 1px solid var(--muted); border-radius: 12px; position: relative; }
.hero__mouse::after { content: ""; position: absolute; left: 50%; top: 6px; width: 2px; height: 6px; margin-left: -1px; background: var(--accent); border-radius: 2px; animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1 } 100% { transform: translateY(12px); opacity: 0 } }
.hero__caption { position: absolute; right: var(--gutter); bottom: 34px; font: 400 18px var(--display); color: var(--fg); opacity: 0; transition: opacity .4s; text-align: right; pointer-events: none; }
.hero__caption small { display: block; font: 400 10px var(--sans); letter-spacing: .25em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.hero__caption.is-on { opacity: 1; }
@media (max-width: 820px) { .hero__caption { display: none; } }

/* ---------- intro ---------- */
.intro { padding: clamp(100px, 16vw, 220px) var(--gutter) clamp(80px, 12vw, 160px); max-width: 1400px; margin: 0 auto; }
.intro__text { margin: 0; font: 400 clamp(30px, 4.6vw, 66px)/1.15 var(--display); letter-spacing: -.035em; }
.intro__text .w { opacity: .14; transition: opacity .5s; }
.intro__text .w.is-on { opacity: 1; }

/* ---------- categories ---------- */
.cats { padding: clamp(100px, 14vw, 200px) 0 clamp(60px, 8vw, 120px); }
.cats__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 1.4vw, 22px); padding: 0 var(--gutter); perspective: 1400px; }
.cat { position: relative; aspect-ratio: 3/4.6; border-radius: 14px; overflow: hidden; transform-style: preserve-3d; transition: transform .7s var(--ease); background: var(--bg-2); }
.cat:nth-child(even) { margin-top: 60px; }
.cat img { position: absolute; inset: -6%; width: 112%; height: 112%; max-width: none; object-fit: cover; transition: transform 1.2s var(--ease), filter .8s; filter: saturate(.85) brightness(.82); }
.cat:hover img { transform: scale(1.06); filter: saturate(1.05) brightness(.95); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75), transparent 55%); }
.cat__glare { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.22), transparent 45%); opacity: 0; transition: opacity .4s; mix-blend-mode: overlay; }
.cat:hover .cat__glare { opacity: 1; }
.cat__body { position: absolute; z-index: 3; left: 22px; right: 22px; bottom: 22px; transform: translateZ(60px); }
.cat__num { font-size: 11px; letter-spacing: .25em; color: var(--accent); }
.cat__title { margin: 6px 0 4px; letter-spacing: -.03em; font: 400 clamp(26px, 2.4vw, 38px)/1 var(--display); }
.cat__desc { font-size: 13px; color: rgba(241,236,228,.7); margin: 0; }
@media (max-width: 1000px) {
  .cats__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(64vw, 300px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; scrollbar-width: none; }
  .cats__grid::-webkit-scrollbar { display: none; }
  .cat { scroll-snap-align: center; }
  .cat:nth-child(even) { margin-top: 0; }
}

/* ---------- gallery ---------- */
.gallery { padding: clamp(100px, 14vw, 200px) 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { padding: 10px 18px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; letter-spacing: .04em; color: var(--muted); transition: all .35s var(--ease); }
.filter sup { font-size: 10px; margin-left: 3px; color: var(--accent); }
.filter:hover { color: var(--fg); border-color: rgba(241,236,228,.35); }
.filter.is-active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.gallery__grid { columns: 4 300px; column-gap: clamp(10px, 1.2vw, 18px); padding: 0 var(--gutter); }
.tile { display: block; break-inside: avoid; margin: 0 0 clamp(10px, 1.2vw, 18px); position: relative; border-radius: 10px; overflow: hidden; cursor: pointer; transform: translateY(60px) scale(.96); opacity: 0; transition: transform 1.1s var(--ease), opacity 1.1s var(--ease); }
.tile.is-in { transform: none; opacity: 1; }
.tile.is-hidden { display: none; }
.tile img { width: 100%; height: auto; transition: transform 1.2s var(--ease), filter .6s; }
.tile:hover img { transform: scale(1.05); }
.tile__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(to top, rgba(0,0,0,.7), transparent); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; transform: translateY(100%); transition: transform .6s var(--ease); }
.tile:hover .tile__cap, .tile:focus-visible .tile__cap { transform: none; }
.tile__cap b { font: 400 19px var(--display); }
.tile__cap span { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 700px) { .gallery__grid { columns: 2; } .tile__cap { display: none; } }
.tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- wildhund ---------- */
.wildhund { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.wildhund__bg { position: absolute; inset: -15% 0; }
.wildhund__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.wildhund::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(12,11,10,.92) 0%, rgba(12,11,10,.55) 45%, rgba(12,11,10,.1) 100%); }
.wildhund__content { position: relative; z-index: 2; max-width: 640px; padding: 120px var(--gutter); }
.wildhund__content p:not(.eyebrow) { color: rgba(241,236,228,.78); margin: 28px 0 36px; max-width: 460px; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; padding: clamp(110px, 16vw, 220px) var(--gutter); max-width: 1500px; margin: 0 auto; }
.about__media { position: relative; aspect-ratio: 1/1.05; perspective: 1200px; }
.about__img { position: absolute; border-radius: 12px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,.5); transition: transform .8s var(--ease); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--a { left: 0; top: 0; width: 72%; height: 70%; }
.about__img--b { right: 0; bottom: 0; width: 48%; height: 58%; border: 6px solid var(--bg); }
.about__text p:not(.eyebrow) { color: rgba(241,236,228,.78); max-width: 520px; }
.about__text .h2 { margin-bottom: 32px; }
.about__links { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 36px; }
@media (max-width: 900px) { .about { grid-template-columns: none; } }

/* ---------- contact ---------- */
.contact { text-align: center; padding: clamp(110px, 14vw, 200px) var(--gutter); border-top: 1px solid var(--line); background: radial-gradient(ellipse at 50% 120%, rgba(124,179,66,.16), transparent 60%); }
.contact__title { margin: 0 0 48px; font: 500 clamp(48px, 9vw, 150px)/.92 var(--display); letter-spacing: -.055em; }
.contact__mail { display: inline-block; font: 300 clamp(22px, 3.4vw, 46px)/1.2 var(--display); padding: 18px 40px; border: 1px solid var(--line); border-radius: 99px; transition: background .4s, color .4s, border-color .4s; overflow-wrap: anywhere; }
.contact__mail:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.contact__note { color: var(--muted); margin-top: 26px; }

/* ---------- footer ---------- */
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding: 40px var(--gutter); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer__logo { height: 20px; width: auto; opacity: .8; }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer__links a:hover { color: var(--fg); }
.footer__copy { margin: 0; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 220; display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox__bg { position: absolute; inset: 0; background: rgba(8,7,6,.94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); opacity: 0; transition: opacity .5s; }
.lightbox.is-open .lightbox__bg { opacity: 1; }
.lightbox__figure { position: relative; margin: 0; max-width: 92vw; max-height: 86vh; opacity: 0; transform: scale(.94); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.lightbox.is-open .lightbox__figure { opacity: 1; transform: none; }
.lightbox__img { max-width: 92vw; max-height: 80vh; width: auto; height: auto; border-radius: 6px; box-shadow: 0 40px 120px rgba(0,0,0,.6); transition: opacity .3s; }
.lightbox__img.is-swapping { opacity: 0; }
.lightbox__cap { display: flex; justify-content: space-between; gap: 20px; margin-top: 16px; }
.lightbox__title { font: 400 22px var(--display); }
.lightbox__count { font-size: 12px; letter-spacing: .2em; color: var(--muted); font-variant-numeric: tabular-nums; }
.lightbox__btn { position: absolute; z-index: 2; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); font-size: 18px; transition: background .3s, color .3s; background: rgba(12,11,10,.4); }
.lightbox__btn:hover { background: var(--fg); color: var(--bg); }
.lightbox__close { top: 22px; right: 22px; }
.lightbox__prev { left: 22px; top: 50%; margin-top: -27px; }
.lightbox__next { right: 22px; top: 50%; margin-top: -27px; }
@media (max-width: 700px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; margin: 0; } }

/* ---------- legal page ---------- */
.legal { max-width: 780px; margin: 0 auto; padding: 160px var(--gutter) 100px; }
.legal h1 { font: 500 clamp(44px, 7vw, 88px)/1 var(--display); margin: 0 0 50px; }
.legal h2 { font: 300 32px/1.2 var(--display); margin: 64px 0 14px; scroll-margin-top: 100px; }
.legal h3 { font: 500 17px var(--sans); margin: 36px 0 8px; }
.legal p { color: rgba(241,236,228,.78); }
.legal a { color: var(--accent); }

/* ---------- blog ---------- */
.teaser { padding: 0 0 clamp(110px, 14vw, 200px); }
.blog { padding: clamp(130px, 16vw, 200px) 0 clamp(80px, 10vw, 140px); min-height: 80vh; }
.blog .h2 { font-size: clamp(40px, 6vw, 88px); }
.blog__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px); padding: 0 var(--gutter); }
.post-card { display: block; }
.post-card[hidden] { display: none; }
.post-card__img { aspect-ratio: 3/2; border-radius: 10px; overflow: hidden; background: var(--bg-2); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.9); }
.post-card:hover .post-card__img img { transform: scale(1.05); filter: saturate(1.05); }
.post-card__meta { display: flex; gap: 14px; margin: 18px 0 8px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.post-card__cat { color: var(--accent); }
.post-card__title { margin: 0 0 8px; font: 500 clamp(21px, 1.8vw, 26px)/1.2 var(--display); letter-spacing: -.02em; transition: color .3s; }
.post-card:hover .post-card__title { color: var(--accent); }
.post-card__excerpt { margin: 0; font-size: 15px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.post__hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; overflow: hidden; }
.post__hero-img { position: absolute; inset: 0; }
.post__hero-img img { width: 100%; height: 100%; object-fit: cover; }
.post__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 4%, rgba(12,11,10,.55) 45%, rgba(12,11,10,.35)); }
.post__hero-text { position: relative; z-index: 1; width: 100%; max-width: 980px; margin: 0 auto; padding: 140px var(--gutter) 56px; }
.post__back { display: inline-block; font-size: 13px; color: var(--muted); margin-bottom: 26px; transition: color .3s; }
.post__back:hover { color: var(--accent); }
.post__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(241,236,228,.7); margin-bottom: 18px; }
.post__cat { color: var(--accent); }
.post__title { margin: 0; font: 500 clamp(36px, 5.6vw, 76px)/1.02 var(--display); letter-spacing: -.045em; overflow-wrap: anywhere; }
.post__body { max-width: 720px; margin: 0 auto; padding: 40px var(--gutter) 40px; font-size: 18px; line-height: 1.75; color: rgba(241,236,228,.86); }
.post__body > :first-child { margin-top: 0; }
.post__body h2, .post__body h3, .post__body h4 { font-family: var(--display); font-weight: 500; letter-spacing: -.025em; line-height: 1.2; color: var(--fg); margin: 2em 0 .6em; }
.post__body h2 { font-size: 32px; } .post__body h3 { font-size: 25px; } .post__body h4 { font-size: 20px; }
.post__body em, .post__body i { font-style: italic; color: inherit; }
.post__body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.post__body img { width: 100%; height: auto; border-radius: 8px; margin: 2em 0 .5em; }
.post__body figure { margin: 2em 0; }
.post__body figcaption { font-size: 14px; color: var(--muted); }
.post__body blockquote { margin: 2em 0; padding-left: 24px; border-left: 2px solid var(--accent); font-size: 21px; color: var(--fg); }
.post__body pre { white-space: pre-wrap; font: inherit; margin: .6em 0; }
.post__body ul, .post__body ol { padding-left: 1.3em; }
.post__body li { margin: .35em 0; }
.post__file { display: inline-block; padding: 12px 22px; border: 1px solid var(--accent); border-radius: 99px; text-decoration: none !important; }
.post__pager { max-width: 980px; margin: 40px auto 0; padding: 40px var(--gutter) 100px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.post__pager a { font: 500 19px/1.3 var(--display); letter-spacing: -.02em; transition: color .3s; }
.post__pager a:hover { color: var(--accent); }
.post__pager small { display: block; font: 400 11px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.post__pager-next { text-align: right; }
@media (max-width: 600px) { .post__pager { grid-template-columns: none; } .post__pager-next { text-align: left; } }

.notfound { min-height: 100vh; display: grid; place-content: center; text-align: center; padding: 0 var(--gutter); }
.notfound h1 { font: 500 clamp(80px, 18vw, 220px)/1 var(--display); letter-spacing: -.06em; margin: 0; color: var(--accent); }
.notfound p { color: var(--muted); margin: 10px 0 36px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01s !important; }
  html { scroll-behavior: auto; }
  .reveal, .tile { opacity: 1; transform: none; }
}
