/* ==========================================================
   Acclaimed Studio — styles
   ========================================================== */
:root {
  --black: #0a0a0a;
  --cream: #eee8dd;
  --paper: #fafaf7;
  --gray: #565656;
  --beige: #d8cdba;
  --sand: #c9bca5;

  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --marker: "Caveat Brush", "Comic Sans MS", cursive;

  --border: 2px solid var(--black);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1360px;
  --header-h: 80px;
  --section-y: clamp(72px, 10vw, 140px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--black);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
address { font-style: normal; }

:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section-y); border-top: var(--border); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 300;
  background: var(--black); color: var(--cream); padding: .75rem 1rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Typography ---------- */
.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  /* Antonove kvačice (Č, Š, Ž, Ć) sežu 25 % iznad verzala, a zarez 12 % ispod
     osnovne linije: ispod ~1.2 kvačica udara u redak iznad. */
  line-height: 1.2;
  letter-spacing: .005em;
}
.h2 { font-size: clamp(2.6rem, 6.2vw, 6.25rem); }

.label {
  display: inline-block;
  font-family: var(--marker);
  font-size: clamp(1.35rem, 1.8vw, 1.7rem);
  line-height: 1;
  transform: rotate(-2deg);
  margin-bottom: 1rem;
}

.marker { font-family: var(--marker); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .95rem 1.6rem;
  font: 700 .82rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  color: var(--black); background: transparent;
  border: var(--border); border-radius: 999px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s;
}
.btn:hover { transform: translate(-3px, -3px); box-shadow: 4px 4px 0 var(--black); }
.btn:active { transform: none; box-shadow: none; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-solid { background: var(--black); color: var(--paper); }
.btn-sm { min-height: 44px; padding: .75rem 1.2rem; }
.btn-light { border-color: var(--paper); color: var(--paper); }
.btn-light:hover { background: var(--paper); color: var(--black); box-shadow: 4px 4px 0 var(--beige); }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Hand-drawn details ---------- */
.scribble, .hand-arrow {
  fill: none; stroke: currentColor; stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round; overflow: visible;
}
.js .draw path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .draw.is-drawn path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease) .15s; }
.js .draw.is-drawn path + path { transition-delay: .9s; transition-duration: .4s; }

.underlined { position: relative; display: inline-block; white-space: nowrap; }
/* Ručno nacrtana linija, jedan potez redom kojim je crtana (desno, natrag lijevo, desno, zamah dolje),
   zaobljeni zaokreti. Crta se kao pero: stroke-dashoffset prati putanju. */
.underlined .underline-svg {
  position: absolute; left: -1%; top: calc(100% - .04em); width: 102%; height: auto; aspect-ratio: 960 / 100;
  fill: none; stroke: currentColor; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round;
  overflow: visible; pointer-events: none;
}
.js .underlined.draw.is-drawn path { transition: stroke-dashoffset .9s cubic-bezier(.45, .05, .35, 1) .1s; }

.marker-tag {
  position: relative; display: inline-block;
  font-family: var(--marker); font-size: 1.6rem; line-height: 1;
  padding: .7rem 1.2rem; white-space: nowrap;
}
.marker-tag .scribble { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Placeholders ---------- */
.ph {
  position: relative; display: block; overflow: hidden;
  background-color: var(--beige);
  background-image: repeating-linear-gradient(-45deg, rgba(10,10,10,.07) 0 1px, transparent 1px 13px);
}
.ph--paper { background-color: var(--paper); }
.ph--beige { background-color: var(--beige); }
.ph--sand  { background-color: var(--sand); }
.ph--gray  { background-color: #9a958c; }
.ph--dark  { background-color: #1c1b19; background-image: repeating-linear-gradient(-45deg, rgba(250,250,247,.07) 0 1px, transparent 1px 13px); }

.ph-mark { /* objektiv / tražilo */
  position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px;
  border: 2px solid rgba(10,10,10,.35); border-radius: 50%;
}
.ph-mark::before, .ph-mark::after { content: ""; position: absolute; background: rgba(10,10,10,.35); }
.ph-mark::before { left: 50%; top: -12px; bottom: -12px; width: 2px; margin-left: -1px; }
.ph-mark::after { top: 50%; left: -12px; right: -12px; height: 2px; margin-top: -1px; }
.ph--dark .ph-mark { border-color: rgba(250,250,247,.35); }
.ph--dark .ph-mark::before, .ph--dark .ph-mark::after { background: rgba(250,250,247,.35); }

.ph-label {
  position: absolute; left: 14px; bottom: 14px;
  background: var(--paper); border: var(--border); border-radius: 999px;
  font: 700 .7rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  padding: .5rem .8rem;
}

/* uramljeni print */
.ph--frame {
  background: var(--paper); background-image: none;
  border: clamp(10px, 1.4vw, 16px) solid var(--black);
  padding: 14%;
}
.ph-art {
  display: block; width: 100%; height: 100%;
  background-color: var(--sand);
  background-image: repeating-linear-gradient(-45deg, rgba(10,10,10,.07) 0 1px, transparent 1px 13px);
  box-shadow: inset 0 0 0 1px rgba(10,10,10,.12);
}

/* ==========================================================
   Header
   ========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: var(--cream);
  border-bottom: var(--border);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 58px; width: auto; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav-list { display: flex; gap: .4rem; }
.nav-list a {
  position: relative; display: block;
  font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; padding: .6rem .85rem;
}
.nav-list a::before { /* ručno nacrtan oval oko aktivne poveznice */
  content: ""; position: absolute; inset: -2px -4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 50' preserveAspectRatio='none'%3E%3Cpath d='M66 4 C 100 3, 117 13, 116 26 C 115 40, 92 47, 58 46 C 24 45, 3 37, 4 24 C 5 11, 30 4, 74 6' fill='none' stroke='%230A0A0A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  opacity: 0; transform: scale(.85) rotate(-3deg);
  transition: opacity .25s, transform .3s var(--ease);
}
.nav-list a:hover::before, .nav-list a.active::before { opacity: 1; transform: none; }

.nav-toggle {
  display: none; position: relative; width: 48px; height: 48px; padding: 0; cursor: pointer;
  background: transparent; border: var(--border); border-radius: 50%;
}
.nav-toggle .line {
  position: absolute; left: 13px; right: 13px; height: 2px; background: var(--black);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle .line:nth-child(1) { top: 19px; }
.nav-toggle .line:nth-child(2) { top: 26px; }
.nav-toggle[aria-expanded="true"] .line:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .line:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* ==========================================================
   Hero
   ========================================================== */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 104px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 80px); align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  border: var(--border); border-radius: 999px; padding: .5rem .9rem; margin-bottom: clamp(20px, 3vw, 32px);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--black); }

.hero-title { font-size: clamp(3.3rem, 8.4vw, 8.8rem); line-height: .98; }
.hero-lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--gray); max-width: 30em; margin: clamp(22px, 3vw, 34px) 0 2rem; }

.hero-visual { position: relative; padding: 3.2rem 0 2.5rem 1.5rem; }
.hero-ph { aspect-ratio: 4 / 5; border: var(--border); box-shadow: 10px 10px 0 var(--black); }
.hero-ph .ph-label { left: auto; right: 14px; }

.tag-location { position: absolute; top: -.2rem; left: -1.5rem; z-index: 2; transform: rotate(-6deg); font-size: 1.75rem; }
.arrow-hero { position: absolute; top: 2.4rem; left: 7.5rem; width: 92px; z-index: 2; }

.badge {
  position: absolute; left: -1.5rem; bottom: 0; z-index: 2;
  width: clamp(110px, 11vw, 150px); aspect-ratio: 1;
  display: grid; place-items: center;
  background: var(--paper); border: var(--border); border-radius: 50%;
}
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.badge text { font: 700 15.5px var(--sans); letter-spacing: 3.2px; fill: var(--black); }
.badge-arrow { font-family: var(--display); font-size: 2rem; line-height: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Ticker ---------- */
.ticker { background: var(--black); color: var(--cream); overflow: hidden; border-top: var(--border); padding-block: 1rem; }
.ticker-track { display: flex; width: max-content; animation: ticker 36s linear infinite; }
.ticker ul { display: flex; }
.ticker li {
  display: inline-flex; align-items: center; gap: 1.6rem; padding-right: 1.6rem;
  font-family: var(--display); font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1; text-transform: uppercase; white-space: nowrap;
}
.ticker li::after { content: "✱"; font-family: var(--sans); font-size: .55em; }
.ticker li.outline { color: transparent; -webkit-text-stroke: 1.5px var(--cream); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ==========================================================
   Studio
   ========================================================== */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1fr 4fr; gap: clamp(16px, 4vw, 64px); }
/* Naslov se skalira prema širini stupca (cqi): dva retka, a na uskom stupcu tri.
   Najduži redak ("IDEJU, SLIKU I ZAVRŠNU OBRADU.") je 12em, u tri retka 7,7em. */
.about-body { container: about / inline-size; }
.about .about-title { font-size: min(5.4rem, 8cqi); white-space: nowrap; padding-bottom: .75em; /* mjesto za liniju ispod */ }
.about-title .br-sm { display: none; }
@container about (max-width: 460px) {
  .about .about-title { font-size: min(3.4rem, 12.4cqi); }
  .about-title .br-sm { display: inline; }
  .about-title .br-lg { display: none; }
}
.about-cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(20px, 4vw, 56px); margin-top: clamp(32px, 4vw, 56px); }
.about-lead { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.5; font-weight: 500; }
.about-cols p:not(.about-lead) { color: var(--gray); }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.25rem; }
.pills li {
  border: var(--border); border-radius: 999px; padding: .45rem 1rem;
  font-weight: 600; font-size: .85rem;
}

/* ==========================================================
   Section heads
   ========================================================== */
.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section-lead { max-width: 26em; color: var(--gray); font-size: 1.1rem; }
.section-note { position: relative; padding-right: 4.5rem; }
.section-note .marker { display: inline-block; font-size: 1.7rem; transform: rotate(-4deg); }
.arrow-down { position: absolute; right: 0; top: .5rem; width: 56px; }

/* ==========================================================
   Usluge
   ========================================================== */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.card {
  display: flex; flex-direction: column; gap: 1rem;
  padding: clamp(20px, 2vw, 28px); min-height: 330px;
  background: var(--paper); border: var(--border);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s;
}
.card:hover { transform: translate(-5px, -5px); box-shadow: 8px 8px 0 var(--black); background: var(--beige); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; }
.card-num { font-family: var(--display); font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--black); }
.card-tag {
  font-family: var(--marker); font-size: 1.05rem; line-height: 1.1; text-align: right;
  transform: rotate(-3deg); margin-top: .3rem;
}
.card h3 { font-size: clamp(1.7rem, 2.1vw, 2.15rem); margin-top: auto; }
.card p { color: var(--gray); font-size: .98rem; }
.card-link {
  align-self: flex-start; display: inline-flex; gap: .4rem;
  font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; border-bottom: var(--border); padding-bottom: .15rem;
}
.card-link span { transition: transform .25s var(--ease); }
.card:hover .card-link span { transform: translateX(4px); }


/* ==========================================================
   Portfolio
   ========================================================== */
.portfolio { background: var(--paper); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(24px, 3vw, 40px); }
.filter {
  min-height: 44px; padding: .6rem 1.15rem;
  font: 700 .78rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  color: var(--black); background: transparent; border: var(--border); border-radius: 999px; cursor: pointer;
  transition: background-color .2s, color .2s, transform .2s var(--ease);
}
.filter:hover { transform: translateY(-2px); }
.filter[aria-pressed="true"] { background: var(--black); color: var(--paper); }

.masonry { columns: 3 280px; column-gap: clamp(14px, 1.6vw, 22px); }
.work {
  display: block; break-inside: avoid;
  margin-bottom: clamp(14px, 1.6vw, 22px);
  border: var(--border); background: var(--paper);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  animation: rise .45s var(--ease);
}
.work[hidden] { display: none; }
.work .ph { border-bottom: var(--border); transition: filter .4s; }
.work .ph--frame { border-left: 0; border-right: 0; border-top: 0; }
.work:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--black); }
.work:hover .ph { filter: contrast(1.08) brightness(.96); }
.work figcaption {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .85rem 1rem;
}
.work-title { font-family: var(--display); font-size: 1.25rem; line-height: 1.05; text-transform: uppercase; }
.work-cat { font-family: var(--marker); font-size: 1.15rem; line-height: 1; white-space: nowrap; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* ==========================================================
   Print
   ========================================================== */
.print { background: var(--black); color: var(--paper); }
.print :focus-visible { outline-color: var(--paper); }
.print-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.print-text { font-size: clamp(1.1rem, 1.4vw, 1.25rem); color: rgba(250,250,247,.78); max-width: 32em; margin: clamp(24px, 3vw, 36px) 0 1.75rem; }
.checklist { display: grid; gap: .25rem; margin-bottom: 2.25rem; }
.checklist li {
  display: flex; align-items: center; gap: .9rem;
  padding: .85rem 0; border-bottom: 1px solid rgba(250,250,247,.22);
  font-weight: 600; font-size: 1.05rem;
}
.checklist li::before { content: "→"; font-family: var(--marker); font-size: 1.5rem; line-height: 1; }

.print-visual { position: relative; padding: 3rem 0 0 0; }
.print-frame {
  display: block; aspect-ratio: 4 / 5;
  border: clamp(12px, 1.6vw, 20px) solid var(--beige);
  background: var(--paper); padding: 12%;
  box-shadow: 14px 14px 0 rgba(250,250,247,.12);
}
.print-art { width: 100%; height: 100%; }
.tag-giclee { position: absolute; top: -.4rem; right: 6%; z-index: 2; font-size: 2.1rem; color: var(--beige); transform: rotate(5deg); }
.arrow-print { position: absolute; top: 1.6rem; right: 22%; width: 88px; color: var(--beige); z-index: 2; }

/* ==========================================================
   Proces
   ========================================================== */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 3vw, 44px); counter-reset: step; }
.step { position: relative; border-top: var(--border); padding-top: 1.25rem; }
.step-num {
  display: block; font-family: var(--display); font-size: clamp(4rem, 7vw, 6.5rem); line-height: .9;
  color: transparent; -webkit-text-stroke: 2px var(--black);
  transition: color .3s;
}
.step:hover .step-num { color: var(--black); }
.step h3 { font-size: clamp(1.6rem, 2.2vw, 2.2rem); margin: 1rem 0 .6rem; }
.step p { color: var(--gray); max-width: 22em; }
.step:not(:last-child)::after { /* ručno nacrtana strelica prema sljedećem koraku */
  content: ""; position: absolute; top: 2.2rem; right: clamp(-36px, -2.2vw, -14px); width: 44px; height: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 30'%3E%3Cpath d='M3 18 C 14 8, 26 8, 38 15 M30 8 L 39 15 L 29 21' fill='none' stroke='%230A0A0A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ==========================================================
   Kontakt
   ========================================================== */
.contact { background: var(--paper); }
.contact-title { font-size: clamp(3rem, 9.4vw, 9.6rem); margin-bottom: clamp(36px, 5vw, 72px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 80px); align-items: start; }

.tag-precko { font-size: 1.9rem; transform: rotate(-4deg); margin: 0 0 1.5rem -.5rem; padding: .85rem 1.6rem; }
.address { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; text-transform: uppercase; margin-bottom: 2rem; }

.details { display: grid; border-top: var(--border); margin-bottom: 1rem; }
.details div { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: .9rem 0; border-bottom: var(--border); }
.details dt { font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.details dd { font-weight: 600; }
.details a { text-decoration: none; background: linear-gradient(var(--black), var(--black)) left bottom / 0 2px no-repeat; transition: background-size .3s var(--ease); }
.details a:hover { background-size: 100% 2px; }
.note { color: var(--gray); margin-bottom: 1.75rem; }

.map {
  position: relative; aspect-ratio: 4 / 3; border: var(--border); box-shadow: 10px 10px 0 var(--black);
  background-color: var(--cream);
  background-image:
    linear-gradient(rgba(10,10,10,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,10,10,.08) 1px, transparent 1px);
  background-size: 28px 28px;
  overflow: hidden;
}
.map-consent {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  padding: 1.5rem; text-align: center;
}
.map-consent p { font-weight: 600; max-width: 22em; background: var(--paper); padding: .35rem .7rem; }
.map-consent small { color: var(--gray); font-size: .8rem; background: var(--cream); padding: .2rem .5rem; }
.map-pin {
  width: 34px; height: 34px; background: var(--black);
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  box-shadow: 4px 4px 0 var(--beige);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-link {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  background: var(--paper); border: var(--border); border-radius: 999px;
  font: 700 .72rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  padding: .55rem .8rem;
}

/* ==========================================================
   Footer
   ========================================================== */
.site-footer { background: var(--black); color: var(--paper); padding-top: clamp(56px, 7vw, 96px); border-top: var(--border); }
.site-footer :focus-visible { outline-color: var(--paper); }
.footer-wordmark {
  font-size: min(10.6vw, 10.4rem); line-height: .85; white-space: nowrap;
  color: var(--cream); margin-bottom: clamp(40px, 5vw, 72px);
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1.2fr .8fr; gap: clamp(28px, 4vw, 56px);
  padding-top: 2rem; border-top: 1px solid rgba(250,250,247,.25);
}
.footer-name { font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; margin-bottom: .75rem; }
.footer-text { color: rgba(250,250,247,.72); max-width: 24em; }
.footer-h { font-family: var(--marker); font-weight: 400; font-size: 1.4rem; margin-bottom: .9rem; color: var(--beige); }
.footer-grid ul { display: grid; gap: .5rem; color: rgba(250,250,247,.85); font-size: .95rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  margin-top: clamp(40px, 5vw, 64px); padding-block: 1.5rem; border-top: 1px solid rgba(250,250,247,.25);
  font-size: .85rem; color: rgba(250,250,247,.7);
}
.footer-bottom a { color: var(--paper); text-decoration: none; font-weight: 600; }
.footer-bottom a:hover { text-decoration: underline; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { min-height: 280px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
  .step:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Puna navigacija treba ~1040px; ispod toga hamburger izbornik */
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2rem;
    padding: 1.5rem var(--gutter) 3rem;
    background: var(--cream); border-top: var(--border);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    overflow-y: auto;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a {
    font-family: var(--display); font-weight: 400; font-size: 2.6rem; letter-spacing: .01em; line-height: 1;
    padding: .9rem 0; border-bottom: var(--border);
  }
  .nav-list a::before { display: none; }
  .nav .btn { min-height: 56px; }
}

@media (max-width: 920px) {
  :root { --header-h: 68px; }
  .hero-grid, .print-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin-left: auto; margin-right: auto; width: 100%; }
  .about-grid { grid-template-columns: 1fr; }
  .about-cols { grid-template-columns: 1fr; }
  .print-visual { max-width: 460px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .logo img { height: 50px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card h3 { margin-top: .5rem; }
  .steps { grid-template-columns: 1fr; row-gap: 2.25rem; }
  .step::after { display: none; }
  .actions .btn { flex: 1 1 100%; }
  .hero-visual { padding-left: .75rem; }
  .tag-location { left: -.5rem; font-size: 1.5rem; }
  .arrow-hero { left: 6rem; width: 70px; }
  .badge { left: -.25rem; }
  .hero-ph, .map { box-shadow: 6px 6px 0 var(--black); }
  .footer-grid { grid-template-columns: 1fr; }
  .section-note { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .draw path { stroke-dashoffset: 0; }
}

/* ==========================================================
   WordPress: admin bar and sub-pages (index.php)
   ========================================================== */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .nav { top: calc(var(--header-h) + 46px); }
}
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.page-main { border-top: 0; }
.prose { max-width: 780px; }
.prose h1 { font-size: clamp(2.6rem, 6vw, 5rem); margin-bottom: 1.75rem; }
.prose h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.05; margin: 2.5rem 0 1rem; }
.prose h3 { font-size: 1.25rem; margin: 2rem 0 .75rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 1em; }
.prose ul { list-style: disc; padding-left: 1.25rem; }
.prose ol { list-style: decimal; padding-left: 1.25rem; }
.prose a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }