/* DevAntalya landing pages only. Loaded after styles.css, which the legal pages
   share. The text rides over a fixed 3D scene drawn by scene.js; without the
   scene the same layout sits on a static poster. No third-party resources. */

html{overflow-x:hidden;overflow-x:clip}
body.landing{background:#0a0d1c;overflow-x:hidden;overflow-x:clip;width:100%}
body.landing::before,body.landing::after{display:none}

/* The fixed backdrop: poster first, canvas fades in over it once it has drawn. */
/* Its height is the large viewport, which stays put when a phone's address bar slides away. */
.scene{position:fixed;top:0;left:0;right:0;height:100vh;height:100lvh;z-index:-1;background:#0a0d1c url(poster.jpg) center/cover no-repeat}
.scene canvas{display:block;width:100%;height:100%;opacity:0;transition:opacity .9s ease}
.gl .scene canvas{opacity:1}
/* Keeps text readable against the bright horizon band. */
.scene::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(to bottom,rgba(8,10,20,.42) 0,rgba(8,10,20,0) 22%,rgba(8,10,20,0) 45%,rgba(8,10,20,.5) 100%)}
html:not(.gl) .scene::after{background:rgba(8,10,20,.45)}

/* Header. It starts with the menu icon and the flags. scene.js draws the brand
   and the two contact buttons over the hero and carries them up here as the
   page scrolls; "powered by" follows the brand, and the flags make room. */
.landing header.site{background:rgba(8,10,20,.5);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:0}
.brandline{display:flex;align-items:center;min-width:0}
.landing header.site .brand img,.landing header.site .brand .word{display:block;transform-origin:50% 50%}
.landing header.site .brand .word{white-space:nowrap;letter-spacing:-.03em}
.powered{display:flex;align-items:center;gap:6px;margin-left:14px;padding-left:14px;border-left:1px solid var(--line-2);
  font-size:.8rem;color:var(--ink-2);white-space:nowrap}
.powered img{width:22px;height:22px;display:block}
.powered .who{color:var(--ink);font-weight:600}
.powered:hover{text-decoration:none;color:var(--ink)}
.powered:hover .who{color:var(--brand-2)}

.tools{position:relative;display:flex;align-items:center;gap:14px;margin-left:auto}
.landing .tools .langs{margin-left:0}
.quick{display:flex;gap:8px}
.landing .quick .btn{padding:7px 14px;font-size:.84rem;gap:7px;white-space:nowrap}
.landing .quick .btn svg{width:15px;height:15px}

/* Docking parts stay hidden until the script has placed them. Without the
   dock (reduced motion, no JavaScript) they simply sit in the header. */
.landing .dockable{opacity:0}
.powered,.quick .btn{pointer-events:none}
.brand-on .landing .dockable{opacity:1}
.brand-on:not(.brand-live) .powered,.brand-on:not(.brand-live) .quick .btn{pointer-events:auto}
.brand-live .hero .mark,.brand-live .hero h1{opacity:0}

/* Menu: opened by the icon, the logo or the name. A <details>, so it needs no script. */
.menu{position:relative}
.menu>summary{list-style:none;cursor:pointer;border-radius:8px}
.menu>summary::-webkit-details-marker{display:none}
.burger{width:22px;height:22px;flex:none;opacity:.85;transition:color .15s}
.menu>summary:hover .burger,.menu[open] .burger{color:var(--brand);opacity:1}
.menu-panel{position:absolute;top:calc(100% + 16px);left:0;z-index:30;display:grid;gap:2px;min-width:240px;padding:10px;border-radius:14px;
  background:#0b0d19;box-shadow:0 0 0 1px rgba(255,255,255,.12),0 18px 50px rgba(0,0,0,.6)}
.menu-panel a,.menu-panel .cur{display:block;padding:9px 12px;border-radius:8px;color:var(--ink);font-size:.96rem;font-weight:500}
.menu-panel a:hover{background:rgba(255,255,255,.08);color:var(--ink);text-decoration:none}
.menu-panel hr{width:auto;border:0;border-top:1px solid var(--line);margin:6px 4px}
.menu-panel .small{display:grid;gap:2px}
.menu-panel .small a{font-size:.87rem;color:var(--ink-2)}
.menu-panel .lang-row{display:flex;gap:4px}
.menu-panel .lang-row>*{flex:1;text-align:center;font-size:.87rem;padding:8px 6px}
.menu-panel .cur{color:var(--brand);background:rgba(255,87,34,.10)}

/* Chapters: one thought per screen, set low so the sky stays open above. */
.landing main section{padding:0;border-top:0}
.landing .chapter{min-height:92vh;min-height:92svh;display:flex;align-items:flex-end;padding:0 0 13vh}
.landing .chapter .wrap{display:flex}
.landing .chapter.right .wrap{justify-content:flex-end}

.panel{position:relative;max-width:35rem;text-shadow:0 1px 14px rgba(6,8,16,.75)}
/* A soft pool of dusk behind each block, not a card. */
.panel::before{content:"";position:absolute;inset:-2.5rem -3rem;z-index:-1;border-radius:50%;
  background:rgba(7,9,18,.66);filter:blur(34px);pointer-events:none}

/* Hero: centred over the avenue. */
.landing .chapter.hero{position:relative;min-height:calc(100vh - 64px);min-height:calc(100svh - 64px);
  align-items:center;text-align:center;padding:2vh 0 10vh}
.landing .chapter.hero .wrap{justify-content:center}
.landing .hero .panel{max-width:44rem}
.landing .hero .mark{width:clamp(84px,11vw,112px);margin:0 auto 18px;filter:none}
.landing .hero h1{font-size:clamp(3.1rem,11.5vw,7.2rem);line-height:.96;letter-spacing:-.03em;margin:0 0 22px}
.landing .chapter.hero .lede{margin:0 auto;max-width:36rem;color:var(--ink);font-size:clamp(1.05rem,2.2vw,1.25rem)}
.landing .hero .actions{justify-content:center}
.landing .chapter.hero .status{display:flex;align-items:center;justify-content:center;gap:10px;margin:20px 0 0;color:var(--ink);font-size:.92rem;font-weight:500}
.status .dot{width:8px;height:8px;border-radius:50%;background:var(--brand);box-shadow:0 0 0 4px rgba(255,87,34,.22)}
.landing .btn{background:rgba(12,14,24,.55);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);text-shadow:none}
.landing .btn.primary{background:var(--brand)}
.landing .btn.primary:hover{background:var(--brand-2)}

.landing .chapter h2{font-size:clamp(1.9rem,5vw,3.1rem);line-height:1.06;letter-spacing:-.03em;margin:0 0 16px}
.landing .chapter p{margin:0 0 14px;color:var(--ink);font-size:clamp(1rem,1.9vw,1.14rem);line-height:1.6}
.landing .chapter p:last-child{margin-bottom:0}
.landing .chapter p.aside{opacity:.86;font-size:clamp(.95rem,1.7vw,1.04rem)}

.landing .chapter .actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.landing .btn svg:last-child{margin-left:2px}

/* Sub pages ("places"): no flight, one living view, content in a single column. */
.place .scene{background-image:url(poster-harbour.jpg)}
.place .scene::after{background:linear-gradient(to right,rgba(8,10,20,.62) 0,rgba(8,10,20,.30) 55%,rgba(8,10,20,.05) 100%)}
.landing main .place-main{min-height:calc(100vh - 64px);min-height:calc(100svh - 64px);padding:clamp(28px,6vh,64px) 0 clamp(40px,8vh,80px)}
.place-main .panel{max-width:40rem;margin-bottom:30px}
.place-main h1{font-size:clamp(2rem,5.4vw,3.4rem);line-height:1.05;letter-spacing:-.03em;margin:0 0 14px}
.place-main .lede{margin:0;color:var(--ink);font-size:clamp(1.02rem,2vw,1.18rem)}
.place .back{color:var(--ink);text-shadow:0 1px 10px rgba(6,8,16,.8)}
.project-card{max-width:34rem;padding:26px 26px 28px;border-radius:18px;background:rgba(9,11,22,.66);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 0 0 1px rgba(255,255,255,.08)}
.project-card + .project-card{margin-top:18px}
.project-card h2{margin:0 0 4px;font-size:1.5rem;letter-spacing:-.02em}
.project-card .kind{margin:0 0 14px;color:var(--brand-2);font-weight:600;font-size:.95rem}
.project-card p{margin:0 0 20px;color:var(--ink);line-height:1.6}

/* Scroll cue under the hero. */
.cue{position:absolute;left:50%;bottom:3.2vh;width:22px;height:22px;margin-left:-11px;color:var(--ink);opacity:.75;animation:cue 2.2s ease-in-out infinite}
@keyframes cue{0%,100%{transform:translateY(0)}50%{transform:translateY(7px)}}

/* Contact, out over the water. */
.landing .chapter.contact{min-height:100vh;min-height:100svh;padding-bottom:9vh}
.landing .chapter{scroll-margin-top:64px}
.landing .contact .panel{max-width:50rem}
.landing .contact .panel::before{background:rgba(7,9,18,.5)}
.contact-cols{display:grid;grid-template-columns:1.15fr 1fr;gap:10px 44px;margin-top:26px}
.contact-cols h3{margin:0 0 10px;font-size:1rem;font-weight:650;color:var(--brand-2)}
.landing .kv dt{color:var(--ink-2)}
.landing address{color:var(--ink)}

.landing footer.site{border-top:0;margin-top:0;padding-top:70px;
  background:linear-gradient(to bottom,rgba(6,8,16,0),rgba(6,8,16,.82) 90px)}
.landing footer.site .fine{color:var(--ink-2)}

@media (max-width:760px){
  .landing .chapter{padding-bottom:10vh}
  .landing .chapter.right .wrap{justify-content:flex-start}
  .contact-cols{grid-template-columns:1fr;gap:22px}
  .panel::before{inset:-2rem -12px}        /* must stay inside the gutter, or phones lay the page out too wide */
}
/* Tablets and phones: the header buttons are icons; their labels stay for screen readers. */
@media (max-width:900px){
  .landing .quick .btn{width:36px;height:36px;padding:0;justify-content:center}
  .landing .quick .label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
}
/* Narrow phones: the credit keeps its logo and name. The flags sit where the
   buttons will dock and give way to them; the menu still lists the languages. */
@media (max-width:560px){
  .powered{margin-left:9px;padding-left:9px;gap:5px}
  .powered .by,.powered .who{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .landing header.site .brand{gap:8px}
  .landing header.site .brand img{width:26px;height:26px}
  .landing .tools .langs{position:absolute;right:0;top:50%;margin-top:-9px;gap:8px}
  .landing .langs a,.landing .langs span[aria-current]{width:27px;height:18px}
  .brand-on:not(.brand-live) .landing .tools .langs{display:none}
  .menu-panel{position:fixed;top:72px;left:var(--gut);right:var(--gut);min-width:0}
}

@media (prefers-reduced-motion:reduce){
  .cue{display:none}
}

@media print{
  .scene,.cue{display:none}
  .panel::before{display:none}
  .panel{text-shadow:none}
  .landing .chapter{min-height:0;padding:0 0 24px}
  .landing .dockable{opacity:1}
}
