/* Főoldal – szerkesztőségi elrendezés + nyitóanimáció.
   A style.css tokenjeire épül. */

/* ---------- Fejléc (a hero fölött átlátszó, görgetés után papír) ---------- */
.masthead {
  position: fixed; inset: 0 0 auto; z-index: 40;
  color: var(--c-on-dark);
  transition: background-color 400ms var(--ease-out), color 400ms var(--ease-out), box-shadow 400ms var(--ease-out);
}
.masthead__bar {
  width: min(100% - 2 * var(--gutter), 90rem); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-5);
  min-height: 84px;
}
.masthead .brand { position: relative; width: 104px; height: 62px; }
.masthead .brand img { position: absolute; inset: 0; width: 100%; height: auto; transition: opacity 400ms var(--ease-out); }
.masthead .brand .logo-dark { opacity: 0; }
.masthead.is-solid { background: rgba(245,243,238,.94); color: var(--c-ink); box-shadow: 0 1px 0 var(--c-line); backdrop-filter: saturate(1.2) blur(10px); }
.masthead.is-solid .logo-light { opacity: 0; }
.masthead.is-solid .logo-dark { opacity: 1; }
.masthead .nav__list a { font-weight: 500; letter-spacing: 0.01em; position: relative; padding: 0 var(--space-3); }
.masthead .nav__list a::after {
  content: ""; position: absolute; left: var(--space-3); right: var(--space-3); bottom: 10px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease-out);
}
.masthead .nav__list a:hover { background: none; }
.masthead .nav__list a:hover::after { transform: scaleX(1); }
.masthead .lang-switch, .masthead.is-solid .lang-switch { background: transparent; border: 1px solid currentColor; padding: 2px; }
.masthead .lang-switch a { color: inherit; }
.masthead .lang-switch a[aria-current="true"] { background: var(--c-on-dark); color: var(--c-ink); }
.masthead.is-solid .lang-switch a[aria-current="true"] { background: var(--c-ink); color: var(--c-on-dark); }
.masthead .menu-toggle { border-color: currentColor; }
.masthead .header-report { border-color: currentColor; color: inherit; background: transparent; }
.masthead .header-report:hover { background: rgba(127,127,127,.12); }
.masthead .mobile-nav { color: var(--c-ink); }

/* ---------- Hero diavetítés ---------- */
.stage { position: relative; height: 100svh; min-height: 560px; background: var(--c-dark); color: var(--c-on-dark); overflow: hidden; isolation: isolate; }
.stage__slides { position: absolute; inset: 0; z-index: -1; }
.stage__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1400ms var(--ease-inout); }
.stage__slide.is-active { opacity: 1; }
.stage__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 9000ms cubic-bezier(.2,.5,.3,1); }
.stage__slide.is-zoom img { transform: scale(1); }
.stage::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20,22,21,.5) 0%, rgba(20,22,21,0) 22%),
    linear-gradient(0deg, rgba(20,22,21,.72) 0%, rgba(20,22,21,.18) 48%, rgba(20,22,21,0) 70%);
}
@media (max-width: 899px) {
  .stage::after {
    background:
      linear-gradient(180deg, rgba(20,22,21,.5) 0%, rgba(20,22,21,0) 18%),
      linear-gradient(0deg, rgba(20,22,21,.88) 0%, rgba(20,22,21,.55) 45%, rgba(20,22,21,0) 75%);
  }
}
.stage__inner {
  position: absolute; inset: auto 0 0; width: min(100% - 2 * var(--gutter), 90rem); margin-inline: auto;
  padding-bottom: clamp(1.5rem, 1rem + 3vw, 4rem); display: grid; gap: var(--space-6);
}
.stage__title { font-size: clamp(2.9rem, 1.2rem + 7vw, 7.5rem); font-weight: 300; letter-spacing: -0.035em; line-height: 0.98; }
.stage__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.stage__title .line > span { display: inline-block; }
.stage__foot { display: grid; gap: var(--space-5); align-items: end; }
@media (min-width: 900px) { .stage__foot { grid-template-columns: minmax(0, 26rem) 1fr auto; gap: var(--space-7); } }
.stage__sub { color: var(--c-on-dark-2); font-size: var(--fs-lead); max-width: 26rem; }
.stage__caption { font-size: var(--fs-small); color: var(--c-on-dark-2); min-height: 1.6em; }
.stage__caption strong { color: var(--c-on-dark); font-weight: 600; }
.stage__controls { display: flex; align-items: center; gap: var(--space-3); }
.stage__dots { display: flex; gap: 6px; list-style: none; }
.stage__dots button {
  width: 44px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; position: relative;
}
.stage__dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(244,244,244,.3); }
.stage__dots button::after {
  content: ""; position: absolute; left: 0; top: 50%; height: 2px; width: 100%; background: var(--c-on-dark);
  transform: scaleX(0); transform-origin: left;
}
.stage__dots button[aria-current="true"]::after { animation: progress var(--slide-ms, 7000ms) linear forwards; }
.stage.is-paused .stage__dots button[aria-current="true"]::after { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }
.stage__pause { width: 44px; height: 44px; border: 1px solid rgba(244,244,244,.5); background: transparent; color: inherit; border-radius: var(--r-pill); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.stage__pause:hover { background: rgba(244,244,244,.12); }
.stage__pause .icon { width: 18px; height: 18px; }
.stage .btn--ghost-light { border-radius: var(--r-pill); }

/* ---------- Szerkesztőségi szekciók ---------- */
.ed { padding-block: clamp(4.5rem, 3rem + 6vw, 9rem); }
.ed--sand { background: var(--c-surface); }
.ed__wrap { width: min(100% - 2 * var(--gutter), 90rem); margin-inline: auto; }
.label { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--c-ink-2); letter-spacing: 0.02em; margin-bottom: var(--space-5); }
.statement { font-size: clamp(2rem, 1.2rem + 3.4vw, 4.25rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1.06; max-width: 18ch; }
.ed__lead { font-size: var(--fs-lead); color: var(--c-ink-2); max-width: 36rem; line-height: 1.65; }
.ed__head { display: grid; gap: var(--space-5); margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 5rem); }
@media (min-width: 900px) { .ed__head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: var(--space-8); } }
.ed__head .statement { max-width: 16ch; }

.text-link {
  display: inline-flex; align-items: center; gap: var(--space-3); min-height: 44px;
  font-weight: 500; text-decoration: none; color: inherit; width: fit-content;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.text-link .icon { width: 16px; height: 16px; transition: transform 300ms var(--ease-out); }
.text-link:hover .icon { transform: translate(3px, -3px); }

/* A Fercomról */
.about2 { display: grid; gap: var(--space-7); }
@media (min-width: 900px) { .about2 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-8); align-items: end; } }
.figures { list-style: none; display: grid; gap: 0; margin-top: clamp(3rem, 2rem + 4vw, 6rem); border-top: 1px solid var(--c-line); }
@media (min-width: 700px) { .figures { grid-template-columns: repeat(3, 1fr); } }
.figures li { padding: var(--space-5) 0; border-bottom: 1px solid var(--c-line); display: grid; gap: var(--space-2); }
@media (min-width: 700px) { .figures li { border-bottom: 0; padding: var(--space-6) var(--space-5) 0 0; } .figures li + li { padding-left: var(--space-5); border-left: 1px solid var(--c-line); } }
.figures b { font-size: clamp(2.5rem, 1.8rem + 2.6vw, 4.25rem); font-weight: 200; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.figures span { color: var(--c-ink-2); font-size: var(--fs-small); }

/* Tevékenységünk – két terület */
.fields { display: grid; gap: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
@media (min-width: 900px) { .fields { grid-template-columns: 1fr 1fr; gap: var(--space-6); } .fields > :nth-child(2) { margin-top: clamp(4rem, 2rem + 6vw, 9rem); } }
.field-card { display: grid; gap: var(--space-4); align-content: start; }
.field-card__media { overflow: hidden; aspect-ratio: 4 / 5; background: var(--c-silver); }
.field-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-out); }
.field-card:hover .field-card__media img { transform: scale(1.04); }
.field-card .label { margin: var(--space-3) 0 0; }
.field-card h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 300; letter-spacing: -0.02em; }
.field-card p { color: var(--c-ink-2); max-width: 30rem; }

/* ---------- Szolgáltatásaink – „két ajtó” ----------
   Asztalon (egérrel): két fotós fél egymás mellett; amelyik fölé áll / amelyikben fókusz van, kiszélesedik
   és megmutatja a részleteket. Alapból az első nyitott. Érintőképernyőn és mobilon mindkettő nyitva. */
.doors { display: grid; gap: 6px; }
.door {
  --open: 1;
  position: relative; isolation: isolate; overflow: hidden; min-width: 0;
  background: var(--c-dark); color: var(--c-on-dark);
  min-height: 34rem; display: flex; align-items: flex-end;
}
.door__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.06 - .06 * var(--open))); transition: transform 1200ms var(--ease-out); }
.door::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(20,22,21,.92) 0%, rgba(20,22,21,.7) 38%, rgba(20,22,21,.15) 70%, rgba(20,22,21,.05) 100%);
}
.door__body { width: min(100%, 34rem); padding: clamp(1.5rem, 1rem + 2vw, 3rem); display: grid; gap: var(--space-4); }
.door__title { font-size: clamp(1.75rem, 1.1rem + 2vw, 2.9rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
.door__more { display: grid; gap: var(--space-5); }
.door__sub { color: var(--c-on-dark-2); font-size: var(--fs-lead); line-height: 1.55; max-width: 30rem; }
.door__tasks { list-style: none; border-top: 1px solid rgba(244,244,244,.22); }
.door__tasks li { padding: var(--space-3) 0; border-bottom: 1px solid rgba(244,244,244,.22); font-size: 1.0625rem; }
.door__foot { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-4) var(--space-6); }
.door__figure { display: grid; gap: 2px; }
.door__figure b { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); font-weight: 200; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.door__figure span { font-size: var(--fs-small); color: var(--c-on-dark-2); }
.door__ctas { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
.door__cta {
  display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px;
  color: var(--c-on-dark); text-decoration: none; font-weight: 500;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.door__cta .icon { width: 16px; height: 16px; transition: transform 300ms var(--ease-out); }
.door__cta:hover .icon { transform: translate(2px, -2px); }
.door__cta--quiet { color: var(--c-on-dark-2); border-bottom-color: rgba(244,244,244,.35); }
.door :focus-visible { outline-color: var(--c-on-dark); }

@media (min-width: 900px) {
  .doors { grid-template-columns: 1fr 1fr; }
  .door { min-height: clamp(560px, 78svh, 760px); }
}

/* csak valódi egérrel: a kiszélesedő ajtók */
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .doors { display: flex; height: clamp(560px, 78svh, 760px); }
  .door { --open: 0; flex: 1 1 0; min-height: 0; transition: flex-grow 800ms var(--ease-inout); }
  .door:first-child { --open: 1; flex-grow: 1.8; }
  .doors:has(.door:hover, .door:focus-within) .door { --open: 0; flex-grow: 1; }
  .doors:has(.door:hover, .door:focus-within) .door:is(:hover, :focus-within) { --open: 1; flex-grow: 1.8; }

  .door__more {
    max-height: calc(var(--open) * 30rem); opacity: var(--open); overflow: hidden;
    transform: translateY(calc((1 - var(--open)) * 16px));
    transition: max-height 800ms var(--ease-inout), opacity 500ms var(--ease-out), transform 700ms var(--ease-out);
  }
  /* nyitáskor a részletek kicsit később jönnek, mint ahogy a fél kiszélesedik */
  .door__more { transition-delay: 0ms, 0ms, 0ms; }
  .doors:has(.door:hover, .door:focus-within) .door:is(:hover, :focus-within) .door__more { transition-delay: 0ms, 220ms, 220ms; }
  .door__title::after {
    content: "+"; display: inline-block; margin-left: .35em; font-weight: 200; opacity: calc(1 - var(--open));
    transition: opacity 400ms var(--ease-out);
  }
}

/* három ajtós változat (Irodaházaink): helyszín-felirat, márkacímke, kisebb címek */
.door__kicker { font-size: var(--fs-small); color: var(--c-on-dark-2); margin-bottom: calc(-1 * var(--space-2)); }
.door__tag {
  position: absolute; top: clamp(1rem, .8rem + 1vw, 1.75rem); left: clamp(1.5rem, 1rem + 2vw, 3rem); z-index: 1;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: .01em;
  padding: 6px 10px; border: 1px solid rgba(244,244,244,.55); border-radius: var(--r-small);
  background: rgba(20,22,21,.35); backdrop-filter: blur(6px);
}
.doors--3 .door__title { font-size: clamp(1.6rem, 1.1rem + 1.2vw, 2.2rem); }
.doors--3 .door__body { padding: clamp(1.25rem, .8rem + 1.6vw, 2.5rem); }
@media (min-width: 900px) { .doors--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .doors--3 .door:first-child,
  .doors--3:has(.door:hover, .door:focus-within) .door:is(:hover, :focus-within) { flex-grow: 2.2; }
  .doors--3 .door__body { width: min(100%, 36rem); }
}

/* Lakóprojektek – váltakozó, nagy képes sorok */
/* teljes szélességű, nagy kép; alatta egy sorban: név – adatok – link (időrendben: Guyon, Padma, Mandala, Etyek) */
.projects { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(3.5rem, 2rem + 5vw, 7rem); }
.project { display: grid; gap: var(--space-5); }
.project__media { overflow: hidden; aspect-ratio: 4 / 3; background: var(--c-silver); }
@media (max-width: 699px) { .project__media { margin-inline: calc(-1 * var(--gutter)); } }
@media (min-width: 700px) { .project__media { aspect-ratio: 16 / 9; } }
@media (min-width: 1100px) { .project__media { aspect-ratio: 2 / 1; } }
@media (min-width: 900px) {
  .project__text {
    grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) auto; align-items: baseline; gap: var(--space-6);
    padding-bottom: 0;
  }
  .project__text .project__meta { margin: 0; }
}
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-out); }
.project:hover .project__media img { transform: scale(1.03); }
.project__text { display: grid; gap: var(--space-3); padding-bottom: var(--space-2); }
.project__text h3 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); font-weight: 300; letter-spacing: -0.025em; line-height: 1.1; }
.project__meta { color: var(--c-ink-2); font-size: var(--fs-small); line-height: 1.5; }
.project__status { display: inline-block; margin-top: var(--space-1); font-size: 0.8125rem; font-weight: 600; color: var(--c-ink); }

/* Irodaházaink */
.offices { display: grid; gap: var(--space-5); }
@media (min-width: 700px) { .offices { grid-template-columns: 1fr 1fr; } .office.office--brand { grid-column: 1 / -1; aspect-ratio: 16 / 9; } }
@media (min-width: 1100px) { .offices { grid-template-columns: repeat(3, 1fr); } .office.office--brand { grid-column: auto; aspect-ratio: 5 / 6; } }
.office__tag {
  position: absolute; top: clamp(1rem, .8rem + 1vw, 1.75rem); left: clamp(1.25rem, 1rem + 1.5vw, 2.5rem); z-index: 1;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: .01em;
  padding: 6px 10px; border: 1px solid rgba(244,244,244,.55); border-radius: var(--r-small);
  background: rgba(20,22,21,.35); backdrop-filter: blur(6px);
}
.office { position: relative; display: block; overflow: hidden; color: var(--c-on-dark); text-decoration: none; aspect-ratio: 4 / 5; background: var(--c-dark); }
@media (min-width: 900px) { .office { aspect-ratio: 5 / 6; } }
.office img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1400ms var(--ease-out); }
.office::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,22,21,.9) 0%, rgba(20,22,21,.62) 30%, rgba(20,22,21,.1) 58%, rgba(20,22,21,0) 72%); }
.ed[id], .stage { scroll-margin-top: 84px; }
.stage { scroll-margin-top: 0; }
.office:hover img { transform: scale(1.04); }
.office__text { position: absolute; inset: auto 0 0; z-index: 1; padding: clamp(1.25rem, 1rem + 1.5vw, 2.5rem); display: grid; gap: var(--space-2); }
.office__text h3 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); font-weight: 300; letter-spacing: -0.025em; }
.office__meta { color: var(--c-on-dark-2); font-size: var(--fs-small); }
.office__more { margin-top: var(--space-3); display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 500; border-bottom: 1px solid currentColor; width: fit-content; padding-bottom: 2px; }
.office:focus-visible { outline-offset: 4px; }
.offices-cta { margin-top: var(--space-6); display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; justify-content: space-between; border-top: 1px solid var(--c-line); padding-top: var(--space-5); }
.offices-cta p { color: var(--c-ink-2); max-width: 36rem; }

/* Kiadó iroda CTA – teljes szélességű fotós sáv, az irodaválasztóra visz */
.lease-cta {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--c-on-dark); background: var(--c-dark);
  min-height: clamp(520px, 72svh, 760px); display: flex; align-items: center;
  padding-block: clamp(4rem, 3rem + 5vw, 7rem);
}
.lease-cta__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.lease-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(20,22,21,.86) 0%, rgba(20,22,21,.66) 45%, rgba(20,22,21,.2) 100%);
}
@media (max-width: 899px) { .lease-cta::before { background: rgba(20,22,21,.72); } }
.lease-cta__inner { display: grid; gap: var(--space-5); justify-items: start; }
.lease-cta .label { color: var(--c-on-dark-2); margin: 0; }
.lease-cta .statement { max-width: 14ch; }
.lease-cta .ed__lead { color: var(--c-on-dark-2); max-width: 32rem; }
.lease-cta__choose { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-3); }
.lease-cta__choose .btn .icon { width: 16px; height: 16px; }
.lease-cta__phone { font-size: var(--fs-small); color: var(--c-on-dark-2); }
.lease-cta__phone a { color: var(--c-on-dark); font-weight: 600; }
.lease-cta :focus-visible { outline-color: var(--c-on-dark); }
/* a sötét kapcsolat-blokktól vékony vonal választja el */
.lease-cta + .contact2 { border-top: 1px solid rgba(244,244,244,.12); }

/* Kapcsolat – sötét */
.contact2 { background: var(--c-dark); color: var(--c-on-dark); }
.contact2 .label { color: var(--c-on-dark-2); }
.contact2 .ed__lead { color: var(--c-on-dark-2); }
.contact2__grid { display: grid; gap: var(--space-6); margin-top: clamp(3rem, 2rem + 3vw, 5rem); border-top: 1px solid rgba(244,244,244,.18); padding-top: var(--space-6); }
@media (min-width: 900px) { .contact2__grid { grid-template-columns: repeat(3, 1fr); } }
.contact2__item { display: grid; gap: var(--space-2); }
.contact2__item span { font-size: var(--fs-small); color: var(--c-on-dark-2); }
.contact2__item a, .contact2__item address { font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem); font-weight: 300; font-style: normal; text-decoration: none; overflow-wrap: anywhere; }
.contact2__item a:hover { text-decoration: underline; }
.contact2 :focus-visible { outline-color: var(--c-on-dark); }

/* lábléc a kapcsolat folytatásaként */
.site-footer--flush { margin: 0; border-radius: 0; background: #1d201e; }

/* Szándékosan NINCS görgetésre beúszó szekció: az egyetlen erős mozgás a nyitóanimáció. */

/* ---------- NYITÓANIMÁCIÓ: ablakfények → kör-nyitás ---------- */
.intro { display: none; }
.has-intro .intro {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 100;
  background: var(--c-dark); cursor: pointer;
}
.has-intro body { overflow: hidden; }
.intro__mark { width: clamp(120px, 18vmin, 180px); height: auto; opacity: 0; animation: mark-in 500ms var(--ease-out) 100ms forwards; overflow: visible; }
.intro__circle { fill: var(--c-on-dark); }
.intro__house { fill: var(--c-dark); }
.intro__win { fill: #3a3f3b; animation: win-on 260ms ease-out forwards; }
.intro__win:nth-of-type(1) { animation-delay: 650ms; }
.intro__win:nth-of-type(2) { animation-delay: 1000ms; }
.intro__win:nth-of-type(3) { animation-delay: 780ms; }
.intro__win:nth-of-type(4) { animation-delay: 1150ms; }
.intro__win:nth-of-type(5) { animation-delay: 900ms; }
.intro__win:nth-of-type(6) { animation-delay: 1280ms; }
.intro__word { fill: var(--c-on-dark-2); font: 500 13px/1 var(--font); letter-spacing: .32em; opacity: 0; animation: mark-in 600ms var(--ease-out) 500ms forwards; }
@keyframes mark-in { to { opacity: 1; } }
@keyframes win-on { 0% { fill: #3a3f3b; } 40% { fill: #fff6df; } 100% { fill: var(--c-window); } }

/* a fotó a logó körének helyéről nyílik ki */
.intro__photo {
  position: fixed; inset: 0; margin: 0;
  clip-path: circle(0px at 50% 50%);
}
.intro__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.intro.is-opening .intro__photo { animation: aperture 1100ms var(--ease-inout) forwards; }
.intro.is-opening .intro__mark { animation: mark-out 700ms var(--ease-inout) forwards; }
@keyframes aperture { 0% { clip-path: circle(var(--r0, 60px) at 50% 50%); } 100% { clip-path: circle(150vmax at 50% 50%); } }
@keyframes mark-out { to { opacity: 0; transform: scale(1.15); } }
.intro.is-done { opacity: 0; transition: opacity 300ms linear; pointer-events: none; }

.intro__skip {
  position: fixed; right: var(--gutter); bottom: var(--gutter); z-index: 1;
  color: var(--c-on-dark-2); background: none; border: 0; font: 500 0.8125rem var(--font); min-height: 44px; padding: 0 var(--space-3); cursor: pointer;
}
.intro__skip:hover { color: var(--c-on-dark); text-decoration: underline; }

/* a hero címsorai a nyitás végén csúsznak be (a .pre-title-t a fejben futó szkript teszi ki, ha lesz nyitóanimáció) */
.pre-title .stage__title .line > span { opacity: 0; transform: translateY(105%); }
.pre-title .stage__foot { opacity: 0; transform: translateY(20px); }
.title-in .stage__title .line > span { animation: line-up 900ms var(--ease-out) forwards; }
.title-in .stage__title .line:nth-child(2) > span { animation-delay: 110ms; }
.title-in .stage__foot { animation: line-up 900ms var(--ease-out) 280ms forwards; }
@keyframes line-up { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .has-intro .intro { display: none; }
  .stage__slide img { transform: none !important; transition: none; }
  .stage__slide { transition-duration: 1ms; }
}
