/* Leburić — home: the 24-hour dial hero + sections */


/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + 1rem);
  padding-bottom: clamp(2rem, 1rem + 3vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(1.5rem, 1rem + 3vw, 5rem);
}
.hero-copy { display: grid; gap: 1.5rem; align-content: center; }
.hero-word {
  font-size: clamp(3.6rem, 1.5rem + 8.4vw, 10.5rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: .86;
  margin-left: -.04em;
}
.hero-word span { display: block; }
.hero-word .lat { font-size: var(--t-lg); font-weight: 400; letter-spacing: 0; line-height: 1.4; margin-top: 1.75rem; max-width: 26rem; color: var(--muted); }
.hero-hint { display: inline-flex; align-items: center; gap: .6rem; color: var(--muted); }
.hero-hint svg { width: 16px; height: 16px; animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }

/* ---------- dial ---------- */
.dial { margin: 0; display: grid; gap: 1.5rem; justify-items: center; }
.dial-stage { position: relative; width: min(100%, calc(100svh - var(--nav-h) - 13rem), 680px); aspect-ratio: 1; min-width: 260px; }
.dial-photos { position: absolute; inset: 11.5%; border-radius: 50%; overflow: hidden; background: var(--bg-2); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .45); }
.dial-photos img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08);
  transition: opacity .9s var(--ease), transform 1.6s var(--ease);
}
.dial-photos img.is-on { opacity: 1; transform: scale(1); }
.dial-face { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.dial-face:active { cursor: grabbing; }
.dial-face:focus-visible { outline: none; }
.dial-face:focus-visible .knob-ring { stroke: var(--accent); stroke-width: 4; }
.dial-face .ring { fill: none; stroke: var(--line); stroke-width: 1.5; }
.dial-face .tick { stroke: var(--ink); stroke-width: 1.2; opacity: .35; }
.dial-face .tick.h { opacity: .7; stroke-width: 2; }
.dial-face .num { font-family: var(--f-mono); font-size: 22px; fill: var(--ink); text-anchor: middle; dominant-baseline: central; opacity: .8; }
.dial-face .arc { fill: none; stroke-width: 7; stroke-linecap: round; }
.dial-face .arc.in { stroke: var(--gold); }
.dial-face .arc.out { stroke: var(--ink); opacity: .55; }
.dial-face .hand line { stroke: #fff; stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .45)); }
.dial-face .hand .tail { stroke-width: 3; }
.dial-face .pin { fill: #fff; stroke: var(--gold); stroke-width: 4; }
.dial-face .knob { fill: var(--gold); }
.dial-face .knob-ring { fill: none; stroke: var(--bg); stroke-width: 3; }
.dial-face .hit { fill: transparent; }
.dial.is-dragging .dial-photos img { transition-duration: .5s, 1s; }

.dial-read { width: min(100%, 560px); display: grid; grid-template-columns: auto 1fr; column-gap: 1.25rem; row-gap: .35rem; align-items: baseline; }
.dial-status { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 .9rem; padding: .4rem .8rem; border-radius: 999px; background: color-mix(in srgb, var(--gold) 18%, transparent); font-size: .66rem; }
.dial-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3fa45b; box-shadow: 0 0 0 0 rgba(63, 164, 91, .5); animation: live 2s ease-out infinite; }
@keyframes live { 70%, 100% { box-shadow: 0 0 0 8px rgba(63, 164, 91, 0); } }
.dial-time { font-family: var(--f-mono); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; grid-row: span 2; align-self: start; line-height: 1; padding-top: .2rem; }
.dial-scene { font-size: var(--t-lg); font-weight: 600; letter-spacing: -.01em; display: flex; gap: .75rem; align-items: baseline; flex-wrap: wrap; }
.dial-scene small { font-family: var(--f-mono); font-size: .68rem; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dial-text { color: var(--muted); max-width: 40ch; min-height: 3.2em; }
.dial-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--line); color: var(--muted); }
.dial-foot .lg { display: inline-flex; align-items: center; gap: .5rem; }
.dial-foot .lg i { width: 18px; height: 4px; border-radius: 4px; background: var(--gold); }
.dial-foot .lg.out i { background: var(--ink); opacity: .55; }
.dial-now { margin-left: auto; border: 1px solid var(--line); background: transparent; border-radius: 999px; min-height: 36px; padding: .3rem .85rem; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; opacity: 0; pointer-events: none; transition: opacity .3s; }
.dial-now.is-on { opacity: 1; pointer-events: auto; }
.dial-now:hover { background: var(--ink); color: var(--bg); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: calc(var(--nav-h) + 1.5rem); }
  .hero-copy { gap: 1rem; }
  .hero-word .lat { margin-top: 1rem; }
  .hero-hint { display: none; }
  .dial-stage { width: min(100%, 520px); }
}

/* ---------- two doors ---------- */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, .5rem + 2vw, 2rem); }
.door-link { position: relative; display: block; text-decoration: none; color: #fff; border-radius: 6px; overflow: hidden; isolation: isolate; }
.door-link .frame { aspect-ratio: 4 / 5; border-radius: 0; }
.door-link img { transition: transform 1.2s var(--ease); }
.door-link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(8,12,18,.72)); z-index: 1; }
.door-link:hover img { transform: scale(1.05); }
.door-cap { position: absolute; z-index: 2; left: clamp(1rem, .5rem + 2vw, 2rem); right: clamp(1rem, .5rem + 2vw, 2rem); bottom: clamp(1rem, .5rem + 2vw, 2rem); display: grid; gap: .5rem; }
.door-cap h3 { font-size: var(--t-2xl); font-weight: 650; letter-spacing: -.03em; line-height: 1; }
.door-cap p { opacity: .85; max-width: 32ch; }
.door-cap .link-arrow { border-color: rgba(255,255,255,.4); justify-self: start; margin-top: .5rem; }
.plate-tag {
  position: absolute; z-index: 2; top: 1.25rem; left: 1.25rem;
  width: 64px; height: 84px; border-radius: 4px;
  display: grid; place-items: center;
  font-size: 2.4rem; font-weight: 700; color: #fff;
  background:
    radial-gradient(circle at 9px 9px, #d9d4cc 2.5px, transparent 3px),
    radial-gradient(circle at calc(100% - 9px) 9px, #d9d4cc 2.5px, transparent 3px),
    radial-gradient(circle at 9px calc(100% - 9px), #d9d4cc 2.5px, transparent 3px),
    radial-gradient(circle at calc(100% - 9px) calc(100% - 9px), #d9d4cc 2.5px, transparent 3px),
    repeating-linear-gradient(97deg, rgba(255,255,255,.05) 0 2px, transparent 2px 7px),
    linear-gradient(160deg, #5d3b28, #3e2618);
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.55);
  transform-origin: left center;
  transition: transform .8s var(--ease);
}
.door-link:hover .plate-tag { transform: perspective(500px) rotateY(-24deg); }
.plate-tag.cyr { font-size: 1.15rem; letter-spacing: .04em; }
@media (max-width: 700px) { .doors { grid-template-columns: 1fr; } .door-link .frame { aspect-ratio: 4 / 4.4; } }

/* ---------- score ---------- */
.score { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.score > div { padding: clamp(1.25rem, 1rem + 1.5vw, 2.5rem) clamp(.75rem, .5rem + 1vw, 1.75rem); display: grid; gap: .4rem; align-content: start; }
.score > div + div { border-left: 1px solid var(--line); }
.score b { font-family: var(--f-mono); font-size: clamp(2.2rem, 1.4rem + 3vw, 4.2rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.score .big b { font-size: clamp(3.4rem, 2rem + 5.5vw, 7.5rem); color: var(--accent); }
.score span { color: var(--muted); }
@media (max-width: 760px) {
  .score { grid-template-columns: repeat(3, 1fr); }
  .score .big { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .score > div:nth-child(2) { border-left: 0; }
}

/* ---------- guest book ---------- */
.book { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: start; }
.book .sec-head { position: sticky; top: calc(var(--nav-h) + 2rem); margin: 0; }
.quotes { list-style: none; margin: 0; padding: 0; display: grid; }
.quotes li { padding-block: clamp(1.5rem, 1rem + 1.5vw, 2.4rem); border-top: 1px solid var(--line); display: grid; gap: 1rem; }
.quotes li:last-child { border-bottom: 1px solid var(--line); }
.quotes blockquote { margin: 0; font-size: var(--t-xl); font-weight: 400; letter-spacing: -.02em; line-height: 1.18; }
.quotes blockquote::before { content: "„"; color: var(--accent); }
.quotes blockquote::after { content: "“"; color: var(--accent); }
.quotes cite { font-style: normal; display: flex; gap: .75rem; flex-wrap: wrap; color: var(--muted); }
@media (max-width: 860px) { .book { grid-template-columns: 1fr; } .book .sec-head { position: static; } }

/* ---------- details ---------- */
.details { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.75rem, .5rem + 1vw, 1.5rem); }
.details figure { margin: 0; display: grid; gap: .85rem; }
.details figure:nth-child(even) { margin-top: clamp(2rem, 1rem + 4vw, 5rem); }
.details figcaption { display: grid; gap: .2rem; }
.details figcaption b { font-weight: 550; }
.details figcaption span { color: var(--muted); font-size: var(--t-sm); }
@media (max-width: 760px) { .details { grid-template-columns: 1fr 1fr; } .details figure:nth-child(even) { margin-top: 2.5rem; } }

/* ---------- location ---------- */
.where { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.where h2 { margin-bottom: 1.25rem; }
.where .lede { color: var(--muted); font-size: var(--t-lg); margin-bottom: 2rem; }
.map { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--bg-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
[data-tone="dark"] .map iframe { filter: invert(.9) hue-rotate(180deg) grayscale(.3); }
.where-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
@media (max-width: 860px) { .where { grid-template-columns: 1fr; } }

.score .award { justify-self: start; margin-top: .6rem; padding: .4rem .7rem; border: 1px solid var(--line); border-radius: 999px; font-style: normal; font-size: .6rem; color: var(--ink); display: inline-flex; gap: .45rem; align-items: center; }
.score .award::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: #003b95; box-shadow: inset 0 0 0 2px #febb02; }
