/* ============================================================
   CPM İstanbul — redesign mockup
   Kinetic editorial · near-black · hot magenta
   ============================================================ */
:root {
  --ink: #0a0a0c;
  --ink-2: #111114;
  --paper: #f3f0e9;
  --paper-dim: rgba(243, 240, 233, 0.55);
  --paper-faint: rgba(243, 240, 233, 0.12);
  --cpm: #ff2e7e;

  /* Montserrat everywhere, final (Yağmur 2026-10-05). Label face: kicker, nav,
     eyebrows, pills, tile meta, footer. */
  --display: "Montserrat", sans-serif;
  --body: "Montserrat", system-ui, sans-serif;
  --label: "Montserrat", system-ui, sans-serif;
  --label-weight: 500;
  --mono: ui-monospace, "SF Mono", Menlo, monospace; /* code only */

  --pad: clamp(20px, 5vw, 72px);
  --maxw: 1500px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: auto; -webkit-font-smoothing: antialiased; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
}

::selection { background: var(--cpm); color: var(--ink); }

a { color: inherit; text-decoration: none; }

em { font-style: normal; color: var(--cpm); }

/* ---- keyboard focus ---- */
:focus-visible {
  outline: 2px solid var(--cpm);
  outline-offset: 4px;
  border-radius: 3px;
}
:focus:not(:focus-visible) { outline: none; }
/* sections and headings focused by in-page links (main.js), not controls */
[tabindex="-1"]:focus { outline: none; }

/* skip link: off-screen until a keyboard user tabs onto it */
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1100;
  padding: 10px 16px; border-radius: 999px; background: var(--paper); color: var(--ink);
  font-family: var(--label); font-weight: 600; font-size: 13px;
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus-visible { transform: none; outline-offset: 2px; }

/* ---- atmosphere ---- */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

#gl {
  position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0;
  pointer-events: none;
}

/* ============================================================
   CUSTOM CURSOR — flow + spot + label (locked 2026-10-05; main.js
   setupCursor). The label disc carries a dark edge (drop-shadow) so it
   reads over cream type AND the magenta point-field. No blend modes:
   difference turns cream into a bright green over magenta (no-neon).
   The compared alternatives live in 2026-2027/archive/cursor-shortlist-2026-10-05/.
   ============================================================ */
.cursor { position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none; display: none;
  opacity: 0; transition: opacity .2s; filter: drop-shadow(0 0 1.5px rgba(10, 10, 12, 0.9)); }
.cursor.is-seen { opacity: 1; }
@media (pointer: coarse) { .cursor { display: none !important; } }
body.cursor-ready { cursor: none; }
body.cursor-ready a, body.cursor-ready button, body.cursor-ready label, body.cursor-ready .tile { cursor: none; }
body.cursor-ready input, body.cursor-ready textarea { cursor: text; }
body.cursor-label .cursor--label { display: block; }

/* ---- Label: solid cream disc, opens into a word over links/tiles ---- */
.label-disc {
  position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 999px;
  background: var(--paper); transform: translate(-50%, -50%);
  display: grid; place-items: center; overflow: hidden;
  transition: width .35s cubic-bezier(.2,.7,.2,1), height .35s cubic-bezier(.2,.7,.2,1), background .25s;
}
.cursor-label-text {
  font-family: var(--label); font-weight: var(--label-weight); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); opacity: 0; transition: opacity .2s; white-space: nowrap;
}
.cursor--label.is-hover .label-disc { width: 56px; height: 56px; background: var(--cpm); }
.cursor--label.is-hover .cursor-label-text { opacity: 1; transition-delay: .1s; }
.cursor--label.is-down .label-disc { transform: translate(-50%, -50%) scale(.9); }

/* ---- Spot: stage follow spot (dim layer between the field and the content) ---- */
.spot-layer {
  position: fixed; top: 0; left: 0; z-index: 1; pointer-events: none;
  width: 300vmax; height: 300vmax; will-change: transform;
  background: radial-gradient(circle at center, rgba(10,10,12,0) 0, rgba(10,10,12,0) 140px, rgba(10,10,12,0.4) 220px, rgba(10,10,12,0.7) 310px, rgba(10,10,12,0.7) 100%);
}

@media (pointer: coarse) { .spot-layer { display: none !important; } }

/* ---- preloader ---- */
.loader {
  position: fixed; inset: 0; z-index: 1000; background: var(--ink);
  display: grid; place-content: center; gap: 28px; justify-items: center;
  /* CSS fallback: guarantees the loader clears even if JS animation timing stalls */
  animation: loaderOut 0.6s ease 2.2s forwards;
}
@keyframes loaderOut { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.intro-seen .loader { display: none; } /* intro already played this session (boot.js) */
.loader-mark img { width: clamp(150px, 32vw, 300px); height: auto; display: block; }
.loader-bar { width: min(240px, 50vw); height: 2px; background: var(--paper-faint); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 0; background: var(--cpm); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad);
}
/* slim scrim so nav links stay legible over content scrolling beneath */
.nav::before {
  content: ""; position: absolute; inset: 0 0 -30px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(10, 10, 12, 0.85) 35%, transparent);
}
.nav-logo { display: block; transition: opacity .35s ease, visibility .35s ease; }
/* logo lives in the hero only; hidden once you scroll past (toggled by ScrollTrigger) */
.nav.logo-hidden .nav-logo { opacity: 0; visibility: hidden; }
.nav-logo img { height: 26px; width: auto; display: block; }
.nav-links { display: flex; gap: clamp(14px, 2vw, 34px); font-family: var(--label); font-weight: var(--label-weight); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; }
.nav-links a { position: relative; padding: 4px 0; color: var(--paper); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--cpm); transition: width .3s cubic-bezier(.2,.7,.2,1); }
.nav-links a:hover::after { width: 100%; }

.lang { display: flex; align-items: center; gap: 8px; font-family: var(--label); font-weight: var(--label-weight); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; }
.lang button { background: none; border: none; color: var(--paper-dim); cursor: pointer; font: inherit; padding: 2px 0; transition: color .25s; }
.lang button:hover { color: var(--paper); }
.lang button.is-active { color: var(--cpm); }
.lang span { color: var(--paper-faint); }
@media (max-width: 720px){ .nav-links{ display:none } }
/* Social icons where the EN/TR toggle was (Yağmur 2026-10-05). Brand marks
   (Simple Icons CC0; LinkedIn from v13.21) inlined as SVG, one colour:
   paper at rest, magenta on hover/focus. A deliberate exception to the
   "no stock icon sets" ban, his call; text labels stay in the footer. */
.social { display: flex; align-items: center; gap: 14px; }
.social a { display: inline-flex; padding: 4px; margin: -4px; color: var(--paper); opacity: .82; transition: color .25s, opacity .25s; }
.social a:hover, .social a:focus-visible { color: var(--cpm); opacity: 1; }
.social svg { width: 18px; height: 18px; display: block; fill: currentColor; }
@media (max-width: 380px){ .nav .social { gap: 10px; } .nav .social svg { width: 16px; height: 16px; } }
.mobile-menu-social { gap: 22px; }
.mobile-menu-social svg { width: 24px; height: 24px; }

/* ---- mobile nav toggle (hamburger) ----
   Hidden above 720px; the desktop .nav-links row covers navigation there.
   Below 720px .nav-links is hidden (above), so this is the only way in. */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--paper);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .25s ease, width .3s cubic-bezier(.2,.7,.2,1), background .25s;
}
.nav-toggle-bar:nth-child(2) { width: 68%; }
.nav-toggle:hover .nav-toggle-bar { background: var(--cpm); }
/* open state: toggle becomes an X (JS sets aria-expanded) */
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { width: 100%; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 720px){ .nav-toggle{ display: flex; } }

/* ============================================================
   MOBILE MENU PANEL
   Full-screen dark panel toggled by .nav-toggle (main.js
   setupMobileMenu). Sits above page content (z-index 2) and
   below the nav bar (z-index 100), so the logo/lang/toggle in
   the fixed header stay visible and operable while it's open.
   Closed with visibility:hidden (not display:none) so the
   open/close transition can animate and so the closed state is
   both unfocusable and, via aria-hidden in the markup, hidden
   from assistive tech.
   ============================================================ */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  gap: clamp(28px, 7vw, 48px);
  padding: 100px var(--pad) 60px;
  background: var(--ink);
  transform: translateY(-16px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, transform .35s cubic-bezier(.2,.7,.2,1), visibility 0s linear .35s;
}
.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: opacity .3s ease, transform .35s cubic-bezier(.2,.7,.2,1), visibility 0s;
}
.mobile-menu-links { display: flex; flex-direction: column; gap: clamp(16px, 5vw, 28px); }
.mobile-menu-links a {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 10vw, 3.4rem);
  letter-spacing: -0.02em;
  color: var(--paper);
  transition: color .3s;
}
.mobile-menu-links a:hover,
.mobile-menu-links a:focus-visible { color: var(--cpm); }
/* never render (or hold focus) once we're past the breakpoint it serves */
@media (min-width: 721px){ .mobile-menu{ display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; z-index: 2;
  min-height: 100vh; padding: 0 var(--pad);
  display: flex; flex-direction: column; justify-content: center;
  max-width: var(--maxw); margin: 0 auto;
}
/* legibility scrim: darkens the left text column, fades to reveal the point-field on the right */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(95deg, var(--ink) 14%, rgba(10,10,12,0.72) 42%, rgba(10,10,12,0) 78%);
}
.kicker { font-family: var(--label); font-weight: var(--label-weight); font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--paper-dim); display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: clamp(20px, 3vw, 40px); }
.kicker .dot { color: var(--cpm); }

.hero-title {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: min(100%, 1080px);
  min-height: clamp(160px, 26vh, 330px);  /* reserve space so phrases don't jump the layout */
  /* font-size is set per phrase by the fit-to-width logic in main.js (big, bold) */
}
.hero-title .r { color: var(--paper); }        /* resolved, non-accent */
.hero-title .a { color: var(--cpm); }          /* resolved accent words stay magenta */
.hero-title .s { color: var(--cpm); }          /* scrambling characters glow magenta */
/* lines break only where main.js put a <br> (the resolved phrase's own wrap),
   so wider scramble glyphs can't push a word, or the caret, down a line */
.hero-title.locked { white-space: nowrap; }
.caret {
  display: inline-block; width: 0.06em; height: 0.8em; background: var(--cpm);
  margin-left: 0.08em; transform: translateY(0.06em);
  animation: blink 1.05s steps(2, end) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: clamp(28px, 5vw, 60px); flex-wrap: wrap; }
.hero-foot p { max-width: 38ch; color: var(--paper-dim); font-size: clamp(15px, 1.4vw, 19px); }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { position: relative; z-index: 2; border-top: 1px solid var(--paper-faint); border-bottom: 1px solid var(--paper-faint); padding: 22px 0; overflow: hidden; background: var(--ink); }
.marquee-track { display: flex; gap: 38px; align-items: center; width: max-content; white-space: nowrap; animation: scroll-x 32s linear infinite; font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 4vw, 3rem); letter-spacing: -0.02em; }
.marquee-track .m-dot { color: var(--cpm); }
/* LED shop-front sign (led-sign.js) replaces the text track when JS runs */
.marquee.is-led { padding: clamp(14px, 2vw, 22px) 0; }
.marquee.is-led .marquee-track { display: none; }
.marquee .led { display: block; width: 100%; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ============================================================
   SECTION SHELL
   ============================================================ */
section, .contact, .site-foot { position: relative; z-index: 2; }
/* near-opaque on scroll sections: the GSAP-choreographed point-field glows
   through softly while text stays fully legible; hero stays transparent */
.marquee, .work, .studio, .faq, .contact, .site-foot { background: rgba(10, 10, 12, 0.88); }
.hero { background: transparent; }
/* Logo intro (2026-10-05): the hero copy waits while the point-field
   holds the CPM logo, then fades in as the logo breaks up (main.js 2b-logo) */
.logo-intro .hero { opacity: 0; transition: opacity 0.9s ease; }
.logo-intro.logo-intro-out .hero { opacity: 1; }
.work, .studio, .faq, .contact { padding: clamp(80px, 12vw, 180px) var(--pad); max-width: var(--maxw); margin: 0 auto; }

.section-head { margin-bottom: clamp(40px, 6vw, 90px); }
.eyebrow { font-family: var(--label); font-weight: var(--label-weight); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--cpm); display: block; margin-bottom: 18px; }
.section-head h2 { font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 7vw, 6rem); line-height: 0.95; letter-spacing: -0.04em; }

/* ---- reveal base ---- */
[data-reveal] { will-change: transform, opacity; }

/* ============================================================
   WORK
   ============================================================ */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.5vw, 36px); }
.tile { cursor: pointer; }
.tile-art { aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; position: relative; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
/* The four tile photos are finished YouTube thumbnails (title and credits are in the picture),
   so the tile is 16:9 like the video player and nothing is cropped or dimmed.
   The player copies this background when it opens (main.js, setupPlayer). */
.tile-art { background-color: var(--ink-2); background-size: cover; background-position: center; background-repeat: no-repeat; }
.t1 .tile-art { background-image: url("/assets/work/is-bankasi-100.webp"); }
.t2 .tile-art { background-image: url("/assets/work/adidas-sound-of-superstar.webp"); }
.t3 .tile-art { background-image: url("/assets/work/vs-after-dark.webp"); }
.t4 .tile-art { background-image: url("/assets/work/red-bull-unlocked.webp"); }
.tile:hover .tile-art { transform: scale(1.015); }
.tile-meta { display: flex; justify-content: space-between; font-family: var(--label); font-weight: var(--label-weight); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--paper-dim); margin: 16px 0 6px; }
.tile h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 3vw, 2.4rem); letter-spacing: -0.02em; transition: color .3s; }
.tile:hover h3 { color: var(--cpm); }
.work-note { margin-top: 40px; font-family: var(--label); font-weight: var(--label-weight); font-size: 12.5px; color: var(--paper-dim); }
@media (max-width: 720px){ .work-grid{ grid-template-columns: 1fr; } }

/* ============================================================
   STUDIO / STATEMENT
   ============================================================ */
.studio { text-align: left; }
.statement { font-family: var(--display); font-weight: 500; font-size: clamp(1.6rem, 4.6vw, 3.6rem); line-height: 1.12; letter-spacing: -0.025em; max-width: 24ch; margin-bottom: clamp(50px, 7vw, 90px); }
.disciplines { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--paper-faint); padding-top: 50px; }
.disciplines li { font-family: var(--label); font-weight: var(--label-weight); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--paper-dim); border: 1px solid var(--paper-faint); border-radius: 999px; padding: 9px 16px; transition: border-color .3s, color .3s; }
.disciplines li:hover { border-color: var(--cpm); color: var(--cpm); }
/* Eight pills in two even rows of four, all as wide as the widest (Yağmur 2026-10-09: no pill
   alone on a line). The list shrinks to fit, so 1fr columns all take the widest pill's width. */
@supports (width: fit-content) {
  .disciplines { display: grid; grid-template-columns: repeat(4, 1fr); width: fit-content; max-width: 100%; }
  .disciplines li { text-align: center; white-space: nowrap; }
  /* below 980px four columns no longer fit: two columns of four rows */
  @media (max-width: 979px) { .disciplines { grid-template-columns: repeat(2, 1fr); } }
  /* phones: smaller type so two columns still fit at 360px */
  @media (max-width: 499px) {
    .disciplines { width: 100%; gap: 8px; }
    .disciplines li { font-size: 10.5px; letter-spacing: 0.03em; padding: 9px 6px; }
  }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding-top: clamp(40px, 6vw, 90px); }
.faq-list { border-top: 1px solid var(--paper-faint); }
.faq-item { border-bottom: 1px solid var(--paper-faint); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 26px 0; position: relative;
  font-family: var(--display); font-weight: 600; font-size: clamp(1.05rem, 2vw, 1.4rem);
  letter-spacing: -0.01em; padding-right: 36px; transition: color .3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 2px; top: 26px; font-family: var(--label);
  font-size: 20px; line-height: 1; color: var(--paper-dim); transition: transform .3s, color .3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover, .faq-item[open] summary { color: var(--cpm); }
.faq-item summary:hover::after, .faq-item[open] summary::after { color: var(--cpm); }
.faq-item p { padding: 0 0 28px; max-width: 68ch; color: var(--paper-dim); font-size: 15.5px; line-height: 1.55; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding-bottom: clamp(40px, 6vw, 70px); }
.cta { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 12vw, 11rem); line-height: 0.9; letter-spacing: -0.045em; margin-bottom: clamp(24px, 3vw, 40px); }
/* the explicit "fill in the form" action under the giant CTA */
.cta-action {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: clamp(50px, 8vw, 110px);
  font-family: var(--body); font-weight: 600; font-size: clamp(16px, 1.5vw, 20px); letter-spacing: -0.01em;
  color: var(--ink); background: var(--paper); border-radius: 999px; padding: 16px 26px 16px 28px;
  transition: background .3s, color .3s, transform .4s cubic-bezier(.2,.7,.2,1);
}
.cta-action-arrow { display: inline-block; font-size: 1.15em; line-height: 1; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.cta-action:hover, .cta-action:focus-visible, .cta:hover + .cta-action { background: var(--cpm); color: var(--ink); }
.cta-action:hover .cta-action-arrow, .cta:hover + .cta-action .cta-action-arrow { transform: translateX(6px); }
.cta-action:active { transform: scale(.97); }
.cta .line { display: block; overflow: hidden; }
/* line-height 0.9 + overflow:hidden clipped descenders (g, y, ş, ç); widen the
   mask downward and pull the next line back up so the spacing is unchanged */
.cta .line { padding-bottom: 0.16em; margin-bottom: -0.16em; }
.cta .w { display: inline-block; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.cta:hover .w { transform: translateX(26px); }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; border-top: 1px solid var(--paper-faint); padding-top: 44px; }
.contact-grid .col { display: flex; flex-direction: column; gap: 8px; }
.contact-grid a { font-size: 16px; position: relative; width: fit-content; }
.contact-grid a:hover { color: var(--cpm); }
.contact-base { display: flex; justify-content: space-between; gap: 20px; margin-top: 80px; font-family: var(--label); font-weight: var(--label-weight); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--paper-dim); flex-wrap: wrap; }
@media (max-width: 720px){ .contact-grid{ grid-template-columns: repeat(2,1fr); gap: 30px 20px; } }
/* the email addresses are wider than a half-width column on small phones: stack them */
@media (max-width: 480px){ .contact-grid{ grid-template-columns: minmax(0, 1fr); } }
/* footer row after the FAQ (© + legal links); the contact section above it no longer holds it */
.site-foot { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad) clamp(36px, 5vw, 60px); }
.site-foot .contact-base { margin-top: 0; padding-top: 28px; border-top: 1px solid var(--paper-faint); }

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .caret { animation: none !important; }
  .caret { opacity: 0; }
}

/* ============================================================
   BILINGUAL BLOCKS (legal pages only): any element with data-l="tr" /
   data-l="en" shows only while the page's in-page switch picks that
   language (page.js sets html[data-lang]). <html lang> stays "en"; the
   Turkish blocks carry their own lang="tr".
   ============================================================ */
html[data-lang="tr"] [data-l="en"], html:not([data-lang="tr"]) [data-l="tr"] { display: none !important; }

/* ============================================================
   LEGAL LINKS (home contact-base + inner-page footer)
   ============================================================ */
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; }
.legal-links a, .legal-links button {
  font: inherit; color: var(--paper-dim); background: none; border: none; padding: 0; cursor: pointer;
  text-transform: inherit; letter-spacing: inherit; transition: color .25s;
}
.legal-links a:hover, .legal-links button:hover { color: var(--paper); }
.base-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px 28px; flex-wrap: wrap;
  font-family: var(--label); font-weight: var(--label-weight); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--paper-dim); }

/* ============================================================
   CONSENT BANNER (consent.js). Solid card, hairline border,
   no blur, no icons. Bottom-left, above content, below cursor.
   ============================================================ */
.consent {
  position: fixed; left: var(--pad); bottom: clamp(16px, 3vw, 28px); z-index: 950;
  width: min(420px, calc(100vw - 2 * var(--pad)));
  background: var(--ink-2); border: 1px solid var(--paper-faint); border-radius: 4px;
  padding: 20px 20px 18px; display: none;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.consent.is-open { display: block; animation: consentIn .5s cubic-bezier(.2,.7,.2,1) both; }
@keyframes consentIn { from { opacity: 0; transform: translateY(14px); } }
.consent:focus { outline: none; }
.consent:focus-visible { outline: 2px solid var(--cpm); outline-offset: 4px; }
.consent-kicker { font-family: var(--label); font-weight: var(--label-weight); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--cpm); margin-bottom: 10px; }
.consent-text { font-size: 14.5px; line-height: 1.5; color: rgba(243, 240, 233, 0.82); }
.consent-text a { color: var(--paper); text-decoration: underline; text-decoration-color: var(--cpm); text-underline-offset: 3px; }
.consent-prefs { margin-top: 14px; border-top: 1px solid var(--paper-faint); }
.consent-prefs[hidden] { display: none; }
.consent-row { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--paper-faint); font-size: 14.5px; cursor: pointer; }
.consent-row input { grid-row: span 2; width: 16px; height: 16px; accent-color: var(--cpm); }
.consent-row input:disabled { opacity: .6; }
.consent-name { color: var(--paper); font-weight: 500; }
.consent-note { color: var(--paper-dim); font-size: 13px; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.consent-actions button {
  font-family: var(--label); font-weight: var(--label-weight); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 12px 10px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--paper); border: 1px solid rgba(243, 240, 233, 0.4);
  transition: border-color .25s, color .25s, background .25s;
}
/* accept and reject share one style on purpose (equal weight) */
.consent-actions button:hover { border-color: var(--cpm); color: var(--cpm); }
.consent-actions .consent-link { grid-column: 1 / -1; border: none; padding: 6px 0 0; color: var(--paper-dim); text-decoration: underline; text-underline-offset: 3px; }
.consent-actions .consent-link:hover { color: var(--paper); }

/* Lenis adds this while stopped (preloader, open player): block native scroll too */
html.lenis-stopped { overflow: hidden; }

/* ============================================================
   WORK PLAYER (main.js setupPlayer)
   ============================================================ */
.player { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: clamp(16px, 4vw, 56px); }
.player[hidden] { display: none; }
.player-backdrop { position: absolute; inset: 0; background: rgba(10, 10, 12, 0.94); }
.player-stage { position: relative; width: min(100%, 1280px, calc((100vh - 140px) * 16 / 9)); }
.player-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden;
  background: var(--ink-2); will-change: transform;
}
.player-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.player-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-top: 16px; }
.player-note { flex: 1; font-size: 13px; color: var(--paper-dim); text-align: right; }
@media (max-width: 720px) { .player-bar { flex-wrap: wrap; } .player-note { order: 3; flex-basis: 100%; text-align: left; } }
.player-title { font-family: var(--display); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.6rem); letter-spacing: -0.02em; }
.player-close {
  font-family: var(--label); font-weight: var(--label-weight); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--paper); background: none; border: 1px solid rgba(243, 240, 233, 0.4); border-radius: 999px;
  padding: 10px 18px; cursor: pointer; transition: border-color .25s, color .25s;
}
.player-close:hover { border-color: var(--cpm); color: var(--cpm); }

/* ============================================================
   PAGE WIPE (CTA → /iletisim, picked up by contact.js on arrival)
   ============================================================ */
.page-wipe { position: fixed; inset: 0; z-index: 1001; background: var(--ink-2); transform-origin: 50% 100%; pointer-events: none;
  border-top: 2px solid var(--cpm); }
.cta.is-leaving .w { transition: none; }
