/* =========================================================
   GRAFIK DEKOR — publikus weboldal stíluslap
   Design system: dark graphite / paper white / brand gradient
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* brand */
  --orange: #ff7a00;
  --orange-lt: #ff9a12;
  --pink: #ec008c;
  --grad: linear-gradient(95deg, var(--orange-lt) 0%, var(--orange) 38%, var(--pink) 100%);
  --grad-soft: linear-gradient(95deg, rgba(255, 154, 18, .16), rgba(236, 0, 140, .16));

  /* dark */
  --ink: #0b0b0d;
  --graphite: #111114;
  --panel: #17171b;
  --panel-2: #1e1e23;
  --line-d: rgba(255, 255, 255, .10);
  --line-d-soft: rgba(255, 255, 255, .06);

  /* light */
  --paper: #ffffff;
  --paper-2: #f4f4f2;
  --paper-3: #e9e9e6;
  --line-l: rgba(11, 11, 13, .10);

  /* text */
  --tx-on-dark: #f5f5f4;
  --tx-on-dark-2: rgba(245, 245, 244, .62);
  --tx-on-light: #0b0b0d;
  --tx-on-light-2: rgba(11, 11, 13, .62);

  /* type */
  --f-display: 'Archivo', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* layout */
  --maxw: 1360px;
  --gutter: clamp(20px, 5vw, 72px);
  --sect-y: clamp(64px, 9vw, 132px);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* motion */
  --e: cubic-bezier(.22, .61, .36, 1);
  --t-fast: .22s var(--e);
  --t: .45s var(--e);
  --t-slow: .8s var(--e);

  --header-h: 84px;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

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

body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--tx-on-light);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img,
picture,
video,
canvas,
svg { display: block; max-width: 100%; }

input,
button,
textarea,
select { font: inherit; color: inherit; }

button { cursor: pointer; background: none; border: 0; padding: 0; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.028em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--pink); color: #fff; }

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

.section { padding-block: var(--sect-y); position: relative; }

.section--dark { background: var(--ink); color: var(--tx-on-dark); }
.section--graphite { background: var(--graphite); color: var(--tx-on-dark); }
.section--paper { background: var(--paper); }
.section--paper2 { background: var(--paper-2); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* eyebrow / kicker */
.kicker {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--tx-on-light-2);
  display: flex;
  align-items: center;
  gap: 12px;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--grad);
  flex: none;
}
.section--dark .kicker,
.section--graphite .kicker { color: var(--tx-on-dark-2); }

.h-xl { font-size: clamp(2.6rem, 7.4vw, 5.4rem); }
.h-lg { font-size: clamp(2rem, 4.4vw, 3.35rem); }
.h-md { font-size: clamp(1.45rem, 2.4vw, 2rem); }

.lead {
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  color: var(--tx-on-light-2);
  max-width: 54ch;
}
.section--dark .lead,
.section--graphite .lead { color: var(--tx-on-dark-2); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 3b. Dekoráció: márkacsíkok a sötét szakaszokon ----------
   Tisztán CSS, pszeudoelemekkel — a JS által újrarajzolt tartalmat nem érinti. */
.deco { position: relative; overflow: hidden; isolation: isolate; }
.deco > * { position: relative; z-index: 2; }

/* ferde narancs/pink csíkköteg */
.deco::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 8%;
  bottom: -12%;
  width: clamp(190px, 26vw, 440px);
  transform: skewX(-19deg);
  opacity: .62;
  pointer-events: none;
  filter: saturate(1.15);
  background: linear-gradient(90deg,
    transparent 0 5%,
    rgba(255, 255, 255, .05) 5% 17%,
    transparent 17% 21%,
    rgba(255, 138, 0, .95) 21% 22.4%,
    transparent 22.4% 27%,
    rgba(236, 0, 140, .8) 27% 31%,
    transparent 31% 40%,
    rgba(255, 255, 255, .032) 40% 54%,
    transparent 54% 58%,
    rgba(236, 0, 140, .95) 58% 59.2%,
    transparent 59.2%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, #000 34%, transparent 96%);
  mask-image: linear-gradient(to top, #000 0%, #000 34%, transparent 96%);
}
.deco--left::before { left: -6%; }
.deco--right::before { right: -6%; transform: skewX(19deg) scaleX(-1); }

/* finom pontraszter az ellenkező oldalon */
.deco::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: .5;
}
.deco--left::after {
  -webkit-mask-image: radial-gradient(48% 58% at 92% 22%, #000 0%, transparent 72%);
  mask-image: radial-gradient(48% 58% at 92% 22%, #000 0%, transparent 72%);
}
.deco--right::after {
  -webkit-mask-image: radial-gradient(48% 58% at 8% 78%, #000 0%, transparent 72%);
  mask-image: radial-gradient(48% 58% at 8% 78%, #000 0%, transparent 72%);
}

/* halvány márkafény, hogy ne legyen koromfekete a felület */
.deco--glow { background-image: radial-gradient(900px 420px at 80% 0%, rgba(236, 0, 140, .1), transparent 62%); }

/* vékony színátmenetes elválasztó vonal a szakasz tetején
   — szegéllyel, hogy ne ütközzön a .deco pszeudoelemeivel */
.rule-top {
  border-style: solid;
  border-width: 1px 0 0 0;
  border-color: transparent;
  border-image: linear-gradient(90deg,
    transparent,
    rgba(255, 122, 0, .6) 20%,
    rgba(236, 0, 140, .6) 62%,
    transparent) 1;
}

@media (max-width: 680px) {
  .deco::before { width: 58vw; opacity: .4; }
  .deco::after { background-size: 16px 16px; }
}

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast), opacity var(--t-fast);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn svg { flex: none; transition: transform var(--t-fast); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .55; pointer-events: none; }

.btn--grad {
  background: var(--grad);
  background-size: 160% 100%;
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(236, 0, 140, .65);
}
.btn--grad:hover {
  background-position: 100% 0;
  box-shadow: 0 16px 40px -14px rgba(236, 0, 140, .8);
}

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
}
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.btn--ghost-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-l);
}
.btn--ghost-dark:hover { border-color: var(--ink); }

.btn--sm { padding: 11px 20px; font-size: .78rem; }

/* text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  transition: gap var(--t-fast), color var(--t-fast);
}
.link-arrow:hover { gap: 16px; }

/* ---------- 5. Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--t), height var(--t), box-shadow var(--t), border-color var(--t);
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  height: 68px;
  background: rgba(11, 11, 13, .82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line-d-soft);
}
.header__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
  margin-right: auto;
}
.logo__mark { width: 52px; height: auto; }
.logo__text {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: .95;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: #fff;
}
.logo__text span { display: block; }
.logo__text span:last-child { font-weight: 500; letter-spacing: .03em; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative;
  padding: 10px 14px;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .78);
  transition: color var(--t-fast);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: #fff; }

.header__actions { display: flex; align-items: center; gap: 14px; flex: none; }

.burger {
  display: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  position: relative;
}
.burger span {
  position: absolute;
  left: 13px;
  width: 20px; height: 2px;
  background: #fff;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 29px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ink);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform var(--t), visibility var(--t);
}
body.menu-open .drawer { transform: translateY(0); visibility: visible; }
.drawer__link {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -.03em;
  color: #fff;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-d-soft);
}
.drawer__foot { margin-top: auto; display: grid; gap: 14px; color: var(--tx-on-dark-2); font-size: .95rem; }
.drawer__foot a { color: #fff; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 940px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
  transform: scale(1.06);
  animation: heroZoom 2.4s var(--e) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(11, 11, 13, .94) 0%, rgba(11, 11, 13, .74) 34%, rgba(11, 11, 13, .12) 66%, rgba(11, 11, 13, .45) 100%),
    linear-gradient(to top, rgba(11, 11, 13, .92) 0%, rgba(11, 11, 13, 0) 46%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(48px, 8vw, 92px);
}
.hero__kicker { color: rgba(255, 255, 255, .72); margin-bottom: 22px; }
.hero__title {
  font-size: clamp(2.9rem, 9.6vw, 7.2rem);
  font-weight: 800;
  letter-spacing: -.04em;
  text-transform: uppercase;
  line-height: .9;
}
.hero__sub {
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.9vw, 1.5rem);
  font-weight: 300;
  color: rgba(255, 255, 255, .84);
  max-width: 30ch;
  line-height: 1.35;
}
.hero__cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__note {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(140px, 15vw, 236px);
  max-width: 22ch;
  font-size: .85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .7);
  text-align: right;
}
.hero__scroll {
  position: absolute;
  left: var(--gutter);
  bottom: 22px;
  display: flex; align-items: center; gap: 12px;
  font-size: .68rem; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  z-index: 2;
}
.hero__scroll i {
  width: 26px; height: 40px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: var(--r-pill);
  position: relative;
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  left: 50%; top: 8px;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--grad);
  animation: scrollDot 1.8s var(--e) infinite;
}
@keyframes scrollDot { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(14px); opacity: .1; } }

.hero__corner {
  position: absolute;
  right: 0; bottom: 0;
  width: clamp(120px, 16vw, 230px);
  aspect-ratio: 1;
  background: var(--grad);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: .92;
  z-index: 1;
  pointer-events: none;
}

/* ---------- 7. Services ---------- */
.services__head { display: grid; gap: 22px; margin-bottom: clamp(34px, 5vw, 54px); max-width: 640px; }
.services__layout { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.services__aside { display: grid; gap: 22px; position: sticky; top: calc(var(--header-h) + 24px); }

.svc-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: thin;
}
.svc-rail::-webkit-scrollbar { height: 4px; }
.svc-rail::-webkit-scrollbar-thumb { background: var(--line-l); border-radius: 4px; }

.svc {
  position: relative;
  aspect-ratio: 1 / 1.72;
  min-height: 210px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--panel);
  scroll-snap-align: start;
  isolation: isolate;
  display: block;
  color: #fff;
}
.svc img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--e), filter .6s var(--e);
  filter: saturate(.85) contrast(1.05);
}
.svc::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11, 11, 13, .92) 4%, rgba(11, 11, 13, .25) 52%, rgba(11, 11, 13, .1) 100%);
  z-index: 1;
  transition: opacity var(--t);
}
.svc:hover img { transform: scale(1.07); filter: saturate(1) contrast(1.05); }
.svc__body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 12px; display: grid; gap: 5px; }
.svc__num { display: block; font-size: .66rem; letter-spacing: .18em; color: rgba(255, 255, 255, .6); }
.svc__title {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(.66rem, .74vw, .8rem);
  font-weight: 700;
  letter-spacing: -.02em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}
.svc__desc {
  display: block;
  font-size: .82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, .72);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height var(--t), opacity var(--t), margin-top var(--t);
}
.svc:hover .svc__desc,
.svc:focus-visible .svc__desc { max-height: 96px; opacity: 1; margin-top: 4px; }
.svc__go {
  position: absolute;
  right: 10px; top: 10px;
  z-index: 3;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  background: rgba(11, 11, 13, .5);
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--t-fast), transform var(--t-fast), background var(--t-fast);
}
.svc:hover .svc__go,
.svc:focus-visible .svc__go { opacity: 1; transform: none; background: var(--grad); }

/* ---------- 8. References ---------- */
.refs__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 34px;
}
.refs__filters { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  padding: 9px 16px;
  border-radius: var(--r-pill);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  border: 1px solid transparent;
  transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast);
}
.chip:hover { color: #fff; border-color: var(--line-d); }
.chip.is-active { color: #fff; background: var(--grad); }

.refs__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(10px, 1.2vw, 16px);
}
.ref {
  position: relative;
  grid-column: span 4;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--panel);
  isolation: isolate;
  animation: refIn .5s var(--e) both;
}
@keyframes refIn { from { opacity: 0; transform: translateY(14px); } }
.ref--wide { grid-column: span 6; aspect-ratio: 16 / 10; }
/* a sor magasságát a széles elem adja — a kisebbek kitöltik, így nincs lyuk a rácsban */
.ref--sm { grid-column: span 3; aspect-ratio: auto; align-self: stretch; }
.ref img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--e);
}
.ref:hover img { transform: scale(1.06); }
.ref__overlay {
  position: absolute; inset: 0;
  z-index: 2;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  text-align: left;
  color: #fff;
  background: linear-gradient(to top, rgba(11, 11, 13, .9) 0%, rgba(11, 11, 13, .1) 55%, transparent 100%);
  opacity: 0;
  transition: opacity var(--t);
}
.ref:hover .ref__overlay,
.ref:focus-visible .ref__overlay { opacity: 1; }
.ref__cat { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.ref__title { font-family: var(--f-display); font-size: 1.05rem; font-weight: 700; }
/* betöltés alatti csempék */
.refs__grid .skeleton { min-height: 170px; }
.refs__grid .ref--sm.skeleton { aspect-ratio: 1 / 1; }

.ref__count {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: rgba(11, 11, 13, .6);
  backdrop-filter: blur(6px);
  font-size: .68rem;
  letter-spacing: .1em;
  color: #fff;
}

/* ---------- 9. About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) minmax(0, 3fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.about__figure { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--paper-3); aspect-ratio: 4 / 3.1; }
.about__figure img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06); }
.about__figure::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11, 11, 13, .85) 0%, rgba(11, 11, 13, .1) 46%, transparent 100%);
}
.about__stat {
  position: absolute;
  left: 22px; bottom: 22px;
  color: #fff;
  z-index: 2;
}
.about__stat b {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.04em;
  display: block;
}
.about__stat b sup { font-size: .42em; vertical-align: super; }
.about__stat span {
  display: block;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 2px solid var(--pink);
  width: max-content;
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.about__body { display: grid; gap: 20px; }
.about__body h2 { max-width: 22ch; font-size: clamp(1.75rem, 2.9vw, 2.6rem); }
.about__text { display: grid; gap: 14px; color: var(--tx-on-light-2); font-size: 1rem; }

/* timeline */
.timeline { display: grid; gap: 26px; }
.tl-item { position: relative; padding-left: 26px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--paper-3);
}
.tl-item:first-child::before { background: var(--grad); }
.tl-item::after {
  content: "";
  position: absolute;
  left: 5px; top: 22px; bottom: -26px;
  width: 1px;
  background: var(--line-l);
}
.tl-item:last-child::after { display: none; }
.tl-item h3 { font-size: 1.05rem; font-weight: 700; }
.tl-item p { font-size: .9rem; color: var(--tx-on-light-2); margin-top: 4px; }

/* team */
.team { margin-top: clamp(44px, 6vw, 72px); display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.team__card { display: grid; gap: 12px; }
.team__card figure { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3 / 4; background: var(--paper-3); }
.team__card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter var(--t), transform .8s var(--e); }
.team__card:hover img { filter: grayscale(0); transform: scale(1.04); }
.team__card h3 { font-size: 1rem; }
.team__card p { font-size: .84rem; color: var(--tx-on-light-2); }

/* ---------- 10. Process ---------- */
.process { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.process__steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 2vw, 26px); }
.step { position: relative; display: grid; gap: 10px; }
.step__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-d);
  background: var(--panel);
  position: relative;
}
.step__icon::after {
  content: "";
  position: absolute; inset: -1px;
  border-radius: 50%;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .5;
  transition: opacity var(--t);
}
.step:hover .step__icon::after { opacity: 1; }
.step__icon svg { width: 24px; height: 24px; stroke: #fff; }
.step__num {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -.03em;
}
.step h3 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; font-family: var(--f-body); }
.step p { font-size: .85rem; color: var(--tx-on-dark-2); line-height: 1.5; }
.step::after {
  content: "";
  position: absolute;
  top: 28px; right: -13px;
  width: 8px; height: 8px;
  border-top: 1px solid var(--line-d);
  border-right: 1px solid var(--line-d);
  transform: rotate(45deg);
}
.step:last-child::after { display: none; }

/* ---------- 11. Quote ---------- */
.quote {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: stretch;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 30px 70px -40px rgba(11, 11, 13, .55);
  border: 1px solid var(--line-l);
  max-width: 1120px;
  margin-inline: auto;
}
.quote__side {
  position: relative;
  padding: clamp(30px, 3.4vw, 48px);
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}
.quote__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 14% 62%;
  opacity: .72;
}
.quote__side::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(140deg, rgba(11, 11, 13, .82) 0%, rgba(11, 11, 13, .55) 55%, rgba(11, 11, 13, .3) 100%);
}
.quote__side-body { position: relative; z-index: 1; display: grid; gap: 14px; }
.quote__side-body .kicker { color: rgba(255, 255, 255, .72); }
.quote__title {
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1.08;
  max-width: 15ch;
}
.quote__text { font-size: .92rem; color: rgba(255, 255, 255, .72); max-width: 32ch; }
.quote__contacts {
  display: grid; gap: 10px;
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .88rem;
  color: rgba(255, 255, 255, .8);
}
.quote__contacts li { display: flex; align-items: center; gap: 10px; }
.quote__contacts svg { flex: none; color: var(--orange-lt); }
.quote__contacts a:hover { color: #fff; text-decoration: underline; }

.quote__panel {
  background: var(--paper);
  color: var(--tx-on-light);
  padding: clamp(24px, 3vw, 40px);
}

.form { display: grid; gap: 15px; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.field { display: grid; gap: 6px; }
.field > label { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--tx-on-light-2); }

/* szolgáltatásválasztó pirulák */
.chipset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.chipset legend {
  font-size: .72rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--tx-on-light-2);
  padding: 0; margin-bottom: 2px;
}
.chipset__list { display: flex; flex-wrap: wrap; gap: 7px; }
.pick { position: relative; cursor: pointer; }
.pick input {
  position: absolute; opacity: 0;
  width: 1px; height: 1px;
}
.pick span {
  display: block;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-l);
  font-size: .82rem;
  line-height: 1.2;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.pick:hover span { border-color: var(--ink); }
.pick input:checked + span {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
}
.pick input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-l);
  border-radius: var(--r-sm);
  background: var(--paper);
  font-size: .95rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 122, 0, .14);
}
.field[data-invalid="true"] input,
.field[data-invalid="true"] select,
.field[data-invalid="true"] textarea { border-color: #d92d20; }
.field__err { font-size: .78rem; color: #d92d20; min-height: 1em; }

.check { display: flex; align-items: flex-start; gap: 9px; font-size: .9rem; cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--pink); flex: none; margin-top: 2px; }
.check--fine { font-size: .82rem; color: var(--tx-on-light-2); }

.dropzone {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px dashed var(--line-l);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: .82rem;
  color: var(--tx-on-light-2);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.dropzone svg { flex: none; }
.dropzone:hover,
.dropzone.is-over { border-color: var(--orange); background: rgba(255, 122, 0, .05); }
.dropzone input { display: none; }
.filelist { display: grid; gap: 6px; font-size: .82rem; }
.filelist li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 10px; background: var(--paper-2); border-radius: var(--r-sm); }
.filelist button { color: #d92d20; font-size: .78rem; font-weight: 600; }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.form__status { font-size: .88rem; }
.form__status[data-type="ok"] { color: #087443; }
.form__status[data-type="err"] { color: #d92d20; }

.progress { height: 3px; background: var(--paper-3); border-radius: 3px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .2s linear; }

/* ---------- 11b. Kategóriaoldal ---------- */
.page-sub { background: var(--ink); }

.kat {
  position: relative;
  background: var(--ink);
  color: var(--tx-on-dark);
  padding-block: calc(var(--header-h) + clamp(30px, 5vw, 58px)) clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.kat__bg {
  position: absolute;
  inset: 0 0 auto 0;
  height: min(620px, 80%);
  background:
    radial-gradient(900px 420px at 78% -10%, rgba(236, 0, 140, .16), transparent 62%),
    radial-gradient(700px 380px at 20% 0%, rgba(255, 122, 0, .1), transparent 60%);
  pointer-events: none;
}
.kat__corner {
  position: absolute;
  right: 0; top: 0;
  width: clamp(110px, 15vw, 230px);
  aspect-ratio: 1;
  background: var(--grad);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  opacity: .9;
  pointer-events: none;
}
.kat__inner { position: relative; z-index: 1; }

.kat__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  transition: color var(--t-fast), gap var(--t-fast);
}
.kat__back:hover { color: #fff; gap: 12px; }

.kat__crumb {
  margin-top: 26px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.kat__crumb a { color: var(--orange); }
.kat__crumb a:hover { text-decoration: underline; }
.kat__crumb span { color: rgba(255, 255, 255, .3); }
.kat__crumb em { font-style: normal; color: var(--pink); }

.kat__title {
  margin-top: 14px;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -.035em;
  text-transform: uppercase;
  line-height: .95;
}
.kat__rule {
  display: block;
  width: 64px; height: 3px;
  margin-top: 18px;
  background: var(--grad);
  border-radius: 3px;
}
.kat__intro {
  margin-top: 20px;
  max-width: 52ch;
  font-size: clamp(.95rem, 1.1vw, 1.05rem);
  color: var(--tx-on-dark-2);
}

.kat__grid {
  margin-top: clamp(32px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(200px, 18vw, 268px), 1fr));
  gap: clamp(12px, 1.4vw, 20px);
}

.kat-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line-d-soft);
  isolation: isolate;
  display: block;
  text-align: left;
}
.kat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--e); }
.kat-tile:hover img { transform: scale(1.05); }
.kat-tile__veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(11, 11, 13, .88) 0%, rgba(11, 11, 13, .12) 52%, transparent 100%);
  opacity: 0;
  transition: opacity var(--t);
}
.kat-tile:hover .kat-tile__veil,
.kat-tile:focus-visible .kat-tile__veil { opacity: 1; }
.kat-tile__name {
  position: absolute;
  left: 16px; right: 60px; bottom: 18px;
  z-index: 2;
  font-family: var(--f-display);
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--t), transform var(--t);
}
.kat-tile:hover .kat-tile__name,
.kat-tile:focus-visible .kat-tile__name { opacity: 1; transform: none; }
.kat-tile__go {
  position: absolute;
  right: 14px; bottom: 14px;
  z-index: 2;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(11, 11, 13, .55);
  backdrop-filter: blur(4px);
  border: 1px solid transparent;
  transition: background var(--t-fast), transform var(--t-fast);
}
.kat-tile__go::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: 50%;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.kat-tile:hover .kat-tile__go { background: var(--grad); transform: translateY(-2px); }

.kat__foot {
  margin-top: clamp(34px, 4vw, 52px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* további kategóriák */
.kat-more {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}
.kat-more__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px 12px 12px;
  border-radius: var(--r-md);
  background: var(--paper);
  border: 1px solid var(--line-l);
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.kat-more__item:hover {
  transform: translateY(-2px);
  border-color: transparent;
  box-shadow: 0 16px 34px -20px rgba(11, 11, 13, .5);
}
.kat-more__thumb {
  width: 54px; height: 44px;
  flex: none;
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper-3);
}
.kat-more__thumb img { width: 100%; height: 100%; object-fit: cover; }
.kat-more__label { font-size: .9rem; font-weight: 600; flex: 1; }
.kat-more__arrow { color: var(--tx-on-light-2); transition: transform var(--t-fast); }
.kat-more__item:hover .kat-more__arrow { transform: translateX(4px); }

/* ---------- 12. Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.contact__list { display: grid; gap: 4px; margin-top: 30px; }
.cline {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-d-soft);
}
.cline__ico { width: 22px; flex: none; margin-top: 3px; stroke: var(--orange); }
.cline > span { display: block; min-width: 0; }
.cline__k { display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--tx-on-dark-2); }
.cline__v { display: block; font-size: 1.05rem; font-weight: 500; margin-top: 4px; }
.contact__maplink { display: inline-block; margin-top: 12px; font-size: .82rem; color: var(--tx-on-dark-2); border-bottom: 1px solid currentColor; }
.contact__maplink:hover { color: #fff; }
.cline__v a:hover { color: var(--orange-lt); }
.contact__map {
  border-radius: var(--r-md);
  overflow: hidden;
  min-height: 380px;
  background: var(--panel);
  border: 1px solid var(--line-d-soft);
}
.contact__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.social {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-d);
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.social svg { width: 18px; height: 18px; fill: #fff; }
.social:hover { background: var(--grad); border-color: transparent; transform: translateY(-2px); }

/* ---------- 13. Footer ---------- */
.footer { background: var(--ink); color: var(--tx-on-dark); padding-block: clamp(48px, 6vw, 76px) 28px; }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 3vw, 48px);
}
.footer__brand { display: grid; gap: 18px; align-content: start; }
.footer__brand p { font-size: .88rem; color: var(--tx-on-dark-2); max-width: 32ch; }
.footer h4 { font-family: var(--f-body); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 16px; }
.footer__list { display: grid; gap: 10px; font-size: .9rem; color: var(--tx-on-dark-2); }
.footer__list a { transition: color var(--t-fast); }
.footer__list a:hover { color: #fff; }
.footer__bottom {
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 22px;
  border-top: 1px solid var(--line-d-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(255, 255, 255, .45);
}
.footer__legal { display: flex; gap: 20px; }
.footer__legal a:hover { color: #fff; }

/* ---------- 14. Lightbox ---------- */
.lb {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 8, 10, .96);
  backdrop-filter: blur(8px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t), visibility var(--t);
  color: #fff;
}
.lb.is-open { opacity: 1; visibility: visible; }
.lb__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 22px var(--gutter); }
.lb__meta { display: grid; gap: 6px; max-width: 60ch; }
.lb__cat { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.lb__title { font-family: var(--f-display); font-size: clamp(1.2rem, 2.4vw, 1.8rem); font-weight: 700; }
.lb__desc { font-size: .9rem; color: rgba(255, 255, 255, .65); }
.lb__close {
  width: 46px; height: 46px; flex: none;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  display: grid; place-items: center;
  transition: background var(--t-fast), transform var(--t-fast);
}
.lb__close:hover { background: rgba(255, 255, 255, .12); transform: rotate(90deg); }
.lb__stage { position: relative; display: grid; place-items: center; padding: 0 var(--gutter); min-height: 0; }
.lb__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--r-sm); }
.lb__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  display: grid; place-items: center;
  transition: background var(--t-fast);
}
.lb__nav:hover { background: var(--grad); }
.lb__nav--prev { left: 12px; }
.lb__nav--next { right: 12px; }
.lb__thumbs { display: flex; gap: 8px; justify-content: center; padding: 18px var(--gutter) 26px; overflow-x: auto; }
.lb__thumbs button {
  width: 68px; height: 50px;
  border-radius: 6px;
  overflow: hidden;
  opacity: .42;
  border: 2px solid transparent;
  flex: none;
  transition: opacity var(--t-fast), border-color var(--t-fast);
}
.lb__thumbs button.is-active { opacity: 1; border-color: var(--pink); }
.lb__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 15. States ---------- */
.skeleton {
  background: linear-gradient(100deg, rgba(150, 150, 150, .12) 30%, rgba(150, 150, 150, .22) 50%, rgba(150, 150, 150, .12) 70%);
  background-size: 200% 100%;
  animation: sk 1.3s linear infinite;
  border-radius: var(--r-md);
}
@keyframes sk { to { background-position: -200% 0; } }
.empty {
  padding: 48px 20px;
  text-align: center;
  font-size: .95rem;
  color: var(--tx-on-dark-2);
  border: 1px dashed var(--line-d);
  border-radius: var(--r-md);
  grid-column: 1 / -1;
}
.section--paper .empty,
.section--paper2 .empty { color: var(--tx-on-light-2); border-color: var(--line-l); }

/* ---------- 16. Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--e), transform .7s var(--e);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 17. Responsive ---------- */
@media (max-width: 1100px) {
  .about { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .about__aside { grid-column: 1 / -1; }
  .process { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .step::after { display: none; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  :root { --header-h: 70px; }
  .nav, .header__actions .btn { display: none; }
  .burger { display: block; }
  .services__layout { grid-template-columns: 1fr; }
  .services__aside { position: static; }
  /* kisebb kijelzőn vízszintesen görgethető, olvasható méretű kártyák */
  .svc-rail { grid-auto-columns: minmax(172px, 1fr); gap: 14px; }
  .svc { aspect-ratio: 3 / 4; min-height: 240px; }
  .svc__title { font-size: .92rem; }
  .svc__body { padding: 16px; }
  .quote { grid-template-columns: 1fr; }
  .quote__side { min-height: 220px; }
  .contact { grid-template-columns: 1fr; }
  .hero__note { display: none; }
  .ref, .ref--wide, .ref--sm { grid-column: span 6; aspect-ratio: 4 / 3; }
}

@media (max-width: 680px) {
  .about { grid-template-columns: 1fr; }
  .refs__grid { gap: 10px; }
  .ref, .ref--wide, .ref--sm { grid-column: span 12; aspect-ratio: 4 / 3; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { min-height: 92svh; }
  .hero__media img { object-position: 64% 50%; }
  .lb__nav { width: 42px; height: 42px; }
  .btn { padding: 13px 20px; }
}

/* ---------- 18. Reduced motion / print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .header, .drawer, .hero__scroll, .lb, .quote { display: none !important; }
  body { color: #000; background: #fff; }
}
