/* ==========================================================================
   ETgrafika – közös stíluslap (Fekete műterem irány)
   Színek és font: design-system/project/tokens.json
   ========================================================================== */

:root{
  --red:#E31731; --ink:#040303; --white:#FFFFFF; --grey:#6B6B70; --light:#EDEDEF;
  --muted:#A3A3A8;               /* másodlagos szöveg sötét alapon */
  --surface:#121111;             /* kártyaalap sötét alapon */
  --line:rgba(255,255,255,.12); --line-strong:rgba(255,255,255,.28);
  --line-dark:rgba(4,3,3,.12);  --line-dark-strong:rgba(4,3,3,.3);
  --bar:3px;                                 /* vékony logóvonal */
  --bar-thick:clamp(10px, 1.15vw, 16px);     /* a logó vonalvastagsága */
  --gutter:clamp(1rem, 4vw, 3rem);
  --wrap:1200px;
  --section:clamp(6rem, 12vw, 11rem);
  --ease:cubic-bezier(.22,.61,.36,1);
  --ease-slow:cubic-bezier(.16,1,.3,1);
  --header-h:76px;
  --font:'Poppins', system-ui, sans-serif;
}

/* ---------- Alapok ---------- */
*,*::before,*::after{ box-sizing:border-box; border-radius:0; }
html{ scroll-behavior:smooth; scroll-padding-top:calc(var(--header-h) + 1rem); -webkit-text-size-adjust:100%; }
body{ margin:0; background:var(--ink); color:var(--white); font-family:var(--font); font-weight:300; font-size:1rem; line-height:1.7; overflow-x:clip; -webkit-font-smoothing:antialiased; }
img{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
p{ margin:0; }
h1,h2,h3{ margin:0; text-wrap:balance; font-family:var(--font); }
figure{ margin:0; }
::selection{ background:var(--red); color:#fff; }
:focus-visible{ outline:2px solid var(--white); outline-offset:3px; }
.on-light :focus-visible{ outline-color:var(--ink); }
[hidden]{ display:none !important; }
.sr-only{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.skip{ position:absolute; left:1rem; top:-4rem; z-index:100; background:var(--ink); color:var(--white); padding:.6rem 1rem; font-weight:500; }
.skip:focus{ top:1rem; }

.wrap{ width:100%; max-width:calc(var(--wrap) + 2*var(--gutter)); margin-inline:auto; padding-inline:var(--gutter); }
.section{ padding-block:var(--section); position:relative; }

/* ---------- Tipográfia ---------- */
.h1{ font-weight:100; font-size:clamp(2rem, 4vw, 3.5rem); line-height:1.12; letter-spacing:-.01em; }
.h1 em{ font-style:normal; color:var(--red); font-weight:200; }
.h2{ font-weight:200; font-size:clamp(1.75rem, 3vw, 2.6rem); line-height:1.2; letter-spacing:-.005em; }
.h2 em{ font-style:normal; color:var(--red); }
.h3{ font-weight:600; font-size:1.05rem; line-height:1.4; letter-spacing:.005em; }
.lead{ font-weight:300; font-size:clamp(1.02rem, 1.2vw, 1.15rem); line-height:1.75; color:rgba(255,255,255,.82); max-width:36em; }
.body{ color:var(--muted); max-width:38em; }
.strong{ font-weight:600; color:var(--white); }
.label{ font-weight:500; font-size:.72rem; letter-spacing:.42em; text-transform:uppercase; }
.sig .r{ color:var(--red); }

/* ---------- Gombok, linkek ---------- */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:.75rem; min-height:48px; padding:.85rem 1.75rem; font-family:var(--font); font-weight:500; font-size:.95rem; letter-spacing:.01em; border:1px solid transparent; transition:background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); cursor:pointer; }
.btn-red{ background:var(--red); color:#fff; }
.btn-red:hover{ background:var(--ink); border-color:var(--red); }
.btn-ghost{ border-color:var(--line-strong); color:#fff; background:transparent; }
.btn-ghost:hover{ border-color:#fff; }
.btn-black{ background:var(--ink); color:#fff; }
.btn-black:hover{ background:var(--red); }
.btn-sm{ min-height:44px; padding:.55rem 1.15rem; font-size:.85rem; }
.link{ font-weight:500; display:inline-flex; gap:.6rem; align-items:center; padding-block:.4rem; background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat; transition:background-size .35s var(--ease); }
.link:hover{ background-size:100% 1px; }

/* ---------- Ikonok (images/ikonok.svg sprite; 1.5px szögletes vonal, piros rombusz-pont) ---------- */
.et-ikon{ display:inline-block; flex:none; width:24px; height:24px; vertical-align:middle; --et-ikon-piros:currentColor; }
.btn .et-ikon, .link .et-ikon{ width:20px; height:20px; transition:transform .3s var(--ease); }
.btn:hover .ikon-nyil, .link:hover .ikon-nyil{ transform:translateX(3px); }
.svc h3 .et-ikon{ width:30px; height:30px; --et-ikon-piros:var(--red); }
.svc h3 em{ font-style:normal; color:var(--red); }
.step .et-ikon{ display:block; width:30px; height:30px; margin-bottom:.9rem; --et-ikon-piros:var(--red); }
@media (prefers-reduced-motion:reduce){ .btn:hover .ikon-nyil, .link:hover .ikon-nyil{ transform:none; } }

/* ---------- Motívum: a logó vonalnyelve ---------- */
.et-rule{ position:relative; height:44px; width:100%; }
.et-rule::before{ content:""; position:absolute; left:0; right:0; top:0; height:var(--bar); background:currentColor; transform-origin:left; }
.et-rule i{ position:absolute; left:0; width:52px; height:var(--bar); background:currentColor; transform-origin:right; }
.et-rule i:nth-of-type(1){ top:20px; }
.et-rule i:nth-of-type(2){ top:41px; }
.et-rule b{ position:absolute; left:52px; top:0; width:var(--bar); height:44px; background:currentColor; transform-origin:top; }
.et-rule.dim{ color:rgba(255,255,255,.16); }
.js .et-rule.reveal::before{ transform:scaleX(0); transition:transform 1.6s var(--ease-slow) .25s; }
.js .et-rule.reveal b{ transform:scaleY(0); transition:transform .8s var(--ease-slow); }
.js .et-rule.reveal i{ transform:scaleX(0); transition:transform .9s var(--ease-slow) .55s; }
.js .et-rule.reveal i:nth-of-type(2){ transition-delay:.7s; }
.js .et-rule.reveal.is-in::before,.js .et-rule.reveal.is-in i{ transform:scaleX(1); }
.js .et-rule.reveal.is-in b{ transform:scaleY(1); }
.tick{ display:block; width:28px; height:var(--bar); background:currentColor; }

/* ---------- Fejléc (fehér) ---------- */
.header{ position:fixed; inset:0 0 auto 0; z-index:50; height:var(--header-h); background:var(--white); color:var(--ink); border-bottom:1px solid var(--line-dark); transition:box-shadow .5s var(--ease); }
.header.scrolled{ box-shadow:0 10px 30px rgba(4,3,3,.18); }
.header :focus-visible{ outline-color:var(--ink); }
.header .wrap{ height:100%; display:flex; align-items:center; justify-content:space-between; gap:2rem; }
.brand{ display:flex; align-items:center; gap:.9rem; }
.brand img{ height:44px; width:auto; }
.brand .label{ font-size:.62rem; letter-spacing:.38em; color:var(--ink); display:none; }
@media (min-width:1100px){ .brand .label{ display:inline; } }
.menu{ display:none; gap:clamp(1rem, 2vw, 2.1rem); align-items:center; }
.menu a{ position:relative; font-weight:400; font-size:.9rem; color:rgba(4,3,3,.72); padding-block:.7rem; transition:color .3s var(--ease); }
.menu a::before{ content:""; position:absolute; left:0; top:0; height:var(--bar); width:100%; background:var(--ink); transform:scaleX(0); transform-origin:left; transition:transform .45s var(--ease); }
.menu a:hover{ color:var(--ink); }
.menu a:hover::before{ transform:scaleX(.35); }
.menu a[aria-current="page"]{ color:var(--ink); font-weight:500; }
.menu a[aria-current="page"]::before{ background:var(--red); transform:scaleX(.35); }
.header-cta{ display:none; }
.burger{ width:48px; height:48px; display:inline-flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:7px; padding:0 10px; background:none; border:0; color:var(--ink); cursor:pointer; }
.burger span{ display:block; height:2px; background:currentColor; transition:transform .45s var(--ease), opacity .3s var(--ease); }
.burger span:nth-child(1){ width:28px; } .burger span:nth-child(2){ width:18px; } .burger span:nth-child(3){ width:28px; }
.burger[aria-expanded="true"] span:nth-child(1){ transform:translateY(9px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.burger[aria-expanded="true"] span:nth-child(3){ transform:translateY(-9px) rotate(-45deg); }
@media (min-width:1024px){ .menu,.header-cta{ display:flex; } .burger{ display:none; } }

/* Mobil menü */
.mnav{ position:fixed; inset:0; z-index:45; background:var(--ink); display:flex; flex-direction:column; padding:calc(var(--header-h) + 2rem) var(--gutter) 2rem; visibility:hidden; opacity:0; transition:opacity .45s var(--ease), visibility 0s linear .45s; overflow-y:auto; }
.mnav.open{ visibility:visible; opacity:1; transition:opacity .45s var(--ease); }
.mnav ul{ list-style:none; margin:0; padding:0; }
.mnav li a{ display:flex; align-items:center; gap:1.1rem; padding:.75rem 0; font-weight:200; font-size:clamp(1.7rem, 7vw, 2.4rem); line-height:1.2; }
.mnav li a::before{ content:""; width:22px; height:var(--bar); background:rgba(255,255,255,.3); flex:none; transform:scaleX(0); transform-origin:right; transition:transform .6s var(--ease-slow); }
.mnav.open li a::before{ transform:scaleX(1); }
.mnav li a[aria-current="page"]::before{ background:var(--red); }
.mnav .mnav-foot{ margin-top:auto; padding-top:2.5rem; display:flex; flex-direction:column; gap:1.5rem; }
body.lock{ overflow:hidden; }

/* ---------- Hero ---------- */
.hero{ position:relative; min-height:min(100svh, 1000px); padding-top:calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)); padding-bottom:clamp(4rem, 8vw, 7rem); display:flex; align-items:center; isolation:isolate; }
.hero-lines{ position:absolute; inset:0; z-index:-1; width:100%; height:100%; pointer-events:none; }
.hero-lines path{ fill:none; stroke:#fff; stroke-width:3; stroke-dasharray:1; stroke-dashoffset:1; opacity:0; animation:draw 22s var(--ease) infinite; }
.hero-lines path.g{ stroke:var(--grey); }
@media (max-width:899px){ .hero-lines path:nth-child(1), .hero-lines path:nth-child(2), .hero-lines path:nth-child(3), .hero-lines path:nth-child(4){ display:none; } }
@keyframes draw{ 0%{ stroke-dashoffset:1; opacity:0; } 4%{ opacity:.09; } 30%{ stroke-dashoffset:0; opacity:.09; } 62%{ stroke-dashoffset:0; opacity:.09; } 82%,100%{ stroke-dashoffset:0; opacity:0; } }
.hero-grid{ display:grid; grid-template-columns:1fr; gap:clamp(3rem, 6vw, 5rem); align-items:center; }
@media (min-width:900px){ .hero-grid{ grid-template-columns:minmax(0,6fr) minmax(0,5fr); } }
.hero-copy{ display:flex; flex-direction:column; gap:1.75rem; max-width:34rem; }
.hero-copy .h1{ max-width:14ch; }
.hero-copy .strong{ font-size:1.05rem; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:1rem 1.5rem; align-items:center; padding-top:.5rem; }

.portrait{ position:relative; justify-self:end; width:min(100%, 420px); }
.portrait-frame{ position:relative; aspect-ratio:4/5; overflow:hidden; background:var(--grey); }
.portrait-frame img{ width:100%; height:100%; object-fit:cover; object-position:50% 16%; filter:grayscale(1) contrast(1.08) brightness(.74); transform:scale(1.04); }
.portrait-logo{ position:absolute; left:-22%; bottom:9%; width:34%; z-index:2; }
.portrait-logo img{ width:100%; height:auto; }
.portrait-sig{ position:absolute; left:16%; bottom:calc(9% - .15rem); z-index:2; font-size:.62rem; letter-spacing:.42em; color:#fff; white-space:nowrap; }
.portrait-cap{ margin-top:1.1rem; font-size:.8rem; color:var(--muted); }
@media (max-width:899px){
  .portrait{ width:min(78%, 380px); }
  .portrait-logo{ left:-30%; width:38%; }
  .portrait-sig{ left:12%; bottom:-1.9rem; }
  .portrait-cap{ margin-top:2.6rem; }
}
.js .seq{ opacity:0; transform:translateY(14px); }
.js .loaded .seq{ opacity:1; transform:none; transition:opacity 1.2s var(--ease-slow), transform 1.2s var(--ease-slow); }
.js .loaded .seq.d1{ transition-delay:.15s; } .js .loaded .seq.d2{ transition-delay:.35s; } .js .loaded .seq.d3{ transition-delay:.55s; } .js .loaded .seq.d4{ transition-delay:.75s; }
.js .portrait-frame{ clip-path:inset(100% 0 0 0); }
.js .loaded .portrait-frame{ clip-path:inset(0 0 0 0); transition:clip-path 1.6s var(--ease-slow) .3s; }
.js .loaded .portrait-frame img{ transform:scale(1); transition:transform 2.6s var(--ease-slow) .3s; }
.js .portrait-logo,.js .portrait-sig{ opacity:0; }
.js .loaded .portrait-logo,.js .loaded .portrait-sig{ opacity:1; transition:opacity 1.4s var(--ease) 1.4s; }

/* ---------- Rácsok ---------- */
.split{ display:grid; gap:3rem; }
@media (min-width:900px){ .split{ grid-template-columns:repeat(12, minmax(0,1fr)); gap:2rem; } }
@media (max-width:899px){ .split > *{ grid-column:1 / -1 !important; grid-row:auto !important; min-width:0; } }
.head-row{ display:grid; gap:1.25rem; }
@media (min-width:900px){ .head-row{ grid-template-columns:repeat(12, minmax(0,1fr)); } .head-row .h2{ grid-column:1 / span 6; } .head-row p{ grid-column:8 / span 5; align-self:end; } }

/* ---------- Arculat (világos, a logó szárainak rendszerábrájával) ---------- */
.identity{ background:var(--light); color:var(--ink); padding-bottom:0; }
.identity__grid{ display:grid; grid-template-columns:minmax(0,6fr) minmax(0,6fr); gap:clamp(40px, 6vw, 96px); align-items:start; }
.identity .sub{ margin-top:.6rem; font-weight:300; font-size:clamp(1.05rem, 1.35vw, 1.2rem); color:#3a3a3e; }
.identity .text{ margin-top:1.5rem; color:var(--ink); max-width:36em; }
.system{ margin-top:2.5rem; display:grid; grid-template-columns:var(--bar-thick) 1fr; }
.system__stem{ grid-row:1 / span 4; background:var(--ink); transform-origin:top; }
.system__row{ display:flex; align-items:center; gap:18px; min-height:58px; }
.system__row .bar-h{ display:block; height:var(--bar-thick); width:clamp(40px, 6vw, 72px); background:var(--ink); flex:none; transform-origin:left; }
.system__row span:last-child{ font-weight:500; }
.system__row:last-child .bar-h{ background:var(--red); }
.js .system.reveal .system__stem{ transform:scaleY(0); transition:transform 1.2s var(--ease-slow); }
.js .system.reveal .bar-h{ transform:scaleX(0); transition:transform 1s var(--ease-slow); }
.js .system.reveal .system__row:nth-child(2) .bar-h{ transition-delay:.25s; }
.js .system.reveal .system__row:nth-child(3) .bar-h{ transition-delay:.4s; }
.js .system.reveal .system__row:nth-child(4) .bar-h{ transition-delay:.55s; }
.js .system.reveal .system__row:nth-child(5) .bar-h{ transition-delay:.7s; }
.js .system.reveal.is-in .system__stem{ transform:scaleY(1); }
.js .system.reveal.is-in .bar-h{ transform:scaleX(1); }
.identity__media{ position:relative; margin-bottom:calc(-1 * clamp(80px, 10vw, 140px)); z-index:2; }
.identity__media .frame{ position:relative; padding:var(--bar-thick) 0 0 var(--bar-thick); background:var(--ink); }
.fader{ position:relative; aspect-ratio:16/11; overflow:hidden; background:var(--surface); }
.fader img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity 1.8s var(--ease); }
.fader img.is-active{ opacity:1; animation:slowzoom 7s linear forwards; }
@keyframes slowzoom{ from{ transform:scale(1); } to{ transform:scale(1.06); } }
.identity__foot{ height:clamp(48px, 6vw, 80px); }
@media (max-width:860px){ .identity__grid{ grid-template-columns:minmax(0,1fr); } }

/* ---------- BlogON / AI blokk (sötét, kis képpel) ---------- */
.ai{ padding-top:calc(clamp(80px, 10vw, 140px) + clamp(4rem, 8vw, 7rem)); }
.ai__grid{ display:grid; gap:2.5rem; align-items:start; }
@media (min-width:900px){ .ai__grid{ grid-template-columns:minmax(0,3fr) minmax(0,8fr); gap:clamp(2.5rem, 6vw, 6rem); } }
.ai__img{ width:min(100%, 260px); }
.ai__img .img{ position:relative; aspect-ratio:1/1; overflow:hidden; background:var(--surface); border-top:var(--bar) solid var(--red); }
.ai__img img{ width:100%; height:100%; object-fit:cover; }
.ai__img figcaption{ margin-top:.8rem; font-size:.8rem; color:var(--muted); }
.ai .copy{ display:flex; flex-direction:column; gap:1.5rem; }
.ai .quote{ font-weight:200; font-size:clamp(1.25rem, 2vw, 1.6rem); line-height:1.45; max-width:26em; padding-left:1.5rem; border-left:var(--bar) solid var(--red); }
.ai .link{ align-self:flex-start; color:var(--red); }

/* ---------- Miben segíthetek ---------- */
.services .split{ align-items:start; }
.services .head{ grid-column:1 / span 4; display:flex; flex-direction:column; gap:1.5rem; position:sticky; top:calc(var(--header-h) + 2rem); }
.services .list{ grid-column:6 / span 7; list-style:none; margin:0; padding:0; border-top:1px solid var(--line); }
.svc{ display:grid; grid-template-columns:minmax(0,1fr); gap:.5rem; padding:1.8rem 0; border-bottom:1px solid var(--line); }
@media (min-width:640px){ .svc{ grid-template-columns:15rem minmax(0,1fr); gap:2rem; } }
.svc h3{ font-weight:200; font-size:clamp(1.4rem, 2vw, 1.75rem); line-height:1.2; display:flex; align-items:center; gap:.8rem; }
.svc p{ color:var(--muted); }
.svc p em{ font-style:normal; color:rgba(255,255,255,.85); }
.new{ font-size:.68rem; font-weight:600; letter-spacing:.06em; background:var(--red); color:#fff; padding:.15rem .5rem; line-height:1.4; }
.facts{ list-style:none; margin:2.5rem 0 0; padding:0; display:grid; gap:.9rem; }
@media (min-width:640px){ .facts{ grid-template-columns:repeat(2, minmax(0,1fr)); gap:1rem 2rem; } }
.facts li{ display:flex; gap:.9rem; align-items:baseline; font-size:.92rem; color:rgba(255,255,255,.82); }
.facts li::before{ content:""; flex:none; width:8px; height:8px; background:var(--red); transform:translateY(-1px); }
@media (max-width:899px){ .services .head{ position:static; } }
/* világos változat */
.services.on-light{ background:var(--light); color:var(--ink); }
.services.on-light .body{ color:#3a3a3e; }
.services.on-light .list{ border-top-color:var(--line-dark-strong); }
.services.on-light .svc{ border-bottom-color:var(--line-dark-strong); }
.services.on-light .svc p{ color:#3a3a3e; }
.services.on-light .svc p em{ color:var(--ink); font-weight:500; }
.services.on-light .svc-detail li{ color:var(--ink); }
.services.on-light .webdesign-long{ background:var(--ink); color:#fff; }
.services.on-light .webdesign-long .body{ color:rgba(255,255,255,.82); }
.services .head .link{ color:var(--red); }
.svc h3{ font-weight:600; }

/* ---------- Görgetéssel kirajzolódó vonal (a hero vonala végigfut az oldalon) ---------- */
.trail{ position:absolute; left:0; top:0; width:100%; z-index:1; pointer-events:none; overflow:hidden; }
.trail path{ fill:none; stroke:var(--grey); stroke-width:3; stroke-linejoin:miter; stroke-linecap:butt; opacity:.75; }
.trail .trail-head{ fill:var(--red); stroke:var(--red); stroke-width:26; stroke-linejoin:miter; }
/* a portré körül folyamatosan körbejáró piros szakasz */
.portrait-loop{ position:absolute; inset:-18px; width:calc(100% + 36px); height:calc(100% + 36px); pointer-events:none; overflow:visible; z-index:3; }
.portrait-loop > rect{ fill:none; stroke:var(--red); stroke-width:3; stroke-dasharray:70 930; animation:loop 16s linear infinite; }
@keyframes loop{ from{ stroke-dashoffset:1000; } to{ stroke-dashoffset:0; } }
.portrait-frame-wrap{ position:relative; }

/* ---------- Portfólió szalag ---------- */
.work-head{ display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:2rem; }
.work-head .body{ margin-top:1rem; }
.arrows{ display:flex; gap:.5rem; }
.arrow{ width:48px; height:48px; display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--line-strong); background:transparent; color:#fff; cursor:pointer; transition:border-color .3s var(--ease), opacity .3s var(--ease); }
.arrow:hover{ border-color:#fff; }
.arrow:disabled{ opacity:.3; cursor:default; }
.strip{ --pad:max(var(--gutter), calc((100vw - var(--wrap)) / 2)); margin-top:clamp(2.5rem, 5vw, 4rem); display:flex; gap:clamp(1rem, 2vw, 1.75rem); overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; scroll-padding-inline:var(--pad); padding-inline:var(--pad); padding-bottom:1.5rem; scrollbar-width:thin; scrollbar-color:rgba(255,255,255,.25) transparent; cursor:grab; }
.strip,.band{ position:relative; z-index:2; }
.strip.dragging{ cursor:grabbing; scroll-snap-type:none; }
.strip.dragging a{ pointer-events:none; }
.strip::-webkit-scrollbar{ height:3px; } .strip::-webkit-scrollbar-thumb{ background:rgba(255,255,255,.25); }
.card{ flex:none; width:clamp(260px, 30vw, 380px); scroll-snap-align:start; display:flex; flex-direction:column; gap:1rem; }
.card.feature{ width:clamp(290px, 52vw, 680px); }
.card .img{ aspect-ratio:4/3; overflow:hidden; background:var(--surface); }
.card.feature .img{ aspect-ratio:16/10; }
.card img{ width:100%; height:100%; object-fit:cover; transition:transform 1.2s var(--ease-slow); user-select:none; -webkit-user-drag:none; }
.card:hover img{ transform:scale(1.03); }
.card .meta{ position:relative; padding-top:1rem; display:flex; justify-content:space-between; gap:1rem; align-items:baseline; }
.card .meta::before{ content:""; position:absolute; top:0; left:0; width:28px; height:var(--bar); background:rgba(255,255,255,.35); transition:width .6s var(--ease); }
.card:hover .meta::before{ width:100%; }
.card.feature .meta::before{ background:var(--red); }
.card .name{ font-weight:500; font-size:.98rem; }
.card .cat{ font-size:.8rem; color:var(--muted); white-space:nowrap; }
.card .feat-note{ font-size:.9rem; color:var(--muted); max-width:34em; }
.card.end{ justify-content:center; padding:2rem; border:1px solid var(--line); width:clamp(240px, 24vw, 300px); }
.card.end p{ font-weight:200; font-size:1.35rem; line-height:1.35; }
.work-foot{ margin-top:clamp(2rem, 4vw, 3rem); display:flex; flex-wrap:wrap; gap:1rem 2rem; align-items:center; }
.work-foot .hint{ font-size:.85rem; color:var(--muted); }
.js .mask{ clip-path:inset(0 0 100% 0); }
.js .mask.is-in{ clip-path:inset(0 0 0 0); transition:clip-path 1.4s var(--ease-slow); }

/* ---------- Videó ---------- */
.video .split{ align-items:center; }
.video .media{ grid-column:1 / span 7; }
.video .copy{ grid-column:9 / span 4; display:flex; flex-direction:column; gap:1.4rem; }
.vlink{ position:relative; display:block; aspect-ratio:16/9; overflow:hidden; background:var(--surface); }
.vlink img{ width:100%; height:100%; object-fit:cover; object-position:50% 45%; filter:grayscale(.15) brightness(.82); transition:transform 1.4s var(--ease-slow), filter .8s var(--ease); }
.vlink:hover img{ transform:scale(1.03); filter:grayscale(0) brightness(.9); }
.play{ position:absolute; left:clamp(1rem, 3vw, 2rem); bottom:clamp(1rem, 3vw, 2rem); display:flex; align-items:center; gap:1rem; color:#fff; }
.play .sq{ width:64px; height:64px; display:inline-flex; align-items:center; justify-content:center; background:rgba(4,3,3,.78); border:1px solid rgba(255,255,255,.4); transition:background-color .4s var(--ease), border-color .4s var(--ease); }
.vlink:hover .play .sq{ background:var(--red); border-color:var(--red); }
.play .t{ font-size:.85rem; font-weight:500; background:rgba(4,3,3,.78); padding:.35rem .7rem; }

/* ---------- Folyamat ---------- */
.process{ border-top:1px solid var(--line); }
.steps{ list-style:none; margin:clamp(3rem, 6vw, 4.5rem) 0 0; padding:0; display:grid; position:relative; }
.step{ position:relative; padding:0 0 2.4rem 3.2rem; }
.step::before{ content:""; position:absolute; left:0; top:.55rem; width:22px; height:var(--bar); background:rgba(255,255,255,.4); }
.step::after{ content:""; position:absolute; left:22px; top:.55rem; bottom:-.6rem; width:var(--bar); background:rgba(255,255,255,.12); }
.step:last-child::after{ display:none; }
.step:first-child::before{ background:var(--red); }
.step .n{ font-weight:600; font-size:.85rem; color:var(--muted); display:block; margin-bottom:.35rem; }
.step h3{ font-weight:300; font-size:1.15rem; line-height:1.35; }
.step p{ margin-top:.4rem; font-size:.88rem; color:var(--muted); max-width:22em; }
@media (min-width:900px){
  .steps{ grid-template-columns:repeat(5, minmax(0,1fr)); gap:1.75rem; padding-top:2.5rem; }
  .steps::before{ content:""; position:absolute; top:0; left:0; right:0; height:var(--bar); background:rgba(255,255,255,.16); transform-origin:left; }
  .js .steps.reveal::before{ transform:scaleX(0); transition:transform 2s var(--ease-slow); }
  .js .steps.reveal.is-in::before{ transform:scaleX(1); }
  .step{ padding:0; }
  .step::before{ top:-2.5rem; width:var(--bar); height:2.5rem; }
  .step::after{ display:none; }
}

/* ---------- Mozgó galéria-sávok ---------- */
.bands{ padding-block:clamp(4rem, 8vw, 6rem); overflow:hidden; border-top:1px solid var(--line); }
.bands .head-row{ margin-bottom:clamp(2.5rem, 5vw, 3.5rem); }
.band{ position:relative; overflow:hidden; cursor:grab; touch-action:pan-y; user-select:none; }
.band + .band{ margin-top:clamp(.75rem, 1.5vw, 1.25rem); }
.band.dragging{ cursor:grabbing; }
.band:focus-visible{ outline-offset:-2px; }
.band__track{ display:flex; gap:clamp(.75rem, 1.5vw, 1.25rem); width:max-content; will-change:transform; }
.band__item{ flex:none; height:clamp(160px, 22vw, 280px); overflow:hidden; background:var(--surface); }
.band__item img{ height:100%; width:auto; max-width:none; object-fit:cover; pointer-events:none; -webkit-user-drag:none; filter:grayscale(.2) brightness(.9); transition:filter .6s var(--ease); }
.band__item:hover img{ filter:none; }
.band__item.w-sq{ aspect-ratio:1/1; } .band__item.w-land{ aspect-ratio:4/3; } .band__item.w-port{ aspect-ratio:4/5; } .band__item.w-wide{ aspect-ratio:16/10; }
.band__item.w-sq img,.band__item.w-land img,.band__item.w-port img,.band__item.w-wide img{ width:100%; }
.bands .hint{ margin-top:1.5rem; font-size:.85rem; color:var(--muted); }

/* ---------- Lábléc (fehér) ---------- */
.footer{ background:var(--white); color:var(--ink); padding-block:clamp(4.5rem, 8vw, 6.5rem) 2.5rem; }
.footer :focus-visible{ outline-color:var(--ink); }
.footer .et-rule{ color:rgba(4,3,3,.14); }
.fgrid{ display:grid; gap:3rem; margin-top:clamp(3rem, 6vw, 4.5rem); }
@media (min-width:900px){ .fgrid{ grid-template-columns:minmax(0,5fr) minmax(0,3fr) minmax(0,4fr); } }
.fbrand{ display:flex; flex-direction:column; gap:1.5rem; }
.fbrand img{ width:72px; height:auto; }
.tagline{ font-weight:200; font-size:clamp(1.3rem, 2vw, 1.6rem); line-height:1.35; max-width:16em; }
.fmenu{ list-style:none; margin:0; padding:0; display:grid; gap:.35rem; }
.fmenu a{ color:var(--grey); font-size:.92rem; display:inline-block; padding:.3rem 0; transition:color .3s var(--ease); }
.fmenu a:hover,.fbottom nav a:hover{ color:var(--red); }
.footer .fcontact .link{ color:var(--red); }
.social{ display:flex; gap:.65rem; flex-wrap:wrap; }
.social a{ width:44px; height:44px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--red); color:var(--red); transition:color .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease); }
.social a:hover{ background:var(--red); border-color:var(--red); color:#fff; }
.social a:focus-visible{ border-radius:50%; }
.social svg{ width:18px; height:18px; fill:currentColor; }
.fcontact{ display:flex; flex-direction:column; gap:1.4rem; }
.fcontact p{ color:var(--grey); font-size:.92rem; }
.fbottom{ margin-top:clamp(3.5rem, 7vw, 5rem); padding-top:1.5rem; border-top:1px solid var(--line-dark); display:flex; flex-wrap:wrap; justify-content:space-between; gap:1rem; align-items:center; font-size:.8rem; color:var(--grey); }
.fbottom .sig{ color:var(--ink); font-size:.7rem; }
.fbottom nav{ display:flex; gap:1.5rem; flex-wrap:wrap; }
.fbottom nav a:hover{ color:var(--ink); }

/* ==========================================================================
   Aloldalak
   ========================================================================== */

/* Oldalfejléc */
.page-head{ position:relative; padding-top:calc(var(--header-h) + clamp(4rem, 9vw, 7.5rem)); padding-bottom:clamp(3rem, 6vw, 5rem); }
.page-head .et-rule{ max-width:420px; margin-bottom:clamp(2.5rem, 5vw, 3.5rem); }
.page-head .h1{ max-width:18ch; }
.page-head .lead{ margin-top:1.5rem; }
.crumb{ font-size:.85rem; color:var(--muted); margin-bottom:1.25rem; }
.crumb a:hover{ color:#fff; }

/* Rólam */
.about{ display:grid; gap:clamp(3rem, 6vw, 5rem); align-items:start; }
@media (min-width:900px){ .about{ grid-template-columns:minmax(0,5fr) minmax(0,6fr); } }
.about .portrait{ justify-self:start; margin-left:clamp(3.5rem, 8vw, 5rem); }
.about .copy{ display:flex; flex-direction:column; gap:1.5rem; }
.values{ list-style:none; margin:clamp(3rem, 6vw, 4.5rem) 0 0; padding:0; display:grid; gap:2.5rem; }
@media (min-width:900px){ .values{ grid-template-columns:repeat(3, minmax(0,1fr)); gap:clamp(2rem, 4vw, 4rem); } }
.values li{ display:flex; flex-direction:column; gap:.8rem; }
.values .tick{ background:rgba(255,255,255,.45); margin-bottom:.4rem; }
.values li:first-child .tick{ background:var(--red); }
.values p{ color:var(--muted); }

/* Kapcsolat-sáv aloldalak alján */
.next{ border-top:1px solid var(--line); }
.next .inner{ display:grid; gap:2rem; align-items:end; }
@media (min-width:900px){ .next .inner{ grid-template-columns:minmax(0,7fr) minmax(0,5fr); } }
.next .actions{ display:flex; flex-wrap:wrap; gap:1rem 1.5rem; align-items:center; }

/* Portfólió */
.chips{ display:flex; flex-wrap:wrap; gap:.5rem; }
.chip{ font-family:var(--font); font-weight:500; font-size:.88rem; padding:.6rem 1.1rem; min-height:44px; background:transparent; color:#fff; border:1px solid var(--line-strong); cursor:pointer; transition:border-color .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
.chip:hover{ border-color:#fff; }
.chip[aria-pressed="true"]{ background:#fff; color:var(--ink); border-color:#fff; }
.chip .n{ margin-left:.5rem; font-weight:300; opacity:.7; }
.projects{ list-style:none; margin:clamp(2.5rem, 5vw, 3.5rem) 0 0; padding:0; display:grid; gap:clamp(3rem, 6vw, 5rem) 2rem; }
@media (min-width:760px){ .projects{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
.project{ display:flex; flex-direction:column; gap:1rem; scroll-margin-top:calc(var(--header-h) + 2rem); }
.project[hidden]{ display:none; }
@media (min-width:760px){ .project.wide{ grid-column:1 / -1; } }
.project .pics{ display:grid; grid-template-columns:3fr 2fr; gap:.75rem; }
.project.single .pics{ grid-template-columns:1fr; }
.project .pic{ position:relative; display:block; padding:0; border:0; background:var(--surface); overflow:hidden; cursor:zoom-in; aspect-ratio:4/3; }
.project .pics .pic:nth-child(2){ aspect-ratio:auto; height:100%; }
.project .pics .pic:nth-child(2) img{ position:absolute; inset:0; }
.project.wide .pic{ aspect-ratio:16/9; }
.project .pic img{ width:100%; height:100%; object-fit:cover; transition:transform 1.2s var(--ease-slow); }
.project .pic:hover img{ transform:scale(1.03); }
.project .meta{ position:relative; padding-top:1rem; display:flex; justify-content:space-between; gap:1rem; align-items:baseline; flex-wrap:wrap; }
.project .meta::before{ content:""; position:absolute; top:0; left:0; width:28px; height:var(--bar); background:rgba(255,255,255,.35); }
.project.wide .meta::before{ background:var(--red); }
.project h2{ font-weight:400; font-size:1.15rem; }
.project .cat{ font-size:.85rem; color:var(--muted); }
.project .count-live{ position:absolute; }
.lightbox{ position:fixed; inset:0; z-index:80; background:rgba(4,3,3,.96); display:flex; align-items:center; justify-content:center; padding:4.5rem var(--gutter) 3rem; }
.lightbox[hidden]{ display:none; }
.lightbox img{ max-width:100%; max-height:100%; object-fit:contain; }
.lightbox .lb-close,.lightbox .lb-nav{ position:absolute; width:48px; height:48px; display:inline-flex; align-items:center; justify-content:center; background:transparent; color:#fff; border:1px solid var(--line-strong); cursor:pointer; }
.lightbox .lb-close{ top:1rem; right:var(--gutter); }
.lightbox .lb-prev{ left:var(--gutter); top:50%; transform:translateY(-50%); }
.lightbox .lb-next{ right:var(--gutter); top:50%; transform:translateY(-50%); }
.lightbox .lb-cap{ position:absolute; left:var(--gutter); bottom:1rem; font-size:.85rem; color:var(--muted); }

/* Szolgáltatások: részletek, csomagok */
.svc-detail{ list-style:none; margin:.5rem 0 0; padding:0; display:grid; gap:.35rem; }
.svc-detail li{ display:flex; gap:.7rem; color:rgba(255,255,255,.85); font-size:.95rem; }
.svc-detail li::before{ content:""; flex:none; width:10px; height:2px; background:var(--red); margin-top:.8rem; }
.webdesign-long{ margin-top:clamp(3rem, 6vw, 4.5rem); padding:clamp(2rem, 4vw, 3rem); background:var(--surface); border-top:var(--bar) solid var(--red); display:grid; gap:1.25rem; }
@media (min-width:900px){ .webdesign-long{ grid-template-columns:minmax(0,4fr) minmax(0,8fr); gap:3rem; } }
.webdesign-long .body{ color:rgba(255,255,255,.82); }
.packages{ display:grid; gap:1rem; margin-top:clamp(2.5rem, 5vw, 3.5rem); }

@media (min-width:760px){ .packages{ grid-template-columns:repeat(3, minmax(0,1fr)); } }
.package{ display:flex; flex-direction:column; gap:1.25rem; padding:2rem 1.75rem; background:var(--surface); border-top:var(--bar) solid rgba(255,255,255,.2); }
.package.featured{ background:var(--red); border-top-color:var(--white); }
.package h3{ font-weight:500; font-size:1.3rem; line-height:1.3; }
.package ul{ list-style:none; margin:0; padding:0; display:grid; gap:.5rem; flex:1; align-content:start; font-size:.95rem; }
.package li{ display:flex; gap:.7rem; }
.package li::before{ content:""; flex:none; width:10px; height:2px; background:var(--red); margin-top:.8rem; }
.package.featured li::before{ background:#fff; }
.package .price{ font-weight:600; font-size:1.75rem; line-height:1.2; font-variant-numeric:tabular-nums; }
.package .note{ font-size:.8rem; color:var(--muted); }
.package.featured .note{ color:rgba(255,255,255,.9); }
.package .tag{ align-self:flex-start; font-size:.72rem; font-weight:600; background:#fff; color:var(--ink); padding:.15rem .55rem; }
.package .btn{ align-self:stretch; }
.package.featured .btn-ghost{ border-color:#fff; }
.package.featured .btn-ghost:hover{ background:#fff; color:var(--ink); }
.custom-offer{ margin-top:1rem; padding:2rem 1.75rem; border:1px solid var(--line-strong); display:flex; flex-wrap:wrap; gap:1.5rem 2rem; align-items:center; justify-content:space-between; }
.custom-offer .h3{ font-weight:400; font-size:1.25rem; }

/* BlogON */
.posts{ list-style:none; margin:clamp(2.5rem, 5vw, 3.5rem) 0 0; padding:0; display:grid; gap:clamp(2.5rem, 5vw, 3.5rem) 2rem; }
@media (min-width:640px){ .posts{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (min-width:1000px){ .posts{ grid-template-columns:repeat(3, minmax(0,1fr)); } }
.post-card{ display:flex; flex-direction:column; gap:1rem; height:100%; }
.post-card .img{ aspect-ratio:16/10; overflow:hidden; background:var(--surface); }
.post-card img{ width:100%; height:100%; object-fit:cover; transition:transform 1.2s var(--ease-slow); }
.post-card:hover img{ transform:scale(1.03); }
.post-card .meta{ position:relative; padding-top:1rem; font-size:.82rem; color:var(--muted); display:flex; gap:1rem; }
.post-card .meta::before{ content:""; position:absolute; top:0; left:0; width:28px; height:var(--bar); background:rgba(255,255,255,.35); transition:width .6s var(--ease); }
.post-card:hover .meta::before{ width:100%; background:var(--red); }
.post-card .meta .cat{ color:var(--white); font-weight:500; }
.post-card h2{ font-weight:400; font-size:1.25rem; line-height:1.35; }
.post-card p{ color:var(--muted); font-size:.95rem; }
.post-card .more{ margin-top:auto; font-weight:500; font-size:.9rem; }

/* Bejegyzés */
.article-head .meta{ margin-top:1.5rem; font-size:.88rem; color:var(--muted); display:flex; gap:1.25rem; flex-wrap:wrap; }
.article-head .meta .cat{ color:#fff; font-weight:500; }
.article{ display:grid; gap:clamp(2.5rem, 5vw, 4rem); align-items:start; }
@media (min-width:900px){ .article{ grid-template-columns:minmax(0,4fr) minmax(0,7fr); } }
.article figure{ width:min(100%, 360px); }
.article figure .img{ aspect-ratio:1/1; overflow:hidden; background:var(--surface); border-top:var(--bar) solid var(--red); }
.article figure img{ width:100%; height:100%; object-fit:cover; }
.prose{ display:flex; flex-direction:column; gap:1.25rem; max-width:38em; font-size:1.05rem; line-height:1.85; color:rgba(255,255,255,.86); }
.prose p:first-child{ font-size:1.2rem; font-weight:300; color:#fff; }
.article-nav{ margin-top:clamp(3rem, 6vw, 4.5rem); padding-top:1.5rem; border-top:1px solid var(--line); display:flex; flex-wrap:wrap; gap:1rem 2rem; justify-content:space-between; }

/* Kapcsolat: űrlap */
.contact{ display:grid; gap:clamp(3rem, 6vw, 5rem); align-items:start; }
@media (min-width:900px){ .contact{ grid-template-columns:minmax(0,7fr) minmax(0,4fr); } }
.form{ display:grid; gap:1.4rem; }
.field{ display:grid; gap:.5rem; }
.field label,.field legend{ font-weight:500; font-size:.9rem; padding:0; }
.field .opt{ font-weight:300; color:var(--muted); }
.input{ font-family:var(--font); font-size:1rem; font-weight:300; color:#fff; background:var(--surface); border:1px solid var(--line-strong); padding:.85rem 1rem; width:100%; transition:border-color .3s var(--ease); }
.input:hover{ border-color:rgba(255,255,255,.5); }
.input:focus{ border-color:#fff; outline:none; }
.input:focus-visible{ outline:2px solid #fff; outline-offset:2px; }
.input[aria-invalid="true"]{ border-color:var(--red); }
select.input{ appearance:none; background-image:linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position:calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size:6px 6px; background-repeat:no-repeat; padding-right:2.5rem; }
textarea.input{ min-height:160px; resize:vertical; }
.field-row{ display:grid; gap:1.4rem; }
@media (min-width:640px){ .field-row{ grid-template-columns:1fr 1fr; } }
fieldset.field{ border:0; margin:0; padding:0; }
.segment{ display:inline-flex; flex-wrap:wrap; border:1px solid var(--line-strong); }
.segment input{ position:absolute; opacity:0; pointer-events:none; }
.segment label{ padding:.75rem 1.25rem; font-weight:500; font-size:.92rem; cursor:pointer; min-height:44px; display:inline-flex; align-items:center; }
.segment input:checked + label{ background:#fff; color:var(--ink); }
.segment input:focus-visible + label{ outline:2px solid #fff; outline-offset:2px; }
.check{ display:flex; gap:.8rem; align-items:flex-start; font-size:.9rem; color:rgba(255,255,255,.85); }
.check input{ width:20px; height:20px; margin-top:.15rem; accent-color:var(--red); flex:none; }
.check a{ text-decoration:underline; text-underline-offset:3px; }
.error{ font-size:.85rem; color:#ff6b7d; }
.hp{ position:absolute; left:-9999px; }
.aside{ display:flex; flex-direction:column; gap:2rem; }
.aside .box{ padding:1.75rem; background:var(--surface); border-top:var(--bar) solid rgba(255,255,255,.2); display:flex; flex-direction:column; gap:1rem; }
.aside .box.red{ border-top-color:var(--red); }
.aside .box p{ color:var(--muted); font-size:.95rem; }
.aside .social a{ color:#fff; border-color:var(--line-strong); }
.aside .social a:focus-visible{ outline-color:#fff; }

/* Jogi szöveg */
.legal{ max-width:46em; display:flex; flex-direction:column; gap:1.1rem; color:rgba(255,255,255,.85); }
.legal h2{ font-weight:400; font-size:1.3rem; margin-top:1.5rem; }
.legal ul{ margin:0; padding-left:1.2rem; display:grid; gap:.4rem; }
.legal .todo{ background:rgba(227,23,49,.18); padding:.1rem .35rem; }

/* ---------- Görgetésre megjelenés ---------- */
.js .fade{ opacity:0; transform:translateY(10px); }
.js .fade.is-in{ opacity:1; transform:none; transition:opacity 1.1s var(--ease-slow), transform 1.1s var(--ease-slow); }

/* ---------- Csökkentett mozgás ---------- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation:none !important; transition:none !important; }
  .hero-lines path{ stroke-dashoffset:0; opacity:.08; }
  .js .seq,.js .fade{ opacity:1 !important; transform:none !important; }
  .js .portrait-frame,.js .mask{ clip-path:none !important; }
  .js .portrait-frame img{ transform:none !important; }
  .js .portrait-logo,.js .portrait-sig{ opacity:1 !important; }
  .js .et-rule.reveal::before,.js .et-rule.reveal i,.js .et-rule.reveal b,.js .steps.reveal::before,
  .js .system.reveal .system__stem,.js .system.reveal .bar-h{ transform:none !important; }
  .band{ overflow-x:auto; cursor:auto; }
}

/* Folyamat végi CTA */
.process-cta{ margin-top:clamp(2.5rem, 5vw, 3.5rem); }

/* Rólam: gombok rámutatásra pirosak */
.about .btn-ghost:hover{ border-color:var(--red); }
.about .link{ transition:background-size .35s var(--ease), color .3s var(--ease); }
.about .link:hover{ color:var(--red); }

/* Portfólió fülek: rámutatásra piros keret */
.chip:hover{ border-color:var(--red); }
.chip[aria-pressed="true"]:hover{ border-color:var(--red); }
.empty{ margin-top:clamp(2rem, 4vw, 3rem); }
.empty .link{ color:var(--red); }
/* Videó: további videók link piros */
.video .copy .link{ color:var(--red); }
/* Fehér keretes gombok: rámutatásra egységesen piros keret és felirat */
.btn-ghost:hover,
.arrow:hover,
.chip:hover,
.lightbox .lb-close:hover,
.lightbox .lb-nav:hover{ border-color:var(--red); color:var(--red); }
.lightbox .lb-close,.lightbox .lb-nav{ transition:border-color .3s var(--ease), color .3s var(--ease); }
.chip[aria-pressed="true"]:hover{ border-color:var(--red); color:var(--red); }
.package.featured .btn-ghost:hover{ background:#fff; border-color:#fff; color:var(--red); }
/* Csomagok: adózási megjegyzés */
.packages-note{ margin-top:1.25rem; font-size:.85rem; color:var(--muted); }
/* Portfólió: díszítő videó */
.project .pic-video{ cursor:default; aspect-ratio:16/9; }
.project .pic-video video{ display:block; width:100%; height:100%; object-fit:cover; }
.project.wide .pics:has(.pic-video){ grid-template-columns:1fr; }
/* Blog: kártyák álló arányban, a cikkben a teljes kép látszik vágás nélkül */
.post-card .img{ aspect-ratio:4/5; }
.article figure{ width:min(100%, 420px); }
.article figure .img{ aspect-ratio:auto; }
.article figure img{ height:auto; display:block; }
.article figure .img{ width:fit-content; max-width:100%; }
.article figure img{ width:auto; max-width:100%; max-height:75vh; }
/* Blog: lassan áttűnő vázlatok a cikkben */
.article figure .fader{ width:min(100%, 360px, calc(75vh * 9 / 20)); aspect-ratio:9/20; }
.article figure .fader img{ position:absolute; inset:0; width:100%; height:100%; max-height:none; object-fit:cover; }
.fader--slow img{ transition:opacity 3s var(--ease); }
.fader--slow img.is-active{ animation:none; }
/* Kezdőlap: színes portré */
.portrait-frame.is-color img{ filter:none; }
.portrait-frame.is-color::after{ content:""; position:absolute; inset:auto 0 0 0; height:28%; background:linear-gradient(to top, rgba(4,3,3,.55), rgba(4,3,3,0)); pointer-events:none; }
/* Lábléc: Süti beállítások gomb linkként */
.fbottom nav .cookie-open{ font:inherit; color:inherit; background:none; border:0; padding:0; cursor:pointer; transition:color .3s var(--ease); }
.fbottom nav .cookie-open:hover{ color:var(--red); }

/* Sütiablak: szögletes, sötét, piros logóvonallal, bal alsó sarokban */
.cookie{ position:fixed; z-index:90; left:var(--gutter); bottom:var(--gutter); width:min(420px, calc(100% - 2 * var(--gutter))); padding:1.6rem 1.6rem 1.5rem; background:var(--ink); color:#fff; border:1px solid var(--line-strong); border-top:var(--bar) solid var(--red); box-shadow:0 18px 50px rgba(0,0,0,.45); opacity:0; transform:translateY(16px); transition:opacity .6s var(--ease), transform .8s var(--ease-slow); }
.cookie.is-open{ opacity:1; transform:none; }
.cookie[hidden]{ display:none !important; }
.cookie h2{ font-weight:500; font-size:1.05rem; line-height:1.3; }
.cookie p{ margin-top:.6rem; font-size:.85rem; line-height:1.65; color:var(--muted); }
.cookie p a{ color:#fff; text-decoration:underline; text-underline-offset:3px; transition:color .3s var(--ease); }
.cookie p a:hover{ color:var(--red); }
.cookie .cookie-actions{ margin-top:1.25rem; display:flex; flex-wrap:wrap; gap:.6rem; }
.cookie .btn{ min-height:44px; padding:.6rem 1.15rem; font-size:.85rem; flex:1 1 auto; }
@media (prefers-reduced-motion: reduce){ .cookie{ transition:none; transform:none; } }
/* Kapcsolat: sikertelen küldés üzenete */
.form-alert{ padding:1rem 1.25rem; border:1px solid var(--red); border-left:var(--bar) solid var(--red); color:#fff; font-size:.9rem; line-height:1.6; }
/* Próbaoldal-sáv a fejléc tetején (2026-11-14 óta kikapcsolva: a sáv HTML-je törölve, a magassága 0) */
:root{ --trial-h:0px; --header-h:calc(76px + var(--trial-h)); }
.header{ display:flex; flex-direction:column; }
.header .wrap{ height:auto; flex:1; width:100%; }
.trial{ height:var(--trial-h); flex:none; display:flex; align-items:center; justify-content:center; gap:.55rem; padding:0 var(--gutter); background:var(--ink); color:#fff; font-size:.76rem; line-height:1.2; letter-spacing:.01em; text-align:center; white-space:nowrap; overflow:hidden; }
.trial strong{ font-weight:600; }
.trial-dot{ width:7px; height:7px; flex:none; background:var(--red); }

/* ===================================================================
   Olvashatóság (oktatói visszajelzés, 2026-11-17):
   vékony és kis betűk erősítése, mobilmenü olvashatósága.
   A nagy, elegáns címek vékonyak maradnak; a folyószöveg és az apró
   szövegek vastagabbak és nagyobbak lettek.
   =================================================================== */
:root{ --muted:#B4B4B9; }
body{ font-weight:400; }
.lead{ font-weight:400; }
.h1{ font-weight:200; }
.h1 em{ font-weight:300; }
.step h3{ font-weight:400; }
.ai .quote,.card.end p,.tagline{ font-weight:300; }
.input,.prose p:first-child,.identity .sub,.field .opt{ font-weight:400; }

/* apró szövegek: legalább 14px */
.label{ font-size:.8rem; letter-spacing:.32em; }
.brand .label{ font-size:.7rem; letter-spacing:.3em; }
.portrait-sig{ font-size:.72rem; letter-spacing:.34em; }
.fbottom .sig{ font-size:.78rem; }
.portrait-cap,.ai__img figcaption,.card .cat,.project .cat,.crumb,.packages-note,
.work-foot .hint,.bands .hint,.lightbox .lb-cap,.package .note,.post-card .meta,.cookie p{ font-size:.9rem; }
.step p{ font-size:.95rem; }
.step .n{ font-size:.9rem; }
.btn-sm,.cookie .btn{ font-size:.9rem; }
.fbottom{ font-size:.875rem; }
.fmenu a,.fcontact p{ font-size:1rem; }
.package .tag{ font-size:.8rem; }
.play .t{ font-size:.9rem; }
.new{ font-size:.75rem; }
.check,.error{ font-size:.95rem; }

/* lábléc: sötétebb szürke a fehér alapon */
.fmenu a,.fcontact p,.fbottom{ color:#4F4D4E; }

/* mobilmenü: erősebb betű, jól látható jelölők, teljes takarás nyitáskor */
.mnav li a{ font-weight:400; font-size:clamp(1.6rem, 6.5vw, 2.2rem); padding:.7rem 0; }
.mnav li a[aria-current="page"]{ font-weight:600; }
.mnav li a::before{ background:rgba(255,255,255,.55); }
.mnav .sig{ font-size:.8rem; }
.mnav{ transition:opacity .25s var(--ease), visibility 0s linear .25s; }
.mnav.open{ transition:opacity .25s var(--ease); }
