/* GENERATED FILE — do not edit. Edit src/styles/, then: node tools/build.mjs */
/* =====================================================
   VISIO MORLACCA — stylesheet
   Brand palette from BRAND KIT.png (exact hex preserved)
   Typography: Forum (display), Biro Script Plus (script),
               Tenor Sans (body), JetBrains Mono (mono)
   All fonts self-hosted from assets/fonts/ (woff2).
   ===================================================== */

:root {
  /* Brand kit — exact hex */
  --olive-deep: #1d1a0c;
  --olive-black: #2a2510;
  --olive-dark: #403716;     /* brand #1 */
  --olive: #595818;          /* brand #2 */
  --olive-mid: #6b6a23;
  --olive-light: #816b39;    /* brand #3 warm tan */
  --gold: #d1b45c;           /* brand #4 */
  --gold-soft: #e6c78c;      /* brand #5 */
  --gold-pale: #efdfb5;

  --cream: #f4ecd8;
  --cream-paper: #e9dfc1;
  --cream-warm: #e6ddc3;
  --ink: #1a1708;
  --ink-soft: #3d3a28;
  --stone: #8a8268;

  --font-display: "Forum", serif;
  --font-script: "Biro Script Plus", serif;
  --font-body: "Tenor Sans", "Helvetica Neue", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --wrap-max: 1400px;
  --pad-x: 56px;
  --pad-x-sm: 28px;

  /* One easing voice for every hover / micro-motion on the site */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

@font-face {
  font-family: "Forum";
  src: url("assets/fonts/forum-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Tenor Sans";
  src: url("assets/fonts/tenor-sans-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/jetbrains-mono-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Biro Script Plus";
  src: url("assets/fonts/biro-script.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: var(--gold); color: var(--olive-deep); }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* clip (not hidden) kills sideways scroll at the viewport without creating
     a scroll container — body's overflow-x:hidden alone is ignored by mobile
     Safari when transformed elements poke past the edge */
  overflow-x: clip;
}
html.menu-open { overflow: hidden; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* NO overflow on body: html's overflow-x clip guards the viewport, and a
     non-visible overflow here would make body a (non-scrolling) scroll
     container, silently killing every position: sticky on the page */
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

/* ============ TYPOGRAPHY TOKENS ============ */
.display, h1, h2, h3, h4, .section-title {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 1.04;
  font-feature-settings: "liga", "calt";
}

.accent, .italic, .script {
  font-family: var(--font-script);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--olive-light);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  line-height: 1;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
  flex-shrink: 0;
}
.eyebrow-gold { color: var(--gold); }
.eyebrow-olive { color: var(--olive); }

/* Lift eyebrow contrast on all olive / dark backgrounds */
.section-olive .eyebrow:not(.eyebrow-gold):not(.eyebrow-olive),
.section-dark-olive .eyebrow:not(.eyebrow-gold):not(.eyebrow-olive),
.section-mid-olive .eyebrow:not(.eyebrow-gold):not(.eyebrow-olive),
.section-olive-deep .eyebrow:not(.eyebrow-gold):not(.eyebrow-olive),
.hero .eyebrow:not(.eyebrow-gold):not(.eyebrow-olive) {
  color: var(--gold-soft);
}

/* Force Tenor Sans to request Latin-Extended subset so ČĆĐŠŽ render in uppercase */
.force-lat-ext { unicode-bidi: isolate; }

.caption {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
}
.caption-gold { color: var(--gold-soft); }

/* ============ LAYOUT ============ */
.wrap {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

section { position: relative; }

.section {
  padding: 120px 0;
  position: relative;
}
.section-cream { background: var(--cream); color: var(--ink); }
.section-paper {
  background: var(--cream-paper);
  color: var(--ink);
}
.section-olive {
  background: var(--olive);
  color: var(--cream);
}
.section-dark-olive {
  background: var(--olive-dark);
  color: var(--cream);
}
.section-mid-olive {
  background: var(--olive-mid);
  color: var(--cream);
}
.section-olive-deep {
  background: var(--olive-black);
  color: var(--cream);
}

/* Ornamental textile patterns — one weave family, a different motif per band.
   Dark surfaces only; light sections stay bare paper. */
.section-olive::before,
.section-dark-olive::before,
.section-mid-olive::before,
.section-olive-deep::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'><g fill='none' stroke='%23d1b45c' stroke-width='0.7'><path d='M36 10 L46 20 L36 30 L26 20 Z'/><path d='M36 14 L42 20 L36 26 L30 20 Z'/><path d='M10 46 L18 54 L10 62 L2 54 Z'/><path d='M62 46 L70 54 L62 62 L54 54 Z'/><circle cx='36' cy='56' r='0.9' fill='%23d1b45c' stroke='none'/><circle cx='0' cy='20' r='0.9' fill='%23d1b45c' stroke='none'/><circle cx='72' cy='20' r='0.9' fill='%23d1b45c' stroke='none'/></g></svg>");
  background-size: 108px 108px;
  opacity: 0.13;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,1) 25%, rgba(0,0,0,1) 75%, rgba(0,0,0,0.55) 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,1) 25%, rgba(0,0,0,1) 75%, rgba(0,0,0,0.55) 100%);
}
/* Usluge band — zigzag weave (cik-cak) */
.section-olive::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'><g fill='none' stroke='%23d1b45c' stroke-width='0.7'><path d='M0 18 L12 8 L24 18 L36 8 L48 18 L60 8 L72 18 L84 8 L96 18'/><path d='M0 25 L12 15 L24 25 L36 15 L48 25 L60 15 L72 25 L84 15 L96 25'/><path d='M48 56 L55 63 L48 70 L41 63 Z'/><circle cx='12' cy='63' r='0.9' fill='%23d1b45c' stroke='none'/><circle cx='84' cy='63' r='0.9' fill='%23d1b45c' stroke='none'/></g></svg>");
  background-size: 96px 96px;
}
/* Etno band — cross-stitch diamonds */
.section-dark-olive::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='104' height='104' viewBox='0 0 104 104'><g fill='none' stroke='%23d1b45c' stroke-width='0.7'><path d='M52 32 L72 52 L52 72 L32 52 Z'/><path d='M46 46 L58 58 M58 46 L46 58'/><path d='M-5 -5 L5 5 M5 -5 L-5 5'/><path d='M99 -5 L109 5 M109 -5 L99 5'/><path d='M-5 99 L5 109 M5 99 L-5 109'/><path d='M99 99 L109 109 M109 99 L99 109'/></g></svg>");
  background-size: 104px 104px;
}
/* Kontakt + page heroes — eight-pointed star (Dinaric weave) */
.section-olive-deep::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='112' height='112' viewBox='0 0 112 112'><g fill='none' stroke='%23d1b45c' stroke-width='0.7'><path d='M38 38 H74 V74 H38 Z'/><path d='M56 30.5 L81.5 56 L56 81.5 L30.5 56 Z'/><circle cx='56' cy='56' r='1' fill='%23d1b45c' stroke='none'/><circle cx='56' cy='0' r='0.9' fill='%23d1b45c' stroke='none'/><circle cx='56' cy='112' r='0.9' fill='%23d1b45c' stroke='none'/><circle cx='0' cy='56' r='0.9' fill='%23d1b45c' stroke='none'/><circle cx='112' cy='56' r='0.9' fill='%23d1b45c' stroke='none'/></g></svg>");
  background-size: 112px 112px;
}
.section > .wrap { position: relative; z-index: 2; }

/* ============ SECTION HEAD ============ */
.section-head {
  --eyebrow-offset: 40px; /* height of eyebrow + its margin-bottom — used to align intro with headline top */
  margin-bottom: 88px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: start;
}
.section-head-left { display: block; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.2vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.section-title .accent {
  color: var(--gold);
}
/* Controlled two-line break: each span is its own line (e.g. USLUGE:
   "Ne kopiram trendove." / "Gradim identitet."). Capped lower than the
   base title so the longest line always fits the column unwrapped. */
.section-title-stack { font-size: clamp(38px, 4.4vw, 72px); }
.section-title-stack > span {
  display: block;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .section-title-stack > span { white-space: normal; }
}
.section-cream .section-title .accent,
.section-paper .section-title .accent {
  color: var(--olive);
}
.section-intro {
  font-size: 15.5px;
  line-height: 1.75;
  max-width: 440px;
  color: var(--ink-soft);
  justify-self: end;
  margin-top: var(--eyebrow-offset);
}
.section-olive .section-intro,
.section-dark-olive .section-intro,
.section-mid-olive .section-intro,
.section-olive-deep .section-intro {
  color: rgba(244, 236, 216, 0.78);
}

.section-head-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-end;
  margin-top: var(--eyebrow-offset);
}
.section-head-right .section-intro {
  margin-top: 0;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 18px 32px;
  transition: background 250ms ease, border-color 250ms ease, color 250ms ease,
              transform 250ms var(--ease-out), box-shadow 250ms ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:active { transform: translateY(0) scale(0.98); }
.btn .arr {
  font-family: var(--font-body);
  font-size: 14px;
  transition: transform 350ms var(--ease-out);
}
.btn:hover .arr { transform: translateX(5px); }

.btn-gold {
  background: var(--gold);
  color: var(--olive-black);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(209, 180, 92, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(244, 236, 216, 0.35);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline-olive {
  background: transparent;
  color: var(--olive);
  border: 1px solid rgba(89, 88, 24, 0.35);
}
.btn-outline-olive:hover {
  border-color: var(--olive);
  background: var(--olive);
  color: var(--cream);
}

.btn-dark {
  background: var(--olive-black);
  color: var(--cream);
}
.btn-dark:hover {
  background: var(--olive-dark);
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 420ms ease, padding 280ms ease, backdrop-filter 420ms ease, border-color 420ms ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(29, 26, 12, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px var(--pad-x);
  border-bottom-color: rgba(209, 180, 92, 0.18);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--cream);
}
.nav-logo-mark {
  height: 68px;
  width: 170px;
  display: inline-block;
  position: relative;
  overflow: hidden;
}
.nav-logo-mark img {
  position: absolute;
  height: 260px;
  width: 260px;
  max-width: none;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: transform 300ms ease, height 300ms ease, width 300ms ease;
}
.nav.scrolled .nav-logo-mark {
  height: 52px;
  width: 130px;
}
.nav.scrolled .nav-logo-mark img {
  height: 200px;
  width: 200px;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 4px;
  white-space: nowrap;
}
.nav-logo-name {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.28em;
  color: var(--cream);
}
.nav-logo-sub {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--gold-soft);
}

.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
}
.nav-link {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  position: relative;
  padding: 4px 0;
  opacity: 0.82;
  transition: opacity 200ms ease, color 200ms ease;
  white-space: nowrap;
}
.nav-link:hover { opacity: 1; color: var(--gold-soft); }
.nav-link.active {
  color: var(--gold);
  opacity: 1;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -6px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 380ms var(--ease-out);
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link-cta {
  color: var(--gold) !important;
  opacity: 1;
}

/* Tours dropdown — opens on hover/focus under "Više od razglednice".
   Dark panel in the nav's scrolled language; bridge pseudo-element keeps
   the hover alive across the gap between link and panel. */
.nav-item { position: relative; }
.nav-item::after {
  content: "";
  position: absolute;
  left: -16px; right: -16px;
  top: 100%;
  height: 22px;
}
.nav-drop {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 270px;
  padding: 10px 0;
  background: rgba(29, 26, 12, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(209, 180, 92, 0.22);
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms ease, transform 380ms var(--ease-out), visibility 0s linear 260ms;
}
.nav-item:hover .nav-drop,
.nav-item:focus-within .nav-drop {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity 260ms ease, transform 380ms var(--ease-out);
}
.nav-drop-link {
  display: block;
  padding: 13px 26px;
  transition: background 200ms ease;
}
.nav-drop-link:hover { background: rgba(209, 180, 92, 0.08); }
.nav-drop-place {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--cream);
  transition: color 200ms ease;
}
.nav-drop-link:hover .nav-drop-place { color: var(--gold-soft); }
.nav-drop-sub {
  display: block;
  margin-top: 3px;
  font-family: var(--font-script);
  font-style: italic;
  font-size: 14px;
  color: rgba(209, 180, 92, 0.75);
}
.nav-drop-all {
  display: block;
  margin: 8px 26px 6px;
  padding: 12px 0 2px;
  border-top: 1px solid rgba(209, 180, 92, 0.22);
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color 200ms ease;
}
.nav-drop-all:hover { color: var(--gold-soft); }

.nav-lang {
  display: inline-flex;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--cream);
  border-left: 1px solid rgba(236, 236, 202, 0.22);
  padding-left: 22px;
  margin-left: 4px;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  opacity: 0.5;
  padding: 2px 4px;
  transition: opacity .2s;
}
.lang-btn:hover { opacity: 0.85; }
.lang-btn.on { opacity: 1; color: var(--gold); }
.lang-flag {
  width: 17px;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1px;
  outline: 1px solid rgba(244, 236, 216, 0.28);
  display: block;
  filter: saturate(0.85);
}
.lang-sep { opacity: 0.45; }

.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 110;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  transition: transform .3s, opacity .3s;
}
html.menu-open .nav-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
html.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
html.menu-open .nav-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  background: var(--olive-deep);
  color: var(--cream);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0;
  opacity: 0.36;
  filter: saturate(0.8) contrast(1.05);
  z-index: 0;
  transform: scale(1.06);
  animation: heroFloat 24s ease-in-out infinite alternate;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
@keyframes heroFloat {
  0%   { transform: scale(1.06) translate3d(0, 0, 0); }
  100% { transform: scale(1.12) translate3d(-1.5%, -1.5%, 0); }
}
.hero-vignette {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 68% 45%, rgba(29, 26, 12, 0.1) 0%, rgba(29, 26, 12, 0.55) 50%, rgba(29, 26, 12, 0.96) 95%),
    linear-gradient(180deg, rgba(29, 26, 12, 0.45) 0%, transparent 30%, rgba(29, 26, 12, 0.75) 100%);
}
.hero-grain {
  position: absolute; inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='180' height='180' filter='url(%23n)' opacity='0.55'/></svg>");
  opacity: 0.12;
  mix-blend-mode: overlay;
}
.hero-pattern {
  position: absolute; inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><g fill='none' stroke='%23d1b45c' stroke-width='0.65'><path d='M40 10L50 20L40 30L30 20Z'/><path d='M40 15L45 20L40 25L35 20Z'/><path d='M10 50L18 58L10 66L2 58Z'/><path d='M70 50L78 58L70 66L62 58Z'/></g></svg>");
  background-size: 96px 96px;
  opacity: 0.07;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0.3) 100%);
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 180px var(--pad-x) 160px;
  max-width: var(--wrap-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-main {
  max-width: 720px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.4vw, 88px);
  line-height: 1.03;
  letter-spacing: -0.022em;
  color: var(--cream);
  margin-bottom: 38px;
  text-wrap: balance;
}
.hero-title .hero-line-1,
.hero-title .hero-line-2 {
  display: block;
}
.hero-title .hero-accent {
  display: inline-block;
  font-family: var(--font-script);
  font-style: italic;
  color: var(--gold);
  font-size: 1.1em;
  line-height: 0.9;
  margin-left: 0.04em;
  letter-spacing: -0.03em;
  transform: translateY(0.08em);
}
.hero-sub {
  max-width: 520px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(244, 236, 216, 0.82);
  margin-bottom: 44px;
}
.hero-ctas {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

/* Hero collage (3 photos, layered) */
.hero-collage {
  position: relative;
  height: 600px;
  min-width: 380px;
}
.hero-photo {
  position: absolute;
  filter: saturate(0.92) contrast(1.02);
  border: 1px solid rgba(209, 180, 92, 0.28);
  overflow: hidden;
  transition: transform 600ms cubic-bezier(.2,.7,.3,1);
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(209, 180, 92, 0.18);
  pointer-events: none;
}
.hero-photo-cap {
  position: absolute;
  bottom: 12px;
  left: 14px;
  padding: 6px 10px;
  background: rgba(29, 26, 12, 0.72);
  backdrop-filter: blur(6px);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
/* Resting layout = the fan: centre print forward, sides peeking from
   behind at +/-5deg. Positions are laid out with left/top (no positional
   transforms) so the hover staging can own `transform` entirely. */
.hero-photo.hp-1 {
  top: calc(50% - 195px);
  left: calc(50% - 145px);
  width: 290px; height: 390px;
  z-index: 3;
}
.hero-photo.hp-1 img { object-position: center 42%; }
.hero-photo.hp-2 {
  top: calc(50% - 134px); right: 0;
  width: 225px; height: 300px;
  z-index: 2;
  transform: rotate(5deg);
}
.hero-photo.hp-2 img { object-position: center 30%; }
.hero-photo.hp-3 {
  top: calc(50% - 129px); left: 0;
  width: 225px; height: 290px;
  z-index: 1;
  transform: rotate(-5deg);
}
.hero-photo.hp-3 img { object-position: center 55%; }
/* Hover: the centre print simply grows. A side print slides OUTWARD from
   behind it — enlarged and straightened, ~85–90% revealed — and never
   rises above the centre; unhovering slides it back under the same way.
   The centre print dodges a little the other way to help the reveal —
   crucial for the right card, which is hemmed in by the viewport edge. */
@media (hover: hover) {
  .hero-photo.hp-1:hover { transform: scale(1.07); }
  .hero-photo.hp-2:hover { transform: translate(68px, -4px) rotate(1.5deg) scale(1.12); }
  .hero-photo.hp-3:hover { transform: translate(-106px, -4px) rotate(-1.5deg) scale(1.12); }
  .hero-collage:has(.hp-2:hover) .hero-photo.hp-1 { transform: translateX(-46px); }
  .hero-collage:has(.hp-3:hover) .hero-photo.hp-1 { transform: translateX(30px); }
}

.hero-meta {
  position: absolute;
  left: var(--pad-x);
  right: var(--pad-x);
  bottom: 32px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  color: var(--cream);
  padding-top: 22px;
  border-top: 1px solid rgba(209, 180, 92, 0.18);
}
.hero-meta-item {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(244, 236, 216, 0.55);
}
.hero-scroll {
  display: inline-flex;
  align-items: center;
  color: var(--gold-soft);
}
.scroll-glyph {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1;
  animation: scrollDrift 2.8s ease-in-out infinite;
}
@keyframes scrollDrift {
  0%, 100% { transform: translateY(-3px); opacity: 0.35; }
  50%      { transform: translateY(3px);  opacity: 1; }
}

/* ============ MARQUEE BAND ============ */
/* Seamless loop: the track holds two identical segments and travels exactly
   one segment width (-50%). Each segment carries its own trailing gap
   (padding-right = internal gap) so the seam spacing matches the rhythm. */
.marquee-band {
  background: var(--olive-dark);
  color: var(--gold-soft);
  border-top: 1px solid rgba(209, 180, 92, 0.2);
  border-bottom: 1px solid rgba(209, 180, 92, 0.2);
  padding: 24px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 5;
}
.marquee-band-footer {
  border-top: 1px solid rgba(209, 180, 92, 0.15);
  border-bottom: 1px solid rgba(209, 180, 92, 0.15);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 80s linear infinite;
  will-change: transform;
}
.marquee-track.marquee-reverse { animation-direction: reverse; }
.marquee-seg {
  display: inline-flex;
  align-items: baseline;
  gap: 34px;
  padding-right: 34px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.08em;
}
.marquee-seg .dot { color: var(--gold); opacity: 0.7; align-self: center; font-size: 16px; }
.marquee-seg .it {
  font-family: var(--font-script);
  font-style: italic;
  color: var(--gold);
  font-size: 28px;
  letter-spacing: 0.02em;
}
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
/* ============ ORNAMENT DIVIDER ============ */
.ornament-divider {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 22px;
  width: 240px;
  color: var(--gold);
  pointer-events: none;
}
.ornament-divider .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  opacity: 0.45;
}
.ornament-divider svg { flex-shrink: 0; opacity: 0.85; }

/* ============ O MENI ============ */
.about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 84px;
  align-items: start;
}
.about-left {
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.about-portrait {
  position: relative;
  aspect-ratio: 5 / 4;
  width: 100%;
  background: var(--cream-warm);
  overflow: hidden;
}
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* focal point low in the frame = the subject fills it, the street above
     recedes (45% left a third of the crop as empty headroom) */
  object-position: center 62%;
  filter: saturate(0.95) contrast(1.03);
  transition: transform 900ms var(--ease-out);
}
.about-portrait:hover img { transform: scale(1.03); }
.about-portrait-frame {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(209, 180, 92, 0.5);
  pointer-events: none;
}
.about-portrait-cap {
  position: absolute;
  left: 28px;
  bottom: 26px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(29, 26, 12, 0.72);
  backdrop-filter: blur(6px);
  padding: 7px 12px;
}

.script-quote {
  font-family: var(--font-script);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 32px);
  color: var(--olive);
  line-height: 1.3;
  max-width: 540px;
  position: relative;
  padding: 4px 0;
}
.script-mark {
  color: var(--gold);
  font-size: 1.15em;
  line-height: 0.5;
  display: inline;
}

.about-copy p {
  font-size: 15.5px;
  line-height: 1.78;
  margin-bottom: 16px;
  color: var(--ink-soft);
  max-width: 580px;
}
.about-copy p:last-child { margin-bottom: 0; }
.about-copy-emph {
  font-family: var(--font-display);
  font-size: 20px !important;
  line-height: 1.4 !important;
  color: var(--olive) !important;
  padding-top: 4px;
  margin-top: 6px;
  border-top: 1px solid rgba(129, 107, 57, 0.3);
  letter-spacing: -0.01em;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 36px;
  border-top: 1px solid rgba(129, 107, 57, 0.28);
}
.about-stat .n {
  font-family: var(--font-display);
  font-size: 46px;
  color: var(--olive);
  line-height: 1;
  letter-spacing: -0.025em;
}
.about-stat .n-tiny {
  font-size: 0.5em;
  color: var(--gold);
  vertical-align: 0.6em;
  font-family: var(--font-body);
}
.about-stat .l {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 12px;
}

.about-right {
  position: sticky;
  top: 140px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.about-right > .btn { align-self: flex-start; }
.about-right-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(129, 107, 57, 0.28);
  color: var(--olive);
}
.about-right-head .eyebrow { margin-bottom: 6px; }
.about-cards-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.about-cards-title .accent {
  font-family: var(--font-script);
  font-style: italic;
  color: var(--olive);
  display: block;
}
.ornament-glyph { flex-shrink: 0; margin-top: 4px; }

.value-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.value-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(129, 107, 57, 0.22);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  column-gap: 20px;
  row-gap: 6px;
  transition: border-color 320ms ease, transform 420ms var(--ease-out), background 320ms ease, box-shadow 420ms ease;
}
.value-card > .value-card-num { grid-column: 1; grid-row: 1 / span 2; }
.value-card > h4 { grid-column: 2; grid-row: 1; }
.value-card > p { grid-column: 2; grid-row: 2; }
.value-card:hover {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.82);
  transform: translateX(4px);
  box-shadow: 0 14px 32px rgba(129, 107, 57, 0.08);
}
.value-card-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold);
  padding-top: 6px;
}
.value-card h4 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--olive);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
  font-weight: 400;
}
.value-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ============ USLUGE ============ */
.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(236, 217, 168, 0.18);
}
.service-row {
  display: grid;
  grid-template-columns: 72px minmax(220px, 1fr) minmax(260px, 1.3fr) 320px 36px;
  gap: 36px;
  padding: 46px 0;
  align-items: center;
  border-bottom: 1px solid rgba(236, 217, 168, 0.18);
  cursor: pointer;
  transition: background 320ms ease;
  position: relative;
}
/* Hover slide rides on transform (GPU), not padding (layout) — no jump */
.service-row > * { transition: transform 520ms var(--ease-out); }
.service-row:hover > * { transform: translateX(16px); }
/* Glow bleed stays inside --pad-x (20px min, the ≤600px value) — at -10%
   it widened the document and caused horizontal scroll on phones */
.service-row::before {
  content: "";
  position: absolute;
  left: -18px;
  right: -18px;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(209, 180, 92, 0.06), transparent);
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}
.service-row:hover::before { opacity: 1; }
.service-row:hover .service-title { color: var(--gold); }
.service-row:hover .service-arrow { transform: translateX(30px); color: var(--gold); }

.service-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--gold);
  position: relative;
  z-index: 1;
}
.service-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.05;
  color: var(--cream);
  /* transform must ride along — declaring only color here would override
     the .service-row > * transition and make the title snap on hover */
  transition: color 280ms ease, transform 520ms var(--ease-out);
  position: relative;
  z-index: 1;
  letter-spacing: -0.01em;
}
.service-title .italic {
  font-family: var(--font-script);
  font-style: italic;
  color: var(--gold-soft);
  margin-left: 0.1em;
}
.service-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(244, 236, 216, 0.84);
  max-width: 540px;
  position: relative;
  z-index: 1;
}
.service-tags {
  display: flex;
  flex-wrap: nowrap;
  gap: 9px;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
}
.service-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(230, 199, 140, 0.9);
  white-space: nowrap;
  flex: 0 0 auto;
}
.service-tag:not(:first-child)::before {
  content: "·";
  margin-right: 9px;
  color: rgba(209, 180, 92, 0.55);
}
.service-arrow {
  font-family: var(--font-display);
  font-size: 24px;
  color: rgba(244, 236, 216, 0.45);
  transition: transform 520ms var(--ease-out), color 280ms ease;
  position: relative;
  z-index: 1;
  justify-self: end;
}

.services-cta {
  margin-top: 44px;
  display: flex;
  justify-content: flex-end;
}

.services-foot {
  margin-top: 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 48px 56px;
  background: rgba(209, 180, 92, 0.06);
  border: 1px solid rgba(209, 180, 92, 0.2);
  position: relative;
}
.services-foot-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.18;
  color: var(--cream);
  margin: 12px 0 18px;
  letter-spacing: -0.015em;
}
.services-foot-title .accent {
  font-family: var(--font-script);
  font-style: italic;
  color: var(--gold);
  display: block;
}
.services-foot-copy p {
  color: rgba(244, 236, 216, 0.78);
  font-size: 14px;
  line-height: 1.7;
}
.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.result-metric .n {
  font-family: var(--font-display);
  font-size: clamp(52px, 5vw, 68px);
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.025em;
}
.result-metric .l {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 236, 216, 0.72);
  margin-top: 12px;
  line-height: 1.5;
}
.result-metric .client {
  font-family: var(--font-script);
  font-style: italic;
  color: var(--gold-soft);
  font-size: 16px;
  margin-top: 10px;
}

/* ============ PROJEKTI ============ */
.project-filters {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.project-filter {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 11px 18px;
  border: 1px solid rgba(129, 107, 57, 0.28);
  background: transparent;
  color: var(--olive);
  cursor: pointer;
  transition: all 220ms ease;
}
.project-filter:hover { border-color: var(--olive); color: var(--ink); }
.project-filter.on {
  background: var(--olive);
  color: var(--cream);
  border-color: var(--olive);
}

/* Homepage journal header: filters become a vertical index that fills the
   empty right column — text rows with hairlines instead of boxed chips. */
.section-head-filters .section-head-right {
  align-items: stretch;
  justify-self: end;
  width: min(300px, 100%);
}
.section-head-filters .project-filters {
  flex-direction: column;
  gap: 0;
  width: 100%;
  border-top: 1px solid rgba(129, 107, 57, 0.28);
}
.section-head-filters .project-filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  padding: 16px 2px;
  border: 0;
  border-bottom: 1px solid rgba(129, 107, 57, 0.28);
  background: transparent;
  color: var(--olive);
  transition: color 260ms ease;
}
.section-head-filters .project-filter::after {
  content: "→";
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out);
}
.section-head-filters .project-filter:hover { color: var(--ink); }
.section-head-filters .project-filter:hover::after { opacity: 0.55; transform: translateX(0); }
.section-head-filters .project-filter.on {
  background: transparent;
  color: var(--ink);
}
.section-head-filters .project-filter.on::after { opacity: 1; transform: translateX(0); }

@media (max-width: 900px) {
  /* Stacked layout: back to compact chips so the header stays short */
  .section-head-filters .section-head-right { width: 100%; justify-self: start; }
  .section-head-filters .project-filters { flex-direction: row; flex-wrap: wrap; gap: 4px; border-top: 0; }
  .section-head-filters .project-filter {
    border: 1px solid rgba(129, 107, 57, 0.28);
    padding: 11px 18px;
  }
  .section-head-filters .project-filter::after { display: none; }
  .section-head-filters .project-filter.on {
    background: var(--olive);
    color: var(--cream);
    border-color: var(--olive);
  }
}

.projekti-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 160px;
  gap: 14px;
}
.project-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 480ms var(--ease-out), opacity 280ms ease;
  color: var(--cream);
  isolation: isolate;
  opacity: 1;
}
.project-card.is-hidden {
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
  grid-column: span 0 !important;
  grid-row: span 0 !important;
  width: 0;
  height: 0;
  overflow: hidden;
  border: 0;
  padding: 0;
  display: none;
}
.project-card-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: transform 800ms cubic-bezier(.2,.7,.3,1);
  filter: saturate(0.9) contrast(1.02);
}
.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.project-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29,26,12,0.35) 0%, rgba(29,26,12,0.82) 100%);
  z-index: 1;
}
.project-card-inner {
  position: relative;
  z-index: 2;
  padding: 26px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}
.project-card:hover .project-card-media { transform: scale(1.06); }
.project-card:hover { transform: translateY(-4px); }

.project-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.project-cat {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.project-mark {
  color: rgba(209, 180, 92, 0.55);
  font-size: 14px;
}
.project-card-mid h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 6px;
  font-weight: 400;
}
.project-sub {
  font-family: var(--font-script);
  font-style: italic;
  font-size: 18px;
  color: var(--gold-soft);
  line-height: 1.3;
}
.project-card-bot p {
  font-size: 13px;
  line-height: 1.58;
  color: rgba(244, 236, 216, 0.75);
  margin-bottom: 12px;
}
.project-kpi {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 10px;
  border-top: 1px solid rgba(209, 180, 92, 0.3);
}

/* Bento placements */
.project-card.p1 { grid-column: span 4; grid-row: span 3; }
.project-card.p2 { grid-column: span 2; grid-row: span 2; }

.project-card.p3 { grid-column: span 2; grid-row: span 3; }
.project-card.p4 { grid-column: span 4; grid-row: span 2; }
.project-card.p5 { grid-column: span 3; grid-row: span 2; }
.project-card.p6 { grid-column: span 3; grid-row: span 2; }

.projekti-foot {
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(129, 107, 57, 0.22);
  flex-wrap: wrap;
  gap: 20px;
}

/* Journal entries reuse the project-card visual in an equal-tile grid */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 460px;
  gap: 14px;
}
/* "Coming soon" state — homepage journal before the first post is published.
   The grid collapses to a single auto row so the lone line isn't 460px tall. */
.journal-empty .journal-grid {
  grid-auto-rows: auto;
}
.journal-empty #dnevnikFilters,
.journal-empty .projekti-foot {
  display: none;
}
.journal-soon {
  grid-column: 1 / -1;
  margin: 0;
  padding: 40px 0 12px;
  text-align: center;
  font-family: var(--font-script);
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.1;
  color: var(--olive);
}
/* Journal cards have no subtitle, so keep the category pinned top and group
   title + excerpt + read-time together at the bottom (no mid-card float). */
.journal-grid .project-card-inner { justify-content: flex-start; }
.journal-grid .project-card-mid { margin-top: auto; }
.journal-grid .project-card-mid h3 { margin-bottom: 0; }
/* Journal header: intro sits under the title (left), filters pin top-right.
   Override the base section-intro's justify-self:end — modern Chrome applies it
   to block-level boxes with a definite width, which would right-shift the intro. */
.section-head-filters .section-head-left .section-intro {
  margin-top: 26px;
  max-width: 540px;
  justify-self: start;
}
@media (max-width: 980px) {
  .journal-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 420px; }
}
@media (max-width: 640px) {
  .journal-grid { grid-template-columns: 1fr; grid-auto-rows: 400px; }
}

/* ============ RAZGLEDNICA — TURE ============ */
/* Editorial alternating rows: framed photography on one side, numbered
   kicker + display title + script subtitle on the other. Rows breathe
   between hairlines — no boxed cards, no text-over-image overlays. */
/* The postcard itself — the one skeuomorphic prop on the site, earned by
   the section name. Tilted print with stamp + postmark over the sky.
   Absolutely positioned below the intro so it doesn't stretch the header
   row (which opened a gap between headline and lede on the left). */
#razglednica .section-head-right { position: relative; }
.postcard {
  position: absolute;
  top: calc(100% + 36px);
  right: 200px;
  z-index: 3;
  width: min(330px, 100%);
  background: #fbf5e2;
  padding: 11px 11px 13px;
  box-shadow:
    0 28px 56px -20px rgba(26, 23, 8, 0.38),
    0 5px 16px rgba(26, 23, 8, 0.12);
  transform: rotate(2.2deg);
  transition: transform 600ms var(--ease-out), box-shadow 600ms var(--ease-out);
}
.postcard:hover {
  transform: rotate(0.4deg) translateY(-6px);
  box-shadow:
    0 36px 64px -20px rgba(26, 23, 8, 0.42),
    0 8px 20px rgba(26, 23, 8, 0.14);
}
.postcard picture,
.postcard img {
  display: block;
  width: 100%;
  height: auto;
}
.postcard-caption {
  position: absolute;
  right: 24px;
  bottom: 26px;
  font-family: var(--font-script);
  font-style: italic;
  font-size: 26px;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6), 0 1px 4px rgba(0, 0, 0, 0.4);
  transform: rotate(-2.5deg);
  pointer-events: none;
}
.postcard-stamp {
  position: absolute;
  top: 5.5%;
  left: 6%;
  width: 16.5%;
  height: auto;
  transform: rotate(-3deg);
  filter: drop-shadow(0 2px 5px rgba(26, 23, 8, 0.3));
  pointer-events: none;
}
.postcard-postmark {
  position: absolute;
  top: 11%;
  left: 16.5%;
  width: 45.5%;
  height: auto;
  color: rgba(29, 26, 12, 0.88);
  transform: rotate(-6deg);
  mix-blend-mode: multiply;
  pointer-events: none;
}
/* Brand type inside the SVGs (overrides their generic mono fallback) */
.postcard-stamp text,
.postcard-postmark text {
  font-family: var(--font-mono);
}
.postcard-stamp { width: 18%; }

/* Mid widths: the absolute postcard reaches into the lede's line length —
   cap the paragraph so text never runs under the card. */
@media (min-width: 901px) and (max-width: 1280px) {
  #razglednica .ture-lede p { max-width: calc(100% - 440px); }
}

/* Once the header stacks single-column, return the postcard to normal flow */
@media (max-width: 900px) {
  .postcard { position: static; width: min(361px, 100%); }
  .postcard-caption { font-size: 24px; right: 20px; bottom: 22px; }
}

.ture-lede {
  margin-bottom: 72px;
}
.ture-lede p {
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--ink-soft);
  max-width: 640px;
}

.ture-grid {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(129, 107, 57, 0.25);
}
.tura {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  padding: 72px 0;
  border-bottom: 1px solid rgba(129, 107, 57, 0.25);
  align-items: start;
}
.tura:nth-child(even) .tura-media { order: 2; }
/* deep links from the homepage land below the fixed nav */
.tura[id] { scroll-margin-top: 110px; }

/* Homepage teaser variant: single photo, no accordion — body and photo
   are near-equal heights, so center them on each other */
.tura-home {
  align-items: center;
  padding: 64px 0;
}
.tura-home .tura-photo img { aspect-ratio: 3 / 2; }
.tura-home .tura-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Photo column — the hero-collage framing language */
.tura-media {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tura-photo {
  position: relative;
  overflow: hidden;
  margin: 0;
}
.tura-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03);
  transition: transform 1200ms var(--ease-out);
}
.tura:hover .tura-photo img { transform: scale(1.04); }
.tura-photo-frame {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(209, 180, 92, 0.45);
  pointer-events: none;
}
.tura-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.tura-thumbs picture { display: block; }
.tura-thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
  border: 1px solid rgba(129, 107, 57, 0.22);
}

/* Text column */
.tura-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.tura-no { color: var(--gold); }
.tura-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.75;
  flex-shrink: 0;
  order: -1;
}
.tura-type { color: var(--olive); }
.tura-title { margin-bottom: 18px; }
.tura-place {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 400;
}
.tura-sub {
  display: block;
  font-family: var(--font-script);
  font-style: italic;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.2;
  color: var(--olive);
  margin-top: 8px;
  padding-bottom: 4px; /* script descenders need the reserve */
}
.tura-meta {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tura-meta .sep { color: var(--gold); }
.tura-hook {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 56ch;
}

/* Expandable full description — native <details>, no JS */
.tura-details {
  margin-top: 22px;
  border-top: 1px solid rgba(129, 107, 57, 0.28);
  border-bottom: 1px solid rgba(129, 107, 57, 0.28);
}
.tura-details summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 2px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  transition: color 220ms ease;
}
.tura-details summary::-webkit-details-marker { display: none; }
.tura-details summary:hover { color: var(--ink); }
.tura-details-sign::before { content: "+"; font-size: 14px; color: var(--gold); }
.tura-details[open] .tura-details-sign::before { content: "−"; }
.tura-details-body { padding: 4px 2px 20px; }
.tura-details-body > p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.tura-incl .k,
.tura-start .k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--olive);
}
.tura-incl .k { margin-bottom: 10px; }
.tura-incl ul {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.tura-incl li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  padding: 5px 0 5px 18px;
  position: relative;
}
.tura-incl li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 10px;
  top: 9px;
}
.tura-start {
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.tura-start span:last-child {
  font-size: 14px;
  color: var(--ink-soft);
}
.tura-cta { margin-top: 26px; }

/* Foot notes: Red Cross + tours-on-request — open text columns, no boxes */
.ture-foot {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 72px;
  align-items: center; /* short upit note centers against the taller RC block — no bottom void */
}
.razglednica-humani {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 18px;
}
.razglednica-humani-mark {
  color: var(--gold);
  font-size: 16px;
  line-height: 1.5;
}
.razglednica-humani-k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 10px;
}
.razglednica-humani p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
  max-width: 48ch;
}
.ture-upit-note .razglednica-humani-mark { color: var(--olive); }

/* Red Cross variant: the official badge stands in for the ✦ mark. The
   white inside the ring is knocked out to transparent corners so the
   mark sits on the paper instead of inside a white box. */
.razglednica-humani--rc { grid-template-columns: 124px 1fr; gap: 30px; align-items: center; }
.razglednica-rc-logo {
  width: 124px;
  height: auto;
  display: block;
}
.razglednica-humani--rc .razglednica-humani-k { margin-bottom: 8px; }
.razglednica-humani p.razglednica-humani-lead {
  font-family: var(--font-script);
  font-style: italic;
  font-size: 24px;
  line-height: 1.2;
  color: var(--olive);
  margin: 0 0 12px;
  max-width: none;
}
/* ============ ETNO ============ */
/* Homepage etno section — original composition (do not restyle from the
   /etno-kadar/ page pass; page-only overrides are scoped to .etno-page) */
.etno-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 80px;
}
.etno-intro-lead {
  font-family: var(--font-script);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 32px);
  color: var(--gold-soft);
  line-height: 1.4;
}
.etno-intro-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.etno-intro-body p {
  font-size: 15.5px;
  line-height: 1.78;
  color: rgba(244, 236, 216, 0.82);
}

/* /etno-kadar/ page intro spread: script quote anchors the left column,
   the three paragraphs read as one continuous column on the right. */
.etno-page .etno-intro {
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 36px 96px;
  align-items: start;
}
/* The quote is the left column's whole job — a two-line script lockup:
   quiet setup line, then the payoff large and gold. Slight handwritten
   tilt, ethno diamond as the full stop. */
.etno-page .etno-intro-lead {
  font-size: clamp(44px, 5vw, 76px);
  line-height: 1.16;
  padding-top: 6px;
  transform: rotate(-2deg);
  transform-origin: left top;
}
.etno-page .etno-intro-lead .q1 {
  display: block;
  font-size: 0.5em;
  color: rgba(244, 236, 216, 0.78);
  margin-bottom: 0.18em;
}
.etno-page .etno-intro-lead .q2 {
  display: block;
  color: var(--gold);
  padding-bottom: 10px; /* script descenders */
}
.etno-page .etno-intro-lead::after {
  content: "✦";
  display: block;
  margin-top: 26px;
  font-size: 14px;
  font-style: normal;
  color: var(--gold);
  opacity: 0.75;
}
.etno-page .etno-intro-body {
  display: block;
  max-width: 700px;
}
.etno-page .etno-intro-body p { margin-bottom: 18px; }
.etno-page .etno-intro-body p:last-child { margin-bottom: 0; }
@media (max-width: 1100px) {
  .etno-page .etno-intro { grid-template-columns: 300px minmax(0, 1fr); gap: 32px 60px; }
}
@media (max-width: 900px) {
  .etno-page .etno-intro { grid-template-columns: 1fr; gap: 28px; }
  .etno-page .etno-intro-lead { font-size: clamp(38px, 11vw, 52px); }
  .etno-page .etno-intro-lead::after { margin-top: 16px; }
}

.etno-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 6px;
}
.etno-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--cream-warm);
}
.etno-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 900ms cubic-bezier(.2,.7,.3,1);
  filter: saturate(0.92) contrast(1.02);
}
.etno-item:hover img { transform: scale(1.06); }
.etno-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(29, 26, 12, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: var(--cream);
  opacity: 0;
  transition: opacity 320ms ease;
}
.etno-item:hover .overlay { opacity: 1; }
.etno-item .overlay-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.etno-item .overlay-title {
  font-family: var(--font-display);
  font-size: 22px;
  margin-top: 8px;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.etno-item .corner-label {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--cream);
  color: var(--olive-black);
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  z-index: 2;
}

/* Grid placements — editorial asymmetry */
.etno-item.e1 { grid-column: span 2; grid-row: span 2; }
.etno-item.e2 { grid-column: span 1; grid-row: span 1; }
.etno-item.e3 { grid-column: span 1; grid-row: span 1; }
.etno-item.e4 { grid-column: span 1; grid-row: span 1; }
.etno-item.e5 { grid-column: span 1; grid-row: span 1; }
.etno-item.e6 { grid-column: span 2; grid-row: span 1; }
.etno-item.e7 { grid-column: span 1; grid-row: span 1; }
.etno-item.e8 { grid-column: span 1; grid-row: span 1; }

.etno-item.e1 img { object-position: center 35%; }
.etno-item.e2 img { object-position: center 45%; }
.etno-item.e3 img { object-position: center 25%; }
.etno-item.e4 img { object-position: center 20%; }
.etno-item.e5 img { object-position: center 30%; }
.etno-item.e6 img { object-position: center 55%; }
.etno-item.e7 img { object-position: center 40%; }
.etno-item.e8 img { object-position: center 35%; }

.etno-communities {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  padding-top: 60px;
  border-top: 1px solid rgba(209, 180, 92, 0.25);
}
.etno-communities-head h4 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.4vw, 32px);
  line-height: 1.12;
  color: var(--cream);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.etno-communities-head h4 .accent {
  font-family: var(--font-script);
  font-style: italic;
}
.etno-communities-note {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 236, 216, 0.5);
}
.communities-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 40px;
  align-content: start;
}
/* Not links yet — per-community pages are in preparation, so no pointer,
   no arrow affordance; just a quiet highlight */
.community-item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(236, 217, 168, 0.18);
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--cream);
  transition: color 220ms ease;
  letter-spacing: -0.01em;
}
.community-item:hover { color: var(--gold-soft); }
.community-item .dot {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.22em;
  min-width: 30px;
}

/* Invitation sits in the left column, under the heading + note. */
.etno-invite {
  margin-top: 26px;
  font-size: 14px;
  line-height: 1.66;
  color: rgba(244, 236, 216, 0.72);
}

.etno-cta { margin-top: 70px; text-align: center; }

/* ============ DNEVNIK ============ */
.dnevnik-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.dnevnik-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 460ms var(--ease-out);
}
.dnevnik-card:hover { transform: translateY(-6px); }
.dnevnik-card:hover .dnevnik-img img { transform: scale(1.05); }
.dnevnik-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--olive);
  position: relative;
  margin-bottom: 24px;
}
.dnevnik-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 700ms cubic-bezier(.2,.7,.3,1);
  filter: saturate(0.92);
}
.dnevnik-big {
  position: absolute;
  bottom: -40px;
  right: 8px;
  font-family: var(--font-display);
  font-size: 200px;
  color: rgba(244, 236, 216, 0.1);
  line-height: 1;
  pointer-events: none;
}
.dnevnik-body { display: flex; flex-direction: column; flex: 1; }
.dnevnik-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.dnevnik-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.24;
  color: var(--cream);
  margin-bottom: 14px;
  letter-spacing: -0.015em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(24px * 1.24 * 2);
}
.dnevnik-card p {
  font-size: 14px;
  line-height: 1.66;
  color: rgba(244, 236, 216, 0.72);
  margin-bottom: 18px;
}
.dnevnik-card .dnevnik-meta {
  margin-top: auto;
  display: flex;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 236, 216, 0.55);
  padding-top: 14px;
  border-top: 1px solid rgba(236, 217, 168, 0.15);
}

.dnevnik-foot { margin-top: 60px; text-align: right; }

/* ============ KONTAKT ============ */
.kontakt {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.kontakt-left { display: flex; flex-direction: column; }
.kontakt-title {
  font-family: var(--font-display);
  /* sized so the headline + script close land on two lines, not three */
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.08;
  margin-bottom: 28px;
  color: var(--cream);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.kontakt-title .accent {
  font-family: var(--font-script);
  font-style: italic;
  color: var(--gold);
  white-space: nowrap;
}
.kontakt-intro {
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(244, 236, 216, 0.78);
  max-width: 440px;
  margin-bottom: 44px;
}
.kontakt-details { display: flex; flex-direction: column; margin-bottom: 38px; }
.kontakt-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  padding: 20px 0;
  border-top: 1px solid rgba(236, 217, 168, 0.18);
  align-items: center;
  gap: 20px;
}
.kontakt-row:last-child { border-bottom: 1px solid rgba(236, 217, 168, 0.18); }
.kontakt-row .k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.ki {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex-shrink: 0;
  opacity: 0.92;
}
.kontakt-row .v {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--cream);
  letter-spacing: -0.01em;
  transition: color .2s;
}
a.v:hover { color: var(--gold); }

.kontakt-quote {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 20px;
  padding: 26px 30px;
  border: 1px solid rgba(209, 180, 92, 0.2);
  background: rgba(29, 26, 12, 0.32);
}
.kontakt-quote-mark { color: var(--gold); font-size: 18px; line-height: 1.2; }
.kontakt-quote-k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.kontakt-quote p {
  font-family: var(--font-script);
  font-style: italic;
  font-size: 19px;
  line-height: 1.45;
  color: rgba(244, 236, 216, 0.88);
}

.kontakt-form {
  background: rgba(244, 236, 216, 0.04);
  border: 1px solid rgba(236, 217, 168, 0.18);
  padding: 44px;
  position: relative;
}
.kontakt-form-head { margin-bottom: 32px; }
.kontakt-form h3 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--cream);
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}
.kontakt-form .subnote {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 236, 216, 0.55);
}

.field { display: flex; flex-direction: column; margin-bottom: 24px; }
.field-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.field input, .field textarea, .field select {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(236, 217, 168, 0.3);
  padding: 12px 0;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--cream);
  outline: none;
  transition: border-color 220ms ease;
  width: 100%;
}
.field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'><path d='M3 5l4 4 4-4' fill='none' stroke='%23d1b45c' stroke-width='1.2'/></svg>");
  background-repeat: no-repeat;
  background-position: right 6px center;
  padding-right: 28px;
}
.field select option { background: var(--olive-black); color: var(--cream); }
.field input:focus, .field textarea:focus, .field select:focus {
  border-bottom-color: var(--gold);
}
.field textarea { resize: vertical; min-height: 120px; }
.field ::placeholder { color: rgba(244, 236, 216, 0.32); }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.tour-fields { border: 0; padding: 0; margin: 0; min-width: 0; }
/* Date inputs paint their own chrome — keep the underline look + light text */
.field input[type="date"] { color-scheme: dark; }

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 20px;
  margin-top: 12px;
}
.btn-submit[aria-busy="true"] { opacity: 0.6; pointer-events: none; }

/* honeypot — kept out of view + off the tab order, not display:none
   (some bots skip display:none fields) */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  margin-top: 16px;
  padding: 12px 16px;
  border: 1px solid rgba(209, 180, 92, 0.4);
  border-left-width: 3px;
  background: rgba(209, 180, 92, 0.07);
  color: var(--gold-soft);
  font-size: 13.5px;
  line-height: 1.5;
}

.form-ok {
  padding: 40px 20px;
  text-align: center;
}
.form-ok-big {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--gold);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.form-ok-big .accent {
  font-family: var(--font-script);
  font-style: italic;
  display: block;
}
.form-ok p {
  color: rgba(244, 236, 216, 0.72);
  font-size: 14px;
  line-height: 1.6;
}

/* ============ FOOTER ============ */
.footer {
  padding: 72px 0 40px;
  background: var(--olive-deep);
  color: var(--cream);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(209, 180, 92, 0.15);
}
.footer-logo {
  display: block;
  width: 280px;
  height: 110px;
  overflow: hidden;
  position: relative;
  margin-bottom: 24px;
}
.footer-logo img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 440px;
  height: 440px;
  max-width: none;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.footer-tag {
  font-family: var(--font-script);
  font-style: italic;
  font-size: 18px;
  color: var(--gold-soft);
  max-width: 340px;
  line-height: 1.5;
  margin-bottom: 24px;
}
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 236, 216, 0.65);
}
.footer-meta-row { display: flex; gap: 12px; align-items: center; }
.footer-meta-row .k { color: var(--gold); display: inline-flex; }
.footer-meta-row .ki { width: 13px; height: 13px; }
.footer-meta-row a:hover { color: var(--gold); }

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 400;
}
.footer-col a {
  display: block;
  font-size: 14px;
  padding: 7px 0;
  color: rgba(244, 236, 216, 0.72);
  transition: color 200ms ease, padding-left 200ms ease;
}
.footer-col a:hover { color: var(--gold); padding-left: 4px; }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(244, 236, 216, 0.45);
  gap: 30px;
  flex-wrap: wrap;
}

/* ============ REVEAL / SCROLL ANIMATIONS ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms cubic-bezier(.2,.7,.3,1), transform 900ms cubic-bezier(.2,.7,.3,1);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1280px) {
  :root { --pad-x: 40px; }
  .nav-links { gap: 22px; }
  .nav-link { font-size: 11px; letter-spacing: 0.18em; }
  .nav-logo-name { font-size: 13px; letter-spacing: 0.24em; }
  .hero-photo.hp-1 { width: 250px; height: 336px; top: calc(50% - 168px); left: calc(50% - 125px); }
  .hero-photo.hp-2 { width: 195px; height: 260px; top: calc(50% - 116px); }
  .hero-photo.hp-3 { width: 195px; height: 252px; top: calc(50% - 112px); }
}
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-collage { width: 100%; min-width: 0; height: 460px; max-width: 560px; margin: 0 auto; }
  .section-head,
  .about,
  .kontakt,
  .etno-intro-body,
  .dnevnik-grid,
  .etno-communities,
  .services-foot,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-right { position: static; }
  .dnevnik-grid { grid-template-columns: 1fr 1fr; }
  .service-row { grid-template-columns: 50px 1fr 1.4fr 120px 30px; gap: 28px; }
}
/* Switch to the burger before the (now longer) "Više od razglednice" nav can
   overflow and clip the language toggle — the desktop bar only fits above ~1180px. */
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-logo-text { display: none; }

  html.menu-open .nav {
    background: var(--olive-deep);
    border-bottom-color: rgba(209, 180, 92, 0.18);
    /* .nav.scrolled's backdrop-filter makes .nav a containing block for
       fixed descendants — the full-screen .nav-links overlay would size
       itself to the nav bar instead of the viewport. Kill it while open. */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  html.menu-open .nav-links {
    display: flex;
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 22px;
    padding: 110px var(--pad-x) 40px;
    background: var(--olive-deep);
    z-index: 105;
    overflow-y: auto;
  }
  html.menu-open .nav-link { font-size: 22px; letter-spacing: 0.14em; opacity: 1; }
  /* Tours dropdown in the overlay = a collapsed accordion: the parent link
     becomes a toggle (07-mobile-menu.js); the sublist unfolds beneath it */
  html.menu-open .nav-item { width: 100%; }
  html.menu-open .nav-item::after { display: none; }
  /* The chevron rides on .nav-link::after, which is the UNDERLINE element
     on desktop (1px absolute strip) — every box property must be reset */
  html.menu-open .nav-item > .nav-link::after {
    content: "↓";
    position: static;
    display: inline-block;
    width: auto;
    height: auto;
    background: transparent;
    margin-left: 12px;
    color: var(--gold);
    font-size: 0.8em;
    line-height: 1;
    transform: none;
    transition: transform 360ms var(--ease-out);
  }
  html.menu-open .nav-item.drop-open > .nav-link::after { transform: rotate(180deg); }
  /* `.nav-item` in the selector keeps this above the desktop
     `:focus-within` rule, which otherwise re-applies translate(-50%)
     to the focused accordion and shoves it half off-screen */
  html.menu-open .nav-item .nav-drop,
  html.menu-open .nav-item:focus-within .nav-drop {
    position: static;
    transform: none;
    opacity: 0;
    visibility: visible;
    min-width: 0;
    margin: 0;
    padding: 0 0 0 18px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
    border-left: 1px solid rgba(209, 180, 92, 0.3);
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 480ms var(--ease-out), opacity 360ms ease, margin 360ms ease;
  }
  html.menu-open .nav-item.drop-open .nav-drop {
    max-height: 420px;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin: 14px 0 4px;
  }
  html.menu-open .nav-drop-link { padding: 9px 0; }
  html.menu-open .nav-drop-link:hover { background: transparent; }
  html.menu-open .nav-drop-place { font-size: 17px; }
  html.menu-open .nav-drop-sub { font-size: 13px; }
  /* "Sve ture" aligns with the indented list — the desktop panel's
     full-width hairline + side margins read as a detached stray here */
  html.menu-open .nav-drop-all {
    display: block;
    margin: 10px 0 0;
    padding: 4px 0;
    border-top: 0;
    font-size: 12px;
  }
  html.menu-open .nav-lang {
    border-left: 0;
    padding-left: 0;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(236, 236, 202, 0.18);
    font-size: 13px;
    width: 100%;
  }
}

@media (max-width: 900px) {
  :root { --pad-x: 28px; }
  .section { padding: 90px 0; }
  .nav { padding: 16px var(--pad-x); }
  .nav.scrolled { padding: 12px var(--pad-x); }

  .section-head,
  .about,
  .kontakt,
  .etno-intro-body,
  .dnevnik-grid,
  .etno-communities,
  .services-foot,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .ture-foot { grid-template-columns: 1fr; gap: 32px; margin-top: 56px; }
  /* Trim the Red Cross badge once the foot stacks — 124px crowds the narrow text column */
  .razglednica-humani--rc { grid-template-columns: 92px 1fr; gap: 20px; }
  .razglednica-rc-logo { width: 92px; }
  .tura { grid-template-columns: 1fr; gap: 36px; padding: 56px 0; }
  .tura:nth-child(even) .tura-media { order: 0; }
  .section-head > *,
  .about > *,
  .kontakt > *,
  .etno-intro-body > *,
  .dnevnik-grid > *,
  .etno-communities > *,
  .services-foot > *,
  .footer-grid > * { min-width: 0; }
  /* Headline rhythm: collapse the desktop alignment offset so title→intro
     reads as one cohesive group when stacked. */
  .section-head { gap: 28px; margin-bottom: 64px; }
  .section-intro { justify-self: start; margin-top: 0; }
  .section-head-right { align-items: flex-start; margin-top: 0; }

  .hero-inner { padding: 140px var(--pad-x) 120px; gap: 48px; }
  .hero-title { font-size: clamp(40px, 10vw, 66px); }
  .hero-collage { height: 400px; }
  .hero-photo.hp-1 { width: 215px; height: 290px; top: calc(50% - 145px); left: calc(50% - 107px); }
  .hero-photo.hp-2 { width: 168px; height: 224px; top: calc(50% - 100px); }
  .hero-photo.hp-3 { width: 168px; height: 218px; top: calc(50% - 97px); }
  .hero-meta { bottom: 22px; flex-wrap: wrap; gap: 16px; }

  .services-foot { padding: 36px 32px; }
  .results-grid { grid-template-columns: 1fr 1fr; }

  .service-row { grid-template-columns: 48px 1fr; gap: 24px; padding: 34px 0; }
  .service-row .service-desc,
  .service-row .service-tags,
  .service-row .service-arrow { display: none; }
  .service-title { font-size: 28px; }

  .projekti-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .project-card.p1, .project-card.p2, .project-card.p3,
  .project-card.p4, .project-card.p5, .project-card.p6 {
    grid-column: span 2; grid-row: span 1;
  }
  .project-card.p1 { grid-row: span 2; }
  .project-card.p3 { grid-row: span 2; }

  .etno-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .etno-item.e1, .etno-item.e2, .etno-item.e3, .etno-item.e4,
  .etno-item.e5, .etno-item.e6, .etno-item.e7, .etno-item.e8 {
    grid-column: span 1; grid-row: span 1;
  }
  .etno-item.e1 { grid-column: span 2; grid-row: span 2; }
  /* 8 items = e1 (2x2) + 7 singles: e8 would sit alone in a half-empty
     row — close the grid with a full-width ~square tile, like e1 */
  .etno-item.e8 { grid-column: span 2; grid-row: span 2; }

  .communities-list { grid-template-columns: 1fr 1fr; }

  .dnevnik-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: span 2; }

  .marquee-seg { font-size: 18px; gap: 34px; padding-right: 34px; }
  .marquee-seg .it { font-size: 22px; }
}
@media (max-width: 600px) {
  :root { --pad-x: 20px; }
  .section { padding: 72px 0; }
  .section-head { gap: 22px; margin-bottom: 44px; }
  .eyebrow { margin-bottom: 18px; }

  .btn {
    white-space: normal;
    text-align: center;
    max-width: 100%;
    padding: 16px 24px;
  }
  .hero-inner { padding: 192px var(--pad-x) 96px; gap: 44px; }
  .hero-title { font-size: clamp(38px, 11vw, 58px); }
  /* Collage as one fanned row — three prints side by side, edges tucked
     behind the centre one, instead of the desktop scatter stack. */
  .hero-collage { height: 230px; max-width: 420px; }
  .hero-photo.hp-1 {
    left: 50%; right: auto; top: 0;
    width: 42%; height: 214px;
    transform: translateX(-50%);
    z-index: 3;
  }
  .hero-photo.hp-2 {
    left: 0; right: auto; top: 14px; bottom: auto;
    width: 38%; height: 196px;
    transform: rotate(-3deg);
    z-index: 1;
  }
  .hero-photo.hp-3 {
    left: auto; right: 0; top: 14px; bottom: auto;
    width: 38%; height: 196px;
    transform: rotate(3deg);
    z-index: 1;
  }
  /* Captions stay, scaled down to the strip-card width; the numeric
     prefix goes — the visible card area is too narrow with the overlap */
  .hero-photo-cap {
    font-size: 6.5px;
    letter-spacing: 0.05em;
    padding: 4px 5px;
    bottom: 8px;
    left: 6px;
  }
  .hero-photo-cap .cap-num { display: none; }
  /* The right card's caption start would hide under the centre card's
     overlap — anchor it to the free edge instead */
  .hero-photo.hp-3 .hero-photo-cap { left: auto; right: 6px; }
  .hero-collage:hover .hero-photo.hp-1 { transform: translateX(-50%); }
  .hero-collage:hover .hero-photo.hp-2 { transform: rotate(-3deg); }
  .hero-collage:hover .hero-photo.hp-3 { transform: rotate(3deg); }
  /* The meta strip repeats the eyebrow within one phone screen, and a
     lone scroll glyph isn't worth a strip — the marquee below the hero
     already signals more content */
  .hero-meta { display: none; }

  /* O meni: the display-font closing line is desktop-only; hiding it also
     drops its top hairline so only the stats hairline remains */
  .about-copy-emph { display: none; }

  /* Etno: the second (philosophical) intro paragraph is desktop-only —
     the section carries too much text on a phone */
  .etno-deep { display: none; }

  /* Both metrics in one row instead of a tall stack */
  .results-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .result-metric .n { font-size: 40px; }
  .result-metric .l { margin-top: 8px; }

  .services-cta { justify-content: center; }
  .projekti-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .project-card.p1, .project-card.p2, .project-card.p3,
  .project-card.p4, .project-card.p5, .project-card.p6 {
    grid-column: span 1; grid-row: span 1;
  }
  .etno-grid { grid-template-columns: 1fr 1fr; }
  .etno-item.e1 { grid-column: span 2; grid-row: span 2; }
  .communities-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .kontakt-form { padding: 32px 24px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }

  /* Label and value share a row (like desktop) — halves the section
     height and the value keeps its full display size */
  .kontakt-row {
    grid-template-columns: 104px 1fr;
    gap: 14px;
    padding: 16px 0;
  }
  .kontakt-row .v {
    font-size: 19px;
    overflow-wrap: anywhere;
  }
  .tura { padding: 48px 0; gap: 28px; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

/* ============ ACCESSIBILITY ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--olive-deep);
  color: var(--gold-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  transform: translateY(calc(-100% - 16px));
}
.skip-link:focus-visible {
  transform: translateY(0);
}
/* ============ SUBPAGE COMPOSITIONS ============ */
/* Page hero — the dark opening band every subpage gets. Carries the
   section-olive-deep ground (and its textile pattern) via the section
   classes; only spacing and inner type are set here. */
.page-hero { padding: 200px 0 92px; }
.page-hero .eyebrow { margin-bottom: 26px; }
.page-hero-intro {
  margin-top: 30px;
  font-size: 15.5px;
  line-height: 1.75;
  max-width: 560px;
  color: rgba(244, 236, 216, 0.78);
}

/* In-page anchor nav (Usluge) — mono chips on the dark hero */
.anchor-nav {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.anchor-nav a {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 11px 18px;
  border: 1px solid rgba(209, 180, 92, 0.35);
  color: var(--gold-soft);
  transition: all 220ms ease;
  white-space: nowrap;
}
.anchor-nav a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Split page hero (Dnevnik) — copy left, framed photo right */
.page-hero-split .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 500px;
  gap: 80px;
  align-items: center;
}
.page-hero-photo {
  position: relative;
  overflow: hidden;
  margin: 0;
  width: 100%;
  max-width: 500px;
  justify-self: end;
}
/* Landscape crop — keeps the hero band at the same height as the other
   page heroes instead of stretching to the portrait photo */
.page-hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 32%;
  filter: saturate(0.92) contrast(1.03);
}
.page-hero-photo .tura-photo-frame { inset: 12px; }

/* Full-width framed photo interlude (O meni) */
.photo-band-sec { padding: 0 0 120px; }
.photo-band { margin: 0; }
.photo-band-media { position: relative; overflow: hidden; }
.photo-band-media img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.03);
}
.photo-band-media .tura-photo-frame { inset: 14px; }
.photo-band-cap {
  margin-top: 16px;
  font-family: var(--font-script);
  font-style: italic;
  font-size: 20px;
  color: var(--olive);
  text-align: right;
  padding-bottom: 4px; /* script descenders */
}

/* Closing contact band (O meni) — headline left, button right */
.page-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.page-cta-title {
  font-size: clamp(34px, 3.6vw, 56px);
  max-width: 820px;
}

/* PAGE · O meni — portrait column + editorial body */
.about-page {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 88px;
  align-items: start;
}
.about-page-body { max-width: 640px; }
.about-page-body .script-quote { margin-bottom: 34px; }
.about-page-body > p {
  font-size: 15.5px;
  line-height: 1.82;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.about-page-body .btn { margin-top: 16px; }
.about-page-left .about-stats { margin-top: 36px; }

/* Principles — open text columns, hairline above, no boxes */
.principles-open {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}
.principle {
  padding-top: 26px;
  border-top: 1px solid rgba(129, 107, 57, 0.3);
}
.principle-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.principle-top .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--gold);
}
.principle-top .glyph {
  color: var(--gold);
  font-size: 11px;
  opacity: 0.7;
}
.principle h4 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--olive);
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.principle p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* PAGE · Usluge — service articles */
/* anchor targets (in-page chips + homepage rows) land clear of the fixed nav */
#digitalni-marketing, #kreativne-usluge, #revizija-profila { scroll-margin-top: 72px; }
.service-article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  column-gap: 96px;
  align-items: start;
}
.service-article-head, .service-article-body { grid-column: 1; }
.service-aside {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: sticky;
  top: 110px;
}
.service-article-flip { grid-template-columns: 400px minmax(0, 1fr); }
.service-article-flip .service-article-head,
.service-article-flip .service-article-body { grid-column: 2; }
.service-article-flip .service-aside { grid-column: 1; }
.service-aside-photo {
  position: relative;
  overflow: hidden;
  margin: 0;
}
.service-aside-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03);
  transition: transform 1200ms var(--ease-out);
}
.service-aside-photo:hover img { transform: scale(1.03); }
.service-aside-photo .tura-photo-frame { inset: 12px; }
.service-article-head {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 40px;
}
.service-article-num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--gold);
  border: 1px solid rgba(129, 107, 57, 0.3);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
}
.service-article-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.service-article-title .italic {
  font-family: var(--font-script);
  color: var(--olive);
  margin-left: 6px;
}
.service-article-lead {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.45;
  color: var(--ink);
}
.service-article-body { margin-left: 116px; max-width: 640px; }
.service-article-body > p {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.service-article-k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--olive);
  margin: 26px 0 14px;
}
.gold-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}
.gold-list li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  padding: 7px 0 7px 22px;
  position: relative;
}
.gold-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 13px;
  color: var(--gold);
  font-size: 10px;
}
/* Open case block — hairline, glyph kicker, no box */
.case-block {
  margin: 38px 0 8px;
  padding: 26px 0 6px;
  border-top: 1px solid rgba(129, 107, 57, 0.3);
}
.case-block-k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 12px;
}
.case-block-k::before {
  content: "✦";
  color: var(--gold);
  font-size: 10px;
  margin-right: 10px;
}
.case-block > p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.case-metrics {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.case-metric .n {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.case-metric .l {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  margin-top: 6px;
}
.service-article-cta { margin-top: 34px; }

/* Cross-links to the two field projects (Usluge foot) — framed photo above,
   editorial kicker + title below; no text over the photo */
.offers-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.offer-banner { display: block; }
.offer-photo {
  position: relative;
  overflow: hidden;
  margin: 0 0 24px;
}
.offer-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(0.92) contrast(1.03);
  transition: transform 1200ms var(--ease-out);
}
.offer-banner:hover .offer-photo img { transform: scale(1.04); }
.offer-photo .tura-photo-frame { inset: 12px; }
.offer-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.offer-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.75;
  flex-shrink: 0;
}
.offer-kicker .no { color: var(--gold); }
.offer-kicker .type { color: rgba(244, 236, 216, 0.65); }
.offer-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.offer-arr {
  font-size: 22px;
  color: rgba(244, 236, 216, 0.5);
  transition: transform 520ms var(--ease-out), color 280ms ease;
}
.offer-banner:hover .offer-arr { transform: translateX(10px); color: var(--gold); }

/* PAGE · Ture — manifest lede + booking steps */
.ture-manifest { margin-bottom: 64px; }
.ture-manifest p {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 680px;
  margin-bottom: 18px;
}
.ture-manifest-meta {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
  padding-top: 18px;
  border-top: 1px solid rgba(129, 107, 57, 0.28);
  max-width: 680px;
}
.ture-steps { margin-top: 72px; }
.ture-steps-head { margin-bottom: 36px; }
.ture-steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}
.ture-step .n {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--gold);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(129, 107, 57, 0.28);
}
.ture-step h3 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 10px;
  font-weight: 400;
}
.ture-step p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* PAGE · Dnevnik — header: title and filter chips share one baseline row
   (the homepage keeps its vertical filter index; this overrides the
   .section-head-filters treatment only on /dnevnik/) */
.journal-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.journal-page-head .section-head-right {
  width: auto;
  margin-top: 0;
  align-items: flex-end;
}
.journal-page-head .project-filters {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 4px;
  width: auto;
  border-top: 0;
}
.journal-page-head .project-filter {
  border: 1px solid rgba(129, 107, 57, 0.28);
  padding: 11px 18px;
  color: var(--olive);
}
.journal-page-head .project-filter::after { display: none; }
.journal-page-head .project-filter:hover { border-color: var(--olive); color: var(--ink); }
.journal-page-head .project-filter.on {
  background: var(--olive);
  color: var(--cream);
  border-color: var(--olive);
}

/* PAGE · Dnevnik — Instagram note under the entries */
.dnevnik-follow {
  margin-top: 88px;
  padding-top: 40px;
  border-top: 1px solid rgba(129, 107, 57, 0.25);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.dnevnik-follow-line {
  font-family: var(--font-script);
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--olive);
  padding-bottom: 4px; /* script descenders */
}

/* PAGE · Kontakt — hero flows straight into the form section */
.page-hero-kontakt { padding-bottom: 24px; }
.page-kontakt { padding-top: 40px; }
.page-kontakt .kontakt-left .script-quote { margin-top: 44px; }
/* On the dark contact page the olive script reads too dim — lift it */
.page-kontakt .script-quote { color: rgba(244, 236, 216, 0.92); }

@media (max-width: 1100px) {
  .offers-row { gap: 32px; }
  .service-article { column-gap: 56px; grid-template-columns: minmax(0, 1fr) 340px; }
  .service-article-flip { grid-template-columns: 340px minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .page-hero { padding: 160px 0 72px; }
  .page-hero-split .wrap { grid-template-columns: 1fr; gap: 48px; }
  .page-hero-photo { max-width: 340px; justify-self: start; }
  .about-page { grid-template-columns: 1fr; gap: 56px; }
  .photo-band-sec { padding-bottom: 88px; }
  .photo-band-media img { aspect-ratio: 16 / 10; }
  .principles-open { grid-template-columns: 1fr; gap: 36px; }
  /* photo slots between the article head and body on small screens */
  .service-article,
  .service-article-flip { grid-template-columns: 1fr; }
  .service-aside,
  .service-article-flip .service-aside { grid-column: 1; grid-row: 2; position: static; margin-bottom: 36px; }
  .service-article-head,
  .service-article-flip .service-article-head { grid-column: 1; grid-row: 1; }
  .service-article-body,
  .service-article-flip .service-article-body { grid-column: 1; grid-row: 3; margin-left: 0; }
  .ture-steps-row { grid-template-columns: 1fr; gap: 32px; }
  .offers-row { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 600px) {
  .page-hero { padding: 140px 0 60px; }
  .page-hero-photo { max-width: 100%; }
  .service-article-head { grid-template-columns: 1fr; gap: 18px; }
  .service-article-num { margin-top: 0; }
  .case-metrics { gap: 28px; }
}
/* ============ PHOTO FOCUS (click a print to view it up close) ============ */
.hero-photo { cursor: zoom-in; }

.photo-focus {
  position: fixed;
  inset: 0;
  z-index: 200;
}
.photo-focus-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 26, 12, 0.84);
  opacity: 0;
  transition: opacity 480ms ease;
  cursor: zoom-out;
}
.photo-focus.is-open .photo-focus-backdrop { opacity: 1; }

.photo-focus-frame {
  position: absolute;
  background: var(--olive-deep);
  border: 1px solid rgba(209, 180, 92, 0.45);
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.6);
  cursor: zoom-out;
  will-change: transform;
}
.photo-focus-frame::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(209, 180, 92, 0.25);
  pointer-events: none;
}
.photo-focus-frame picture,
.photo-focus-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-focus-cap {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 400ms ease 220ms;
}
.photo-focus.is-open .photo-focus-cap { opacity: 1; }

/* ============ ETNO GALLERY LIGHTBOX (click a print → full-screen, prev/next) ============ */
.etno-item { cursor: zoom-in; }

.etno-lb {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 220ms ease;
}
.etno-lb.is-open { opacity: 1; }
.etno-lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 26, 12, 0.92);
  cursor: zoom-out;
}
.etno-lb-stage {
  position: relative;
  width: 92vw;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* clicks fall through to the backdrop → close */
}
.etno-lb-frame {
  position: absolute;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 300ms ease, transform 300ms cubic-bezier(.22,1,.36,1);
}
.etno-lb-frame.is-in { opacity: 1; transform: scale(1); }
.etno-lb-frame.is-out { opacity: 0; }
.etno-lb-frame picture { display: block; }
.etno-lb-frame img {
  display: block;
  max-width: 92vw;
  max-height: 72vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: var(--olive-deep);
  border: 1px solid rgba(209, 180, 92, 0.45);
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.6);
}
.etno-lb-cap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.etno-lb-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.etno-lb-title {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--cream);
}
.etno-lb-tag:empty, .etno-lb-title:empty { display: none; }
.etno-lb-arrow, .etno-lb-close {
  position: absolute;
  z-index: 2;
  background: rgba(29, 26, 12, 0.5);
  border: 1px solid rgba(209, 180, 92, 0.4);
  color: var(--cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.etno-lb-arrow {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 26px;
}
.etno-lb-arrow:hover, .etno-lb-close:hover { background: rgba(29, 26, 12, 0.85); border-color: var(--gold); }
.etno-lb-prev { left: 24px; }
.etno-lb-next { right: 24px; }
.etno-lb-close {
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 24px;
}
.etno-lb-count {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: rgba(244, 236, 216, 0.7);
}
@media (max-width: 700px) {
  .etno-lb-arrow { width: 44px; height: 44px; font-size: 22px; }
  .etno-lb-prev { left: 10px; }
  .etno-lb-next { right: 10px; }
  .etno-lb-frame img { max-height: 64vh; }
}
/* ============ PAGE · POJEDINAČNA TURA ============ */
/* Detail page per guided tour (/ture/obrovac/ …). Dark hero carries the
   tour number + title; body is an editorial two-column spread: the story
   on the left, the practical facts as a quiet sticky aside on the right.
   No boxes — lines and spacing only, same as the rest of the site. */

/* Third line of the hero H1 — the tour type, so the heading carries the
   full official name ("Obrovac: Na rubu dvaju svjetova — Vođena pješačka
   tura") the way the client's listings spell it. */
.tura-h1-type {
  display: block;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(244, 236, 216, 0.66);
}

.tura-hero-meta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.tura-hero-meta .sep { color: var(--gold); }
.tura-hero-meta .price { color: var(--gold); }

/* /ture/ manifest — the interpreter's manifesto with a postcard print in
   the otherwise-empty right column. The card reuses the homepage postcard
   system (stamp, postmark, script caption) but sits in normal flow here,
   loosely dropped at a slight tilt. */
.ture-manifest {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 88px;
  align-items: center;
}
.postcard-ture {
  position: static;
  justify-self: end;
  width: min(360px, 100%);
  transform: rotate(1.6deg);
}
.postcard-ture:hover {
  transform: rotate(0deg) translateY(-6px);
}
/* Licence credit for the placeholder Commons photo — dies with the photo */
.postcard-credit {
  position: absolute;
  top: calc(100% + 8px);
  right: 2px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(64, 55, 22, 0.5);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .ture-manifest { grid-template-columns: 1fr; gap: 52px; }
  .postcard-ture { justify-self: start; transform: rotate(0.8deg); }
}

/* /ture/ hub rows — single-photo editorial rows (share .tura-home geometry).
   The from-price closes the meta line in gold; the key stops sit as one quiet
   mono line between the hook and the CTAs (full itineraries live on the
   detail pages). */
.tura-row .tura-photo a { display: block; }
.tura-row .tura-photo-frame { pointer-events: none; }
.tura-price { color: var(--gold); }
.tura-spots {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(129, 107, 57, 0.28);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  max-width: 56ch;
}
.tura-spots .m {
  color: var(--gold);
  font-size: 8px;
}

/* Tour photos opt into the hero's photo-focus lightbox (10-photo-focus.js) */
.tura-zoom { cursor: zoom-in; }

/* Lead photo — full-width band right under the hero, framed like the rest.
   The bottom margin is the page's main beat: the story needs clear air
   after the full-bleed image before the text column starts. */
.tura-lead-photo {
  position: relative;
  overflow: hidden;
  margin: 0 0 96px;
}
.tura-lead-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03);
}
.tura-lead-photo .tura-photo-frame { inset: 14px; }

/* Two-column editorial spread */
.tura-page {
  display: grid;
  grid-template-columns: 1.15fr 0.7fr;
  gap: 88px;
  align-items: start;
}
.tura-story > p {
  font-size: 15.5px;
  line-height: 1.82;
  color: var(--ink-soft);
  margin-bottom: 20px;
  max-width: 640px;
}
.tura-story .script-lede {
  font-family: var(--font-script);
  font-style: italic;
  font-size: clamp(21px, 1.9vw, 27px);
  line-height: 1.45;
  color: var(--olive);
  margin-bottom: 28px;
  max-width: 560px;
}
.tura-story-k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--olive);
  margin: 38px 0 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(129, 107, 57, 0.28);
}

/* Facts aside — keyed rows separated by hairlines, sticky on tall screens */
.tura-facts {
  position: sticky;
  top: 110px;
}
.tura-fact {
  padding: 16px 0;
  border-top: 1px solid rgba(129, 107, 57, 0.28);
}
.tura-fact:last-of-type { border-bottom: 1px solid rgba(129, 107, 57, 0.28); }
.tura-fact .k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 7px;
}
.tura-fact .v {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.tura-fact .v.big {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.1;
}
.tura-fact .v.big .per {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
  margin-left: 8px;
}
.tura-fact ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tura-fact li {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  padding: 4px 0 4px 18px;
  position: relative;
}
.tura-fact li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--gold);
  font-size: 10px;
}
.tura-facts .tura-cta {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}
.tura-facts .tura-cta .btn { justify-content: space-between; }

/* Gallery — one wide + pairs, the collage framing language */
.tura-gallery {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.tura-gallery figure {
  position: relative;
  overflow: hidden;
  margin: 0;
}
.tura-gallery figure.wide { grid-column: 1 / -1; }
.tura-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
  transition: transform 1200ms var(--ease-out);
}
.tura-gallery figure.wide img { aspect-ratio: 21 / 10; }
.tura-gallery figure:hover img { transform: scale(1.03); }
.tura-gallery .tura-photo-frame { inset: 10px; }

/* Tours-on-request note on detail pages — single column, sits between
   the gallery and the pager */
.tura-detail-foot {
  grid-template-columns: 1fr;
  max-width: 560px;
}

/* Prev / next tour — quiet pager above the footer */
.tura-pager {
  margin-top: 80px;
  border-top: 1px solid rgba(129, 107, 57, 0.25);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.tura-pager a {
  padding: 30px 4px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tura-pager a:last-child { text-align: right; align-items: flex-end; }
.tura-pager .k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--olive);
  transition: color 220ms ease;
}
.tura-pager .t {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: transform 420ms var(--ease-out);
}
.tura-pager a:hover .k { color: var(--gold); }
.tura-pager a:first-child:hover .t { transform: translateX(-6px); }
.tura-pager a:last-child:hover .t { transform: translateX(6px); }

@media (max-width: 1100px) {
  .tura-page { gap: 56px; }
}
@media (max-width: 900px) {
  .tura-page { grid-template-columns: 1fr; gap: 56px; }
  .tura-facts { position: static; }
  .tura-lead-photo { margin-bottom: 64px; }
  .tura-lead-photo img { aspect-ratio: 16 / 9; }
  .tura-gallery { margin-top: 56px; }
  .tura-pager { margin-top: 64px; }
}
@media (max-width: 600px) {
  .tura-lead-photo { margin-bottom: 48px; }
  .tura-lead-photo .tura-photo-frame { inset: 10px; }
  .tura-gallery { grid-template-columns: 1fr; margin-top: 44px; }
  .tura-gallery figure.wide img { aspect-ratio: 16 / 10; }
  /* keep both directions on one row — smaller type instead of stacking */
  .tura-pager { margin-top: 48px; gap: 16px; }
  .tura-pager a { padding-top: 22px; gap: 8px; }
  .tura-pager .k { font-size: 9px; letter-spacing: 0.2em; }
  .tura-pager .t { font-size: 15px; line-height: 1.35; }
}
/* =====================================================
   POST — article detail page (/dnevnik/<slug>/)
   Editorial reading layout on the site's type + palette. Calm, lots of air,
   a ~64ch measure. No boxed cards, hairline frames, transform-only hovers.
   ===================================================== */

/* journal listing card → fully clickable (stretched link over the existing card) */
.project-card { position: relative; }
.project-card-link { position: absolute; inset: 0; z-index: 4; }

.post { padding-top: clamp(96px, 14vh, 160px); }

/* centred reading column */
.post-wrap { width: 100%; max-width: 42rem; margin-inline: auto; padding-inline: var(--pad-x-sm); }

/* ---- header ---- */
.post-head { text-align: center; margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.post-kicker {
  font-family: var(--font-mono);
  font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--olive); margin-bottom: 1.1rem;
}
.post-kicker time { color: var(--stone); }
.post-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.1rem, 5.2vw, 3.4rem); line-height: 1.08;
  color: var(--ink); letter-spacing: .005em;
}
.post-sub {
  font-family: var(--font-script); font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem); color: var(--olive-light);
  margin-top: .7rem;
}
.post-readtime {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--stone); margin-top: 1.4rem;
}

/* ---- framed cover (reuses the site's hairline-frame idiom) ---- */
.post-cover {
  position: relative; width: 100%; max-width: var(--wrap-max);
  margin: 0 auto clamp(2.4rem, 6vw, 4rem);
  padding-inline: var(--pad-x-sm);
}
.post-cover picture { display: block; }
.post-cover img {
  display: block; width: 100%; height: auto;
  max-height: 70vh; object-fit: cover; background: var(--cream-paper);
}
.post-cover .tura-photo-frame { inset: var(--pad-x-sm); }

/* ---- body typography ---- */
.post-body { color: var(--ink-soft); font-size: 1.075rem; line-height: 1.75; }
.post-body[hidden] { display: none; }
.post-body > * + * { margin-top: 1.4rem; }
.post-body p { hanging-punctuation: first; }
.post-body h2, .post-body h3 {
  font-family: var(--font-display); font-weight: 400; color: var(--ink);
  line-height: 1.2; margin-top: 2.6rem;
}
.post-body h2 { font-size: 1.7rem; }
.post-body h3 { font-size: 1.32rem; }
.post-body a {
  color: var(--olive); text-decoration: none;
  box-shadow: inset 0 -1px 0 var(--gold);
  transition: box-shadow .25s var(--ease-out), color .25s var(--ease-out);
}
.post-body a:hover { color: var(--olive-dark); box-shadow: inset 0 -2px 0 var(--olive); }
.post-body ul, .post-body ol { padding-left: 1.4rem; }
.post-body li + li { margin-top: .5rem; }
.post-body code {
  font-family: var(--font-mono); font-size: .88em;
  background: var(--cream-paper); padding: .12em .38em;
}
.post-code {
  font-family: var(--font-mono); font-size: .86rem; line-height: 1.6;
  background: var(--olive-deep); color: var(--gold-pale);
  padding: 1.1rem 1.3rem; overflow-x: auto;
}

/* pull-quote — gold/olive accent language, no left-border box */
.post-quote {
  font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.35; color: var(--olive); text-align: center;
  margin-block: 2.6rem; padding-block: 1.2rem;
  position: relative;
}
.post-quote::before {
  content: "◆"; display: block; color: var(--gold);
  font-size: .7rem; margin-bottom: 1rem;
}

.post-rule {
  border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--stone), transparent);
  margin-block: 2.8rem; opacity: .5;
}

/* figures — captioned, can break wider than the measure */
.post-figure { margin-block: 2.4rem; }
.post-figure img { display: block; width: 100%; height: auto; }
.post-figure figcaption {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em;
  color: var(--stone); margin-top: .7rem; text-align: center;
}
.post-figure-full {
  width: 100vw; max-width: 100vw;
  margin-left: 50%; transform: translateX(-50%);
}
.post-figure-full figcaption { max-width: 42rem; margin-inline: auto; }

/* HR-only note (post has no EN body) */
.post-hr-only {
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .04em;
  color: var(--stone); text-align: center; padding: 1rem;
  border: 1px solid rgba(26,23,8,.12); margin-bottom: 1.6rem;
}
.post-hr-only[hidden] { display: none; }

/* ---- foot: back + prev/next ---- */
.post-foot { margin-top: clamp(3rem, 8vw, 5rem); padding-bottom: clamp(4rem, 10vw, 7rem); }
.post-back {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--olive); text-decoration: none;
  transition: transform .25s var(--ease-out);
}
.post-back:hover { transform: translateX(-4px); }

.post-nav { display: grid; gap: 1px; grid-template-columns: 1fr 1fr; margin-top: 2.4rem;
  background: rgba(26,23,8,.10); border: 1px solid rgba(26,23,8,.10); }
.post-nav--single { grid-template-columns: 1fr; } /* first/last post: no empty cell */
.post-nav-link {
  background: var(--cream); padding: 1.4rem 1.5rem; text-decoration: none;
  display: flex; flex-direction: column; gap: .4rem;
  transition: background-color .3s var(--ease-out);
}
.post-nav-link:hover { background: var(--cream-paper); }
.post-nav-link.is-next { text-align: right; align-items: flex-end; }
.post-nav-dir {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--stone);
}
.post-nav-title { font-family: var(--font-display); font-size: 1.12rem; color: var(--ink); line-height: 1.25; }

@media (max-width: 640px) {
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-link.is-next { text-align: left; align-items: flex-start; }
}
