/* Utcafront (Illés Máté) — the shop opens, you step in through the window */
:root {
  --night: #0D0D0F;
  --facade: #1B1A19;
  --pilaster: #141312;
  --pavement: #2A2928;
  --curb: #3A3836;
  --room: #1A1410;
  --room-2: #241B15;
  --bone: #EFEBE3;
  --ash: #C2BCB2;
  --smoke: #8A857C;
  --red: #FF4A1C;
  --black: #121212;
  --paper: #F6EEDF;
  --display: "Anton", "Impact", sans-serif;
  --text: "Familjen Grotesk", system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--room); color: var(--bone); font: 18px/1.55 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--red); color: var(--black); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.d { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .95; letter-spacing: -.005em; }
.red { color: var(--red); }
.cursor { display: inline-block; width: .5em; height: .8em; background: var(--red); vertical-align: -.04em; margin-left: .08em; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Top bar: logo left, a few links right; hides on the way down ---------- */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px var(--gutter); transition: transform .35s var(--ease), background-color .35s; }
.topbar.solid { background: rgba(26, 20, 16, .92); }
.topbar.hide { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 22px/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.brand img { width: 28px; height: 28px; }
.topbar nav { display: flex; align-items: center; gap: 26px; }
.topbar nav a { text-decoration: none; font-weight: 600; font-size: 16px; color: var(--ash); transition: color .15s; }
.topbar nav a:hover { color: var(--bone); }
.topbar nav .go { color: var(--black); background: var(--red); padding: 11px 18px; transition: background-color .15s; }
.topbar nav .go:hover { background: var(--bone); color: var(--black); }

/* ---------- 1. Outside: the scene that you scroll into ---------- */
.scene { position: relative; background: var(--night); }
.js .scene { height: 170vh; }
.stage { position: relative; height: 100svh; min-height: 600px; overflow: hidden; display: grid; place-items: center; padding: 84px var(--gutter) 0; background: var(--facade); }
.js .stage { position: sticky; top: 0; }
.street { width: 100%; max-width: 1200px; height: 100%; display: flex; flex-direction: column; }
#sign, #awning { will-change: transform, opacity; }

.sign { background: var(--black); color: var(--bone); padding: 20px 28px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; border-bottom: 4px solid #000; }
.sign .name { font: 400 clamp(40px, 6vw, 84px)/1 var(--display); text-transform: uppercase; display: flex; align-items: center; gap: 16px; transition: text-shadow .6s; }
.sign .name img { width: .72em; height: .72em; }
.sign small { font: 600 14px/1.3 var(--text); color: var(--ash); letter-spacing: .04em; }
.js .scene:not(.open) .sign .name { opacity: .35; }
.scene.open .sign .name { animation: flick .7s steps(1) 1; text-shadow: 0 0 22px rgba(255, 74, 28, .35); }
@keyframes flick { 0%, 30%, 60% { opacity: 1; } 15%, 45% { opacity: .35; } }

.awning { --a1: var(--red); --a2: var(--bone); position: relative; height: 46px; flex: none; background: repeating-linear-gradient(90deg, var(--a1) 0 48px, var(--a2) 48px 96px); margin-bottom: 24px; }
.awning::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 24px;
  background:
    radial-gradient(circle at 24px 0, var(--a1) 23.5px, transparent 24px) 0 0 / 96px 24px repeat-x,
    radial-gradient(circle at 72px 0, var(--a2) 23.5px, transparent 24px) 0 0 / 96px 24px repeat-x; }

.front { position: relative; flex: 1; display: grid; grid-template-columns: 1fr minmax(220px, 30%); gap: 14px; background: var(--pilaster); padding: 14px; margin-top: 10px; overflow: hidden; }
.behind { position: absolute; inset: 14px; background: radial-gradient(70% 60% at 50% 0%, rgba(255, 186, 120, .22), transparent 70%), var(--room); }
.front > .window, .front > .door { will-change: transform; }

/* The window shows the room you are about to walk into */
.window { position: relative; overflow: hidden; color: var(--bone);
  background:
    radial-gradient(60% 45% at 22% 0%, rgba(255, 186, 120, .20), transparent 70%),
    radial-gradient(60% 45% at 78% 0%, rgba(255, 186, 120, .16), transparent 70%),
    var(--room); }
.window::before { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 6px #0b0b0b; }
.window .in { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 4vw, 56px); }
.window h1 { font-size: clamp(46px, 5.6vw, 92px); }
.window p { font-size: clamp(18px, 1.5vw, 21px); max-width: 40ch; margin-top: 22px; color: var(--ash); }

/* The shop window displays the three sample sites on a shelf */
.display { display: block; margin-top: clamp(24px, 4vh, 44px); text-decoration: none; color: var(--bone); }
.frames { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1.4vw, 18px); align-items: end; padding: 0 clamp(4px, 1vw, 12px); }
.frames img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border: 4px solid #0b0b0b; transition: transform .35s var(--ease); }
.frames img:nth-child(2) { transform: translateY(-10px); }
.display:hover .frames img { transform: translateY(-6px); }
.display:hover .frames img:nth-child(2) { transform: translateY(-16px); }
.shelf { display: block; background: #3A2A1E; border-top: 6px solid var(--red); padding: 10px 14px; font-weight: 600; font-size: 16px; }
.display:hover .shelf { color: var(--red); }
@media (max-height: 760px) and (min-width: 721px) { .display { display: none; } }

/* The door is the call to action */
.door { position: relative; display: flex; flex-direction: column; justify-content: flex-end; background: var(--red); color: var(--black); text-decoration: none; padding: 22px; border: 6px solid #0b0b0b; transition: background-color .2s; }
.door .pane { position: absolute; left: 22px; right: 22px; top: 22px; bottom: 190px; background: var(--room); }
.door .pane::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 0%, rgba(255, 186, 120, .25), transparent 70%); }
.door .knob { position: absolute; right: 18px; top: 58%; width: 12px; height: 44px; background: #0b0b0b; transition: transform .2s var(--ease); }
.hang { position: absolute; left: 50%; top: 52px; transform: translateX(-50%) rotate(-3deg); transform-origin: 50% -22px; background: var(--bone); color: var(--black); font: 600 15px/1 var(--text); padding: 10px 12px; letter-spacing: .06em; white-space: nowrap; z-index: 1; }
.hang::before { content: ""; position: absolute; left: 50%; top: -22px; width: 2px; height: 22px; background: #0b0b0b; }
.scene.open .door .hang { animation: swing 1.1s var(--ease) .1s 1; }
@keyframes swing { 0% { transform: translateX(-50%) rotate(-18deg); } 55% { transform: translateX(-50%) rotate(8deg); } 100% { transform: translateX(-50%) rotate(-3deg); } }
.sticker { position: absolute; left: 50%; top: 40%; z-index: 1; width: 128px; height: 128px; margin: -64px 0 0 -64px; border-radius: 50%; background: var(--bone); color: var(--black); display: flex; flex-direction: column; align-items: center; justify-content: center; font: 600 15px/1.1 var(--text); text-align: center; transform: rotate(-8deg); }
.sticker .amt { font: 400 26px/1 var(--display); margin: 5px 0 3px; }
.door b { position: relative; font: 400 clamp(26px, 2.4vw, 36px)/1 var(--display); text-transform: uppercase; }
.door .sub { position: relative; font-weight: 600; font-size: 15px; margin-top: 6px; }
.door:hover { background: var(--bone); }
.door:hover .knob { transform: rotate(-20deg); }

.sidewalk { height: 48px; flex: none; background: var(--pavement); border-top: 8px solid var(--curb); margin: 0 -100vw; }

/* Redőny */
.shutter { display: none; }
.js .shutter { display: block; position: absolute; inset: 14px; z-index: 5; pointer-events: none;
  background: repeating-linear-gradient(180deg, #8E8C88 0 11px, #6A6865 11px 13px, #A4A29E 13px 22px, #7C7A76 22px 24px); }
.js .shutter::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26px; background: #4B4946; border-top: 3px solid #2C2B29; }
.shutter .lock { position: absolute; left: 50%; bottom: 4px; width: 40px; height: 16px; transform: translateX(-50%); background: #2C2B29; z-index: 1; }
.shutter .zarva { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%) rotate(-2deg); background: var(--black); color: var(--bone); font: 400 clamp(22px, 3vw, 40px)/1 var(--display); padding: 12px 18px; letter-spacing: .04em; white-space: nowrap; }
.scene.open .shutter { animation: shutter-up 1.45s cubic-bezier(.6, .05, .25, 1) forwards; }
.scene.skip .shutter { animation-duration: .35s; }
.scene.gone .shutter { display: none; }
@keyframes shutter-up {
  0% { transform: translateY(0); }
  12% { transform: translateY(-5%); }
  18% { transform: translateY(-3%); }
  100% { transform: translateY(-103%); visibility: hidden; }
}

.veil { position: absolute; inset: 0; z-index: 3; background: var(--room); opacity: 0; pointer-events: none; will-change: opacity; }
.scroll-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 2; font: 600 14px/1 var(--text); color: var(--ash); letter-spacing: .06em; opacity: 0; transition: opacity .6s; }
.scene.open .veil { position: absolute; inset: 0; z-index: 3; background: var(--room); opacity: 0; pointer-events: none; will-change: opacity; }
.scroll-hint { opacity: 1; }

/* ---------- 2. Inside: one calm, warm room ---------- */
.inside { position: relative; padding: 0 var(--gutter) 40px; }
.js .inside { margin-top: -82svh; z-index: 4; }
@media (prefers-reduced-motion: reduce) { .js .inside { margin-top: 0; } }
.inside > section { max-width: 1200px; margin: 0 auto; padding: clamp(96px, 12vw, 160px) 0 0; scroll-margin-top: 40px; }
.inside > section:first-child { padding-top: clamp(48px, 6vw, 80px); }
.inside h2 { font-size: clamp(48px, 7vw, 104px); }
.lead { font-size: clamp(19px, 1.6vw, 22px); color: var(--ash); max-width: 46ch; margin-top: 20px; }

/* Gentle entrances */
.js [data-in] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-in].is-in { opacity: 1; transform: none; }

/* Szolgáltatás */
.offer { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); margin-top: 56px; }
.offer h3 { font: 400 clamp(34px, 3.4vw, 52px)/1 var(--display); text-transform: uppercase; }
.offer h3 span { color: var(--red); }
.offer p { color: var(--ash); margin-top: 14px; max-width: 40ch; }
.offer ul { list-style: none; margin-top: 22px; }
.offer li { padding: 12px 0; border-top: 1px solid rgba(239, 235, 227, .12); display: flex; gap: 14px; }
.offer li::before { content: "→"; color: var(--red); }

/* Így dolgozom */
.steps-wrap { position: relative; margin-top: 56px; max-width: 760px; --fill: 0; --span: 0px; --pl: clamp(60px, 8vw, 96px); }
.steps-wrap .line, .steps-wrap .fill { position: absolute; left: 20px; top: 10px; bottom: 10px; width: 2px; }
.steps-wrap .line { background: rgba(239, 235, 227, .16); }
.steps-wrap .fill { background: var(--red); transform-origin: top; transform: scaleY(var(--fill)); }
.steps-wrap .dot { position: absolute; left: 12px; top: 10px; width: 18px; height: 18px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px rgba(255, 74, 28, .22); transform: translate3d(0, calc(var(--fill) * var(--span)), 0); will-change: transform; }
.steps { list-style: none; display: grid; gap: clamp(44px, 6vw, 72px); padding-left: var(--pl); counter-reset: s; }
.steps li { position: relative; counter-increment: s; }
.steps li::before { content: counter(s); display: block; font: 400 44px/1 var(--display); color: #4A4744; margin-bottom: 10px; transition: color .4s; }
.steps li::after { content: ""; position: absolute; left: calc(21px - var(--pl) - 8px); top: 14px; width: 16px; height: 16px; border-radius: 50%; background: #3A3836; transition: background-color .4s, box-shadow .4s; }
.steps li.on::before { color: var(--red); }
.steps li.on::after { background: var(--red); box-shadow: 0 0 0 6px rgba(255, 74, 28, .2), 0 0 26px rgba(255, 74, 28, .6); }
.steps b { display: block; font-size: 22px; margin-bottom: 6px; opacity: .5; transition: opacity .4s; }
.steps span { color: var(--ash); font-size: 17px; opacity: .5; transition: opacity .4s; }
.steps li.on b, .steps li.on span { opacity: 1; }

/* Munkák */
.works { display: grid; gap: clamp(88px, 10vw, 140px); margin-top: 64px; }
.work { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.work:nth-child(2) .pkg { order: 2; }
.work h3 { font: 400 clamp(44px, 4.2vw, 66px)/.95 var(--display); text-transform: uppercase; }
.work h3 span { display: block; color: var(--red); font-size: .62em; margin-top: 10px; }
.pkg > p { color: var(--ash); margin-top: 18px; max-width: 40ch; }
.shot { display: block; overflow: hidden; background: var(--room-2); }
.shot img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.shot:hover img { transform: scale(1.03); }
.sample figcaption { margin-top: 14px; color: var(--ash); font-size: 16px; }
.sample figcaption b { color: var(--bone); font-weight: 600; }
.feat { list-style: none; margin-top: 18px; }
.feat li { padding: 7px 0; display: flex; gap: 12px; font-size: 17px; }
.feat li::before { content: "✓"; color: var(--red); font-weight: 600; }
.actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 26px; }
.want { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; background: var(--red); color: var(--black); text-decoration: none; font-weight: 600; transition: background-color .15s, color .15s; }
.want:hover { background: var(--bone); }
.work .go { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; transition: color .2s; }
.work .go:hover { color: var(--red); }

/* Rólam */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; margin-top: 56px; }
.portrait { position: relative; margin: 0 14px 14px 0; aspect-ratio: 1852 / 1695; background: var(--room-2); border: 6px solid var(--bone); box-shadow: 14px 14px 0 var(--red); }
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.portrait figcaption { position: absolute; left: -6px; bottom: 22px; background: var(--bone); color: var(--room); padding: 10px 16px 10px 14px; font: 400 clamp(20px, 2vw, 28px)/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.portrait figcaption small { display: block; margin-top: 4px; font: 600 11px/1 var(--text); letter-spacing: .2em; color: var(--red); }
.about p { font-size: clamp(19px, 1.6vw, 22px); color: var(--ash); max-width: 44ch; }
.about p + p { margin-top: 16px; }
.about p strong { color: var(--bone); }

/* Kapcsolat: the counter */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; margin-top: 8px; }
.counter { position: relative; padding-top: 72px; }
.counter .hang { position: absolute; left: auto; right: 40px; top: 0; transform: rotate(-3deg); }
.counter .hang::before { top: -40px; height: 40px; }
.counter form { position: relative; z-index: 1; background: var(--paper); color: var(--black); padding: clamp(22px, 3vw, 36px); display: grid; gap: 14px; margin: 0 clamp(12px, 3vw, 40px); }
.counter .top { height: 18px; background: #3A2A1E; margin-top: -2px; }
.counter .body { height: 90px; background: #2A1E16; border-top: 6px solid var(--red); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field textarea, .field select { font: 18px/1.4 var(--text); color: var(--black); background: transparent; border: 0; border-bottom: 2px solid #8a857c; padding: 8px 0; border-radius: 0; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--red); }
.field textarea { min-height: 96px; resize: vertical; }
.send { justify-self: start; display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px; background: var(--black); color: var(--bone); border: 0; font: 600 17px/1 var(--text); cursor: pointer; text-decoration: none; transition: background-color .15s, color .15s; }
.send:hover { background: var(--red); color: var(--black); }
.hidden { position: absolute; left: -9999px; }
.form-error { margin-top: 12px; color: #FF8A66; font-weight: 600; }

footer { max-width: 1200px; margin: 0 auto; padding: 96px 0 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--smoke); font-size: 15px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--bone); }

/* ---------- Tablet ---------- */

/* ---------- Phone ---------- */
@media (max-width: 720px) {
  body { font-size: 17px; }
  .topbar { padding: 12px 16px; }
  .topbar .hide-s { display: none; }
  .brand { font-size: 20px; }
  .js .scene { height: 150vh; }
  .js .inside { margin-top: -55svh; }
  .stage { padding: 76px 14px 0; min-height: 0; }
  .sign { padding: 14px 16px; }
  .sign .name { font-size: 12vw; }
  .awning { height: 30px; margin-bottom: 18px; background: repeating-linear-gradient(90deg, var(--a1) 0 32px, var(--a2) 32px 64px); }
  .awning::after { height: 16px; background:
    radial-gradient(circle at 16px 0, var(--a1) 15.5px, transparent 16px) 0 0 / 64px 16px repeat-x,
    radial-gradient(circle at 48px 0, var(--a2) 15.5px, transparent 16px) 0 0 / 64px 16px repeat-x; }
  .front { grid-template-columns: 1fr; grid-template-rows: 1fr auto; padding: 10px; gap: 10px; }
  .window h1 { font-size: 13vw; }
  .door { min-height: 172px; }
  .sticker { left: auto; right: 40px; top: 12px; margin: 0; width: 92px; height: 92px; font-size: 13px; }
  .sticker .amt { font-size: 19px; }
  .door .pane { display: none; }
  .door .hang { top: 24px; left: 22px; transform: rotate(-3deg); }
  .scene.open .door .hang { animation: none; }
  .offer, .about, .contact-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 560px; }
  .portrait figcaption { left: auto; right: -6px; }
  .counter .hang { right: 20px; }
}

/* ---------- Reduced motion: the shop is simply open, no zoom ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .scene { height: auto; }
  .js .stage { position: relative; }
  .veil { display: none; }
  .topbar { transition: none; }
  .js .shutter { display: none; }
  .js .scene:not(.open) .sign .name { opacity: 1; }
  .cursor, .scene.open .sign .name, .scene.open .door .hang { animation: none; }
  .js [data-in] { opacity: 1; transform: none; transition: none; }
  .shot img, .door, .door .knob { transition: none; }
}


/* ---------- Legal pages and small print ---------- */
.legal > section { max-width: 760px; }
.legal h1 { font-size: clamp(44px, 6vw, 84px); margin: 28px 0 8px; }
.legal h2 { font: 600 22px/1.3 var(--text); text-transform: none; margin: 40px 0 10px; color: var(--bone); }
.legal p, .legal li { color: var(--ash); }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 10px 0 0 22px; }
.legal li { margin: 4px 0; }
.legal strong { color: var(--bone); }
.legal footer { max-width: 760px; }
.back { color: var(--ash); text-decoration: none; font-weight: 600; }
.back:hover { color: var(--red); }
.todo { background: rgba(255, 74, 28, .16); color: #FF8A66; padding: 1px 6px; font-weight: 600; }
.updated { margin-top: 40px; font-size: 15px; color: var(--smoke); }
.form-note { font-size: 14px; color: #5a554e; }
.form-note a { color: var(--black); }
.footlinks { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- Scroll scenes ---------- */

/* Top progress: an awning-striped line */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 5px; z-index: 40; pointer-events: none; }
.progress i { display: block; height: 100%; clip-path: inset(0 100% 0 0); background: repeating-linear-gradient(90deg, var(--red) 0 18px, var(--bone) 18px 36px); }

/* Webdesign: a page wireframe that fills in */
.wf { margin-top: 24px; max-width: 360px; }
.wf svg { width: 100%; height: auto; display: block; }
.wf rect, .wf circle { fill: var(--c, transparent); fill-opacity: clamp(0, calc((var(--p, 0) - var(--t, 0)) * 10), 1); stroke: rgba(239, 235, 227, .3); stroke-width: 1; }
.wf .fr { fill: none; fill-opacity: 1; }

/* Üzemeltetés: a 24 hour day */
.clock24 { margin-top: 24px; max-width: 360px; --p: 0; }
.c-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.c-time { font: 400 56px/1 var(--display); letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.flip { position: relative; width: 170px; height: 72px; perspective: 700px; flex: none; }
.face { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .7s var(--ease); font: 400 24px/1 var(--display); text-transform: uppercase; background: var(--bone); color: var(--black); }
.face small { font: 600 12px/1 var(--text); text-transform: none; margin-top: 5px; opacity: .75; }
.face.back { background: var(--red); transform: rotateX(180deg); }
.clock24.open .front { transform: rotateX(-180deg); }
.clock24.open .back { transform: rotateX(0); }
.c-bar { height: 14px; margin-top: 18px; background: rgba(239, 235, 227, .12); overflow: hidden; }
.c-fill { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(var(--p)); }
.c-ticks { display: flex; justify-content: space-between; margin-top: 8px; font-size: 14px; color: var(--smoke); }

/* Rólam: words light up */
.rw .w { opacity: .24; transition: opacity .4s var(--ease); }
.rw .w.lit { opacity: 1; }

/* Munkák: the shop grows with the tier */
.hs { transform-box: fill-box; transform-origin: 50% 0; }
@keyframes hs-swing { 0% { transform: rotate(-12deg); } 40% { transform: rotate(7deg); } 70% { transform: rotate(-3deg); } 100% { transform: rotate(0); } }

/* Vég: the shutter comes down */

@media (max-width: 900px) {
  /* Phones and small tablets: the package first, its sample under it */
  .work { grid-template-columns: 1fr; gap: 28px; }
  .work:nth-child(2) .pkg { order: 0; }
  .works { margin-top: 40px; }
}
@media (max-width: 720px) {
  .c-time { font-size: 44px; }
  .flip { width: 150px; height: 66px; }
}

/* Munkák: explain the drawing */
@keyframes capin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cap { animation: none !important; } }

/* Brand: "Stúdió" next to the wordmark */
.brand small { font: 600 11px/1 var(--text); letter-spacing: .22em; text-transform: uppercase; color: var(--ash); margin-left: 2px; align-self: flex-end; padding-bottom: 3px; }
.sign .name .studio { font: 600 clamp(12px, 1.3vw, 19px)/1 var(--text); letter-spacing: .26em; text-transform: uppercase; color: var(--ash); align-self: flex-end; padding-bottom: .5em; margin-left: .3em; }
@media (max-width: 720px) { .brand small { font-size: 10px; letter-spacing: .16em; } }
