/** Owns the Home page's base layout: the hero, client logos, chapter panels, their responsive rules and entrance motion. One linked sheet; the chapter content and finishing details live in home-chapters.css and home-details.css. */
/* Chapter basics: the scene media, shared heading and link shapes and the first layout of each Home chapter (kept ahead of the chapter sections below, which refine them). */
.tone-soft{color:var(--soft)}
.scene-media{position:absolute;inset:-4%;pointer-events:none;overflow:hidden;background:var(--ink);transform-origin:center;isolation:isolate}
.scene-media img,.scene-media video{position:absolute;width:100%;height:100%;object-fit:cover;object-position:var(--position,50% 50%);transform:scale(var(--crop,1))}
.scene-media video{visibility:visible;z-index:0}
.scene-media img{z-index:1}
.scene-media.is-ready img{visibility:hidden}
.scene-media::after{z-index:2}
.scene-media::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#05050580,#0505051a),linear-gradient(0deg,#050505c2,transparent 72%)}
.chapter--studio .scene-media::after{background:linear-gradient(90deg,#101010a6,#16161640),linear-gradient(0deg,#131313b3,transparent)}
.chapter--clients .scene-media::after{background:#101010c7}
.chapter--services .scene-media::after{background:linear-gradient(90deg,#030303a6,#03030380),linear-gradient(0deg,#03030370,transparent)}
.chapter--work .scene-media::after{background:linear-gradient(90deg,#0303036b,#03030366),linear-gradient(0deg,#030303de,transparent 95%)}
.chapter--contact .scene-media::after{background:linear-gradient(90deg,#030303a6,#03030366),linear-gradient(0deg,#030303b3,transparent)}
.chapter-content{position:relative;z-index:1;min-height:100svh;padding:132px var(--edge) 100px}
.status-dot{width:6px;height:6px;border-radius:50%;background:var(--accent);box-shadow:0 0 14px #ffffff3b}
.hero-country{color:var(--soft);font-weight:800}
.studio-content{display:flex;flex-direction:column;justify-content:space-between;gap:32px}
.display-title{font-size:calc(clamp(46px,5.25vw,88px) * var(--sx-title-scale,1));line-height:1.12}
.studio-note{display:flex;align-self:flex-end;align-items:center;gap:24px;max-width:520px;margin-top:2px}
.studio-note p{font-size:calc(clamp(15px,1.35vw,20px) * var(--sx-copy-scale,1));line-height:1.6;color:#d5d5d5}
.text-link{display:inline-flex;gap:24px;align-items:center;min-height:44px;font-size:calc(11px * var(--sx-copy-scale,1));font-weight:600;border-bottom:1px solid #ffffff5c}
.text-link span{font-size:20px;transition:transform .2s}
.text-link:hover span{transform:translate(3px,-3px)}
.section-heading{display:grid;grid-template-columns:1fr 1fr;column-gap:50px;align-items:end}
.section-heading .eyebrow{grid-column:1/-1;margin-bottom:20px}
.section-heading h2{font-size:calc(clamp(34px,3.9vw,66px) * var(--sx-title-scale,1))}
.chapter--clients em{color:var(--brand-yellow)}
.clients-content{padding-top:120px;padding-bottom:95px}
.client-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));list-style:none;margin:32px 0 0;padding:0;border-top:1px solid #ffffff30}
.client-grid li{display:grid;place-items:center;min-width:0;height:64px;border-bottom:1px solid #ffffff24}
.client-grid img{width:78%;max-width:106px;height:36px;object-fit:contain;filter:brightness(0) invert(1);opacity:.82}
.services-content{display:grid;grid-template-columns:1fr 1.12fr;gap:8vw;align-items:center}
.services-intro .eyebrow{margin-bottom:29px}
.services-intro h2{font-size:calc(clamp(42px,4.8vw,78px) * var(--sx-title-scale,1))}
.chapter--work em{color:var(--brand-yellow)}
.contact-content{display:flex;flex-direction:column;justify-content:space-between;gap:36px}
.chapter--contact em{color:var(--soft)}
.noscript-message{position:fixed;bottom:0;background:#090909;padding:20px;z-index:60}

/* ── Közös · minden fejezet ── */
@media(min-width:1700px){.chapter-content{padding-top:175px;padding-bottom:135px}}
@media(max-width:1050px){
  :root{--edge:40px}
  .chapter-content{padding-top:130px;padding-bottom:100px}
  .work-layout{gap:6vw}
}
@media(max-width:700px){
  :root{--edge:24px}
  .chapter-content{padding:125px var(--edge) 100px}.eyebrow{font-size:calc(8px * var(--sx-copy-scale,1));letter-spacing:.1em;gap:9px}.display-title{font-size:calc(9.1vw * var(--sx-title-scale,1));line-height:1.15}.text-link{font-size:calc(9px * var(--sx-copy-scale,1));gap:18px}.section-heading{grid-template-columns:1fr;gap:0}.section-heading .eyebrow{margin-bottom:22px}.section-heading h2{font-size:calc(9.1vw * var(--sx-title-scale,1))}
  .work-content{justify-content:center;gap:38px}.work-layout{grid-template-columns:1fr;gap:46px}footer{padding-top:24px;gap:10px;margin-top:15px}footer img{width:80px;height:24px}footer>span{font-size:calc(8px * var(--sx-copy-scale,1))}footer>a:last-child{font-size:calc(8px * var(--sx-copy-scale,1))}
}
@media(max-width:360px){:root{--edge:20px}.text-link{font-size:calc(8px * var(--sx-copy-scale,1))}}
@media(min-width:701px) and (max-height:650px){.display-title{font-size:calc(4.7vw * var(--sx-title-scale,1))}
}
html[data-chapter-mode=cinema]{scrollbar-width:none}
html[data-chapter-mode=cinema]::-webkit-scrollbar{display:none}
[data-chapter-mode=cinema] #chapters{overflow:visible}
[data-chapter-mode=cinema] .chapter{position:fixed;inset:0;width:100%;height:100dvh;min-height:0;overflow:hidden;z-index:1}
[data-chapter-mode=cinema] .chapter-frame{height:100%;min-height:0;overflow:visible}
[data-chapter-mode=cinema] .chapter-content{min-height:100dvh}
[data-chapter-mode=cinema] .scene-media{inset:0}
[data-chapter-mode=cinema][data-film-renderer=webgl] .chapter-frame{background:transparent}
[data-chapter-mode=cinema][data-film-renderer=webgl] .scene-media{visibility:hidden}
[data-chapter-mode=cinema][data-film-renderer=webgl] .scene-media video{visibility:hidden}
[data-chapter-mode=cinema] .chapter[data-entrance-ready=false] .chapter-content{visibility:hidden}
.chapter [data-reveal]{transform-origin:left center}
.chapter [data-reveal=logo]{transform-origin:center}
.chapter [data-reveal-state=waiting]{opacity:0}
.chapter [data-reveal-state=visible]{opacity:1}
.home-surface-page .gallery-edge-focus{z-index:20}
.home-surface-page .work-edit-tools{right:22px}
.home-surface-page .home-optical-tools{z-index:65}
.chapter [data-reveal]:focus-visible,.chapter [data-reveal]:focus-within{opacity:1!important;transform:none!important;clip-path:none!important;filter:none!important}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}.scene-media,.chapter-content,.chapter [data-reveal]{transform:none!important;clip-path:none!important;opacity:1!important;filter:none!important;will-change:auto}}
.motif-ai{font:800 42px Syne,Arial,sans-serif;letter-spacing:-.07em;fill:currentColor;stroke:none}
@media(prefers-reduced-motion:reduce){.service-arrow,.work-gallery-link span,.services-page-link svg,.work-preview-plane{transition:none!important;transform:none!important}}

/* ── Nyitóoldal · #home ── */
@media(max-width:1050px){.hero-content{gap:27px}
  .hero-brand,.hero-country{font-size:calc(7.5vw * var(--sx-title-scale,1))}.hero-service{font-size:calc(4.8vw * var(--sx-title-scale,1))}
}
@media(max-width:700px){
  .hero-content{justify-content:flex-end;gap:28px}.hero-content h1{line-height:1.12;letter-spacing:-.025em}
  .hero-brand{font-size:calc(10.2vw * var(--sx-title-scale,1))}.hero-country{font-size:calc(9.25vw * var(--sx-title-scale,1))}.hero-service{font-size:calc(8.2vw * var(--sx-title-scale,1));line-height:1.12;margin:11px 0 13px}.hero-service br{display:block}
}
@media(max-width:360px){.hero-brand{font-size:calc(10vw * var(--sx-title-scale,1))}.hero-country{font-size:calc(9.25vw * var(--sx-title-scale,1))}}
@media(min-width:701px) and (max-height:650px){.hero-content{gap:20px}.hero-brand,.hero-country{font-size:calc(6.2vw * var(--sx-title-scale,1))}.hero-service{font-size:calc(4.1vw * var(--sx-title-scale,1))}
}
.home-surface-page:not(.home-surface-handoff) #chapters[data-home-surface-active=true] .work-preview-window{opacity:0!important}
#home{--hero-edge:clamp(24px,4.2vw,84px);--hero-left:var(--edge)}
#home .hero-content{height:100svh;min-height:620px;padding:0 var(--hero-edge) 0 var(--hero-left);display:flex;flex-direction:row;align-items:flex-end;justify-content:flex-start;gap:0;font-family:var(--sx-copy-font,Manrope,Arial,sans-serif)}
#home .hero-copy{width:100%;padding-bottom:20svh}
#home .eyebrow{margin:0 0 24px;font-size:calc(11px * var(--sx-copy-scale,1));font-weight:500;letter-spacing:.16em;line-height:normal;gap:10px}
#home .status-dot{flex:0 0 6px;background:#FF3333;box-shadow:0 0 12px #ff333333}
#home h1{font-family:var(--sx-title-font,Syne,Arial,sans-serif);font-weight:800;margin:0;letter-spacing:-.055em;line-height:.91;text-transform:uppercase}
#home h1>span{display:block;font-weight:800}
#home .hero-brand{font-size:calc(clamp(42px,5.28vw,100.8px) * var(--sx-title-scale,1));margin:0;color:var(--paper)}
#home .hero-service{font-size:calc(clamp(19.2px,2.13vw,42px) * var(--sx-title-scale,1));letter-spacing:-.045em;line-height:inherit;margin:8px 0 0;color:var(--brand-yellow)}
#home .hero-country{font-size:calc(clamp(16.2px,2.13vw,42px) * var(--sx-title-scale,1));color:#ffffff85;letter-spacing:-.045em;margin:5px 0 0}
#home .hero-floor{position:absolute;bottom:38px;left:var(--hero-left);right:var(--hero-edge);display:flex;justify-content:space-between;align-items:center;font-size:calc(10px * var(--sx-copy-scale,1));letter-spacing:.08em;text-transform:uppercase;color:#ffffff90}
@media(max-width:1000px){#home{--hero-edge:30px;--hero-left:40px}#home .hero-brand{font-size:calc(5.04vw * var(--sx-title-scale,1))}#home .hero-service,#home .hero-country{font-size:calc(2.04vw * var(--sx-title-scale,1))}}
@media(max-width:650px){
  #home{--hero-edge:22px;--hero-left:22px}
  #home .hero-content{min-height:560px}
  #home .hero-copy{padding-bottom:29svh}
  #home .eyebrow{font-size:calc(8px * var(--sx-copy-scale,1));letter-spacing:.1em;gap:8px;margin-bottom:20px}
  #home .hero-brand{font-size:calc(clamp(28px,6.54vw,43.2px) * var(--sx-title-scale,1));letter-spacing:-.06em}
  #home .hero-service{font-size:calc(clamp(14px,3.03vw,20.4px) * var(--sx-title-scale,1));margin-top:6px}
  #home .hero-country{font-size:calc(clamp(14px,3.03vw,20.4px) * var(--sx-title-scale,1));margin-top:4px}
  #home .hero-floor{bottom:110px;font-size:calc(8px * var(--sx-copy-scale,1))}
  #home .hero-scroll-cue{font-size:calc(8px * var(--sx-copy-scale,1))}
}
@media(max-width:360px){#home{--hero-edge:18px;--hero-left:18px}#home .eyebrow{font-size:calc(7px * var(--sx-copy-scale,1))}}
@media(max-height:600px) and (min-width:651px){#home .hero-content{min-height:520px}#home .hero-copy{padding-bottom:20vh}#home .hero-brand{font-size:calc(42px * var(--sx-title-scale,1))}#home .hero-service,#home .hero-country{font-size:calc(18px * var(--sx-title-scale,1))}#home .eyebrow{margin-bottom:18px}#home .hero-floor{bottom:18px}}

/* ── Stúdió · #studio ── */
@media(max-width:700px){
  .studio-content{justify-content:center;gap:40px}.studio-note{align-self:flex-start;margin-top:20px;gap:17px}.studio-note p{font-size:calc(13px * var(--sx-copy-scale,1));line-height:1.65}
}
@media(max-width:360px){.studio-note{gap:12px}.studio-note p{font-size:calc(12px * var(--sx-copy-scale,1))}}
@media(min-width:701px) and (max-height:650px){.studio-content{gap:22px}.studio-note p{font-size:calc(15px * var(--sx-copy-scale,1))}
}

/* ── Szolgáltatások · #services ── */
@media(max-width:1050px){
  .services-content{gap:5vw}.service-link{padding:24px 0;gap:10px}.service-link h3{font-size:calc(15px * var(--sx-copy-scale,1))}
}
@media(max-width:700px){
  .services-content{grid-template-columns:1fr;gap:40px;padding-top:120px}.services-intro .eyebrow{margin-bottom:24px}.services-intro h2{font-size:calc(10vw * var(--sx-title-scale,1))}.service-link{padding:22px 0;grid-template-columns:24px 1fr 23px}.service-link h3{font-size:calc(15px * var(--sx-copy-scale,1))}.service-link p{font-size:calc(10px * var(--sx-copy-scale,1))}.service-list{margin-top:0}.work-layout h2{font-size:calc(10.5vw * var(--sx-title-scale,1))}
}
@media(max-width:360px){.service-link h3{font-size:calc(13px * var(--sx-copy-scale,1))}.service-link p{font-size:calc(9px * var(--sx-copy-scale,1))}}
@media(min-width:701px) and (max-height:650px){.service-link{padding:18px 0}
}
#services .services-content{grid-template-columns:.86fr 1.25fr;gap:6vw;padding-top:110px;padding-bottom:60px;padding-right:0}
.services-portal{min-width:0;padding-right:var(--edge)}
.services-page-link{gap:32px;margin-top:16px;font-size:calc(12px * var(--sx-copy-scale,1));min-height:58px}
.services-page-link svg{width:64px;height:24px;stroke:currentColor;stroke-width:1.2;transition:transform .35s}
.services-page-link:hover svg{transform:translateX(7px)}
#services .service-link{grid-template-columns:clamp(100px,10vw,175px) minmax(0,1fr) 20px;gap:20px;padding:14px 0;align-items:center}
#services .service-link:hover{padding-left:0}
.service-motion{display:block;aspect-ratio:16/9;color:var(--brand-yellow)}
.service-motion svg{display:block;width:100%;height:100%;overflow:visible;stroke-width:1.8}
.service-copy{position:relative;display:block}
#services .service-number{display:block;margin:0 0 5px;font-size:calc(8px * var(--sx-copy-scale,1));letter-spacing:.12em}
#services .service-link h3{font-size:calc(clamp(14px,1.26vw,21px) * var(--sx-copy-scale,1));margin:0 0 6px;line-height:1.2}
#services .service-link p{font-size:calc(10px * var(--sx-copy-scale,1));line-height:1.4;max-width:240px}
#services .services-intro h2 em{color:var(--brand-yellow)}
#services .service-arrow{font-size:27px;transition:transform .3s}
.service-link:is(:hover,:focus-visible) .service-arrow{transform:translateX(7px)}
@media(min-width:1700px){#services .service-link{padding:15px 0}}
@media(max-width:1050px){#services .services-content{gap:4vw}#services .service-link{grid-template-columns:100px minmax(0,1fr) 16px;gap:13px}}
@media(max-width:700px){
  #services .services-content{grid-template-columns:1fr;gap:32px;padding-top:110px;padding-bottom:65px}
  #services .service-link{grid-template-columns:92px minmax(0,1fr) 15px;gap:14px;padding:13px 0}
  #services .service-link h3{font-size:calc(14px * var(--sx-copy-scale,1))}#services .service-link p{font-size:calc(9px * var(--sx-copy-scale,1))}#services .service-number{font-size:calc(7px * var(--sx-copy-scale,1))}
}
@media(max-width:360px){#services .service-link{grid-template-columns:90px minmax(0,1fr) 12px;gap:10px}#services .service-link h3{font-size:calc(12px * var(--sx-copy-scale,1))}}
.services-page{background:#101010}
@media(max-width:700px){.services-page-link{font-size:calc(11px * var(--sx-copy-scale,1));gap:28px}.services-page-link svg{width:58px}}

/* ── Márkák · #clients ── */
@media(min-width:1700px){.client-grid li{height:76px}}
@media(max-width:1050px){.client-grid{grid-template-columns:repeat(6,1fr)}.client-grid li{height:61px}
}
@media(max-width:700px){
  .clients-content{padding-top:120px}.client-grid{margin-top:30px}.client-grid li{height:59px}.client-grid img{height:31px;max-width:78px}
}
@media(max-width:360px){.client-grid li{height:54px}}
@media(min-width:701px) and (max-height:650px){
  .chapter-content{padding-top:110px;padding-bottom:90px}.client-grid{margin-top:24px}.client-grid li{height:50px}
}
.client-grid{--mark-scale:.91}
.client-grid .client-mark{position:relative;display:block;width:calc(var(--mark-width)*var(--mark-scale));height:calc(var(--mark-height)*var(--mark-scale))}
.client-grid .client-mark img{position:absolute;left:calc(var(--image-left)*var(--mark-scale));top:calc(var(--image-top)*var(--mark-scale));width:calc(var(--image-width)*var(--mark-scale));height:calc(var(--image-height)*var(--mark-scale));max-width:none;object-fit:fill;transition:transform .25s cubic-bezier(.2,.7,.3,1),opacity .25s}
@media(hover:hover){.client-grid li:hover .client-mark img{transform:translateY(-2px) scale(1.04);opacity:1}}
@media(min-width:1700px){.client-grid{--mark-scale:.96}}
@media(max-width:700px){.client-grid{grid-template-columns:repeat(3,minmax(0,1fr));--mark-scale:.66}}
@media(max-width:360px){.client-grid{--mark-scale:.6}}
@media(prefers-reduced-motion:reduce){.client-grid .client-mark img{transition:none;transform:none!important}}
#clients .section-heading{display:block}
#clients .section-heading h2{font-size:calc(clamp(34px,3.9vw,66px) * var(--sx-title-scale,1))}
@media(max-width:700px){
  #clients .section-heading h2{font-size:calc(9.1vw * var(--sx-title-scale,1))}
}

/* ── Filmek · #films ── */
.home-surface-page .work-preview-plane{transform:none}
#films .work-content{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(0,1.15fr);align-items:center;justify-content:stretch;gap:5vw;padding-right:0;overflow:clip}
.work-invitation{position:relative;z-index:2;min-width:0;padding-bottom:12px;pointer-events:none}
.work-invitation a{pointer-events:auto}
.work-invitation .eyebrow{margin-bottom:28px}
#films h2{font-size:calc(clamp(43px,5.1vw,88px) * var(--sx-title-scale,1));line-height:1.06}
.work-gallery-link{display:inline-flex;align-items:center;gap:30px;min-height:54px;margin-top:26px;border-bottom:1px solid #ffffff80;font-size:calc(12px * var(--sx-copy-scale,1));font-weight:600}
.work-gallery-link:is(:hover,:focus-visible) span{transform:translateX(7px)}
.work-preview{position:absolute;inset:-10% -12% -10% 42%;width:auto;min-width:0;padding:0;mask-image:linear-gradient(90deg,transparent,#000 8%,#000 60%,transparent 94%),linear-gradient(transparent,#000 14%,#000 84%,transparent);mask-composite:intersect}
.work-preview-window,.work-preview-lens{position:absolute;inset:0;width:100%;height:100%}
.work-preview-plane{position:absolute;inset:0;transform:perspective(1700px) rotateY(-12deg) rotateZ(-3deg);transform-origin:45% 50%}
.work-preview-frame{position:absolute;left:0;top:calc(-150px * var(--gallery-scale,.5));width:1920px;height:1800px;border:0;background:transparent;transform:scale(var(--gallery-scale,.5));transform-origin:top left;pointer-events:none}
.work-preview-haze{position:absolute;inset:0;pointer-events:none;backdrop-filter:blur(6px);mask-image:linear-gradient(90deg,transparent 35%,#000 100%)}
.work-preview-link{position:absolute;inset:0;z-index:2;display:block;outline-offset:-8px}
.work-preview-link:focus-visible{outline:1px solid #fff}
@media(max-width:1050px){.work-invitation .eyebrow{font-size:calc(8px * var(--sx-copy-scale,1))}#films .work-content{gap:30px;grid-template-columns:.95fr 1.05fr}}
@media(max-width:700px){
  #films .work-content{grid-template-columns:minmax(0,1fr);align-content:start;gap:0;padding-top:125px;padding-bottom:440px}
  .work-invitation{padding:0 var(--edge) 0 0}.work-invitation .eyebrow{margin-bottom:20px}
  #films h2{font-size:calc(10.5vw * var(--sx-title-scale,1))}
  .work-gallery-link{margin-top:17px;min-height:48px;font-size:calc(11px * var(--sx-copy-scale,1));gap:30px}
  .work-preview{inset:auto -28% -35px -2%;height:440px;padding:0}
  .work-preview-plane{transform:perspective(1000px) rotateY(-10deg) rotateZ(-4deg)}
  .work-preview-haze{backdrop-filter:blur(4px)}
}
@media(prefers-reduced-motion:reduce){.work-preview-haze{backdrop-filter:none}}

/* ── Kapcsolat · #contact ── */
@media(max-width:700px){
  .contact-content{justify-content:center;gap:40px}.contact-title{gap:5px}.contact-title h2{font-size:calc(8.5vw * var(--sx-title-scale,1))}.contact-title>span{font-size:15vw}
}
@media(max-width:360px){.contact-title h2{font-size:calc(8.5vw * var(--sx-title-scale,1))}}
@media(min-width:701px) and (max-height:650px){.section-heading h2{font-size:calc(3.5vw * var(--sx-title-scale,1))}.services-intro h2{font-size:calc(4.3vw * var(--sx-title-scale,1))}.contact-title h2{font-size:calc(6.8vw * var(--sx-title-scale,1))}
}
.work-gallery-link span{font-size:25px;transition:transform .3s cubic-bezier(.2,.7,.3,1)}
