@charset "UTF-8";
/* ==========================================================================
   RENDKOMMANDO — main.css
   Design system: "MUNKALAP" (job sheet). Ink black ground, milk type,
   concrete greys, one command colour. Everything on a 45° / numbered grid.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* brand */
  --ink:        #111111;
  --ink-90:     #171717;
  --ink-80:     #1c1c1c;
  --ink-70:     #232323;
  --ink-60:     #2d2d2d;
  --milk:       #f4f1e8;
  --milk-dim:   #d9d5c9;
  --concrete:   #a7a6a0;
  /* 4.5:1 on Ink Black — the old #6f6e69 only reached 3.7:1 for small text */
  --concrete-d: #8a8a84;
  --green:      #b8ff3c;
  --green-700:  #8fd415;
  /* #B8FF3C is right for accents, type and small buttons, but as a large
     filled panel it glares on a dark page — this is the same hue, dimmed. */
  --green-fill: #9bd62c;
  --green-900:  #466b06;

  /* semantic (dark is the default surface) */
  --bg:         var(--ink);
  --fg:         var(--milk);
  --muted:      var(--concrete);
  --accent:     var(--green);
  --rule:       rgba(244, 241, 232, .14);
  --rule-soft:  rgba(244, 241, 232, .07);
  --surface:    var(--ink-80);

  /* type */
  --font-display: 'Inter Tight', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --font-body:    'Inter Tight', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --font-mono:    'Space Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --font-hand:    'Caveat', 'Bradley Hand', cursive;

  /* Hungarian long accents (Ő Ű Á É Í Ó Ú) sit high above the cap line.
     Every clipped / tight-leading display block needs this much headroom. */
  --accent-pad:   .2em;

  --fs-display:  clamp(3.4rem, 11.5vw, 11rem);
  --fs-h1:       clamp(2.6rem, 7.6vw, 6.6rem);
  --fs-h2:       clamp(2.1rem, 5.4vw, 4.4rem);
  --fs-h3:       clamp(1.45rem, 2.6vw, 2.1rem);
  --fs-h4:       clamp(1.12rem, 1.6vw, 1.38rem);
  --fs-lead:     clamp(1.05rem, 1.55vw, 1.32rem);
  --fs-body:     clamp(1rem, 1.08vw, 1.075rem);
  --fs-small:    .875rem;
  --fs-mono:     .72rem;
  --fs-mono-lg:  .8rem;

  /* space */
  --gutter:     clamp(1.15rem, 4vw, 3.5rem);
  --maxw:       1560px;
  --measure:    62ch;
  --section-y:  clamp(4.5rem, 10vw, 10.5rem);
  --block-y:    clamp(2.5rem, 5vw, 4.5rem);

  /* motion */
  --ease-out:   cubic-bezier(.16, 1, .3, 1);
  --ease-in-out:cubic-bezier(.76, 0, .24, 1);
  --ease-snap:  cubic-bezier(.2, .9, .25, 1);
  --dur-fast:   .22s;
  --dur:        .45s;
  --dur-slow:   .9s;

  --radius:     0px;      /* the brand is square. Only pills are round. */
  --header-h:   76px;

  /* film grain, inline so it costs no request */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.52'/%3E%3C/svg%3E");

  color-scheme: dark;
}

@media (max-width: 760px) { :root { --header-h: 64px; } }

/* "milk" inverted zones */
.is-light {
  --bg: var(--milk);
  --fg: var(--ink);
  --muted: #5d5c57;
  --rule: rgba(17, 17, 17, .16);
  --rule-soft: rgba(17, 17, 17, .08);
  --surface: #ece8dc;
  color-scheme: light;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  background: var(--ink);
  color: var(--milk);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.58;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; background: var(--ink-70); }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

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

::selection { background: var(--green); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.035em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

hr { border: 0; border-top: 1px solid var(--rule); }

/* --------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
/* two stacked sections should not add up to a canyon */
.section + .section { padding-top: 0; }
/* for a section that follows something other than a .section and so
   needs its own top padding back */
.section--keep-top { padding-top: var(--section-y) !important; }
.section--tight { padding-block: clamp(3rem, 6vw, 6rem); }
.section--flush-top { padding-top: 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 2.2rem);
}

.stack > * + * { margin-top: var(--gap, 1rem); }

.rule { border-top: 1px solid var(--rule); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--green);
  color: var(--ink);
  padding: .8rem 1.3rem;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.skip-link:focus { left: 12px; top: 12px; }

/* --------------------------------------------------------------------------
   4. TYPE UTILITIES
   -------------------------------------------------------------------------- */
.mono {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 400;
  line-height: 1.4;
}
.mono--lg { font-size: var(--fs-mono-lg); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--green);
  flex: none;
  transform: rotate(45deg);
}
.eyebrow--plain::before { display: none; }

.display { font-size: var(--fs-display); text-transform: uppercase; font-weight: 800; }
.h1 { font-size: var(--fs-h1); text-transform: uppercase; }
.h2 { font-size: var(--fs-h2); text-transform: uppercase; }
.h3 { font-size: var(--fs-h3); text-transform: uppercase; }
.h4 { font-size: var(--fs-h4); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--muted);
  max-width: var(--measure);
  letter-spacing: -.01em;
}
.lead strong { color: var(--fg); font-weight: 600; }

.muted { color: var(--muted); }
.accent { color: var(--green); }
.measure { max-width: var(--measure); }

/* green marker highlight — the moodboard's "highlighter" element */
.mark-hl {
  position: relative;
  display: inline-block;
  color: var(--ink);
  isolation: isolate;
}
.mark-hl::before {
  content: "";
  position: absolute;
  inset: .04em -.18em .08em -.18em;
  background: var(--green);
  z-index: -1;
  transform: skewX(-9deg) scaleX(var(--hl, 1));
  transform-origin: left center;
}
.is-light .mark-hl { color: var(--ink); }

/* green underline swipe (drawn on reveal) */
.swipe {
  position: relative;
  display: inline-block;
  color: var(--green);
}
.swipe::after {
  content: "";
  position: absolute;
  left: -.04em; right: -.04em; bottom: -.1em;
  height: .09em;
  background: var(--green);
  transform: scaleX(var(--sw, 1));
  transform-origin: left;
}

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--green);
  --btn-fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  padding: 1.05rem 1.35rem;
  min-height: 56px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-mono);
  font-size: var(--fs-mono-lg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  line-height: 1;
  overflow: hidden;
  isolation: isolate;
  transition: color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              transform .34s var(--ease-out);
}
.btn > span { position: relative; z-index: 2; display: block; }
.btn--nowrap > span { white-space: nowrap; }
/* any inline icon inside a button stays button-sized */
.btn > svg:not(.btn__arrow) { position: relative; z-index: 2; width: 17px; height: 17px; flex: none; }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform var(--dur) var(--ease-out);
  z-index: 1;
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
/* The fill sweeping up is the hover state. The scale is deliberately almost
   nothing: enough to feel the button answer, never enough to move the target
   out from under the pointer. */
.btn:hover, .btn:focus-visible { color: var(--green); transform: scale(1.015); }
.btn:active { transform: scale(.995); transition-duration: .08s; }
@media (prefers-reduced-motion: reduce) {
  .btn:hover, .btn:focus-visible, .btn:active { transform: none; }
}

.btn__arrow {
  position: relative;
  z-index: 2;
  width: 18px; height: 18px;
  flex: none;
  transition: transform var(--dur) var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(5px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  border: 1px solid var(--rule);
}
.btn--ghost::before { background: var(--milk); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--ink); border-color: var(--milk); }

.btn--ink { --btn-bg: var(--ink); --btn-fg: var(--milk); }
.btn--ink::before { background: var(--green); }
.btn--ink:hover, .btn--ink:focus-visible { color: var(--ink); }

.btn--lg { min-height: 68px; padding-inline: 1.7rem; font-size: .85rem; }
.btn--block { display: flex; width: 100%; }

/* small inline arrow link */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--fg);
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--rule);
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.arrow-link svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease-out); }
.arrow-link:hover { color: var(--green); border-color: var(--green); }
.arrow-link:hover svg { transform: translateX(5px); }

/* circular green arrow button (moodboard "kiegészítő elem") */
.circle-arrow {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--green);
  color: var(--green);
  display: grid;
  place-items: center;
  flex: none;
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.circle-arrow svg { width: 20px; height: 20px; }
.circle-arrow:hover { background: var(--green); color: var(--ink); transform: rotate(45deg); }

/* --------------------------------------------------------------------------
   6. HEADER / NAV
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .35s linear, border-color .35s linear;
  border-bottom: 1px solid transparent;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, .82);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  opacity: 0;
  transition: opacity .35s linear;
}
.site-header.is-stuck::before { opacity: 1; }
.site-header.is-stuck { border-bottom-color: var(--rule-soft); }

.site-header .shell {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  width: 100%;
  position: relative;
  z-index: 2;
}

.brand { display: flex; align-items: center; gap: .62rem; flex: none; }
.brand__mark { width: 31px; color: var(--milk); }
.brand__mark .rk-logo__accent { fill: var(--green); }
.brand__type {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.015rem;
  letter-spacing: -.012em;
  text-transform: uppercase;
  line-height: 1;
  padding-top: 1px;
}
.brand__r {
  font-family: var(--font-mono);
  font-size: .5rem;
  vertical-align: super;
  letter-spacing: 0;
  color: var(--green);
}

/* a logó és mellette a belső felület kulcsa */
.brand-wrap { display: flex; align-items: center; gap: .85rem; }
.brand-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--concrete-d);
  border: 1px solid transparent;
  transition: color .3s var(--ease-out), border-color .3s var(--ease-out);
}
.brand-login svg { width: 18px; height: 18px; }
.brand-login:hover, .brand-login:focus-visible {
  color: var(--green);
  border-color: var(--green-700);
}
@media (max-width: 1080px) { .brand-login { margin-right: .2rem; } }

.nav { display: flex; align-items: center; gap: clamp(.9rem, 2.1vw, 2rem); margin-left: auto; }
/* five nav items plus the CTA only just fit above the dropdown breakpoint,
   so the band between them runs on tighter tracking and a smaller gap */
@media (min-width: 1081px) and (max-width: 1239px) {
  .nav { gap: 1.05rem; }
  .nav__link { letter-spacing: .07em; }
  .nav__cta .btn { padding-inline: 1rem; gap: 1rem; }
}
/* The menu has to say three different things at once, so each gets its own
   signal and none of them share one:
     colour    -> which section you are currently reading (the scroll spy)
     underline -> where your cursor is right now
     outline   -> this one leaves the page, it is not a section
   The old hover swapped the label for a green copy of itself, which read as
   the item vanishing: the sliding block was two lines tall inside a window
   one line high, so both copies left the frame. */
.nav__link {
  position: relative;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: .12em;
  line-height: 1.5;
  padding: 0;
  margin-block: .45rem;
  color: var(--milk);
  display: block;
  transition: color .3s var(--ease-out);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.5em;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .42s var(--ease-out);
}
.nav__link:hover, .nav__link:focus-visible { color: #ffffff; }
.nav__link:hover::after, .nav__link:focus-visible::after { transform: scaleX(1); }

/* where you are in the page */
.nav__link[aria-current="page"],
.nav__link.is-active { color: var(--green); }

/* The hiring link is the only item that goes to another page, so it is
   outlined rather than merely coloured. Without the outline its permanent
   green would read as "you are here", which is what the colour means
   everywhere else in this menu. */
.nav__link--hl {
  color: var(--green);
  border: 1px solid var(--green-700);
  padding: .5em .85em;
  margin-block: 0;
  transition: background .3s var(--ease-out), color .3s var(--ease-out),
              border-color .3s var(--ease-out);
}
.nav__link--hl::after { display: none; }
/* On the hiring page itself the chip fills: "you are already here". The
   dimmer green keeps a step between it and the CTA button beside it, so the
   brightest thing in the header is still the one you are meant to press. */
.nav__link--hl[aria-current="page"] {
  background: var(--green-fill);
  border-color: var(--green-fill);
  color: var(--ink);
}
.nav__link--hl[aria-current="page"]:hover,
.nav__link--hl[aria-current="page"]:focus-visible {
  background: var(--green);
  border-color: var(--green);
}
.navdrop__link--hl[aria-current="page"] span { text-decoration: underline; text-underline-offset: .25em; }
/* a tint, not a fill: solid green here would merge with the CTA button
   sitting right next to it into one lime block */
.nav__link--hl:hover, .nav__link--hl:focus-visible {
  background: rgba(184, 255, 60, .15);
  border-color: var(--green);
}
.navdrop__link--hl, .navdrop__link--hl span { color: var(--green); }

.nav__cta { margin-left: .4rem; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  margin-left: auto;
  border: 1px solid var(--rule);
  position: relative;
}
.nav-toggle i {
  position: absolute;
  left: 13px; right: 13px;
  height: 1.5px;
  background: var(--milk);
  transition: transform .4s var(--ease-out), opacity .2s linear;
}
.nav-toggle i:nth-child(1) { top: 17px; }
.nav-toggle i:nth-child(2) { top: 23px; }
.nav-toggle i:nth-child(3) { top: 29px; }
.nav-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* scroll progress */
.scroll-rail {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 101;
  background: transparent;
  pointer-events: none;
}
.scroll-rail i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--green);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}

/* mobile navigation: a dropdown under the fixed header */
.navdrop {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  z-index: 98;
  background: rgba(17, 17, 17, .97);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  border-bottom: 1px solid var(--rule);
  max-height: calc(100svh - var(--header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .42s var(--ease-out), visibility 0s linear .42s;
}
.navdrop.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path .46s var(--ease-out), visibility 0s;
}
.navdrop__nav { display: flex; flex-direction: column; padding: .4rem var(--gutter) 0; }
.navdrop__link {
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr) 18px;
  align-items: center;
  gap: .9rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--rule-soft);
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.12rem;
  letter-spacing: -.022em;
  line-height: 1.15;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), color .25s linear;
}
.navdrop.is-open .navdrop__link {
  opacity: 1;
  transform: none;
  transition-delay: calc(.1s + var(--i, 0) * .045s);
}
.navdrop__link i {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-style: normal;
  color: var(--green);
  letter-spacing: .1em;
}
.navdrop__link svg { width: 16px; justify-self: end; color: var(--concrete); transition: transform .3s var(--ease-out); }
.navdrop__link:hover, .navdrop__link[aria-current="page"] { color: var(--green); }
.navdrop__link:hover svg { transform: translateX(4px); color: var(--green); }

.navdrop__foot {
  display: grid;
  gap: 1rem;
  padding: 1.3rem var(--gutter) 1.6rem;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .35s var(--ease-out) .26s, transform .35s var(--ease-out) .26s;
}
.navdrop.is-open .navdrop__foot { opacity: 1; transform: none; }
.navdrop__foot .phone-cta { font-size: 1.5rem; }
.navdrop__tag {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--concrete-d);
}

@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
}

/* --------------------------------------------------------------------------
   7. REVEAL / MOTION PRIMITIVES
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(var(--rv-y, 26px));
  transition:
    opacity .85s var(--ease-out) var(--rv-d, 0s),
    transform .95s var(--ease-out) var(--rv-d, 0s),
    clip-path 1.05s var(--ease-in-out) var(--rv-d, 0s);
  will-change: transform, opacity;
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* The mask wipes the CHILD, never the observed element itself.
   Chrome computes intersectionRatio after the target's own clip-path, so a
   target clipped to zero area reports ratio 0 forever and its reveal never
   fires. Clipping one level down keeps the effect and keeps the trigger. */
[data-reveal="mask"] {
  clip-path: none;
  transform: none;
  opacity: 1;
  transition: none;
}
[data-reveal="mask"] > * {
  clip-path: inset(-18% 0 102% 0);
  transition: clip-path 1.05s var(--ease-in-out) var(--rv-d, 0s);
  will-change: clip-path;
}
[data-reveal="mask"].is-in > * { clip-path: inset(-18% 0 -4% 0); }
.maskwrap { display: block; min-width: 0; }

[data-reveal="wipe"] { clip-path: inset(0 101% 0 0); transform: none; opacity: 1; }
[data-reveal="wipe"].is-in { clip-path: inset(0 -1% 0 0); }

/* A kiindulóállapot 1 ALATT van, nem fölötte.
   A scale(1.1) vízszintes túlcsordulást okozott: a még meg nem jelent
   elem 10%-kal szélesebb volt a helyénél, és addig feszítette szét az
   oldalt, amíg a látogató oda nem görgetett. 768 px-en ez 4 px-es
   vízszintes görgetés volt. Lefelé skálázva ez nem fordulhat elő. */
[data-reveal="scale"] { transform: scale(.94); opacity: 0; }
[data-reveal="scale"].is-in { transform: scale(1); opacity: 1; }

[data-reveal="left"] { transform: translateX(-34px); }
[data-reveal="right"] { transform: translateX(34px); }

/* line-by-line headline reveal */
.lines { display: block; }
.line {
  display: block;
  overflow: hidden;
  /* headroom for Á É Í Ó Ő Ú Ű, pulled back so the rhythm is unchanged */
  padding-top: var(--accent-pad);
  margin-top: calc(var(--accent-pad) * -1);
}
.line > span {
  display: block;
  transform: translateY(104%);
  transition: transform 1.05s var(--ease-out) var(--ln-d, 0s);
  will-change: transform;
}
.is-in .line > span, .line.is-in > span { transform: translateY(0); }

/* counters */
.count { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   8. MEDIA / FIGURES
   -------------------------------------------------------------------------- */
.media {
  position: relative;
  overflow: hidden;
  background: var(--ink-70);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focal, 50% 50%);
}
.media--4x3 { aspect-ratio: 4 / 3; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--4x5 { aspect-ratio: 4 / 5; }
.media--2x3 { aspect-ratio: 2 / 3; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--21x9 { aspect-ratio: 21 / 9; }

/* duotone-ish grade so every photo sits in the same world */
.media--graded img {
  filter: saturate(.72) contrast(1.1) brightness(.92);
  transition: filter .7s var(--ease-out), transform 1.1s var(--ease-out);
}
.media--graded::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,.1) 0%, rgba(17,17,17,.55) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.media__zoom img { transition: transform 1.2s var(--ease-out); }
a:hover .media__zoom img, .card:hover .media__zoom img { transform: scale(1.055); }

.figure { display: grid; gap: .8rem; }
.figure figcaption {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  display: flex;
  gap: .6rem;
  align-items: baseline;
}

/* "illusztráció" badge — honesty marker on every stock photo */
.illus-badge {
  position: absolute;
  left: 0; bottom: 0;
  z-index: 3;
  background: rgba(17, 17, 17, .78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--concrete);
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .36rem .6rem;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   9. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(104svh, 1000px);
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-h) + 3.5rem);
  padding-bottom: clamp(1.8rem, 4vw, 3.2rem);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: -8% 0 -8% 0;
  z-index: -2;
}
/* one layer per photo; they cross-fade on a shared cycle so exactly one is
   fully visible at a time and the hand-over is a slow dissolve */
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: heroFade var(--hero-cycle, 36s) linear infinite;
  animation-delay: var(--hero-delay, 0s);
  will-change: opacity;
}
.hero__slide:first-child { opacity: 1; }
@keyframes heroFade {
  0%,  20% { opacity: 1; }
  25%, 95% { opacity: 0; }
  100%     { opacity: 1; }
}
.hero__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--focal, 58% 50%);
  filter: saturate(.6) contrast(1.14) brightness(.66);
  transform: scale(1.08);
  animation: heroDrift var(--hero-cycle, 36s) var(--ease-in-out) infinite alternate;
  animation-delay: var(--hero-delay, 0s);
  will-change: transform;
}
@keyframes heroDrift {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to   { transform: scale(1.17) translate3d(-1.8%, -1.5%, 0); }
}

/* progress pips under the hero meta line */
.hero__pips { display: flex; gap: 6px; align-items: center; }
.hero__pip {
  width: 22px; height: 2px;
  background: rgba(244, 241, 232, .22);
  position: relative;
  overflow: hidden;
}
.hero__pip::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  animation: pipFill var(--hero-cycle, 36s) linear infinite;
  animation-delay: var(--hero-delay, 0s);
}
@keyframes pipFill {
  0%       { transform: scaleX(0); }
  25%      { transform: scaleX(1); }
  26%, 100%{ transform: scaleX(0); }
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(17,17,17,.95) 0%, rgba(17,17,17,.74) 36%, rgba(17,17,17,.18) 68%, rgba(17,17,17,.5) 100%),
    linear-gradient(180deg, rgba(17,17,17,.88) 0%, rgba(17,17,17,0) 26%, rgba(17,17,17,0) 55%, rgba(17,17,17,.92) 100%);
}
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .5;
  pointer-events: none;
  background-image: var(--grain);
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}

.hero__inner { width: 100%; }

.hero__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1rem;
  margin-bottom: clamp(1.6rem, 4vw, 3rem);
  color: var(--concrete);
}
.hero__coords { display: flex; gap: 1.1rem; flex-wrap: wrap; }

.hero__title {
  font-size: var(--fs-h1);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: -.042em;
  line-height: 1.04;
  max-width: 15ch;
}
.hero__title .accent { color: var(--green); }

.hero__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: end;
}

.hero__lead {
  margin-top: clamp(1.2rem, 2.4vw, 2rem);
  max-width: 48ch;
  color: var(--milk-dim);
  font-size: var(--fs-lead);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: clamp(1.5rem, 3vw, 2.4rem);
}

/* Követés blokk.
   Keskeny nézetben a két hívás alatt ül, csak a gombbal: telefonon a QR
   értelmetlen, mert ugyanazzal a készülékkel kellene beolvasni, amin az
   oldalt nézed, és a gomb amúgy is az Instagram appot nyitja meg.
   Asztali gépen viszont a QR az egyetlen értelmes út, ezért ott a hero
   jobb felső sarkába kerül, a fejléc alatti üres fotóterületre, és
   megnő. A mögötte futó diavetítés minimálisan átüt a lapon. */
.hero__kovet { margin-top: clamp(.9rem, 1.8vw, 1.25rem); }

.kovet {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid rgba(244, 241, 232, .26);
  background: rgba(17, 17, 17, .34);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--milk);
  transition: border-color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              transform .34s var(--ease-out);
}
.kovet__szoveg {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .42rem;
  padding: .85rem 1.15rem;
}
.kovet__fej { display: flex; align-items: center; gap: .62rem; }
.kovet__fej svg { width: 21px; height: 21px; flex: none; color: var(--green); }
/* A profilnevet nem nagybetűsítjük és nem ritkítjuk, ellentétben a többi
   mono elemmel: a @ utáni nevet pontosan úgy kell látni, ahogy be kell
   gépelni. */
.kovet__nev {
  font-family: var(--font-mono);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1;
}
.kovet__mit {
  font-family: var(--font-mono);
  font-size: .55rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  line-height: 1;
  color: rgba(244, 241, 232, .6);
  transition: color var(--dur-fast) var(--ease-out);
}
.kovet__qr { display: none; }

.kovet:hover, .kovet:focus-visible {
  border-color: var(--green);
  background: rgba(17, 17, 17, .6);
  transform: scale(1.012);
}
.kovet:hover .kovet__nev, .kovet:focus-visible .kovet__nev { color: var(--green); }
.kovet:hover .kovet__mit, .kovet:focus-visible .kovet__mit { color: rgba(244, 241, 232, .85); }
.kovet:active { transform: scale(.997); transition-duration: .08s; }

/* A jobb oszlop: fölül a követés blokk, alul a kérdéssor. A space-between
   azért kell, hogy a kettő ne egymáshoz képest, hanem a hero magasságához
   igazodjon. */
.hero__jobb {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
/* margin-top:auto és nem space-between: a kérdéssor akkor is alul marad,
   amikor egyedül van az oszlopban, mert a követés blokk el van rejtve. */
.hero__jobb .scribble { margin-top: auto; }

/* ------------------------------------------------- asztali gép: sarokba */
/* A két példány közül egyszerre mindig csak az egyik látszik. Szándékosan
   nincs rajtuk data-reveal: a megjelenítésfigyelő nulla méretű elemre
   soha nem sülne el, és átméretezéskor láthatatlanul maradna. */
.kovet--sarok { display: none; }

@media (min-width: 1200px) {
  .kovet--also { display: none; }
  .kovet--sarok { display: block; width: 206px; }

  .kovet--sarok .kovet {
    flex-direction: column;
    width: 100%;
    /* Minimális áttetszőség: a mögötte futó diavetítés derengjen át, de a
       fehér modulok kontrasztja maradjon meg. Az értéket mértem, nem
       becsültem: tools/qr-hatteren.mjs */
    background: rgba(17, 17, 17, .72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .kovet--sarok .kovet__szoveg {
    gap: .5rem;
    padding: .9rem 1rem;
    border-bottom: 1px solid rgba(244, 241, 232, .18);
  }
  .kovet--sarok .kovet__nev { font-size: .9rem; }
  .kovet--sarok .kovet__mit { font-size: .52rem; line-height: 1.5; }

  .kovet--sarok .kovet__qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    padding: .95rem .85rem .8rem;
  }
  .kovet--sarok .kovet__qr svg { width: 168px; height: 168px; display: block; }
  .kovet--sarok .kovet__qr-alatt {
    font-family: var(--font-mono);
    font-size: .48rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(244, 241, 232, .55);
    line-height: 1;
  }
  /* A hover a kereten és a néven jelez. A kód maga nem mozdul: beolvasás
     közben nincs is ott a kurzor. */
  .kovet--sarok .kovet:hover, .kovet--sarok .kovet:focus-visible { transform: none; }
}

.hero__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: clamp(2rem, 5vw, 3.6rem);
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
  color: var(--concrete);
}
.hero__stats { display: flex; gap: clamp(1rem, 3vw, 2.6rem); flex-wrap: wrap; }
.hero__stats b { color: var(--milk); font-weight: 700; }

/* handwritten annotation block */
.scribble {
  position: relative;
  align-self: end;
  justify-self: end;
  max-width: 300px;
  padding-bottom: 1.6rem;
}
.scribble__list {
  list-style: none;
  padding: 0;
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 1.42rem;
  letter-spacing: .005em;
  line-height: 1.34;
  color: var(--milk);
  transform: rotate(-3.4deg);
  text-shadow: 0 1px 10px rgba(17, 17, 17, .85);
}
.scribble__list li { opacity: 0; transform: translateY(8px); }
.scribble.is-in .scribble__list li {
  animation: scribbleIn .5s var(--ease-out) forwards;
  animation-delay: calc(.35s + var(--i) * .12s);
}
@keyframes scribbleIn { to { opacity: 1; transform: none; } }
.scribble__answer {
  display: inline-block;
  position: relative;
  margin-top: .7rem;
  margin-left: .2rem;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1;
  letter-spacing: .01em;
  color: var(--green);
  transform: rotate(-3.4deg);
  text-shadow: 0 1px 12px rgba(17, 17, 17, .9);
  padding-right: .12em;   /* the final glyph sits past its advance width */
}
/* hand-drawn ellipse around the answer, drawn on reveal */
.scribble__answer::after {
  content: "";
  position: absolute;
  inset: -34% -12% -30% -10%;
  border: 2px solid var(--green);
  border-radius: 50%;
  transform: rotate(-2deg) scale(.6);
  opacity: 0;
  transition: transform .7s var(--ease-out) 1.25s, opacity .5s linear 1.25s;
}
.scribble.is-in .scribble__answer::after { transform: rotate(-2deg) scale(1); opacity: .85; }
.scribble__arrow {
  position: absolute;
  left: -132px; top: -6px;
  width: 140px;
  color: var(--green);
  filter: drop-shadow(0 1px 8px rgba(17, 17, 17, .95));
  clip-path: inset(0 100% 0 0);
  transition: clip-path .9s var(--ease-out) .35s;
}
.scribble.is-in .scribble__arrow { clip-path: inset(0 -2% 0 0); }

@media (max-width: 1080px) {
  .hero__body { grid-template-columns: 1fr; }
  .scribble { justify-self: start; margin-top: 1rem; }
  .scribble__arrow { display: none; }
}
@media (max-width: 760px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 2.2rem); padding-bottom: 2.6rem; }
  .hero__title { max-width: none; }
  .hero__meta .hero__coords { display: none; }
}

/* scroll cue */
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--concrete);
}
.scroll-cue svg { width: 13px; animation: nudge 2s var(--ease-in-out) infinite; }
@keyframes nudge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* --------------------------------------------------------------------------
   10. MARQUEE
   -------------------------------------------------------------------------- */
.marquee {
  --mq-dur: 46s;
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--rule);
  padding-block: clamp(.7rem, 1.4vw, 1.05rem);
  background: var(--ink);
}
.marquee--green { background: var(--green); border-color: var(--green); }
.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: mq var(--mq-dur) linear infinite;
  animation-play-state: var(--mq-state, running);
}
.marquee--rev .marquee__track { animation-direction: reverse; }
@keyframes mq { to { transform: translate3d(-50%, 0, 0); } }
.marquee__group { display: flex; flex: none; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 2rem);
  padding-inline: clamp(.55rem, 1.2vw, 1rem);
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.15rem, 2.6vw, 2.15rem);
  letter-spacing: -.028em;
  line-height: 1.25;
  white-space: nowrap;
  color: var(--milk);
}
.marquee--green .marquee__item { color: var(--ink); }
.marquee__item::after {
  content: "";
  width: 9px; height: 9px;
  background: var(--green);
  transform: rotate(45deg);
  flex: none;
}
.marquee--green .marquee__item::after { background: var(--ink); }
.marquee:hover { --mq-state: paused; }

/* image marquee */
.marquee--media { padding-block: 0; border: 0; }
.marquee--media .marquee__item { padding-inline: 0; gap: 0; }
.marquee--media .marquee__item::after { display: none; }
.marquee--media .media {
  width: clamp(190px, 26vw, 330px);
  margin-right: clamp(.5rem, 1.1vw, 1rem);
}

/* --------------------------------------------------------------------------
   11. SECTION HEADS
   -------------------------------------------------------------------------- */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
  margin-bottom: clamp(2.2rem, 5vw, 4.2rem);
  padding-bottom: clamp(1.2rem, 2.4vw, 2rem);
  border-bottom: 1px solid var(--rule);
}
.sec-head__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.sec-head__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 4rem);
  align-items: end;
}
@media (max-width: 860px) { .sec-head__grid { grid-template-columns: 1fr; } }
.sec-head__rule {
  flex: 1 1 60px;
  height: 1px;
  background: var(--rule);
  min-width: 40px;
}

/* --------------------------------------------------------------------------
   12. SERVICE CARDS
   -------------------------------------------------------------------------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
@media (min-width: 680px)  { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .svc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* 7 cards + 1 CTA tile = 8 cells: closes cleanly at 2 and 4 columns.
   At 3 columns the CTA takes two cells so 9 cells make exactly three rows. */
@media (min-width: 680px) and (max-width: 1099px) { .svc--cta { grid-column: span 2; } }
.svc {
  position: relative;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  padding: clamp(1.1rem, 1.7vw, 1.5rem);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  isolation: isolate;
  overflow: hidden;
  min-height: 330px;
}
.svc::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink-80);
  transform: translateY(100%);
  transition: transform .62s var(--ease-out);
  z-index: -1;
}
.svc:hover::before, .svc:focus-visible::before { transform: translateY(0); }

.svc__num {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: .14em;
  color: var(--concrete);
  transition: color var(--dur) var(--ease-out);
}
.svc:hover .svc__num { color: var(--green); }

.svc__title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  letter-spacing: -.028em;
  line-height: 1.12;
  margin-top: .5rem;
  min-height: 2.24em;
}
.svc__one {
  font-size: .86rem;
  color: var(--muted);
  margin-top: .45rem;
  margin-bottom: 1.1rem;
  line-height: 1.45;
  min-height: 2.9em;
}
.svc__media {
  margin-top: auto;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink-70);
}
.svc__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--focal, 50% 50%);
  filter: saturate(.7) contrast(1.08) brightness(.88);
  transition: transform 1.15s var(--ease-out), filter .6s var(--ease-out);
}
.svc:hover .svc__media img { transform: scale(1.07); filter: saturate(.95) contrast(1.05) brightness(1); }
.svc__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .62s var(--ease-out);
}
.svc:hover .svc__media::after { transform: scaleX(1); }
.svc__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .8rem;
  min-height: 2.6em;
  margin-top: .9rem;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--concrete);
  transition: color var(--dur) var(--ease-out);
}
.svc:hover .svc__foot { color: var(--milk); }
.svc__foot svg { width: 15px; transition: transform var(--dur) var(--ease-out); }
.svc:hover .svc__foot svg { transform: translateX(5px); }
.svc__link::after { content: ""; position: absolute; inset: 0; z-index: 4; }

/* the CTA tile that closes the services grid */
.svc--cta {
  background: var(--green-fill);
  color: var(--ink);
  justify-content: space-between;
  text-decoration: none;
}
.svc--cta::before { display: none; }
.svc--cta .svc__num { color: rgba(17, 17, 17, .55); font-size: 1.1rem; line-height: 1; }
.svc--cta .svc__title { margin-top: 1.4rem; min-height: 0; }
.svc--cta .svc__one { color: rgba(17, 17, 17, .72); min-height: 0; margin-bottom: 0; }
.svc--cta .svc__cta-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.6rem;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
}
.svc--cta .svc__cta-foot svg { width: 16px; flex: none; transition: transform var(--dur) var(--ease-out); }
.svc--cta:hover .svc__cta-foot svg { transform: translateX(6px); }
.svc--cta:hover { background: var(--green); }

/* service detail carousel — one slide at a time instead of seven stacked
   panels: swipe on a phone, arrows on a desktop */
.svc-carousel { margin-top: clamp(1.6rem, 3vw, 2.6rem); }

.svc-carousel__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}
.svc-carousel__now { display: flex; align-items: baseline; gap: .9rem; flex-wrap: wrap; margin: 0; }
.svc-carousel__count {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: .14em;
  color: var(--concrete);
}
.svc-carousel__count b { color: var(--green); font-weight: 400; }
.svc-carousel__name {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  letter-spacing: -.025em;
}
.svc-carousel__nav { display: flex; align-items: center; gap: .55rem; }
.svc-carousel__dots { display: flex; gap: 5px; margin-right: .6rem; }
.svc-dot {
  width: 20px; height: 3px;
  background: var(--rule);
  padding: 0;
  transition: background .35s var(--ease-out);
}
.svc-dot:hover { background: var(--concrete); }
.svc-dot[aria-current="true"] { background: var(--green); }
.circle-arrow--flip svg { transform: rotate(180deg); }
.circle-arrow--flip:hover { transform: rotate(-45deg); }
.circle-arrow[disabled] { opacity: .3; pointer-events: none; }
@media (max-width: 620px) { .svc-carousel__dots { display: none; } }

.svc-rail {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
  border-bottom: 1px solid var(--rule);
}
.svc-rail::-webkit-scrollbar { display: none; }
.svc-rail:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .svc-rail { scroll-behavior: auto; } }

.svc-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1rem, 2.2vw, 2rem);
  padding: clamp(1.5rem, 3vw, 2.6rem) 0;
  align-items: start;
  align-content: start;
}
/* Two bordered panels sitting side by side are read as a pair, so they have
   to end on the same line; a short box hanging next to a tall one looks
   broken. Only stretch where they actually are side by side. */
@media (min-width: 761px) { .svc-slide { align-items: stretch; } }
/* At three columns the grid is a single row, so the row can fill the rail
   and no dead strip is left under the panels. Below this the slide has more
   than one row and stretching would deal the spare height out as row gaps
   instead — which is exactly how this went wrong once before. */
@media (min-width: 1101px) { .svc-slide { align-content: stretch; } }
@media (max-width: 1100px) { .svc-slide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 760px) {
  .svc-slide { grid-template-columns: minmax(0, 1fr); flex-basis: 88%; }
  /* the next card peeks in, so it is obvious the row can be swiped */
  .svc-rail { gap: 12px; }
}

.svc-slide__num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  letter-spacing: .04em;
  color: var(--green);
  display: block;
}
.svc-slide__num i { font-style: normal; font-size: var(--fs-mono); color: var(--concrete); letter-spacing: .14em; }
.svc-slide__title {
  font-size: clamp(1.4rem, 2.6vw, 2.05rem);
  text-transform: uppercase;
  margin-top: .7rem;
}
.svc-slide__lead { margin-top: .9rem; color: var(--milk-dim); font-size: var(--fs-lead); }
.svc-slide__text { margin-top: .9rem; color: var(--muted); font-size: .95rem; }
/* The intro column has no frame, so it is the one that can absorb the height
   difference: the button drops to the foot of the column and anchors it. */
.svc-slide__intro { display: flex; flex-direction: column; align-items: start; }
.svc-slide__intro .btn { margin-top: auto; }
.svc-slide__intro .svc-slide__text { margin-bottom: 1.4rem; }

.svc-slide__col--split { display: grid; gap: clamp(.9rem, 1.8vw, 1.3rem); align-content: start; }


/* a {title, text} list entry gets its heading on its own line */
.ticks li strong { display: block; color: var(--fg); font-weight: 600; margin-bottom: .2rem; }

.svc-carousel__hint {
  margin-top: .9rem;
  color: var(--concrete-d);
  text-align: right;
}
@media (hover: hover) and (pointer: fine) { .svc-carousel__hint { display: none; } }

/* the grid card points at its slide */
.svc[aria-current="true"] { background: var(--ink-80); }
.svc[aria-current="true"] .svc__num { color: var(--green); }
.svc[aria-current="true"] .svc__media::after { transform: scaleX(1); }

/* --------------------------------------------------------------------------
   13. PILLARS / WHY
   -------------------------------------------------------------------------- */
.pillars { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.pillar {
  display: grid;
  /* the titles are three or four words, so a 1fr track left a hand's width of
     nothing between the title and the text that belongs to it */
  grid-template-columns: 58px minmax(0, .62fr) minmax(0, 1.38fr);
  gap: clamp(1rem, 2.2vw, 2.4rem);
  padding-block: clamp(1.5rem, 2.8vw, 2.3rem);
  border-bottom: 1px solid var(--rule);
  align-items: start;
  position: relative;
  transition: background .5s var(--ease-out);
}
.pillar::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  height: 1px; width: 0;
  background: var(--green);
  transition: width .8s var(--ease-out);
}
.pillar:hover::after { width: 100%; }
.pillar__num { font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--green); letter-spacing: .14em; padding-top: .35rem; }
.pillar__title { font-size: clamp(1.25rem, 2.3vw, 1.85rem); text-transform: uppercase; }
.pillar__text { color: var(--muted); max-width: 68ch; }
@media (max-width: 1100px) { .pillar { grid-template-columns: 58px minmax(0, .8fr) minmax(0, 1.2fr); } }
@media (max-width: 860px) {
  .pillar { grid-template-columns: 46px minmax(0, 1fr); }
  .pillar__text { grid-column: 2; }
}

/* them vs us */
.versus {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: clamp(2rem, 4vw, 3.4rem);
}
.versus__col { background: var(--ink); padding: clamp(1.3rem, 2.6vw, 2.2rem); }
.versus__col--us { background: var(--green-fill); color: var(--ink); }
.versus__col--us .versus__head, .versus__col--us li { color: var(--ink); }
.versus__head {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--concrete);
  padding-bottom: .9rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid currentColor;
}
.versus ul { list-style: none; padding: 0; display: grid; gap: .7rem; }
.versus li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: .7rem;
  font-size: .95rem;
  line-height: 1.45;
  color: var(--muted);
}
.versus__col--us li { color: var(--ink); font-weight: 500; }
.versus__col--us .versus__head { color: rgba(17, 17, 17, .72); border-bottom-color: rgba(17, 17, 17, .3); }
.versus li::before { content: "×"; font-family: var(--font-mono); opacity: .55; }
.versus__col--us li::before { content: "→"; opacity: 1; }
@media (max-width: 700px) { .versus { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   14. PROCESS (sticky)
   -------------------------------------------------------------------------- */
.process { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 5vw, 5rem); }
.process__aside { position: sticky; top: calc(var(--header-h) + clamp(1.5rem, 4vw, 3.5rem)); align-self: start; }
.process__rail { margin-top: 2rem; height: 2px; background: var(--rule); position: relative; }
.process__rail i { position: absolute; inset: 0 auto 0 0; background: var(--green); width: var(--p, 0%); transition: width .5s var(--ease-out); }
.process__steps { display: grid; }
.step {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: clamp(1rem, 2.4vw, 2rem);
  padding-block: clamp(2rem, 4.4vw, 3.6rem);
  border-top: 1px solid var(--rule);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--rule); }
.step__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  line-height: .85;
  letter-spacing: -.045em;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--concrete-d);
  transition: color .5s var(--ease-out), -webkit-text-stroke-color .5s var(--ease-out);
}
.step.is-in .step__num { color: var(--green); -webkit-text-stroke-color: var(--green); }
.step__title { font-size: clamp(1.3rem, 2.4vw, 1.95rem); text-transform: uppercase; }
.step__text { color: var(--muted); margin-top: .7rem; max-width: 48ch; }
.step__hint {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--green);
  border: 1px solid var(--rule);
  padding: .4rem .65rem;
}
@media (max-width: 960px) {
  .process { grid-template-columns: 1fr; }
  .process__aside { position: static; }
  .step { grid-template-columns: 54px minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   15. FULL-BLEED BAND
   -------------------------------------------------------------------------- */
.band {
  position: relative;
  min-height: min(84svh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.band__bg { position: absolute; inset: -10% 0; z-index: -2; }
.band__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--focal, 50% 50%);
  filter: saturate(.55) contrast(1.16) brightness(.6);
  will-change: transform;
}
.band__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(17,17,17,.94) 0%, rgba(17,17,17,.74) 42%, rgba(17,17,17,.3) 100%);
}
/* A karrieroldal sávján ember dolgozik, azt látni is kell. Az alap sáv
   annyira lefogja a képet, hogy csak egy sötét folt marad belőle. Itt
   világosabb a kép és rövidebb a sötét átmenet, de a cím mögött marad
   elég fedés a kontraszthoz. */
.band--vilagos .band__bg img { filter: saturate(.72) contrast(1.06) brightness(.88); }
.band--vilagos .band__scrim {
  background: linear-gradient(90deg,
    rgba(17, 17, 17, .93) 0%,
    rgba(17, 17, 17, .78) 38%,
    rgba(17, 17, 17, .22) 100%);
}

.band__title {
  font-size: clamp(2.3rem, 6.4vw, 5.6rem);
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -.04em;
  max-width: 17ch;
}
.band__sub { margin-top: 1.4rem; max-width: 46ch; color: var(--milk-dim); font-size: var(--fs-lead); }

/* --------------------------------------------------------------------------
   16. CASES / MUNKALAP
   -------------------------------------------------------------------------- */
.cases { display: grid; gap: clamp(1.2rem, 2.4vw, 2rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.case {
  border: 1px solid var(--rule);
  background: var(--ink-90);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.case::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--green);
  transition: width 1.1s var(--ease-out);
}
.case.is-in::before { width: 100%; }
.case__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1.1rem, 2vw, 1.7rem);
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--concrete);
}
.case__body { padding: clamp(1.3rem, 2.4vw, 2rem); display: grid; gap: 1.1rem; }
.case__title { font-size: clamp(1.4rem, 2.4vw, 2rem); text-transform: uppercase; }
.case__meta { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.case__row {
  display: grid;
  /* `auto` first, not `1fr`: a 1fr track shrinks below its own text, and on a
     phone the label then ran out of its column and into the value */
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding-block: .62rem;
  border-bottom: 1px solid var(--rule-soft);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.case__row dt { color: var(--concrete); }
.case__row dd { color: var(--milk); margin: 0; text-align: right; }
.case__scope { list-style: none; padding: 0; display: grid; gap: .55rem; }
.case__scope li { display: grid; grid-template-columns: 15px 1fr; gap: .7rem; font-size: .95rem; color: var(--muted); line-height: 1.45; }
.case__scope li::before { content: "→"; color: var(--green); font-family: var(--font-mono); font-size: .8rem; }
.case__price {
  margin-top: auto;
  padding: clamp(1.1rem, 2vw, 1.5rem) clamp(1.3rem, 2.4vw, 2rem);
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--ink-80);
}
.case__price b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -.035em;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   17. FAQ
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--rule); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__q {
  width: 100%;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 30px;
  gap: clamp(.8rem, 2vw, 1.6rem);
  align-items: center;
  text-align: left;
  padding-block: clamp(1.1rem, 2.1vw, 1.7rem);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.55vw, 1.22rem);
  letter-spacing: -.018em;
  line-height: 1.25;
  transition: color var(--dur) var(--ease-out);
}
.faq__q:hover { color: var(--green); }
.faq__q i {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-style: normal;
  color: var(--concrete);
  letter-spacing: .12em;
}
.faq__sign { position: relative; width: 16px; height: 16px; justify-self: end; }
.faq__sign::before, .faq__sign::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1.5px;
  background: currentColor;
  transition: transform .45s var(--ease-out);
}
.faq__sign::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] { color: var(--green); }
.faq__q[aria-expanded="true"] .faq__sign::after { transform: rotate(0deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.faq__a.is-open { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  color: var(--muted);
  max-width: 68ch;
  padding: 0 0 clamp(1.3rem, 2.3vw, 1.9rem) calc(54px + clamp(.8rem, 2vw, 1.6rem));
}
@media (max-width: 640px) {
  .faq__q { grid-template-columns: 34px minmax(0, 1fr) 22px; }
  .faq__a p { padding-left: calc(34px + .8rem); }
}

/* --------------------------------------------------------------------------
   18. FORM
   -------------------------------------------------------------------------- */
.form { display: grid; gap: clamp(1rem, 2vw, 1.4rem); }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: clamp(1rem, 2vw, 1.4rem); }
.field { display: grid; gap: .45rem; position: relative; }
.field > label {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--concrete);
  display: flex;
  gap: .4rem;
  align-items: baseline;
}
.field > label span { color: var(--green); }
.field input, .field textarea, .field select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: .85rem 0;
  font-size: 1rem;
  color: var(--fg);
  transition: border-color var(--dur) var(--ease-out);
  border-radius: 0;
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--concrete) 50%), linear-gradient(135deg, var(--concrete) 50%, transparent 50%);
  background-position: calc(100% - 13px) 1.35rem, calc(100% - 8px) 1.35rem;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}
.field select option { background: var(--ink-80); color: var(--milk); }
.field textarea { resize: vertical; min-height: 148px; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: rgba(167, 166, 160, .55); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--green); }
.field__help { font-size: .78rem; color: var(--concrete-d); }
.field__err {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #ff6b4a;
  display: none;
}
.field.has-error input, .field.has-error textarea, .field.has-error select { border-bottom-color: #ff6b4a; }
.field.has-error .field__err { display: block; }

.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: .8rem; align-items: start; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.check__box {
  width: 22px; height: 22px;
  border: 1px solid var(--rule);
  display: grid; place-items: center;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.check__box svg { width: 13px; opacity: 0; transform: scale(.5); transition: all var(--dur-fast) var(--ease-out); color: var(--ink); }
.check input:checked + .check__box { background: var(--green); border-color: var(--green); }
.check input:checked + .check__box svg { opacity: 1; transform: none; }
.check input:focus-visible + .check__box { outline: 2px solid var(--green); outline-offset: 3px; }
.check__text { font-size: .86rem; color: var(--muted); line-height: 1.5; }
.check__text a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }

.form__status {
  display: none;
  border: 1px solid var(--rule);
  padding: clamp(1.1rem, 2vw, 1.6rem);
  background: var(--ink-80);
}
.form__status.is-shown { display: block; }
.form__status--ok { border-color: var(--green); }
.form__status h4 { text-transform: uppercase; margin-bottom: .5rem; }
.form__status p { color: var(--muted); font-size: .95rem; }

/* honeypot */
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* --------------------------------------------------------------------------
   19. CONTACT PANELS
   -------------------------------------------------------------------------- */
.contact-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border: 1px solid var(--rule);
}
@media (max-width: 960px) { .contact-split { grid-template-columns: 1fr; } }
.contact-split__pane { padding: clamp(1.5rem, 3.2vw, 3rem); }
.contact-split__pane + .contact-split__pane { border-left: 1px solid var(--rule); }
/* The form is always the taller side. Rather than leave the contact pane
   hanging in mid-air, drop its closing panel to the foot so the column is
   composed top and bottom and the space sits between the blocks. */
.contact-split__pane--aside { display: flex; flex-direction: column; }
/* the gap above it is the note's margin-bottom, so `auto` only ever adds */
.contact-split__pane--aside > .panel--foot { margin-top: auto; }
@media (max-width: 960px) {
  .contact-split__pane--aside > .panel--foot { margin-top: 0; }
}
@media (max-width: 960px) {
  .contact-split__pane + .contact-split__pane { border-left: 0; border-top: 1px solid var(--rule); }
}

.channel {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--rule);
  transition: padding-left .45s var(--ease-out);
}
.channel:hover { padding-left: .6rem; }
.channel__ico {
  width: 44px; height: 44px;
  border: 1px solid var(--rule);
  display: grid; place-items: center;
  color: var(--green);
  transition: background .45s var(--ease-out), color .45s var(--ease-out);
}
.channel__ico svg { width: 18px; }
.channel:hover .channel__ico { background: var(--green); color: var(--ink); }
.channel__label { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: .13em; text-transform: uppercase; color: var(--concrete); }
.channel__value { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; letter-spacing: -.015em; margin-top: .2rem; }

/* big phone CTA */
.phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 4.4vw, 3.1rem);
  letter-spacing: -.04em;
  line-height: 1.1;
  color: var(--green);
  transition: opacity var(--dur) var(--ease-out);
}
.phone-cta:hover { opacity: .78; }
.phone-cta span { white-space: nowrap; }
.phone-cta svg { width: clamp(26px, 4vw, 42px); flex: none; }

/* sticky mobile call bar */
.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  display: none;
  gap: 1px;
  background: var(--rule);
  transform: translateY(101%);
  transition: transform .5s var(--ease-out);
  border-top: 1px solid var(--rule);
}
.callbar.is-shown { transform: none; }
.callbar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: 1rem .6rem;
  background: var(--ink);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.callbar a svg { width: 15px; }
.callbar a:last-child { background: var(--green); color: var(--ink); }
@media (max-width: 760px) { .callbar { display: flex; } body { padding-bottom: 0; } }

/* --------------------------------------------------------------------------
   20. CTA BLOCK
   -------------------------------------------------------------------------- */
.cta-block {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rule);
  padding: clamp(2rem, 5vw, 4.5rem);
  isolation: isolate;
}
.cta-block__bg { position: absolute; inset: 0; z-index: -2; }
.cta-block__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.4) brightness(.38) contrast(1.2); }
.cta-block__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17,17,17,.93), rgba(17,17,17,.6)); }
.cta-block__title { font-size: clamp(2rem, 5.4vw, 4.2rem); text-transform: uppercase; max-width: 16ch; }

/* --------------------------------------------------------------------------
   21. FOOTER
   -------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--rule); padding-top: clamp(2.5rem, 5vw, 4.5rem); }
.site-footer__big {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  /* tuned so the whole string fits the shell at every width */
  font-size: clamp(1.45rem, 7.05vw, 6.6rem);
  line-height: 1.14;
  letter-spacing: -.045em;
  color: var(--ink-60);
  padding-block: clamp(1.2rem, 2.6vw, 2.2rem);
  white-space: nowrap;
  transition: color .8s var(--ease-out);
}
.site-footer:hover .site-footer__big { color: var(--green); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col__title {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--concrete);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.footer-col a { font-size: .95rem; color: var(--milk-dim); transition: color var(--dur-fast) var(--ease-out); display: inline-block; }
.footer-col a:hover { color: var(--green); }
/* the statutory company data: small, quiet, and on every page */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem clamp(1.2rem, 3vw, 2.6rem);
  margin: 0;
  padding-block: 1.3rem;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: .1em;
}
.footer-legal > div { display: flex; align-items: baseline; gap: .55rem; min-width: 0; }
.footer-legal dt { color: var(--concrete-d); text-transform: uppercase; white-space: nowrap; }
.footer-legal dd { margin: 0; color: var(--milk-dim); }
.footer-legal a { color: inherit; }
@media (max-width: 560px) {
  .footer-legal { gap: .75rem; flex-direction: column; }
  .footer-legal > div { flex-wrap: wrap; }
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.3rem;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--concrete-d);
}
@media (max-width: 760px) { .site-footer { padding-bottom: 60px; } }

/* --------------------------------------------------------------------------
   22. SUBPAGE HEADER
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 7rem));
  padding-bottom: clamp(2.5rem, 6vw, 5.5rem);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, 50% 50%); filter: saturate(.5) contrast(1.15) brightness(.5); }
.page-hero__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17,17,17,.92) 0%, rgba(17,17,17,.62) 45%, rgba(17,17,17,.96) 100%); }
.page-hero__title { font-size: var(--fs-h2); text-transform: uppercase; max-width: 18ch; }

.crumbs {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--concrete);
  margin-bottom: clamp(1.4rem, 3vw, 2.4rem);
}
.crumbs a:hover { color: var(--green); }
.crumbs li { list-style: none; display: flex; gap: .6rem; align-items: center; }
.crumbs ol { display: flex; gap: .6rem; flex-wrap: wrap; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; opacity: .45; }

/* --------------------------------------------------------------------------
   23. RICH TEXT (service detail bodies)
   -------------------------------------------------------------------------- */
.prose { max-width: 70ch; }
.prose p + p { margin-top: 1.1rem; }
.prose p { color: var(--muted); }
.prose h3 { margin-top: 2.4rem; margin-bottom: .9rem; }

.ticks { list-style: none; padding: 0; display: grid; gap: .75rem; }
.ticks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: .85rem; align-items: start; line-height: 1.5; }
.ticks li::before {
  content: "";
  width: 16px; height: 16px;
  margin-top: .22rem;
  background: var(--green);
  clip-path: polygon(14% 46%, 0 60%, 38% 100%, 100% 22%, 86% 8%, 38% 72%);
}
.ticks--neg li::before {
  background: var(--concrete-d);
  clip-path: polygon(12% 0, 0 12%, 38% 50%, 0 88%, 12% 100%, 50% 62%, 88% 100%, 100% 88%, 62% 50%, 100% 12%, 88% 0, 50% 38%);
}

.panel {
  border: 1px solid var(--rule);
  padding: clamp(1.3rem, 2.6vw, 2.2rem);
  background: var(--ink-90);
}
.panel--accent { border-color: var(--green); }
.panel__label {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--green);
  margin-bottom: 1rem;
  display: block;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* A short column next to a tall one: centring it reads as composition,
   where top-aligning it just leaves a hole underneath. */
.split--middle { align-items: center; }
@media (max-width: 900px) { .split--middle { align-items: start; } }

/* the two square detail shots under the company story */
/* An image that fills whatever height the text column ends up at, so the two
   sides of a split always finish together instead of one running on.
   The media is taken out of flow on purpose: left in it, the row would be
   sized by the photo's own proportions and we would be back to one column
   overshooting the other, just in the opposite direction. */
.media-fill {
  align-self: stretch;
  position: relative;
  min-height: clamp(280px, 32vw, 520px);
}
.media-fill .media {
  position: absolute;
  inset: 0;
  height: auto;
  aspect-ratio: auto;
}
@media (max-width: 900px) {
  .media-fill { min-height: 0; }
  .media-fill .media { position: static; aspect-ratio: 4 / 3; }
}

.about-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(.7rem, 1.5vw, 1.1rem);
  margin-top: clamp(1.4rem, 3vw, 2.2rem);
}

.split--sticky > :first-child { position: sticky; top: calc(var(--header-h) + 2rem); }
@media (max-width: 900px) { .split--sticky > :first-child { position: static; } }

/* related services strip */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); border-top: 1px solid var(--rule); }
.related a {
  padding: clamp(1.1rem, 2vw, 1.5rem) 0;
  padding-right: 1rem;
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: .4rem;
  transition: padding-left .5s var(--ease-out), color .3s var(--ease-out);
}
.related a:hover { padding-left: .7rem; color: var(--green); }
.related i { font-family: var(--font-mono); font-size: var(--fs-mono); font-style: normal; letter-spacing: .13em; color: var(--concrete); }
.related b { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.05rem; letter-spacing: -.02em; }

/* --------------------------------------------------------------------------
   23b. LEGAL MODAL
   A native <dialog>: focus trapping, Esc and the backdrop come for free.
   The real pages stay behind it for no-JS, direct links and search engines.
   -------------------------------------------------------------------------- */
.legal-modal {
  /* overriding `display` drops the UA's own centring, so place it explicitly:
     fixed + inset 0 + margin auto centres a box with a definite size */
  position: fixed;
  inset: 0;
  margin: auto;
  width: 90vw;
  max-width: 1440px;
  height: 90svh;
  max-height: 90svh;
  padding: 0;
  border: 1px solid var(--rule);
  background: var(--ink-90);
  color: var(--fg);
  overflow: hidden;
  display: none;
  flex-direction: column;
}
.legal-modal[open] { display: flex; }
@media (max-width: 640px) { .legal-modal { width: 94vw; height: 92svh; max-height: 92svh; } }
.legal-modal::backdrop {
  background: rgba(10, 10, 10, .82);
  backdrop-filter: blur(7px) saturate(120%);
  -webkit-backdrop-filter: blur(7px) saturate(120%);
}
@media (prefers-reduced-motion: no-preference) {
  .legal-modal[open] { animation: modalIn .4s var(--ease-out); }
  .legal-modal[open]::backdrop { animation: fadeIn .4s linear; }
}
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.985); } }
@keyframes fadeIn { from { opacity: 0; } }

.legal-modal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.4rem) clamp(1.1rem, 2.4vw, 2rem);
  border-bottom: 1px solid var(--rule);
  background: var(--ink-80);
  flex: none;
}
.legal-modal__title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1rem, 1.9vw, 1.3rem);
  letter-spacing: -.02em;
  line-height: 1.2;
  margin: 0;
}
.legal-modal__close {
  width: 42px; height: 42px;
  flex: none;
  border: 1px solid var(--rule);
  display: grid;
  place-items: center;
  color: var(--concrete);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.legal-modal__close svg { width: 16px; }
.legal-modal__close:hover { background: var(--green); color: var(--ink); border-color: var(--green); }

.legal-modal__body {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(1.3rem, 3vw, 2.4rem) clamp(1.1rem, 2.4vw, 2rem);
  scrollbar-width: thin;
  scrollbar-color: var(--concrete-d) transparent;
}
.legal-modal__body::-webkit-scrollbar { width: 8px; }
.legal-modal__body::-webkit-scrollbar-thumb { background: var(--concrete-d); }
/* the panel is wide on purpose, so the spare column carries a contents list
   instead of empty space — an 11-section legal document needs one */
.legal-modal__grid { display: grid; gap: clamp(1.2rem, 3vw, 3rem); }
@media (min-width: 900px) {
  .legal-modal__grid { grid-template-columns: minmax(200px, 250px) minmax(0, 1fr); }
}
.legal-modal__doc { max-width: 78ch; }
.legal-modal__doc .legal-doc h2:first-of-type { margin-top: 0; }
.legal-modal__doc .legal-doc h2 { margin-top: 2.4rem; scroll-margin-top: 1rem; }
.legal-modal__doc .legal-doc p,
.legal-modal__doc .legal-doc li { font-size: 1rem; line-height: 1.65; }

.legal-toc { align-self: start; }
@media (min-width: 900px) { .legal-toc { position: sticky; top: 0; } }
.legal-toc__label {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--concrete);
  padding-bottom: .8rem;
  margin-bottom: .6rem;
  border-bottom: 1px solid var(--rule);
}
.legal-toc ol { list-style: none; padding: 0; margin: 0; display: grid; }
.legal-toc a {
  display: block;
  padding: .45rem 0 .45rem .7rem;
  border-left: 2px solid transparent;
  font-size: .86rem;
  line-height: 1.35;
  color: var(--muted);
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.legal-toc a:hover { color: var(--fg); border-left-color: var(--rule); }
.legal-toc a[aria-current="true"] { color: var(--green); border-left-color: var(--green); }
@media (max-width: 899px) {
  .legal-toc { border: 1px solid var(--rule); padding: 1rem; }
  .legal-toc ol { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
}

.legal-modal__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: clamp(.9rem, 1.8vw, 1.2rem) clamp(1.1rem, 2.4vw, 2rem);
  border-top: 1px solid var(--rule);
  background: var(--ink-80);
  flex: none;
}
.legal-modal__load {
  padding: clamp(2rem, 6vw, 4rem) 0;
  text-align: center;
  color: var(--concrete);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: .14em;
}

/* --------------------------------------------------------------------------
   24. PRELOADER
   -------------------------------------------------------------------------- */
.preload {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--ink);
  display: grid;
  place-items: center;
  transition: clip-path 1s var(--ease-in-out) .15s;
  clip-path: inset(0 0 0 0);
}
.preload.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.preload__inner { display: grid; justify-items: center; gap: 1.1rem; }
.preload__mark { width: 76px; color: var(--milk); }
.preload__mark .rk-logo__accent { fill: var(--green); }
.preload__bar { width: min(240px, 52vw); height: 2px; background: var(--ink-60); overflow: hidden; }
.preload__bar i { display: block; height: 100%; background: var(--green); width: 0; transition: width .4s linear; }
.preload__text {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--concrete);
}

/* --------------------------------------------------------------------------
   25. MISC
   -------------------------------------------------------------------------- */
.noise-layer {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .035;
  background-image: var(--grain);
  background-size: 160px 160px;
  mix-blend-mode: overlay;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border: 1px solid var(--rule);
  padding: .4rem .7rem;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--concrete);
}
.tag--accent { border-color: var(--green); color: var(--green); }

.notice {
  border-left: 2px solid var(--green);
  padding: 1rem 0 1rem 1.2rem;
  color: var(--muted);
  font-size: .95rem;
  background: linear-gradient(90deg, rgba(184,255,60,.05), transparent 60%);
}

.legal-doc { max-width: 78ch; }
.legal-doc h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin-top: 2.6rem; margin-bottom: .9rem; }
.legal-doc h3 { font-size: 1.05rem; margin-top: 1.6rem; margin-bottom: .5rem; text-transform: none; letter-spacing: -.015em; }
.legal-doc p, .legal-doc li { color: var(--muted); font-size: .97rem; }
.legal-doc p + p, .legal-doc ul { margin-top: .9rem; }
.legal-doc ul { padding-left: 1.2rem; display: grid; gap: .45rem; }
.legal-doc dl { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: .6rem 1.5rem; margin-top: 1rem; }
.legal-doc dt { font-family: var(--font-mono); font-size: var(--fs-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--concrete); padding-top: .2rem; }
.legal-doc dd { margin: 0; }
@media (max-width: 640px) { .legal-doc dl { grid-template-columns: 1fr; gap: .2rem 0; } .legal-doc dd { margin-bottom: .8rem; } }

.todo-chip {
  display: inline-block;
  background: rgba(184, 255, 60, .12);
  border: 1px dashed var(--green-700);
  color: var(--green);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .12rem .45rem;
}

/* --------------------------------------------------------------------------
   26. REDUCED MOTION
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   27. KARRIER
   -------------------------------------------------------------------------- */
/* the header is fixed and overlays the page, so the hero has to start below it */
.kar-hero {
  padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 4rem));
  padding-bottom: clamp(3rem, 7vw, 6rem);
}
.kar-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(1.8rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 900px) { .kar-hero__grid { grid-template-columns: 1fr; } }
.kar-hero__title {
  max-width: 14ch;
  /* the headline box starts right under the eyebrow, and a long Hungarian
     accent (É, Ő, Ű) reaches above its own line box: without this the
     accent of NEHÉZ sat in the eyebrow */
  margin-top: clamp(1.2rem, 2.4vw, 2.1rem);
}
.kar-hero__cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: clamp(1.8rem, 4vw, 2.6rem); }
/* the portrait carries the page, so it may run past the text block */
.kar-hero__media .media { max-height: 76svh; }

/* what we give: a plain card grid, no frames fighting the panels elsewhere */
/* 7 cards + 1 CTA tile = 8 cells, the same arithmetic as the service grid,
   so no row is ever left with a hole in it */
.kar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
@media (max-width: 560px) { .kar-grid { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 680px)  { .kar-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .kar-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* A hívás kártya a teljes sort elfoglalja. Egyetlen cellaként magára
   hagyva üres cellákat nyitna mellette, és a tételek számától függően
   hol egyet, hol hármat: így viszont bármennyi tétel mellett ép marad. */
.kar-card--cta { grid-column: 1 / -1; }
.kar-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: .7rem;
  padding: clamp(1.4rem, 2.6vw, 2.1rem) clamp(1.2rem, 2.2vw, 1.8rem);
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  position: relative;
  transition: background .5s var(--ease-out);
}
.kar-card:hover { background: var(--ink-70); }
.kar-card--cta {
  background: var(--green-fill);
  color: var(--ink);
  align-content: start;
  gap: .9rem;
}
.kar-card--cta:hover { background: var(--green-fill); }
.kar-card--cta .pillar__num { color: rgba(17, 17, 17, .6); }
.kar-card--cta .pillar__title { color: var(--ink); }
.kar-card--cta p { color: rgba(17, 17, 17, .78); font-size: .96rem; }
.kar-card--cta .phone-cta { color: var(--ink); font-size: clamp(1.05rem, 2vw, 1.35rem); margin-top: .2rem; }
.kar-card--cta .phone-cta svg { color: var(--ink); }
.kar-card .pillar__num { padding-top: 0; }
.kar-card .pillar__title { font-size: clamp(1.1rem, 1.9vw, 1.4rem); }
.kar-card .pillar__text { max-width: none; font-size: .96rem; }

/* how to apply */
.kar-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.kar-steps li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: clamp(.8rem, 2vw, 1.4rem);
  align-items: baseline;
  padding-block: clamp(1rem, 2.2vw, 1.5rem);
  border-bottom: 1px solid var(--rule);
  font-size: var(--fs-lead);
  color: var(--milk-dim);
}
.kar-steps li:first-child { border-top: 1px solid var(--rule); }
.kar-step__n {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: .14em;
  color: var(--green);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  [data-reveal="mask"] > * { clip-path: none !important; transition: none !important; }
  .line > span { transform: none !important; }
  .scribble__list li { opacity: 1 !important; transform: none !important; }
  .preload { display: none; }
  .hero__bg img { animation: none; transform: scale(1.04); }
  /* A hullám végállapotban gyűrűt hagyna a közepén. Mozgás nélkül
     egyszerűbb és olvashatóbb, ha nincs hullám, viszont az egész ország
     halványan világít: ugyanazt mondja el, állóképpel. */
  .orsz-terkep__hullam { display: none !important; }
  .orsz-terkep__alap { fill: rgba(184, 255, 60, .3) !important; }
  .orsz-terkep__puls { animation: none !important; opacity: .55 !important; }
}

/* --------------------------------------------------------------------------
   27. PRINT
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .callbar, .noise-layer, .preload, .marquee, .scroll-rail { display: none !important; }
  body { background: #fff; color: #000; }
  .media, .hero__bg, .band__bg { display: none; }
  a::after { content: " (" attr(href) ")"; font-size: .8em; }
}

/* ==========================================================================
   ORSZÁGOS LEFEDETTSÉG: pontrácsos Magyarország-térkép

   A pontok mozdulatlanok. Ami mozog, az EGYETLEN folt: egy Budapestről
   kifelé táguló, lágy szélű kör, amit a pontok maszkja vág ki. Nem
   háromszáz külön animált elem, ezért telefonon is elfut.
   ========================================================================== */
.orsz-terkep {
  position: relative;
  margin-top: clamp(2rem, 4vw, 3.4rem);
}
/* A hullám szándékosan túlnő a térképen, az SVG vágja le. A vágás a
   böngésző alapértelmezése is, de kiírjuk, hogy ne azon múljon. */
.orsz-terkep__svg { display: block; width: 100%; height: auto; overflow: hidden; }

.orsz-terkep__hatar {
  fill: none;
  stroke: rgba(184, 255, 60, .55);
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
}
/* A megyehatárok a pontok ALATT futnak: a rács hézagaiban látszanak,
   szerkezetet adnak a képnek, de nem versenyeznek vele. */
.orsz-terkep__megyek {
  fill: none;
  stroke: rgba(184, 255, 60, .34);
  stroke-width: 1.1;
  vector-effect: non-scaling-stroke;
}

/* a maszk mögötti alapréteg: ettől látszanak a pontok akkor is, amikor
   épp nincs ott a hullám. A kifelé halkulást nem itt állítjuk be, hanem
   a maszk sávjaiban, hogy minden réteg együtt halkuljon. */
.orsz-terkep__alap { fill: rgba(244, 241, 232, .38); }

/* Budapest körvonala a pontok FÖLÖTT, hogy kiemelés legyen, ne háttér */
.orsz-terkep__bp-gyuru {
  fill: none;
  stroke: rgba(184, 255, 60, .72);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

/* Budapest és környéke: ez mindig világít, mert ez a napi terep */
.orsz-terkep__mag { opacity: .95; }

/* A pulzus és a hullám EGY ciklusban jár, azonos időtartammal: előbb
   egyet lüktet a budapesti jel, aztán abból indul ki a hullám. Eltérő
   időtartammal a kettő folyamatosan csúszna egymáshoz képest, és a jel
   kétszer villanna egy hullám alatt. */
.orsz-terkep__hullam,
.orsz-terkep__puls {
  transform-box: fill-box;
  transform-origin: center;
  animation-duration: var(--mo-ido, 5.6s);
  animation-iteration-count: infinite;
}

.orsz-terkep__hullam {
  animation-name: mo-hullam;
  animation-timing-function: cubic-bezier(.22, .62, .3, 1);
}
@keyframes mo-hullam {
  /* az első ötöd a pulzusé, addig a hullám még nincs sehol */
  0%, 17% { transform: scale(0); opacity: 0; }
  26%     { opacity: 1; }
  88%     { opacity: .5; }
  100%    { transform: scale(var(--mo-max, 570)); opacity: 0; }
}

.orsz-terkep__puls {
  fill: none;
  stroke: var(--green);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  animation-name: mo-puls;
  animation-timing-function: ease-out;
}
/* A lüktetés a ciklus első ötödében lezajlik, utána a gyűrű nem látszik:
   így pontosan egyszer villan, mielőtt a hullám elindul. */
@keyframes mo-puls {
  0%        { transform: scale(.45); opacity: .9; }
  20%       { transform: scale(2.9); opacity: 0; }
  20.01%,
  100%      { transform: scale(.45); opacity: 0; }
}
.orsz-terkep__pont { fill: var(--milk); stroke: var(--ink); stroke-width: 2; }


.orsz-pontok {
  list-style: none;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding: clamp(1.4rem, 3vw, 2.2rem) 0 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.4rem, 3vw, 2.6rem);
}
@media (max-width: 860px) { .orsz-pontok { grid-template-columns: 1fr; } }
.orsz__szam {
  display: block;
  margin-bottom: .55rem;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: .14em;
  color: var(--green);
}
.orsz__cim {
  margin: 0 0 .45rem;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  font-weight: 800;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.orsz__szoveg { margin: 0; color: var(--milk-dim); }

.orsz-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: clamp(1.8rem, 3.4vw, 2.6rem);
}
