/*
 * Art Mirror – a régi artmirror.hu kinézete (Poppins, fehér és világosszürke panelek, bordó vonás a címek előtt,
 * középre zárt logó, nagy nyitóképek), WordPressen, rendezett rendszerben.
 * Gerinc: Tschichold – nyugodt szedés, bő margó, egy betűcsalád; Hang: Marina Willer – az alapító arca és mondatai,
 * kézi (ceruzás) vonal; Mozgás: egy metafora végigvive – a terv vonala, ami konyhává válik.
 * A régi szövegszín (#a8a8a8) olvashatatlanul halvány volt: a szürke most AA-kontrasztú.
 */
@import url('fonts.css');

:root {
	--am-ink: #241f26;
	--am-ink-2: #3a3340;
	--am-text: #5f5863;
	--am-muted: #7c7580;
	--am-red: #9b2e33;
	--am-red-dark: #7d2429;
	--am-paper: #f5f4f2;
	--am-paper-2: #ecebe8;
	--am-line: #e2dfdb;
	--am-white: #fff;
	--am-chalk: #ebe6dd;
	--am-blueprint: #1f1b21;

	--am-font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--am-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--am-wrap: 1240px;
	--am-gutter: clamp(16px, 4vw, 48px);
	--am-header-h: 104px;
	--am-ease: cubic-bezier(.2, .7, .2, 1);
	--am-radius: 2px;
	--am-shadow: 0 18px 40px -22px rgba(36, 31, 38, .35);

	/* az iu_theme alapjai: a betűméret ne vw-ből jöjjön */
	--iu-text-font-size: 16px;
	--iu-text-font-family: var(--am-font);
	--iu-heading-font-family: var(--am-font);
	--iu-text-color: var(--am-text);
	--iu-heading-color: var(--am-ink);
	--iu-link-color: var(--am-red);
	--iu-row-width: min(var(--am-wrap), calc(100% - 2 * var(--am-gutter)));
	--iu-section-default-padding: clamp(2.5rem, 6vw, 5rem);
	--iu-heading-1-font-size: clamp(2rem, 4vw, 3rem);
	--iu-heading-2-font-size: clamp(1.4rem, 2.4vw, 1.75rem);
	--iu-heading-3-font-size: 1.2rem;
	--iu-heading-4-font-size: 1.05rem;
	--iu-text-line-height: 1.75;
	--iu-heading-line-height: 1.3;
}

html { font-size: 16px; scroll-padding-top: 90px; }
[hidden] { display: none !important; }
body {
	font-family: var(--am-font);
	font-size: 1rem;
	line-height: 1.75;
	color: var(--am-text);
	background: var(--am-white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body p, body li { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--am-font); color: var(--am-ink); font-weight: 600; line-height: 1.3; text-wrap: balance; }
p, li { text-wrap: pretty; hyphens: auto; }
a { color: var(--am-red); transition: color .2s; }
a:hover { color: var(--am-red-dark); }
img { height: auto; }
:focus-visible { outline: 2px solid var(--am-red); outline-offset: 3px; }
strong { color: var(--am-ink-2); font-weight: 600; }
main { display: block; }
header, footer { display: block; }

.am-wrap { width: min(var(--am-wrap), calc(100% - 2 * var(--am-gutter))); margin-inline: auto; }
.screen-reader-text, .am-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.am-skip { position: fixed; left: 12px; top: -60px; z-index: 1000; background: var(--am-ink); color: #fff; padding: 10px 16px; }
.am-skip:focus { top: 12px; color: #fff; }
.am-icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.am-small { font-size: .82rem; color: var(--am-muted); }
.am-notice { padding: 16px; background: var(--am-paper); }

/* ---------- Gombok, címek ---------- */
.am-btn {
	display: inline-flex; align-items: center; gap: .55em; min-height: 46px; padding: .7em 1.4em;
	font: 500 .95rem/1.2 var(--am-font); letter-spacing: .02em; color: var(--am-ink);
	background: transparent; border: 1px solid var(--am-ink); border-radius: var(--am-radius); cursor: pointer;
	transition: background .25s var(--am-ease), color .25s, border-color .25s, transform .25s var(--am-ease);
	text-decoration: none;
}
.am-btn:hover { background: var(--am-ink); color: #fff; }
.am-btn-solid { background: var(--am-red); border-color: var(--am-red); color: #fff; }
.am-btn-solid:hover { background: var(--am-red-dark); border-color: var(--am-red-dark); color: #fff; }
.am-btn-light { border-color: rgba(255, 255, 255, .8); color: #fff; }
.am-btn-light:hover { background: #fff; color: var(--am-ink); }
.am-btn-ghost { border-color: transparent; text-decoration: underline; text-underline-offset: 4px; }
.am-btn:active { transform: translateY(1px); }
.am-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.am-eyebrow { font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--am-red); margin: 0 0 .8rem; }
.am-eyebrow a { color: inherit; }
.am-title { font-size: clamp(1.35rem, 2.3vw, 1.7rem); font-weight: 600; color: var(--am-ink); margin: 0 0 1rem; }
.am-title-dash { display: flex; align-items: center; gap: .7em; }
.am-title-dash::before { content: ''; width: 14px; height: 3px; background: var(--am-red); flex: none; }
.am-title-right { justify-content: flex-end; flex-direction: row-reverse; }
.am-title-center { text-align: center; }
.am-title-bar { display: flex; align-items: center; gap: 1rem; text-transform: uppercase; letter-spacing: .03em; }
.am-title-bar::after { content: ''; flex: 1; height: 14px; background: var(--am-red); }

/* a régi „┌ Tovább ┘” sarok-link */
.am-link-corner { position: relative; display: inline-block; padding: .45em .9em; color: var(--am-ink); font-weight: 500; }
.am-link-corner::before, .am-link-corner::after { content: ''; position: absolute; width: 10px; height: 10px; border: 1px solid currentColor; transition: all .3s var(--am-ease); }
.am-link-corner::before { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.am-link-corner::after { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.am-link-corner:hover { color: var(--am-red); }
.am-link-corner:hover::before, .am-link-corner:hover::after { width: 100%; height: 100%; }

/* ---------- Fejléc ---------- */
.am-header { position: sticky; top: 0; z-index: 50; color: var(--am-ink); background: #fff; transition: background .35s, box-shadow .35s, color .35s; }
.am-topbar { background: var(--am-ink); color: #d9d4dc; font-size: .78rem; }
.am-topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 30px; }
.am-topbar p { margin: 0; }
.am-topbar a { color: #fff; display: inline-flex; gap: .4em; align-items: center; margin-left: 1.2rem; }
.am-bar-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 74px; gap: 1.5rem; }
.am-logo { display: block; width: clamp(180px, 18vw, 250px); color: inherit; line-height: 0; }
.am-logo svg { width: 100%; height: auto; }
.am-nav-wrap-left { justify-self: end; }
.am-nav-wrap-right { justify-self: start; }
.am-nav { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(1rem, 2vw, 2.2rem); align-items: center; }
.am-nav-item { position: relative; display: flex; align-items: center; }
.am-nav-item > a { color: inherit; font-size: .98rem; padding: 1.6rem 0; position: relative; white-space: nowrap; }
.am-nav-item > a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 1.25rem; height: 1px; background: currentColor; transition: right .3s var(--am-ease); }
.am-nav-item > a:hover::after, .am-nav-item.is-current > a::after { right: 0; }
.am-nav-item.is-highlight > a { color: inherit; }
.am-nav-item.is-highlight > a::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--am-red); margin-right: .5em; vertical-align: .12em; box-shadow: 0 0 0 3px rgba(155, 46, 51, .2); }
.am-sub-toggle { background: none; border: 0; color: inherit; padding: 4px; margin-left: 2px; cursor: pointer; line-height: 0; }
.am-sub-toggle .am-icon { width: 14px; height: 14px; transition: transform .25s; }
.am-sub { position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px); min-width: 260px; background: #fff; color: var(--am-ink); box-shadow: var(--am-shadow); padding: 14px 0; opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--am-ease), visibility 0s .25s; }
.am-sub ul { list-style: none; margin: 0; padding: 0; }
.am-sub a { display: block; padding: .5rem 1.4rem; color: var(--am-ink); font-size: .92rem; }
.am-sub a:hover, .am-sub .is-current a { color: var(--am-red); background: var(--am-paper); }
.am-nav-item.has-sub:hover > .am-sub, .am-nav-item.has-sub:focus-within > .am-sub, .am-nav-item.is-open > .am-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.am-nav-item.is-open > .am-sub-toggle .am-icon { transform: rotate(180deg); }
/* mega menü: képes rács */
.is-mega > .am-sub { width: min(860px, 92vw); padding: 22px; }
.am-nav-left .is-mega > .am-sub { left: 0; transform: translate(0, 8px); }
.am-nav-left .is-mega:hover > .am-sub, .am-nav-left .is-mega:focus-within > .am-sub, .am-nav-left .is-mega.is-open > .am-sub { transform: translate(0, 0); }
.is-mega > .am-sub ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.is-mega > .am-sub a { padding: 0; background: none; }
.am-sub-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--am-paper); margin-bottom: .5rem; }
.am-sub-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--am-ease); }
.is-mega > .am-sub a:hover img { transform: scale(1.06); }
.am-sub-title { display: block; font-size: .88rem; line-height: 1.35; }
.am-burger { display: none; align-items: center; gap: .5rem; background: none; border: 0; color: inherit; font: 500 .9rem var(--am-font); cursor: pointer; padding: 10px 0; }
.am-burger .am-icon { width: 26px; height: 26px; }

/* átlátszó fejléc a nyitóképen, görgetésre fehér */
body.am-has-hero .am-header { position: fixed; left: 0; right: 0; background: transparent; color: #fff; }
body.am-has-hero .am-bar { background: linear-gradient(rgba(20, 16, 22, .62), rgba(20, 16, 22, 0)); transition: background .35s; }
body.am-has-hero .am-header:not(.is-solid) .am-nav-item > a { text-shadow: 0 1px 10px rgba(0, 0, 0, .45); }
body.am-has-hero.admin-bar .am-header { top: 32px; }
body.am-has-hero .am-header.is-solid { background: #fff; color: var(--am-ink); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .5); }
body.am-has-hero .am-header.is-solid .am-bar { background: #fff; }
.am-header.is-solid .am-bar-in { min-height: 64px; }
.am-header.is-solid .am-nav-item > a { padding: 1.3rem 0; }
.am-header.is-solid .am-nav-item > a::after { bottom: .95rem; }

.am-offcanvas { position: fixed; inset: 0; z-index: 100; background: rgba(20, 16, 22, .55); display: flex; justify-content: flex-end; }
.am-offcanvas[hidden] { display: none; }
.am-offcanvas-in { width: min(420px, 100%); height: 100%; overflow-y: auto; background: #fff; padding: 64px 24px 32px; position: relative; animation: am-slide-in .35s var(--am-ease); }
@keyframes am-slide-in { from { transform: translateX(40px); opacity: 0; } }
.am-offcanvas-close { position: absolute; right: 12px; top: 12px; background: none; border: 0; padding: 10px; cursor: pointer; line-height: 0; color: var(--am-ink); }
.am-offcanvas-close .am-icon { width: 28px; height: 28px; }
.am-nav-mobile { flex-direction: column; align-items: stretch; gap: 0; }
.am-nav-mobile .am-nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--am-line); }
.am-nav-mobile .am-nav-item > a { flex: 1; padding: .95rem 0; font-size: 1.05rem; color: var(--am-ink); }
.am-nav-mobile .am-nav-item > a::after { display: none; }
.am-nav-mobile .am-sub-toggle { width: 44px; height: 44px; display: grid; place-items: center; }
.am-nav-mobile .am-sub { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; width: 100%; padding: 0 0 .8rem; display: none; min-width: 0; }
.am-nav-mobile .is-open > .am-sub { display: block; }
/* a mobilmenüben az almenü a helyén marad: koppintás után az asztali :hover / :focus-within szabály (translate -50%)
   balra, a képernyőn kívülre tolta (Isti, 2026-11-03) */
.am-nav-mobile .am-nav-item > .am-sub, .am-nav-mobile .am-nav-item.has-sub:hover > .am-sub, .am-nav-mobile .am-nav-item.has-sub:focus-within > .am-sub, .am-nav-mobile .am-nav-item.is-open > .am-sub, .am-nav-mobile .is-mega:hover > .am-sub, .am-nav-mobile .is-mega:focus-within > .am-sub, .am-nav-mobile .is-mega.is-open > .am-sub { transform: none; left: auto; }
.am-nav-mobile .is-mega > .am-sub ul { display: block; }
.am-nav-mobile .am-sub-img { display: none; }
.am-nav-mobile .am-sub a { padding: .55rem 1rem; }
.am-offcanvas-contact { display: grid; gap: .6rem; margin-top: 1.5rem; }
.am-offcanvas-contact .am-btn { justify-content: center; }

@media (max-width: 1100px) {
	.am-nav-wrap { display: none; }
	.am-burger { display: inline-flex; justify-self: end; }
	.am-bar-in { grid-template-columns: auto 1fr; }
	.am-logo { width: 190px; }
	.am-topbar-hours { display: none; }
	.am-topbar-in { justify-content: flex-end; }
}
@media (max-width: 600px) {
	.am-topbar-contact a span { display: none; }
	.am-topbar-contact a { margin-left: 1rem; padding: 4px; }
	.am-topbar { font-size: .74rem; }
	.am-bar-in { min-height: 62px; }
	.am-logo { width: 160px; }
}
@media (max-width: 782px) { body.am-has-hero.admin-bar .am-header { top: 46px; } }

/* ---------- Lábléc (a régi: szürke, vörös fotel, Playfair címek) ---------- */
.am-footer { --chair-w: clamp(180px, 30vw, 440px); --chair-r: max(0px, calc(50vw - 720px)); position: relative; background: linear-gradient(#f0eeec, #e3e1de); color: var(--am-ink-2); padding: clamp(3rem, 7vw, 6rem) 0 2.5rem; overflow: hidden; margin-top: 0; }
.am-footer::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(90deg, #cfcac4 0 1px, transparent 1px 120px) 0 0 / 120px 100%, #dcd8d3; opacity: .55; }
.am-footer-in { position: relative; z-index: 2; }
/* Isti, 2026-11-09: a szöveg ne csússzon a fotelre – az oszlopok a fotel helyét kihagyják (ami a fotelből a tartalomsávba lóg + 2rem) */
.am-footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); max-width: min(860px, calc(100% - (var(--chair-w) + var(--chair-r) - (100vw - 100%) / 2) - 2rem)); }
.am-footer-title { font-family: var(--am-serif); font-weight: 400; font-size: 1.45rem; margin: 0 0 1rem; color: var(--am-ink); }
.am-footer-links { list-style: none; margin: 0; padding: 0; columns: 1; }
.am-footer-links a, .am-footer-address a, .am-footer-address > span { color: var(--am-ink-2); font-size: .92rem; display: flex; gap: .55em; align-items: flex-start; padding: .2rem 0; }
.am-footer-links a::before { content: ''; border: 4px solid transparent; border-left: 5px solid var(--am-ink); margin-top: .6em; flex: none; }
.am-footer-links a:hover, .am-footer-address a:hover { color: var(--am-red); }
.am-footer-address { font-style: normal; display: grid; gap: .1rem; }
.am-footer-address .am-icon { margin-top: .25em; color: var(--am-red); }
.am-footer-social { display: flex; gap: .4rem; margin: 1rem 0 0; }
.am-footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--am-line); background: #fff; color: var(--am-ink); border-radius: 50%; }
.am-footer-social a:hover { background: var(--am-red); color: #fff; border-color: var(--am-red); }
.am-footer-plan p { font-size: .92rem; }
.am-footer-plan .am-btn-light { color: var(--am-ink); border-color: var(--am-ink); white-space: nowrap; }
.am-footer-plan .am-btn-light:hover { background: var(--am-ink); color: #fff; }
.am-footer-logo { display: block; width: 260px; max-width: 70%; margin: clamp(2.5rem, 5vw, 4rem) 0 1rem; color: var(--am-ink); line-height: 0; }
.am-footer-logo svg { width: 100%; height: auto; }
.am-footer-copy { font-size: .82rem; color: var(--am-muted); margin: 0; }
.am-footer-copy a, .am-footer-copy .am-linkbtn { color: var(--am-ink-2); }
.am-footer-chair { position: absolute; right: var(--chair-r); bottom: 0; width: var(--chair-w); height: auto; z-index: 1; pointer-events: none; }
@media (max-width: 1260px) {
	.am-footer-cols { grid-template-columns: 1fr 1fr; }
	.am-footer-plan { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
	.am-footer-cols { grid-template-columns: 1fr 1fr; max-width: none; }
	.am-footer-plan { grid-column: 1 / -1; max-width: 420px; }
	/* mobilon a fotel nem a szöveg mögött: a tartalom alatt, a lábléc aljára ülve */
	.am-footer-chair { position: relative; right: auto; display: block; width: min(56%, 240px); margin: 1.25rem 0 -2.5rem auto; }
}
@media (max-width: 560px) { .am-footer-cols { grid-template-columns: 1fr; } }

/* ---------- Nyitóképek, morzsamenü ---------- */
.am-page-hero, .am-album-hero { position: relative; min-height: clamp(380px, 62vh, 640px); display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--am-ink); }
.am-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.am-page-hero::after, .am-album-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 16, 22, .45) 0%, rgba(20, 16, 22, .05) 38%, rgba(20, 16, 22, .55) 100%); }
.am-page-hero-in { position: relative; z-index: 1; padding: calc(var(--am-header-h) + 2rem) 0 clamp(2rem, 5vw, 3.5rem); }
.am-page-hero .am-eyebrow { color: #fff; opacity: .9; }
h1.am-page-hero-title { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); margin: 0; max-width: 18ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.am-page-hero-sub { max-width: 60ch; font-size: 1.08rem; margin: .8rem 0 0; color: rgba(255, 255, 255, .92); }
.am-page-hero.no-img { min-height: 0; background: var(--am-paper); color: var(--am-ink); }
.am-page-hero.no-img::after { display: none; }
.am-page-hero.no-img h1.am-page-hero-title { color: var(--am-ink); text-shadow: none; }
.am-page-hero.no-img .am-page-hero-in { padding-top: 3.5rem; }
.am-page-hero.no-img .am-page-hero-sub { color: var(--am-text); }
.am-page-hero.no-img .am-eyebrow { color: var(--am-red); }
body:not(.am-has-hero) .am-page-hero-in { padding-top: 3rem; }
/* album: a régi nagy, talpas címmel, középen */
.am-album-hero { align-items: center; justify-items: center; text-align: center; min-height: clamp(420px, 78vh, 820px); }
.am-album-hero-in { position: relative; z-index: 1; padding: var(--am-header-h) var(--am-gutter) 0; }
h1.am-album-hero-title, p.am-album-hero-title { font-family: var(--am-serif); font-weight: 400; color: #fff; font-size: clamp(2.4rem, 6.4vw, 5.2rem); line-height: 1.05; margin: 0; text-shadow: 0 2px 40px rgba(0, 0, 0, .35); }
.am-album-hero-down { position: absolute; left: 50%; bottom: -26vh; transform: translateX(-50%); display: inline-flex; flex-direction: column; align-items: center; gap: .4rem; color: #fff; font-size: .82rem; letter-spacing: .08em; }
.am-album-hero-down .am-icon { width: 34px; height: 34px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 50%; padding: 6px; animation: am-bob 2.4s ease-in-out infinite; }
@keyframes am-bob { 50% { transform: translateY(5px); } }
.am-crumbs { width: min(var(--am-wrap), calc(100% - 2 * var(--am-gutter))); margin: 1rem auto 0; font-size: .82rem; }
.am-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem .5rem; color: var(--am-muted); }
.am-crumbs li + li::before { content: '/'; margin-right: .5rem; color: var(--am-line); }
.am-crumbs a { color: var(--am-muted); }
.am-crumbs a:hover { color: var(--am-red); }

/* ---------- Tartalmi oldalak (iu blokkok) ---------- */
.iu-section { padding-block: var(--iu-section-default-padding); }
.am-content-section .iu-row { max-width: 820px; }
.iu-text, .iu-list-item { color: var(--am-text); }
.iu-heading { margin: 2rem 0 .8rem; }
h2.iu-heading { font-size: var(--iu-heading-2-font-size); }
h3.iu-heading { font-size: var(--iu-heading-3-font-size); }
.iu-list { padding-left: 1.2em; }
.iu-list-item::marker { color: var(--am-red); }
.iu-image img { display: block; width: 100%; height: auto; }
.am-section-paper { background: var(--am-paper); }
.am-lead { font-size: 1.12rem; color: var(--am-ink-2); }
.am-figure-wide .iu-image-wrap { display: block; }

/* ---------- Folyamat (a régi ikonsor) ---------- */
.am-process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: #fbfbfa; box-shadow: 0 1px 0 var(--am-line); counter-reset: s; }
.am-process-step a { display: grid; gap: .25rem; justify-items: center; text-align: center; padding: 2.2rem 1rem 1.8rem; color: var(--am-ink); height: 100%; position: relative; transition: background .3s; }
.am-process-step a::after { content: ''; position: absolute; left: 50%; right: 50%; bottom: 0; height: 3px; background: var(--am-red); transition: left .35s var(--am-ease), right .35s var(--am-ease); }
.am-process-step a:hover::after, .am-process-step.is-current a::after { left: 22%; right: 22%; }
.am-process-step a:hover { background: #fff; }
.am-process-num { font-weight: 600; font-size: 1.05rem; }
.am-process-title { font-weight: 600; text-transform: uppercase; font-size: .95rem; letter-spacing: .02em; }
.am-process-text { font-size: .9rem; color: var(--am-text); }
.am-process-more { color: var(--am-red); font-size: .9rem; margin-top: .4rem; }
.am-process-step.is-current a { background: #fff; }
@media (max-width: 900px) {
	.am-process { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(190px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; }
	.am-process-step { scroll-snap-align: start; }
}

/* ---------- Bemutatkozás / minőség: a régi eltolt szürke panelek ---------- */
.am-intro, .am-quality { padding-block: clamp(2.5rem, 6vw, 5rem); }
.am-intro-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 5vw, 4.5rem); position: relative; width: min(var(--am-wrap), calc(100% - 2 * var(--am-gutter))); margin: 0 auto clamp(2rem, 5vw, 4rem); padding: clamp(1.5rem, 4vw, 3rem) 0; }
.am-intro-row::before { content: ''; position: absolute; top: 0; bottom: 0; left: calc(-1 * var(--am-gutter) - 50vw + 50%); right: 18%; background: var(--am-paper); z-index: -1; }
.am-intro-row-rev::before { left: 18%; right: calc(-1 * var(--am-gutter) - 50vw + 50%); }
.am-intro-row-rev .am-intro-text { text-align: right; }
.am-intro-img { margin: 0; }
.am-intro-img img { width: 100%; height: clamp(260px, 32vw, 420px); object-fit: cover; display: block; box-shadow: var(--am-shadow); }
.am-intro-text p { max-width: 60ch; }
.am-intro-row-rev .am-intro-text p { margin-left: auto; }
@media (max-width: 760px) {
	.am-intro-row, .am-intro-row-rev { grid-template-columns: 1fr; }
	.am-intro-row-rev .am-intro-img { order: 2; }
	.am-intro-row-rev .am-intro-text { text-align: left; }
	.am-intro-row-rev .am-title-right { flex-direction: row; justify-content: flex-start; }
	.am-intro-row::before, .am-intro-row-rev::before { left: calc(-1 * var(--am-gutter)); right: calc(-1 * var(--am-gutter)); }
}

/* ---------- Rólunk mondták: ügyfél-levelek + Google-értékelések (Zsolt, 2026-11-04) ---------- */
.am-testi { padding-block: clamp(2.5rem, 6vw, 5rem); }
.am-testi-strip { background: var(--am-paper); }
.am-testi-head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.am-testi-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, .9fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.am-letter { position: relative; margin: 0; padding-top: 2.6rem; }
.am-letter::before { content: '\201E'; position: absolute; top: -1.55rem; left: -.05em; font: 400 4.2rem/1 var(--am-serif); color: var(--am-red); pointer-events: none; }
.am-letter blockquote { margin: 0; padding: 0; border: 0; }
.am-letter blockquote p { margin: 0 0 .8em; hyphens: manual; -webkit-hyphens: manual; text-wrap: pretty; }
.am-testi-strip .am-letter blockquote p { font: italic 400 clamp(1.05rem, 1.5vw, 1.18rem)/1.6 var(--am-serif); color: var(--am-ink); }
.am-letter figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .6rem; margin-top: 1rem; font-size: .8rem; }
.am-letter figcaption::before { content: ''; width: 22px; height: 1px; background: var(--am-red); align-self: center; }
.am-letter-by { font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--am-ink); }
.am-letter-place { color: var(--am-muted); }
.am-testi-more { margin: clamp(1.5rem, 3vw, 2.25rem) 0 0; }

.am-letters { columns: 2 340px; column-gap: clamp(1.25rem, 3vw, 2.5rem); }
.am-letters .am-letter { break-inside: avoid; margin: 0 0 clamp(1.25rem, 3vw, 2.5rem); padding: 3.2rem clamp(1.25rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2rem); background: var(--am-white); border: 1px solid var(--am-line); box-shadow: var(--am-shadow); }
.am-letters .am-letter::before { top: -.75rem; left: clamp(1rem, 2.6vw, 1.9rem); }
.am-letters .am-letter:nth-child(3n+2) { background: var(--am-paper); box-shadow: none; }
.am-letter-salute { font: italic 400 1.25rem/1.4 var(--am-serif); color: var(--am-ink); }
.am-letters figcaption { justify-content: flex-end; }
.am-testi-wall-title { margin-top: clamp(2.5rem, 5vw, 4rem); margin-bottom: clamp(1.25rem, 3vw, 2rem); }

.am-gcard { padding: clamp(1.25rem, 2.6vw, 1.75rem); background: var(--am-white); border: 1px solid var(--am-line); }
.am-gcard-src { margin: 0 0 .6rem; font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--am-muted); }
.am-gcard-score { display: flex; align-items: center; gap: .7rem; margin: 0; }
.am-gcard-score strong { font: 600 2.6rem/1 var(--am-font); color: var(--am-ink); }
.am-gcard-count, .am-gcard-lead { margin: .5rem 0 0; color: var(--am-text); font-size: .92rem; line-height: 1.6; }
.am-gcard-links { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin: 1.1rem 0 0; }
.am-gcard-links .am-btn-ghost { padding-inline: 0; }
.am-stars { position: relative; display: inline-block; font-size: 1.05rem; line-height: 1; letter-spacing: .08em; white-space: nowrap; }
.am-stars::before { content: '\2605\2605\2605\2605\2605'; color: var(--am-line); }
.am-stars-on { position: absolute; inset: 0 auto 0 0; overflow: hidden; }
.am-stars-on::before { content: '\2605\2605\2605\2605\2605'; color: #c8962e; }

.am-testi-google { display: grid; grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.am-testi-google > .am-gcard:only-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 2rem; }
.am-testi-google > .am-gcard:only-child .am-gcard-src { grid-column: 1 / -1; }
.am-testi-google > .am-gcard:only-child .am-gcard-links { margin: 0; }
.am-greviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.am-greview { margin: 0; padding: 1.1rem 1.25rem; border: 1px solid var(--am-line); background: var(--am-white); font-size: .92rem; }
.am-greview figcaption { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.am-greview figcaption img { width: 36px; height: 36px; border-radius: 50%; }
.am-greview figcaption span { display: flex; flex-direction: column; font-weight: 600; color: var(--am-ink); }
.am-greview figcaption small { font-weight: 400; color: var(--am-muted); }
.am-greview blockquote { margin: .6rem 0 0; padding: 0; border: 0; }
.am-greview blockquote p { margin: 0; }
.am-greviews-src { grid-column: 2; margin: .25rem 0 0; }

@media (max-width: 1080px) {
	.am-testi-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
	.am-testi-row { grid-template-columns: minmax(0, 1fr); }
	.am-testi-google, .am-testi-google > .am-gcard:only-child { grid-template-columns: minmax(0, 1fr); }
	.am-testi-google > .am-gcard:only-child .am-gcard-links { margin-top: 1rem; }
	.am-greviews-src { grid-column: auto; }
}

/* ---------- Kártyák, rácsok ---------- */
.am-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.am-card a { display: block; color: var(--am-ink); }
.am-card-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--am-paper); }
.am-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--am-ease); }
.am-card a:hover img, .am-post-card a:hover img { transform: scale(1.05); }
.am-card-title { display: block; font-weight: 600; margin-top: .8rem; line-height: 1.4; }
.am-card-meta { display: block; font-size: .85rem; color: var(--am-muted); }
.am-card a:hover .am-card-title { color: var(--am-red); }

/* ---------- Galéria: kollázs (a régi olgallery) ---------- */
.am-collage { columns: 3 300px; column-gap: 14px; width: min(1400px, calc(100% - 2 * var(--am-gutter))); margin: clamp(2rem, 5vw, 3.5rem) auto; }
.am-collage-item { break-inside: avoid; margin: 0 0 14px; position: relative; overflow: hidden; background: var(--am-paper); }
.am-collage-item a { display: block; position: relative; color: #fff; }
.am-collage-item img { display: block; width: 100%; height: auto; transition: transform .9s var(--am-ease), filter .5s; }
.am-collage-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1.1rem 1rem; background: linear-gradient(transparent, rgba(20, 16, 22, .78)); font-size: .92rem; line-height: 1.4; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s var(--am-ease); }
.am-collage-item figcaption small { display: block; opacity: .8; font-size: .8rem; }
.am-collage-zoom { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: var(--am-ink); border-radius: 50%; opacity: 0; transition: opacity .3s; }
.am-collage-item a:hover img, .am-collage-item a:focus-visible img { transform: scale(1.04); }
.am-collage-item a:hover figcaption, .am-collage-item a:focus-visible figcaption, .am-collage-item a:hover .am-collage-zoom { opacity: 1; transform: none; }
@media (hover: none) { .am-collage-item figcaption { opacity: 1; transform: none; } }
.am-album-intro { max-width: 820px; margin: clamp(2rem, 5vw, 3.5rem) auto 0; }

/* nagy nézet */
.am-lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(16, 13, 18, .96); display: grid; grid-template-rows: auto 1fr auto; color: #fff; }
.am-lightbox[hidden] { display: none; }
.am-lb-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font-size: .85rem; }
.am-lb-top button, .am-lb-prev, .am-lb-next { background: none; border: 0; color: #fff; cursor: pointer; padding: 10px; line-height: 0; }
.am-lb-top .am-icon { width: 28px; height: 28px; }
.am-lb-stage { position: relative; display: grid; place-items: center; overflow: hidden; touch-action: pan-y; }
.am-lb-stage img { max-width: calc(100vw - 120px); max-height: calc(100vh - 150px); object-fit: contain; box-shadow: 0 30px 80px -30px #000; transition: opacity .25s, transform .35s var(--am-ease); }
.am-lb-prev, .am-lb-next { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; }
.am-lb-prev { left: 16px; } .am-lb-next { right: 16px; }
.am-lb-prev .am-icon, .am-lb-next .am-icon { width: 24px; height: 24px; }
.am-lb-cap { text-align: center; padding: 12px 16px 20px; font-size: .95rem; min-height: 3.2em; }
.am-lb-cap small { display: block; opacity: .7; }
@media (max-width: 700px) { .am-lb-stage img { max-width: 100vw; } .am-lb-prev, .am-lb-next { width: 44px; height: 44px; background: rgba(0, 0, 0, .35); } .am-lb-prev { left: 6px; } .am-lb-next { right: 6px; } }

.am-album-nav { width: min(var(--am-wrap), calc(100% - 2 * var(--am-gutter))); margin: 2rem auto clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center; border-top: 1px solid var(--am-line); padding-top: 1.5rem; }
.am-album-nav a { color: var(--am-ink); display: flex; align-items: center; gap: .8rem; font-weight: 500; }
.am-album-nav small { display: block; font-size: .78rem; color: var(--am-muted); font-weight: 400; }
.am-album-nav-next { justify-content: flex-end; text-align: right; }
.am-album-nav-up { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--am-muted) !important; }
.am-album-nav a:hover { color: var(--am-red); }
@media (max-width: 640px) { .am-album-nav { grid-template-columns: 1fr 1fr; } .am-album-nav-up { grid-column: 1 / -1; grid-row: 2; justify-self: center; } }

/* ---------- Albumlista: teljes képernyős csúszka (a régi WebGL-es showcase) ---------- */
.am-show { position: relative; height: 100vh; min-height: 520px; max-height: 1000px; overflow: hidden; background: var(--am-ink); color: #fff; }
h1.am-show-h1 { position: absolute; z-index: 3; left: var(--am-gutter); top: calc(var(--am-header-h) + 1.5rem); margin: 0; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: rgba(255, 255, 255, .85); }
.am-show-slide { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity 1s var(--am-ease), visibility 0s 1s; }
.am-show-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s var(--am-ease); z-index: 1; }
.am-show-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); filter: brightness(.72); transition: transform 6s var(--am-ease); }
.am-show-slide.is-active img { transform: scale(1); }
.am-show-link { position: relative; z-index: 2; display: grid; justify-items: center; gap: .6rem; color: #fff; text-align: center; padding: 1rem; }
.am-show-title { font-family: var(--am-serif); font-size: clamp(2.6rem, 8vw, 6.4rem); line-height: 1; letter-spacing: -.01em; clip-path: inset(0 0 0 0); }
.am-show-slide.is-active .am-show-title { animation: am-rise 1.1s var(--am-ease) both; }
@keyframes am-rise { from { clip-path: inset(100% 0 0 0); transform: translateY(30px); } }
.am-show-count { font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.am-show-cta { display: inline-flex; gap: .5rem; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, .6); padding-bottom: 3px; font-size: .95rem; opacity: 0; transform: translateY(8px); transition: all .4s var(--am-ease) .4s; }
.am-show-slide.is-active .am-show-cta { opacity: 1; transform: none; }
.am-show-ui { position: absolute; z-index: 3; left: 50%; bottom: 2.2rem; transform: translateX(-50%); display: flex; align-items: center; gap: 1.2rem; font-size: .85rem; letter-spacing: .1em; }
.am-show-ui button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: rgba(0, 0, 0, .15); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .25s; }
.am-show-ui button:hover { background: rgba(255, 255, 255, .15); }
.am-show-ui .am-icon { width: 22px; height: 22px; }
.am-show-list { padding: clamp(2rem, 5vw, 4rem) 0; }

/* ---------- 3D körhinta (kezdőlap) ---------- */
.am-flow { padding: clamp(3rem, 7vw, 5.5rem) 0; background: linear-gradient(#fff 0 55%, var(--am-paper) 55%); overflow: hidden; }
.am-flow-stage { perspective: 1400px; height: clamp(320px, 38vw, 470px); position: relative; margin-top: 1.5rem; }
.am-flow-track { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; transform-style: preserve-3d; }
.am-flow-item { position: absolute; left: 50%; top: 0; width: clamp(240px, 34vw, 480px); margin-left: calc(clamp(240px, 34vw, 480px) / -2); transition: transform .8s var(--am-ease), opacity .6s, filter .6s; transform-style: preserve-3d; }
.am-flow-item a { display: block; color: var(--am-ink); text-align: center; }
.am-flow-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .45); -webkit-box-reflect: below 6px linear-gradient(transparent 70%, rgba(255, 255, 255, .22)); }
.am-flow-img img { width: 100%; height: 100%; object-fit: cover; }
.am-flow-title { display: block; margin-top: 1.4rem; font-weight: 600; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .04em; opacity: 0; transition: opacity .4s; }
.am-flow-text { display: block; font-size: .9rem; color: var(--am-text); opacity: 0; transition: opacity .4s; }
.am-flow-item.is-active .am-flow-title, .am-flow-item.is-active .am-flow-text { opacity: 1; }
.am-flow-ui { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 1.5rem; }
.am-flow-ui button { background: none; border: 0; color: var(--am-muted); cursor: pointer; padding: 10px; line-height: 0; }
.am-flow-ui button:hover { color: var(--am-ink); }
.am-flow-bar { width: min(300px, 50vw); height: 26px; border-radius: 13px; background: var(--am-paper-2); position: relative; overflow: hidden; }
.am-flow-thumb { white-space: nowrap; position: absolute; top: 0; bottom: 0; width: calc(100% / var(--n)); min-width: 64px; border-radius: 13px; background: #5d5761; color: #fff; font-size: .72rem; display: grid; place-items: center; transition: left .6s var(--am-ease); left: 0; }

/* ---------- Előtte–utána ---------- */
.am-ba { width: min(1100px, calc(100% - 2 * var(--am-gutter))); margin: 0 auto; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.am-ba-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.am-ba-tabs button { border: 1px solid var(--am-line); background: #fff; padding: .45rem 1rem; font: inherit; font-size: .88rem; cursor: pointer; color: var(--am-ink); min-height: 40px; }
.am-ba-tabs [aria-selected="true"] { background: var(--am-ink); color: #fff; border-color: var(--am-ink); }
.am-ba-item { margin: 0; }
.am-ba-frame { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--am-paper); user-select: none; touch-action: pan-y; }
.am-ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.am-ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.am-ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .4); pointer-events: none; }
.am-ba-handle::after { content: '‹ ›'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--am-ink); display: grid; place-items: center; font-size: 1.1rem; letter-spacing: .1em; box-shadow: var(--am-shadow); }
.am-ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.am-ba-range:focus-visible + .am-ba-handle::after { outline: 2px solid var(--am-red); outline-offset: 3px; }
.am-ba-label { position: absolute; top: 14px; padding: .3rem .8rem; background: rgba(20, 16, 22, .7); color: #fff; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.am-ba-label-b { left: 14px; } .am-ba-label-a { right: 14px; }
.am-ba-item figcaption { font-size: .9rem; margin-top: .7rem; color: var(--am-muted); }

/* ---------- Stílusválasztó ---------- */
.am-quiz { background: var(--am-ink); color: #e9e4ea; padding-block: clamp(3rem, 7vw, 5.5rem); }
h2.am-title.am-quiz-t, .am-quiz .am-title { color: #fff; }
.am-quiz .am-eyebrow { color: #e6a6a9; }
.am-quiz-head { max-width: 620px; }
.am-quiz-steps { list-style: none; display: flex; gap: .5rem; padding: 0; margin: 1.5rem 0; }
.am-quiz-steps li { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); display: grid; place-items: center; font-size: .82rem; color: rgba(255, 255, 255, .6); transition: all .3s; }
.am-quiz-steps .is-current { background: #fff; color: var(--am-ink); border-color: #fff; }
.am-quiz-steps .is-done { background: var(--am-red); border-color: var(--am-red); color: #fff; }
.am-quiz-q { border: 0; margin: 0; padding: 0; min-width: 0; }
.am-quiz-q legend { font-size: clamp(1.15rem, 2vw, 1.4rem); color: #fff; font-weight: 500; margin-bottom: 1.2rem; }
.am-quiz-opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.am-quiz-opt { background: none; border: 0; padding: 0; text-align: left; color: #fff; cursor: pointer; font: inherit; }
.am-quiz-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; position: relative; outline: 1px solid rgba(255, 255, 255, .12); }
.am-quiz-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--am-ease), filter .4s; filter: saturate(.9); }
.am-quiz-opt:hover img, .am-quiz-opt:focus-visible img { transform: scale(1.06); filter: none; }
.am-quiz-opt.is-picked .am-quiz-img { outline: 3px solid var(--am-red); }
.am-quiz-label { display: block; margin-top: .7rem; font-size: .95rem; line-height: 1.4; }
.am-quiz-back { color: rgba(255, 255, 255, .75); margin-top: 1.2rem; display: inline-flex; gap: .4rem; align-items: center; }
.am-quiz-q:not([hidden]) { animation: am-fade .5s var(--am-ease); }
@keyframes am-fade { from { opacity: 0; transform: translateY(10px); } }
.am-quiz-result { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; animation: am-fade .6s var(--am-ease); }
.am-quiz-result img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.am-quiz-result h3 { color: #fff; font-family: var(--am-serif); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: .2rem 0 .8rem; }
.am-quiz-result p { color: #d9d3dc; }
.am-quiz-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.am-quiz-actions .am-btn:not(.am-btn-solid) { color: #fff; border-color: rgba(255, 255, 255, .6); }
.am-quiz-actions .am-btn:not(.am-btn-solid):hover { background: #fff; color: var(--am-ink); }
@media (max-width: 820px) { .am-quiz-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .am-quiz-result { grid-template-columns: 1fr; } .am-quiz-img { aspect-ratio: 1; } }

/* ---------- Mini tervező (kezdőlap) ---------- */
.am-teaser { padding-block: clamp(3rem, 7vw, 5.5rem); background: radial-gradient(circle at 80% 30%, #fff, var(--am-paper) 60%); }
.am-teaser-in { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.am-teaser-shapes { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0 1.6rem; }
.am-teaser-shapes button { display: grid; justify-items: center; gap: .3rem; width: 92px; padding: .8rem .4rem .6rem; border: 1px solid var(--am-line); background: #fff; cursor: pointer; font: inherit; font-size: .8rem; color: var(--am-ink); transition: border-color .2s, transform .2s var(--am-ease); }
.am-teaser-shapes svg { width: 38px; height: 38px; color: var(--am-muted); }
.am-teaser-shapes [aria-checked="true"] { border-color: var(--am-ink); box-shadow: inset 0 -3px 0 var(--am-red); }
.am-teaser-shapes [aria-checked="true"] svg { color: var(--am-ink); }
.am-teaser-shapes button:hover { transform: translateY(-2px); }
.am-teaser-view { background: #fff; box-shadow: var(--am-shadow); padding: clamp(.5rem, 2vw, 1.5rem); }
.am-teaser-svg { width: 100%; height: auto; display: block; }
.am-teaser-svg .am-iso-floor { fill: #f1eee9; stroke: #d8d3cc; }
.am-teaser-svg .am-iso-wall { fill: #faf9f7; stroke: #d8d3cc; }
.am-teaser-svg path, .am-teaser-svg polygon { transition: d .5s var(--am-ease); }
.am-teaser-svg .am-iso-in { animation: am-pop .55s var(--am-ease) both; }
@keyframes am-pop { from { opacity: 0; transform: translateY(-14px); } }
@media (max-width: 820px) { .am-teaser-in { grid-template-columns: 1fr; } }

/* ---------- Nyitó jelenet: Tervből valóság ---------- */
/* Isti 3. köre (2026-11-03): a terv fehér lapon, vonalzós műszaki rajz – ugyanaz a nyelv, mint a Tervezés-oldalak lapjai */
.am-hook { --paper: #fbfaf7; position: relative; background: var(--paper); color: var(--am-ink); }
.am-hook-stage { position: relative; height: min(100vh, 980px); min-height: 560px; overflow: hidden; touch-action: pan-y; }
.am-hook-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.am-hook-plan { position: absolute; inset: 0; background-color: var(--paper); clip-path: inset(0 0 0 var(--split)); }
.am-hook-plan::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(36, 31, 38, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(36, 31, 38, .06) 1px, transparent 1px), linear-gradient(rgba(36, 31, 38, .028) 1px, transparent 1px), linear-gradient(90deg, rgba(36, 31, 38, .028) 1px, transparent 1px); background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px; }
.am-hook-plan::after { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(36, 31, 38, .4); box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 5px rgba(36, 31, 38, .16); pointer-events: none; }
.am-hook-plan svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.am-hook-plan path { stroke-dasharray: var(--l, 1200); stroke-dashoffset: var(--l, 1200); }
.am-hook-plan .hp-c path { stroke: rgba(36, 31, 38, .2); stroke-width: .7; }
.am-hook-plan .hp-l path { stroke: var(--am-ink); stroke-width: 1.5; }
.am-hook-plan .hp-t path { stroke: #57505b; stroke-width: .9; }
.am-hook-plan .hp-h path { stroke: var(--am-ink); stroke-width: 2.2; }
.am-hook-plan .hp-d path { stroke: var(--am-red); stroke-width: .9; }
.am-hook-plan .hp-n text { font: 500 13px var(--am-font); fill: var(--am-red); letter-spacing: .04em; paint-order: stroke; stroke: var(--paper); stroke-width: 4px; opacity: 0; transition: opacity .7s 1.9s; }
.am-hook.is-drawing .am-hook-plan path { animation: am-draw var(--d, 1.2s) var(--am-ease) var(--delay, 0s) forwards; }
.am-hook.is-drawn .am-hook-plan path { stroke-dashoffset: 0; animation: none; }
.am-hook.is-drawing .hp-n text, .am-hook.is-drawn .hp-n text { opacity: 1; }
@keyframes am-draw { to { stroke-dashoffset: 0; } }
/* szövegmező a lap jobb alsó sarkában (mint a Tervezés-oldalak lapjain) */
.am-hook-drawing { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.am-hook.is-drawing .am-hook-drawing { -webkit-mask-image: linear-gradient(180deg, #000 0 44%, transparent 56% 100%); mask-image: linear-gradient(180deg, #000 0 44%, transparent 56% 100%); -webkit-mask-size: 100% 230%; mask-size: 100% 230%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; animation: am-hook-plot 2.3s cubic-bezier(.45, .05, .3, 1) both; }
@keyframes am-hook-plot { from { -webkit-mask-position: 0 100%; mask-position: 0 100%; } to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
.am-hook-stamp { position: absolute; right: 30px; bottom: 30px; margin: 0; background: var(--paper); opacity: 0; transition: opacity .8s 2s; }
.am-hook.is-drawing .am-hook-stamp, .am-hook.is-drawn .am-hook-stamp { opacity: 1; }
.am-hook-divider { position: absolute; top: 0; bottom: 0; left: var(--split); width: 0; z-index: 3; pointer-events: none; }
.am-hook-divider::before { content: ''; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--am-ink); box-shadow: 0 0 0 1px rgba(255, 255, 255, .55), 0 0 18px rgba(255, 255, 255, .6); }
.am-hook-knob { position: absolute; top: 46%; left: 0; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 1px solid rgba(36, 31, 38, .35); color: var(--am-ink); display: flex; align-items: center; justify-content: center; gap: 0; box-shadow: 0 10px 30px -12px rgba(36, 31, 38, .55); }
.am-hook-knob .am-icon { width: 18px; height: 18px; }
.am-hook-tag { position: absolute; top: calc(46% - 64px); font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--am-ink); white-space: nowrap; text-shadow: 0 0 8px rgba(255, 255, 255, .95), 0 0 2px #fff; }
.am-hook-tag-real { right: 18px; } .am-hook-tag-plan { left: 18px; color: var(--am-red); }
.am-hook-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; z-index: 4; cursor: ew-resize; margin: 0; }
.am-hook.is-intro .am-hook-range { pointer-events: none; }
@media (pointer: coarse) { .am-hook-range { pointer-events: none; } }
.am-hook-range:focus-visible ~ .am-hook-divider .am-hook-knob, .am-hook-stage:has(.am-hook-range:focus-visible) .am-hook-knob { outline: 3px solid var(--am-red); outline-offset: 3px; }
/* a szöveg sötét tintával; alatta papírszínű derengés – a lapon észrevétlen, a fotón olvashatóvá teszi */
.am-hook-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; pointer-events: none; padding: 8rem 0 clamp(2rem, 5vw, 3.5rem); }
.am-hook-copy::before { content: ''; position: absolute; inset: -8rem 0 0; z-index: -1; background: linear-gradient(90deg, rgba(251, 250, 247, .94) 0%, rgba(251, 250, 247, .8) 34%, rgba(251, 250, 247, 0) 60%); -webkit-mask-image: linear-gradient(transparent, #000 45%); mask-image: linear-gradient(transparent, #000 45%); }
.am-hook-copy .am-wrap > * { max-width: 600px; }
.am-hook-copy a, .am-hook-copy button { pointer-events: auto; }
.am-hook-copy .am-eyebrow { color: var(--am-red); }
h1.am-hook-title { color: var(--am-ink); font-size: clamp(2rem, 4.8vw, 3.8rem); margin: 0; max-width: 16ch; line-height: 1.1; letter-spacing: -.01em; }
.am-hook-lead { max-width: 54ch; margin: 1rem 0 1.4rem; color: var(--am-ink-2); font-size: clamp(1rem, 1.4vw, 1.12rem); }
.am-hook-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 0; }
.am-hook-actions .am-btn-light { border-color: var(--am-ink); color: var(--am-ink); background: rgba(255, 255, 255, .6); }
.am-hook-actions .am-btn-light:hover { background: var(--am-ink); color: #fff; }
.am-hook-hint { display: flex; align-items: center; gap: .5rem; margin: 1.2rem 0 0; font-size: .82rem; color: var(--am-muted); }
.am-hook-copy > .am-wrap > * { animation: am-fade .9s var(--am-ease) both; }
.am-hook-copy .am-hook-title { animation-delay: .1s; } .am-hook-copy .am-hook-lead { animation-delay: .2s; } .am-hook-copy .am-hook-actions { animation-delay: .3s; } .am-hook-copy .am-hook-hint { animation-delay: .4s; }
/* a kezdőlapon a fejléc a fehér lapon is látszódjon: tinta betű, papírszínű derengés */
body.am-home.am-has-hero .am-header:not(.is-solid) { color: var(--am-ink); }
body.am-home.am-has-hero .am-header:not(.is-solid) .am-bar { background: linear-gradient(rgba(251, 250, 247, .94), rgba(251, 250, 247, .7) 60%, rgba(251, 250, 247, 0)); }
body.am-home.am-has-hero .am-header:not(.is-solid) .am-nav-item > a { text-shadow: 0 0 10px rgba(251, 250, 247, .9); }
@media (max-width: 700px) {
	.am-hook-stage { height: 72vh; min-height: 460px; }
	.am-hook-copy { position: relative; background: var(--paper); padding: 1.8rem 0 2.4rem; border-top: 1px solid rgba(36, 31, 38, .14); }
	.am-hook-copy::before { display: none; }
	.am-hook-hint { display: none; }
	.am-hook .am-hook-stamp { display: none; }
	/* a rajz itt kicsinyítve látszik: vastagabb vonal, nagyobb méretszám */
	.am-hook-plan .hp-l path { stroke-width: 2.4; }
	.am-hook-plan .hp-t path { stroke-width: 1.5; }
	.am-hook-plan .hp-h path { stroke-width: 3.2; }
	.am-hook-plan .hp-d path { stroke-width: 1.5; }
	.am-hook-plan .hp-c path { stroke-width: 1.1; }
	.am-hook-plan .hp-n text { font-size: 22px; stroke-width: 6px; }
}

/* ---------- Tudástár ---------- */
.am-post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 4vw, 4rem); padding-block: clamp(1.5rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem); }
.am-post-head { margin-bottom: 1.5rem; }
.am-post-head .am-crumbs { width: auto; margin: 0 0 1.4rem; }
.am-post-title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0 0 1.2rem; line-height: 1.2; }
.am-post-img { margin: 0; }
.am-post-img img { width: 100%; max-height: 560px; object-fit: cover; display: block; }
.am-prose { max-width: 720px; font-size: 1.04rem; }
.am-prose h2 { font-size: 1.45rem; margin: 2.2rem 0 .7rem; }
.am-prose h3 { font-size: 1.2rem; margin: 1.8rem 0 .6rem; }
.am-prose h4 { font-size: 1.05rem; margin: 1.5rem 0 .5rem; }
.am-prose p { margin: 0 0 1.1rem; }
.am-prose img { display: block; max-width: 100%; height: auto; margin: 1.5rem 0; }
.am-prose .iu-section { padding: 0; }
.am-prose .iu-row { width: 100%; }
.am-prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.am-prose blockquote { border-left: 3px solid var(--am-red); margin: 1.5rem 0; padding: .3rem 0 .3rem 1.2rem; font-family: var(--am-serif); font-size: 1.2rem; color: var(--am-ink-2); }
.am-prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; }
.am-prose th, .am-prose td { border-bottom: 1px solid var(--am-line); padding: .6rem .5rem; text-align: left; vertical-align: top; }
.am-prose th { color: var(--am-ink); font-weight: 600; }
.am-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.am-post-grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); }
.am-post-card a { display: flex; flex-direction: column; height: 100%; color: var(--am-ink); }
.am-post-card-title { font-size: 1.12rem; margin: 1rem 0 .4rem; line-height: 1.35; }
.am-post-card-ex { font-size: .92rem; color: var(--am-text); margin: 0 0 .8rem; }
.am-more { margin-top: auto; font-size: .88rem; color: var(--am-red); font-weight: 500; }
.am-post-card a:hover .am-post-card-title { color: var(--am-red); }
.am-tags { list-style: none; margin: 2rem 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.am-tags a { display: inline-block; padding: .3rem .75rem; border: 1px solid var(--am-line); color: var(--am-ink-2); font-size: .82rem; }
.am-tags a:hover { border-color: var(--am-red); color: var(--am-red); }
.am-tags-small a { font-size: .76rem; padding: .22rem .6rem; background: #fff; }
.am-related { margin-top: 3rem; }
.am-sidebar { display: grid; gap: 2rem; align-content: start; position: sticky; top: 100px; }
.am-sidebar-title { font-size: 1.15rem; margin: 0 0 .9rem; }
.am-most { margin: 0; padding-left: 1.3em; font-size: .92rem; display: grid; gap: .45rem; }
.am-most a { color: var(--am-ink-2); }
.am-most a:hover { color: var(--am-red); }
.am-most li::marker { color: var(--am-red); font-weight: 600; }
.am-sidebar-plan { background: var(--am-paper); padding: 1.4rem; }
.am-sidebar-plan p { font-size: .9rem; }
.am-pager { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem; margin: 2.5rem 0 0; }
.am-pager a, .am-pager span { min-width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--am-line); color: var(--am-ink); padding: 0 .6rem; }
.am-pager [aria-current], .am-pager .current { background: var(--am-ink); color: #fff; border-color: var(--am-ink); }
.am-pager a:hover { border-color: var(--am-red); color: var(--am-red); }
@media (max-width: 960px) { .am-post-layout { grid-template-columns: 1fr; } .am-sidebar { position: static; } }
.am-list-section { padding-block: clamp(1.5rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem); }

/* ---------- Ajánlatkérés-sáv, GYIK, kapcsolat ---------- */
.am-cta { background: var(--am-paper); padding-block: clamp(2.5rem, 5vw, 4rem); }
.am-cta-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; }
.am-cta p { margin: 0; max-width: 60ch; }
.am-cta-actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.am-cta-phone { display: inline-flex; gap: .4rem; align-items: center; color: var(--am-ink); font-weight: 500; margin-left: .4rem; }
@media (max-width: 860px) { .am-cta-in { grid-template-columns: 1fr; } }
.am-faq { max-width: 820px; }
.am-faq-item { border-bottom: 1px solid var(--am-line); }
.am-faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; font-weight: 600; color: var(--am-ink); }
.am-faq-item summary::-webkit-details-marker { display: none; }
.am-faq-item summary .am-icon { transition: transform .25s; color: var(--am-red); }
.am-faq-item[open] summary .am-icon { transform: rotate(180deg); }
.am-faq-a p { margin: 0 0 1.1rem; }

.am-contact { position: relative; padding-block: clamp(3rem, 7vw, 5.5rem); overflow: hidden; }
.am-contact-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; z-index: -1; }
.am-contact::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .15)); z-index: -1; }
.am-contact-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.am-contact-info { background: #fff; padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--am-shadow); font-size: .95rem; }
.am-contact-info p { margin: 0 0 1.1rem; }
.am-contact-info a { color: var(--am-ink); }
@media (max-width: 860px) { .am-contact-in { grid-template-columns: 1fr; } }
.am-form { display: grid; gap: .9rem; }
.am-field { margin: 0; display: grid; gap: .3rem; }
.am-field label { font-size: .85rem; font-weight: 500; color: var(--am-ink); }
.am-field input, .am-field textarea, .am-field select { width: 100%; font: inherit; font-size: 1rem; color: var(--am-ink); padding: .8rem .9rem; border: 1px solid #cfcac5; background: rgba(255, 255, 255, .95); border-radius: var(--am-radius); min-height: 48px; }
.am-field input:focus, .am-field textarea:focus, .am-field select:focus { border-color: var(--am-ink); outline: 2px solid rgba(155, 46, 51, .25); outline-offset: 0; }
.am-field.is-error input, .am-field.is-error textarea { border-color: var(--am-red); }
.am-field .am-err, .am-check .am-err { color: var(--am-red); font-size: .82rem; }
.am-check { display: flex; gap: .6rem; align-items: flex-start; margin: 0; font-size: .88rem; flex-wrap: wrap; }
.am-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--am-red); flex: none; }
.am-check .am-err { flex-basis: 100%; }
.am-form-actions { margin: .3rem 0 0; }
.am-form-msg { margin: 0; font-size: .95rem; }
.am-form-msg.is-ok { color: #2f6b3a; font-weight: 500; padding: 1rem; background: #eef6ef; }
.am-form-msg.is-err { color: var(--am-red); }
.am-form.is-sent .am-field, .am-form.is-sent .am-check, .am-form.is-sent .am-form-actions { display: none; }
.am-map { background: var(--am-paper); min-height: 360px; display: grid; }
.am-map iframe { width: 100%; height: 420px; border: 0; display: block; }
.am-map-placeholder { display: grid; place-items: center; text-align: center; padding: 2rem; align-content: center; gap: .3rem; }
.am-map-placeholder .am-icon { width: 34px; height: 34px; color: var(--am-red); }
.am-map-placeholder p { margin: 0; }

/* ---------- Süti-ablak ---------- */
.am-consent { position: fixed; left: 16px; bottom: 16px; z-index: 150; width: min(420px, calc(100% - 32px)); background: #fff; color: var(--am-text); padding: 1.3rem 1.4rem; box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .45); font-size: .88rem; border-top: 3px solid var(--am-red); }
.am-consent[hidden] { display: none; }
.am-consent-t { font-weight: 600; color: var(--am-ink); margin: 0 0 .3rem; }
.am-consent p { margin: 0 0 .8rem; }
.am-consent-opts { display: grid; gap: .4rem; margin: 0 0 .8rem; }
.am-consent-opts label { display: flex; gap: .5rem; align-items: center; }
.am-consent-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 !important; }
.am-consent-actions .am-btn { min-height: 40px; padding: .5em 1em; font-size: .85rem; }

/* ---------- 404, keresés ---------- */
.am-404 { padding: calc(var(--am-header-h) + 2rem) 0 5rem; background: repeating-linear-gradient(0deg, transparent 0 39px, var(--am-paper) 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, var(--am-paper) 39px 40px); }
.am-404 .am-title { font-size: clamp(1.8rem, 4vw, 2.8rem); max-width: 18ch; }
.am-404-links { display: flex; flex-wrap: wrap; gap: .6rem; }
.am-search { padding-block: 3rem 5rem; }
.am-search-form { display: flex; gap: .6rem; max-width: 560px; margin-top: 1rem; }
.am-search-form input { flex: 1; font: inherit; padding: .7rem .9rem; border: 1px solid #cfcac5; min-height: 48px; }

/* ---------- Mozgás: ami belép a képbe, finoman (egyszer) ---------- */
.am-js .am-reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--am-ease), transform .8s var(--am-ease); }
.am-js .am-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.am-js .am-reveal { opacity: 1; transform: none; }
}
@media print {
	.am-header, .am-footer, .am-consent, .am-cta { display: none !important; }
}

/* galéria a cikk végén (Blog: szaklapos megjelenések, kiállítások) */
.am-prose .am-collage { width: 100%; columns: 3 200px; column-gap: 10px; margin: 2rem 0; }
.am-prose .am-collage-item { margin-bottom: 10px; }

/* ---------- Cikk-elemek (Isti 2. köre): bevezető, kép a szövegben, parallax, műszaki rajz, videós sáv ---------- */
.am-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.am-article .iu-col { display: flow-root; }
.am-article h2.iu-heading { clear: both; padding-top: .4rem; }
.am-article h2.iu-heading::before { content: ''; display: block; width: 36px; height: 2px; background: var(--am-red); margin-bottom: .9rem; }
.am-article .iu-text { font-size: 1.04rem; line-height: 1.75; text-wrap: pretty; hyphens: auto; }
p.am-lead { font-size: clamp(1.12rem, 1.5vw, 1.28rem); line-height: 1.65; color: var(--am-ink-2); }
.am-article p.am-lead::first-letter { font-family: var(--am-serif); float: left; font-size: 3.6em; line-height: .86; margin: .06em .14em 0 0; color: var(--am-red); }
p.am-inline-cta { font-weight: 500; color: var(--am-ink); }
p.am-inline-cta a { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; transition: color .2s; }
p.am-inline-cta a:hover { color: var(--am-red-dark); }

.am-fig { margin: .6rem 0 1.8rem; }
.am-fig-link { display: block; overflow: hidden; background: var(--am-paper); }
.am-fig img { display: block; width: 100%; height: auto; transition: transform 1.2s var(--am-ease); }
.am-fig-link:hover img { transform: scale(1.03); }
.am-fig figcaption { font-size: .82rem; line-height: 1.5; color: var(--am-muted); margin-top: .6rem; padding-left: .8rem; border-left: 2px solid var(--am-red); }
@media (min-width: 900px) {
	.am-fig-right { float: right; width: min(46%, 420px); margin: .4rem 0 1.4rem 2.4rem; }
	.am-fig-left { float: left; width: min(46%, 420px); margin: .4rem 2.4rem 1.4rem 0; }
}
@media (min-width: 1280px) {
	.am-fig-right { margin-right: -150px; }
	.am-fig-left { margin-left: -150px; }
}
.am-fig-wide { --w: min(1080px, 100vw - 2 * var(--am-gutter)); width: var(--w); margin: 2.6rem 0 2.6rem calc((100% - var(--w)) / 2); }

.am-px { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: end; min-height: clamp(420px, 82vh, 780px); color: #fff; background: var(--am-blueprint); }
.am-px-media { position: absolute; inset: -14% 0; z-index: -2; }
.am-px-img { width: 100%; height: 100%; object-fit: cover; transform: translate3d(0, var(--px, 0), 0); will-change: transform; }
.am-px::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 13, 18, .05) 0%, rgba(16, 13, 18, .2) 45%, rgba(16, 13, 18, .8) 100%), linear-gradient(90deg, rgba(16, 13, 18, .45), rgba(16, 13, 18, 0) 65%); }
.am-px-in { padding-block: clamp(3rem, 9vw, 6.5rem); }
.am-px .am-eyebrow { color: #f0c2c4; }
.am-px-text { font-family: var(--am-serif); font-size: clamp(1.55rem, 3.3vw, 2.7rem); line-height: 1.22; max-width: 25ch; margin: 0; color: #fff; text-wrap: balance; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.am-px-link { margin: 1.6rem 0 0; }

.am-bp { position: relative; overflow: hidden; background: #fff; color: var(--am-ink); padding-block: clamp(3rem, 7vw, 6rem); border-block: 1px solid var(--am-line); }
.am-bp::before { content: ''; position: absolute; inset: -60px 0; background-image: linear-gradient(rgba(36, 31, 38, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(36, 31, 38, .05) 1px, transparent 1px); background-size: 24px 24px; transform: translate3d(0, calc(var(--drift, 0px) * -.6), 0); pointer-events: none; }
.am-bp-in { position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 4vw, 4.5rem); align-items: center; }
.am-bp-text { font-family: var(--am-serif); font-size: clamp(1.3rem, 2.1vw, 1.8rem); line-height: 1.32; color: var(--am-ink); margin: 0 0 1.2rem; text-wrap: balance; }
.am-bp-sheet { position: relative; margin: 0; padding: 12px; background: #fff; border: 1px solid rgba(36, 31, 38, .55); box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 6px rgba(36, 31, 38, .22); transform: translate3d(0, calc(var(--drift, 0px) * .25), 0); }
.am-bp-svg { display: block; width: 100%; height: auto; }
.am-bp-svg .bp-l { fill: none; stroke: var(--am-ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.am-bp-svg .bp-thin { stroke-width: .8; }
.am-bp-svg .bp-d { fill: none; stroke: var(--am-red); stroke-width: .8; }
.am-bp-svg .bp-x { fill: none; stroke: rgba(36, 31, 38, .45); stroke-width: .6; }
.am-bp-svg .bp-h { fill: none; stroke: rgba(36, 31, 38, .5); stroke-width: .8; stroke-dasharray: 5 4; }
.am-bp-svg .bp-cut { stroke-dasharray: 14 4 2 4; stroke: var(--am-red); }
.am-bp-svg .bp-wall { stroke: none; }
.am-bp-svg pattern line { stroke: rgba(36, 31, 38, .42); stroke-width: .8; }
.am-bp-svg .bp-gap { fill: #fff; }
.am-bp-svg .bp-tri { fill: rgba(155, 46, 51, .06); stroke: var(--am-red); stroke-width: 1.2; stroke-dasharray: 7 5; }
.am-bp-svg .bp-dot { fill: var(--am-ink); }
.am-bp-svg .bp-dot-red { fill: var(--am-red); }
.am-bp-svg text { font-family: var(--am-font); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.am-bp-svg .bp-t { font-size: 12.5px; fill: var(--am-ink-2); letter-spacing: .02em; }
.am-bp-svg .bp-t-red { fill: var(--am-red); font-weight: 500; }
.am-bp-svg .bp-n { font-size: 11.5px; fill: var(--am-red); font-variant-numeric: tabular-nums; }
.am-bp-svg .bp-pen { fill: var(--am-red); opacity: 0; transition: opacity .6s; filter: drop-shadow(0 0 6px rgba(155, 46, 51, .55)); }
.am-bp.is-penning .bp-pen { opacity: 1; }
.am-bp-stamp { display: flex; flex-wrap: wrap; width: max-content; max-width: 100%; margin: 10px 0 0 auto; border: 1px solid rgba(36, 31, 38, .55); background: #fff; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--am-ink-2); }
.am-bp-stamp span { display: flex; align-items: center; padding: .4rem .7rem; }
.am-bp-stamp span + span { border-left: 1px solid rgba(36, 31, 38, .25); }
.am-bp-stamp .am-bp-brand { font-family: var(--am-serif); font-size: .92rem; letter-spacing: .04em; text-transform: none; color: var(--am-ink); }
/* megrajzolódás: csak JS-sel indul üres lapról */
.am-bp.is-armed .bp-l, .am-bp.is-armed .bp-d { stroke-dasharray: 1; stroke-dashoffset: 1; }
.am-bp.is-armed .bp-x, .am-bp.is-armed .bp-h, .am-bp.is-armed .bp-tri, .am-bp.is-armed text, .am-bp.is-armed .bp-dot, .am-bp.is-armed .bp-wall { opacity: 0; }
.am-bp.is-armed.is-drawn .bp-l, .am-bp.is-armed.is-drawn .bp-d { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--am-ease) calc(var(--i) * 22ms); }
.am-bp.is-armed.is-drawn .bp-x, .am-bp.is-armed.is-drawn .bp-h, .am-bp.is-armed.is-drawn .bp-tri, .am-bp.is-armed.is-drawn text, .am-bp.is-armed.is-drawn .bp-dot, .am-bp.is-armed.is-drawn .bp-wall { opacity: 1; transition: opacity .7s ease calc(var(--i) * 22ms + .5s); }
.am-bp-real { position: relative; display: block; overflow: hidden; cursor: zoom-in; background: #fff; }
.am-bp-real img { display: block; width: 100%; height: auto; }
.am-bp-real::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent calc(100% - 2px), var(--am-red) 0); opacity: 0; transform: translate3d(-100%, 0, 0); pointer-events: none; }
.am-bp-note { font-size: .82rem; color: var(--am-muted); margin: -.4rem 0 1.2rem; }
.am-bp-stamp a { display: flex; align-items: center; padding: .4rem .7rem; border-left: 1px solid rgba(36, 31, 38, .25); color: var(--am-red); text-decoration: none; }
.am-bp-stamp a:hover { background: var(--am-paper); }
.am-bp.is-armed .am-bp-real img { clip-path: inset(0 100% 0 0); }
.am-bp.is-armed.is-drawn .am-bp-real img { clip-path: inset(0 0 0 0); transition: clip-path 3.2s cubic-bezier(.45, .05, .25, 1) .2s; }
.am-bp.is-armed.is-drawn .am-bp-real::after { animation: am-sheet-scan 3.2s cubic-bezier(.45, .05, .25, 1) .2s both; }
@keyframes am-sheet-scan { 0% { opacity: 1; transform: translate3d(-100%, 0, 0); } 94% { opacity: 1; } 100% { opacity: 0; transform: translate3d(0, 0, 0); } }
.am-bp.is-armed .am-bp-stamp { opacity: 0; transform: translateY(6px); transition: opacity .8s var(--am-ease), transform .8s var(--am-ease); transition-delay: calc(var(--n) * 22ms + .6s); }
.am-bp.is-armed.is-drawn .am-bp-stamp { opacity: 1; transform: none; }

.am-vband { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: clamp(460px, 84vh, 840px); color: #fff; background: var(--am-blueprint); }
.am-vband-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.am-vband::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16, 13, 18, .78) 0%, rgba(16, 13, 18, .45) 42%, rgba(16, 13, 18, .05) 75%), linear-gradient(0deg, rgba(16, 13, 18, .35), transparent 40%); }
.am-vband-in { padding-block: 5rem; }
.am-vband-in > * { max-width: 560px; }
.am-vband .am-eyebrow { color: #f0c2c4; }
.am-vband-title { font-family: var(--am-serif); font-weight: 400; font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.1; color: #fff; margin: 0 0 1rem; text-wrap: balance; }
.am-vband-text { color: rgba(255, 255, 255, .88); font-size: 1.05rem; line-height: 1.7; margin: 0 0 1.6rem; }
.am-vband-toggle { position: absolute; right: var(--am-gutter); bottom: 1.4rem; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); background: rgba(16, 13, 18, .35); color: #fff; cursor: pointer; display: grid; place-items: center; }
.am-vband-toggle i { width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.am-vband.is-paused .am-vband-toggle i { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }
.am-vband-toggle:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@media (max-width: 899px) {
	.am-bp-in { grid-template-columns: 1fr; }
	.am-bp-stamp { font-size: .6rem; }
	.am-bp-stamp span { padding: .35rem .5rem; }
	.am-bp-sheet { padding: 6px; }
	.am-px { min-height: 72vh; }
}
@media (prefers-reduced-motion: reduce) {
	.am-px-img, .am-bp::before, .am-bp-sheet { transform: none !important; }
	.am-fig img { transition: none; }
}
.am-teaser-photo { margin: .6rem 0 0; font-size: .92rem; }
