/* Self-hosted variable fonts, subset to Latin with Serbian letters. */
@font-face { font-family: 'Cinzel'; src: url(../fonts/cinzel.woff2) format('woff2'); font-weight: 500 700; font-display: swap; }
@font-face { font-family: 'Great Vibes'; src: url(../fonts/great-vibes.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Schibsted Grotesk'; src: url(../fonts/schibsted-grotesk.woff2) format('woff2'); font-weight: 400 600; font-display: swap; }

:root {
  --bg: #0b0a09;
  --bg-2: #11100e;
  --bg-3: #151310;
  --text: #ece7de;
  --muted: #9a9184;
  --soft: #b9b0a2;
  --dim: #847d73;
  --gold: #c9a454;
  --gold-hi: #e2c47e;
  --line: #2b2823;
  --line-2: #3a362f;
  --open: #8fbf86;
  --closed: #b0605a;
  --gutter: clamp(16px, 3vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --script: 'Great Vibes', cursive;
  --serif: 'Cinzel', serif;
  --sans: 'Schibsted Grotesk', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
body { font-family: var(--sans); font-size: 15px; min-height: 100vh; overflow-x: clip; }
body.page-alt { --bg: #11100e; background: var(--bg); }
img { max-width: 100%; }
a { color: var(--gold); }
a:hover { color: var(--text); }
::selection { background: var(--gold); color: var(--bg); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
address { font-style: normal; }
.tnum { font-variant-numeric: tabular-nums; }
.wrap { max-width: 1440px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--bg); padding: 10px 16px; }
.skip:focus { left: 8px; }

/* Type */
.script-title { margin: 0; font-family: var(--script); font-weight: 400; line-height: 1; color: var(--gold); font-size: clamp(44px, 4vw, 58px); }
.script-title--page { font-size: clamp(48px, 4.6vw, 66px); }
.lead { margin: 0; color: var(--muted); line-height: 1.6; max-width: 44ch; }

/* Links with animated underline */
.ul-link {
  color: var(--muted); text-decoration: none; padding-bottom: 2px;
  background-image: linear-gradient(var(--gold), var(--gold)); background-size: 0% 1px;
  background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .45s var(--ease), color .25s;
}
.ul-link:hover { color: var(--text); background-size: 100% 1px; }
.ul-link--light { color: var(--text); }
.ul-link--light:hover { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 24px;
  border-radius: 2px; text-decoration: none; font-size: 15px; white-space: nowrap;
  transition: background .25s, border-color .25s, color .25s;
}
.btn--gold { background: var(--gold); color: var(--bg); font-weight: 600; }
.btn--gold:hover { background: var(--gold-hi); color: var(--bg); }
.btn--line { border: 1px solid var(--line-2); color: var(--text); }
.btn--line:hover { border-color: var(--gold); color: var(--text); }
.btn--sm { height: 48px; padding: 0 20px; }

.status { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); white-space: nowrap; }
.status:empty { display: none; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--closed); }
.status.is-open::before { background: var(--open); }

/* Reveal (JS adds inline styles; nothing hidden without JS) */

/* ---------- Header ---------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(11, 10, 9, 0); border-bottom: 1px solid rgba(201, 164, 84, 0);
  transition: background .35s ease, border-color .35s ease;
}
.is-scrolled:not(.menu-open) .hdr {
  background: rgba(11, 10, 9, 0.82); border-bottom-color: rgba(201, 164, 84, 0.16);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
}
.hdr__in { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: height .35s ease; }
.brand { display: flex; align-items: center; gap: 12px; white-space: nowrap; min-width: 0; text-decoration: none; color: var(--gold); }
.brand:hover { color: var(--gold); }
.brand img { width: 40px; height: 40px; border-radius: 50%; display: block; flex: none; transition: width .35s ease, height .35s ease; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__small { font-family: var(--serif); font-size: 9px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; padding-left: 2px; }
.brand__name { font-family: var(--script); font-size: 24px; margin-top: 1px; }
.hdr__nav { display: none; gap: 28px; }
.hdr__nav a { font-size: 15px; text-decoration: none; color: var(--muted); padding: 8px 0; border-bottom: 1px solid rgba(201, 164, 84, 0); transition: color .25s, border-color .25s; }
.hdr__nav a:hover, .hdr__nav a[aria-current="page"] { color: var(--text); border-color: var(--gold); }
.hdr__nav a:not([aria-current]):hover { border-color: var(--gold); }
.hdr__right { display: flex; align-items: center; gap: 12px; }
.hdr__status { display: none; font-size: 13px; }
.hdr__call { display: none; height: 40px; padding: 0 16px; font-size: 14px; gap: 10px; }
.hdr__callicon {
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(201, 164, 84, 0.5); color: var(--gold); transition: opacity .3s;
}
.hdr__callicon:hover { color: var(--gold-hi); }
.menu-open .hdr__callicon { opacity: 0; pointer-events: none; }
.burger { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--gold); cursor: pointer; padding: 0; }
.burger span { position: absolute; left: 14px; width: 16px; height: 1.5px; background: var(--bg); transition: transform .45s cubic-bezier(.7, 0, .2, 1), top .45s cubic-bezier(.7, 0, .2, 1); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 24px; }
.menu-open .burger span { top: 21px; }
.menu-open .burger span:first-child { transform: rotate(45deg); }
.menu-open .burger span:last-child { transform: rotate(-45deg); }

@media (max-width: 379px) {
  .brand img { width: 36px; height: 36px; }
  .brand__name { font-size: 21px; }
}
@media (min-width: 900px) {
  .hdr__in { height: 76px; }
  .is-scrolled .hdr__in { height: 64px; }
  .brand img { width: 48px; height: 48px; }
  .is-scrolled .brand img { width: 40px; height: 40px; }
  .hdr__nav, .hdr__call { display: flex; }
  .hdr__callicon, .burger, .mmenu, .callbar { display: none !important; }
}
@media (min-width: 1180px) { .hdr__status { display: inline-flex; } }

/* Mobile menu */
.mmenu {
  position: fixed; inset: 0; z-index: 49; display: flex; flex-direction: column; overflow-y: auto;
  padding: 96px 24px 28px;
  background: radial-gradient(90% 60% at 100% 0%, #2a2014 0%, #0b0a09 60%);
  clip-path: circle(0px at calc(100% - 38px) 32px);
  transition: clip-path .75s cubic-bezier(.7, 0, .2, 1), visibility 0s .75s;
  pointer-events: none; visibility: hidden;
}
.menu-open .mmenu {
  clip-path: circle(150vmax at calc(100% - 38px) 32px); pointer-events: auto; visibility: visible;
  transition: clip-path .75s cubic-bezier(.7, 0, .2, 1), visibility 0s;
}
.mmenu__nav { display: flex; flex-direction: column; flex: 1; justify-content: center; }
.mmenu__nav a, .mmenu__foot { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .6s var(--ease); }
.mmenu__nav a { display: flex; align-items: baseline; gap: 18px; text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.mmenu__nav a[aria-current="page"] { color: var(--gold); }
.mmenu__n { font-family: var(--serif); font-size: 12px; color: var(--dim); width: 20px; }
.mmenu__label { font-family: var(--script); font-size: clamp(44px, 13vw, 60px); line-height: 1.1; }
.menu-open .mmenu__nav a, .menu-open .mmenu__foot { opacity: 1; transform: none; }
.menu-open .mmenu__nav a:nth-child(1) { transition-delay: .28s; }
.menu-open .mmenu__nav a:nth-child(2) { transition-delay: .35s; }
.menu-open .mmenu__nav a:nth-child(3) { transition-delay: .42s; }
.menu-open .mmenu__nav a:nth-child(4) { transition-delay: .49s; }
.menu-open .mmenu__foot { transition-delay: .6s; }
.mmenu__foot { display: flex; flex-direction: column; gap: 18px; padding-top: 28px; }
.mmenu__meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.mmenu__meta .status { color: var(--text); }
.mmenu__where { display: flex; flex-direction: column; gap: 4px; }
.social { display: flex; gap: 8px; }
.social a {
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 1px solid var(--line-2); border-radius: 50%; color: var(--gold); transition: border-color .25s, color .25s;
}
.social a:hover { border-color: var(--gold); color: var(--gold-hi); }
.bigcall {
  display: flex; align-items: center; justify-content: space-between; background: var(--gold); color: var(--bg);
  text-decoration: none; font-size: 16px; font-weight: 600; height: 58px; padding: 0 22px; border-radius: 2px;
}
.bigcall:hover { color: var(--bg); background: var(--gold-hi); }
.callbar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 48; height: 54px; font-size: 15px; padding: 0 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); transform: translateY(90px); transition: transform .45s var(--ease);
}
.is-scrolled:not(.menu-open) .callbar { transform: none; }

/* ---------- Page heads ---------- */
.pagehead { padding-top: clamp(120px, 12vw, 168px); padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.pagehead__txt { display: flex; flex-direction: column; gap: 12px; }
.pagehead__links { display: flex; gap: 8px; }
.pagehead__links .btn { height: 44px; padding: 0 18px; gap: 10px; }
.section { padding-top: clamp(88px, 10vw, 144px); padding-bottom: clamp(88px, 10vw, 144px); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.section-head__links { display: flex; gap: 24px; font-size: 14px; }

/* ---------- Home: hero ---------- */
.hero { position: relative; height: 62svh; min-height: 460px; max-height: 640px; overflow: hidden; background: radial-gradient(110% 80% at 65% 35%, #241c12 0%, #0b0a09 62%); }
.hero canvas, .hero__photo, .hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero canvas { display: block; opacity: 0; transition: opacity 1.8s ease; }
.hero canvas.is-on { opacity: .7; }
.hero__photo { object-fit: cover; object-position: center 40%; opacity: .22; mix-blend-mode: luminosity; filter: grayscale(1) contrast(1.1); pointer-events: none; }
.hero__shade { background: radial-gradient(70% 70% at 50% 50%, rgba(11, 10, 9, .55) 0%, rgba(11, 10, 9, 0) 100%); pointer-events: none; }
.hero__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(to top, #0b0a09 0%, rgba(11, 10, 9, 0) 100%); pointer-events: none; }
.hero__in { position: relative; height: 100%; padding-top: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 22px; }
.hero__kicker { font-family: var(--serif); font-size: 11px; font-weight: 700; letter-spacing: .34em; color: var(--gold); }
.hero h1 { margin: 0; font-family: var(--script); font-weight: 400; font-size: clamp(60px, 7.4vw, 108px); line-height: 1; color: var(--gold-hi); text-shadow: 0 2px 40px rgba(0, 0, 0, .6); }
.hero__lead { margin: 0; font-size: 16px; line-height: 1.6; color: var(--soft); max-width: 38ch; text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.hero__ctas .btn--line { border-color: rgba(201, 164, 84, .45); background: rgba(11, 10, 9, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero__ctas .btn--line:hover { border-color: var(--gold); }
.hero__rating { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 14px; color: var(--soft); text-decoration: none; }
.hero__rating:hover { color: var(--text); }
.hero__stars { color: var(--gold); letter-spacing: .16em; }
.hero__rating b { color: var(--text); font-weight: 400; }

/* ---------- Home: services ---------- */
.svc { position: relative; padding-left: var(--gutter); padding-right: var(--gutter); }
.svc__in { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.svc__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc__item { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 6px 24px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); }
.svc__n { font-family: var(--serif); font-size: 13px; color: var(--dim); }
.svc__name { font-size: clamp(19px, 1.8vw, 24px); font-weight: 500; letter-spacing: -.01em; transition: color .3s, transform .4s var(--ease); }
.svc__price { font-size: 17px; color: var(--gold); font-variant-numeric: tabular-nums; white-space: nowrap; }
.svc__desc { grid-column: 2 / span 2; font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 52ch; }
.svc__item:hover .svc__name { color: var(--gold-hi); }
@media (min-width: 900px) { .svc__item:hover .svc__name { transform: translateX(10px); } }
.svc__float { position: absolute; left: 0; top: 0; width: 240px; height: 300px; pointer-events: none; z-index: 3; opacity: 0; transition: opacity .35s ease; will-change: transform; }
.svc__float.is-on { opacity: 1; }
.svc__frame { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 2px; box-shadow: 0 30px 60px rgba(0, 0, 0, .55); transform: scale(.92); transition: transform .45s var(--ease); }
.svc__float.is-on .svc__frame { transform: none; }
.svc__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; }
.svc__frame img.is-on { opacity: 1; }
@media (max-width: 899px), (hover: none) { .svc__float { display: none; } }

/* ---------- Home: works ---------- */
.works { padding-bottom: clamp(88px, 10vw, 144px); }
.works__in { display: flex; flex-direction: column; gap: 32px; }

/* ---------- Visit / location ---------- */
.visit { border-top: 1px solid var(--line); }
.visit__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: clamp(40px, 5vw, 80px); align-items: stretch; }
.visit__info { display: flex; flex-direction: column; gap: 32px; }
.visit__contact { display: flex; flex-direction: column; gap: 6px; font-size: 20px; line-height: 1.45; }
.visit__contact a { color: var(--gold); font-variant-numeric: tabular-nums; align-self: flex-start; }
.visit__contact a:hover { color: var(--gold-hi); }
.btnrow { display: flex; flex-wrap: wrap; gap: 10px; }
.map { min-height: 420px; background: var(--bg-3); border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(1) invert(.92) contrast(.85) sepia(.25); }

.hours { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.hours li.is-closed { color: var(--dim); }
.hours li.is-today { color: var(--text); }
.hours--gold li.is-today { color: var(--gold-hi); }
.visit .hours { max-width: 420px; }

/* ---------- Cenovnik ---------- */
.prices-main { padding: clamp(104px, 11vw, 144px) var(--gutter) clamp(72px, 9vw, 128px); }
.card { max-width: 760px; margin: 0 auto; border: 1px solid #3a3226; background: var(--bg-3); padding: clamp(40px, 6vw, 80px) clamp(20px, 6vw, 88px); display: flex; flex-direction: column; align-items: center; gap: 22px; }
.card h1 { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 400; text-align: center; }
.card__script { font-family: var(--script); font-size: clamp(46px, 5vw, 66px); line-height: 1.05; color: var(--gold); }
.card__caps { font-family: var(--serif); font-size: 14px; font-weight: 700; letter-spacing: .32em; color: var(--text); }
.pricelist { list-style: none; margin: 12px 0 0; padding: 0; width: 100%; }
.pricelist li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.pricelist__name { font-size: 18px; font-weight: 500; }
.pricelist__price { font-size: 18px; color: var(--gold); font-variant-numeric: tabular-nums; text-align: right; }
.pricelist__note { font-size: 14px; color: var(--muted); }
.ornament { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.ornament span { width: 96px; height: 1px; background: var(--gold); }
.ornament i { width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }
.card__contact { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 14px; text-align: center; }
.card__contact .tel { font-size: 17px; }
.after-card { max-width: 760px; margin: 32px auto 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.after-card p { margin: 0; color: var(--muted); line-height: 1.6; }

/* ---------- Instagram (home and Galerija) ---------- */
/* Instagram profile embed. The iframe renders at a fixed 1200px width and is scaled to fit (site.js sets --s);
   its white header is cropped off and its 1px white gaps are covered with dark gutters. */
.ig { padding-bottom: clamp(88px, 10vw, 144px); }
.ig .section-head { margin-bottom: 24px; }
.ig__frame { --s: 1; position: relative; aspect-ratio: 1200 / 799; overflow: hidden; background: var(--bg-3); }
.ig__inner { --g: calc(8px / var(--s)); position: absolute; top: 0; left: 0; width: 1200px; height: 799px; transform-origin: 0 0; transform: scale(var(--s)); }
.ig__inner iframe { position: absolute; top: -158px; left: 0; width: 1200px; height: 957px; border: 0; }
.ig__inner::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(var(--bg), var(--bg)) calc(399.5px - var(--g) / 2) 0 / var(--g) 100% no-repeat,
    linear-gradient(var(--bg), var(--bg)) calc(800.5px - var(--g) / 2) 0 / var(--g) 100% no-repeat,
    linear-gradient(var(--bg), var(--bg)) 0 calc(399.5px - var(--g) / 2) / 100% var(--g) no-repeat; }

/* ---------- Lokacija ---------- */
.loc-map { height: clamp(340px, 52vw, 600px); background: #1a1815; }
.loc-map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.85); }
.loc-info { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(72px, 9vw, 128px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(40px, 5vw, 72px); }
.loc-info > div { display: flex; flex-direction: column; gap: 16px; }
.label-head { margin: 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--dim); }
.loc-info address { font-size: 20px; line-height: 1.5; }
.loc-info small { font-size: 13px; color: var(--dim); }
.navlinks { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.navlinks a { display: flex; justify-content: space-between; align-items: center; color: var(--text); text-decoration: none; font-size: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); transition: padding .3s; }
.navlinks a:hover { padding-left: 8px; color: var(--text); }
.navlinks a span:last-child { color: var(--dim); }
.loc-info p { margin: 4px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.loc-info .hours li { padding: 12px 0; font-size: 15px; }

/* ---------- Footer ---------- */
.cta { border-top: 1px solid var(--line); background: #11100e; }
.cta__in { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.cta__txt { display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
.cta h2 { margin: 0; font-size: clamp(36px, 3.4vw, 48px); font-family: var(--script); font-weight: 400; color: var(--gold); line-height: 1.1; text-wrap: balance; }
.cta p { margin: 0; line-height: 1.6; color: var(--muted); }
.cta .btn { height: 56px; padding: 0 26px; font-size: 17px; font-weight: 500; gap: 14px; font-variant-numeric: tabular-nums; }
.ftr { background: #0c0b0a; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.ftr__grid { padding-top: 56px; padding-bottom: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 40px; }
.ftr__col { display: flex; flex-direction: column; gap: 10px; }
.ftr__col--brand { gap: 12px; }
.ftr__col--brand img { width: 96px; height: 96px; border-radius: 50%; display: block; }
.ftr__col--brand > a, .ftr__col > a { align-self: flex-start; }
.ftr__col--brand .social { margin-top: 4px; }
.ftr__head { margin: 0; font-size: 12px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.ftr .hours { border: 0; }
.ftr .hours li { padding: 0; border: 0; }
.ftr .hours { display: flex; flex-direction: column; gap: 10px; }
.ftr__bottom { padding-top: 20px; padding-bottom: 88px; border-top: 1px solid #1c1a17; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--dim); }
@media (min-width: 900px) { .ftr__bottom { padding-bottom: 40px; } }
.ftr__legal { display: flex; flex-wrap: wrap; gap: 20px; }

/* Privacy policy and terms */
.legal { max-width: 800px; padding-top: clamp(120px, 12vw, 168px); padding-bottom: clamp(72px, 9vw, 128px); }
.legal h1 { margin-bottom: 32px; }
.legal h2 { margin: 44px 0 14px; font-size: 21px; font-weight: 500; color: var(--text); }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: var(--soft); }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0; padding-left: 20px; }
.legal li { margin-bottom: 10px; }
.legal b { font-weight: 500; color: var(--text); }

/* 404 */
.notfound { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; padding-top: 120px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Footer credit: site preview card */
.lpv { position: fixed; z-index: 60; width: min(360px, calc(100vw - 32px)); display: block; padding: 6px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-3); box-shadow: 0 24px 60px rgba(0, 0, 0, .6); text-decoration: none; opacity: 0; visibility: hidden; transform: translateY(8px) scale(.98); transform-origin: bottom right; transition: opacity .25s ease, transform .35s var(--ease), visibility 0s .35s; }
.lpv.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .35s var(--ease), visibility 0s; }
.lpv.is-below { transform-origin: top right; }
.lpv img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 7px; background: var(--bg-2); }
.lpv__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 4px 2px; font-size: 13px; color: var(--soft); }
.lpv:hover .lpv__bar { color: var(--gold); }
