/* Stop decorative glows, the marquee and the off-canvas menu from causing sideways scrolling */
html, body { overflow-x: clip; }

/* ─────────────────────────────────────────────
   burcu — shared site styles
   nav, cursor, reveals, buttons, cards, footer
   ───────────────────────────────────────────── */

:root {
  --bg: oklch(0.965 0.006 230);
  --ink: oklch(0.16 0.012 250);
  --muted: oklch(0.62 0.012 250);
  --line: oklch(0.88 0.008 240);
  --dark: #08080f;
  --green: #a8ff3e;
  --blue: #3ef0ff;
  --pad: clamp(28px, 4.5vw, 72px);
  --indent: clamp(120px, 20vw, 380px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

a, button { touch-action: manipulation; }

/* press feedback on small interactive chips */
.chip:active, .social-pill:active, .budget-chip span:active, .menu-btn:active { transform: scale(0.96); }
.chip, .social-pill, .budget-chip span { transition-property: background, color, border-color, transform; transition-duration: 0.25s; }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(14px, 2vw, 22px) var(--pad);
  transition: transform 0.5s var(--ease-out);
}
/* frosted backdrop lives on its own layer so it can fade independently */
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: oklch(0.965 0.006 230 / 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 oklch(0.88 0.008 240 / 0.6);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.nav.scrolled::before { opacity: 1; }
html.menu-open .nav::before,
html.menu-closing .nav::before { opacity: 0; }

.nav.hidden { transform: translateY(-100%); }
html.menu-open .nav { transform: none; }

.nav-brand {
  position: relative;
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.4s ease;
}
html.menu-open .nav-brand { color: var(--ink); }

.nav-right {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
}

.nav-cta {
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 700;
  color: var(--bg);
  background: var(--ink);
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 100px;
  transition: transform 0.3s var(--ease-out), background 0.4s ease, color 0.4s ease;
  will-change: transform;
}
.nav-cta:hover { background: oklch(0.26 0.012 250); }
html.menu-open .nav-cta { background: var(--ink); color: var(--bg); }
@media (max-width: 540px) {
  .nav .nav-cta { display: none; }
}

/* Menu trigger: label rolls, lines morph to an X */
.menu-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 6px 2px;
}
.mb-label {
  position: relative;
  display: block;
  overflow: hidden;
  height: 1em;
  line-height: 1;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mb-label span {
  display: block;
  color: var(--ink);
  transition: transform 0.45s var(--ease-out), color 0.4s ease;
}
.mb-l2 { color: var(--ink); }
html.menu-open .mb-label span { transform: translateY(-100%); }
html.menu-open .mb-l1 { color: var(--ink); }

.mb-lines {
  position: relative;
  display: block;
  width: 26px;
  height: 14px;
}
.mb-lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform 0.45s var(--ease-out), background 0.4s ease;
}
.mb-lines span:first-child { top: 0; }
.mb-lines span:last-child { bottom: 0; }
.menu-btn:hover .mb-lines span:first-child { transform: translateY(3px); }
.menu-btn:hover .mb-lines span:last-child { transform: translateY(-3px); }
html.menu-open .mb-lines span { background: var(--ink); }
html.menu-open .mb-lines span:first-child { transform: translateY(6px) rotate(45deg); }
html.menu-open .mb-lines span:last-child { transform: translateY(-6px) rotate(-45deg); }

/* ── Right-side slide-in menu ── */
html.menu-open, html.menu-closing { overflow: hidden; }

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}
html.menu-open .menu-overlay,
html.menu-closing .menu-overlay { visibility: visible; }
html.menu-open .menu-overlay { pointer-events: auto; }

/* the page behind dims and blurs while the panel is open */
.menu-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: oklch(0.46 0.03 250 / 0.24);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.5s ease;
}
html.menu-open .menu-overlay::before { opacity: 1; }
html.menu-closing .menu-overlay::before { opacity: 0; transition-duration: 0.4s; }

/* the old fullscreen build-in layers aren't used by the drawer */
.menu-cols, .menu-grid { display: none; }

/* the sliding panel — a compact rounded card that opens below the nav buttons, off the right edge */
.menu-inner {
  position: fixed;
  top: clamp(66px, 7vw, 84px);
  right: clamp(12px, 1.5vw, 20px);
  bottom: auto;
  left: auto;
  width: clamp(264px, 30vw, 380px);
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - clamp(66px, 7vw, 84px) - clamp(12px, 1.5vw, 20px));
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 2.8vw, 38px) clamp(24px, 2.6vw, 36px) clamp(28px, 3vw, 40px);
  background: #fff;
  border-radius: clamp(20px, 2vw, 30px);
  box-shadow: -42px 0 90px -55px rgba(8, 8, 15, 0.5), 0 44px 80px -44px rgba(8, 8, 15, 0.32);
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  transform: translateX(calc(100% + clamp(12px, 1.5vw, 20px)));
  transition: transform 0.72s var(--ease-out);
}
.menu-inner::-webkit-scrollbar { width: 0; height: 0; }
html.menu-open .menu-inner { transform: translateX(0); }
html.menu-closing .menu-inner {
  transform: translateX(calc(100% + clamp(12px, 1.5vw, 20px)));
  transition: transform 0.5s var(--ease-out);
}

.menu-links {
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 1vw, 12px);
}
.menu-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-decoration: none;
  transition: transform 0.45s var(--ease-out);
}
.menu-link:hover { transform: translateX(8px); }

/* the old 01–04 numerals aren't part of this look */
.ml-no { display: none; }

.ml-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}
.ml-inner {
  display: block;
  font-size: clamp(28px, 4.6vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-transform: uppercase;
  color: oklch(0.16 0.012 250 / 0.5);
  transition: color 0.35s ease;
}
.menu-link.is-active .ml-inner,
.menu-link:hover .ml-inner,
.menu-link:focus-visible .ml-inner { color: var(--ink); }

/* marker dot on the active row, pinned to the right edge */
.menu-link.is-active::after {
  content: '';
  margin-left: auto;
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
}

.menu-meta {
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease 0.42s, transform 0.7s var(--ease-out) 0.42s;
}
html.menu-open .menu-meta { opacity: 1; transform: translateY(0); }
html.menu-closing .menu-meta {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.22s ease, transform 0.3s ease;
}
.menu-meta > div { display: flex; flex-direction: column; gap: 6px; }
.menu-meta-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.menu-mail {
  width: max-content;
  max-width: 100%;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.menu-mail:hover { border-color: var(--ink); }
.menu-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.menu-socials a {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s ease;
}
.menu-socials a:hover { color: var(--ink); }
.menu-city {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ── Custom cursor ── */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 999;
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 8px; height: 8px;
  background: #fff;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), opacity 0.3s ease, background 0.3s ease;
}
.cursor-ring.is-hover { width: 64px; height: 64px; opacity: 0.6; }
.cursor-txt {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s ease;
  white-space: nowrap;
}
/* grows into a labelled badge over project cards */
.cursor-ring.has-label {
  width: 88px; height: 88px;
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(2px);
}
.cursor-ring.has-label .cursor-txt { opacity: 1; }
@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ── Scroll reveals ──
   Hidden state only applies when JS is running (html.js),
   so content is never lost without scripts. */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--rd, 0s);
}
html.js [data-reveal="left"]  { transform: translateX(-44px); }
html.js [data-reveal="right"] { transform: translateX(44px); }
html.js [data-reveal="zoom"]  { transform: scale(0.92); }
html.js [data-reveal="flip"]  { transform: perspective(900px) rotateX(14deg) translateY(40px); transform-origin: 50% 100%; }
html.js [data-reveal].in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ── Section scaffolding ── */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(36px, 5vw, 72px);
}

.kicker {
  display: block;
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(40px, 6vw, 92px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}
/* outline words fill with ink, left to right, as they scroll up the screen (--fill set in site.js) */
html.js [data-split] .outline .wi {
  background: linear-gradient(var(--ink), var(--ink)) no-repeat 0 0 / var(--fill, 0%) 100%;
  -webkit-background-clip: text;
  background-clip: text;
}
@media (prefers-reduced-motion: reduce) {
  html.js [data-split] .outline .wi { background: none; }
}

.link-arrow {
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2px;
  transition: opacity 0.25s ease;
}
.link-arrow:hover { opacity: 0.6; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--bg);
  background: var(--ink);
  border: none;
  cursor: pointer;
  text-decoration: none;
  padding: clamp(14px, 1.6vw, 20px) clamp(28px, 3vw, 44px);
  border-radius: 100px;
  transition: background 0.25s ease;
  will-change: transform;
}
.btn:hover { background: oklch(0.26 0.012 250); }
.btn .arr { transition: transform 0.3s var(--ease-out); }
.btn:hover .arr { transform: translateX(5px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

/* ── Dot grid (shared by dark canvases & work cards) ── */
.gc-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  z-index: 0;
}

/* ── Work cards (3D tilt) ── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.5vw, 32px);
}
.work-card {
  position: relative;
  display: block;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  background: var(--dark);
  box-shadow: 0 24px 64px rgba(0,0,0,0.18);
  transform-style: preserve-3d;
  will-change: transform;
  aspect-ratio: 16 / 11;
}
.work-card.tall { aspect-ratio: 16 / 9; grid-column: 1 / -1; }

.work-card img,
.work-card .work-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.work-card:hover img,
.work-card:hover .work-fill { transform: scale(1.05); }

.work-card .gc-dots { z-index: 1; }

.work-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.62) 0%, transparent 45%);
  pointer-events: none;
}

.work-meta {
  position: absolute;
  z-index: 3;
  left: clamp(18px, 2.4vw, 32px);
  bottom: clamp(16px, 2.2vw, 28px);
  right: clamp(18px, 2.4vw, 32px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
}
.work-name {
  font-size: clamp(20px, 2.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.work-cat {
  display: inline-block;
  margin-top: 8px;
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.work-go {
  flex-shrink: 0;
  width: clamp(40px, 4vw, 54px);
  height: clamp(40px, 4vw, 54px);
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transform: rotate(-45deg);
  transition: transform 0.45s var(--ease-out), background 0.3s ease;
}
.work-card:hover .work-go { transform: rotate(0deg); background: rgba(255,255,255,0.25); }
.work-go svg { width: 18px; height: 18px; }

/* Glare layer for tilt */
.tilt-glare {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,0.16), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.work-card:hover .tilt-glare,
[data-tilt]:hover .tilt-glare { opacity: 1; }

@media (max-width: 720px) {
  .work-grid { grid-template-columns: 1fr; }
}

/* ── Marquee band ── */
.marquee {
  background: var(--dark);
  transform: rotate(-1.6deg) scale(1.04);
  padding: clamp(18px, 2.4vw, 30px) 0;
  overflow: hidden;
  margin: clamp(60px, 9vw, 130px) 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.22);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-size: clamp(22px, 3vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: nowrap;
  padding: 0 clamp(18px, 2.4vw, 36px);
}
.marquee-track .dot { color: var(--green); }
.marquee-track .alt { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,0.5); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Stats ── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(40px, 6vw, 90px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-num {
  font-size: clamp(44px, 6.5vw, 104px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
}
.stat-label {
  margin-top: 10px;
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 600;
  color: var(--muted);
}
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* ── Testimonials ── */
.tcards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.2vw, 28px);
}
.tcard {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(24px, 2.8vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform-style: preserve-3d;
  will-change: transform;
}
.tcard .tmark {
  font-size: 60px;
  font-weight: 900;
  line-height: 0.6;
  color: var(--green);
  -webkit-text-stroke: 1px oklch(0.5 0.18 130);
}
.tcard blockquote {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.45;
  border: none;
}
.tcard .twho {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.tcard .tava {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}
.tcard .tname { font-size: 15px; font-weight: 800; line-height: 1.2; }
.tcard .trole { font-size: 13px; font-weight: 500; color: var(--muted); }
@media (max-width: 880px) {
  .tcards { grid-template-columns: 1fr; }
}

/* ── Big CTA ── */
.cta-section {
  position: relative;
  padding: clamp(90px, 14vw, 220px) var(--pad);
  text-align: center;
}
.cta-section h2 {
  font-size: clamp(48px, 9vw, 150px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin-bottom: clamp(32px, 4vw, 56px);
}

/* ── Footer ── */
.footer {
  position: relative;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
  padding: clamp(60px, 8vw, 120px) var(--pad) 0;
}
.footer::before {
  content: '';
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: oklch(0.82 0.22 130);
  opacity: 0.1;
  filter: blur(130px);
  top: -200px; left: -140px;
  pointer-events: none;
}
.footer::after {
  content: '';
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: oklch(0.7 0.2 220);
  opacity: 0.1;
  filter: blur(120px);
  bottom: -160px; right: -120px;
  pointer-events: none;
}

.footer-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: clamp(32px, 5vw, 80px);
  flex-wrap: wrap;
  padding-bottom: clamp(48px, 6vw, 90px);
}
.footer-pitch h3 {
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 16ch;
}
.footer-pitch .femail {
  display: inline-block;
  margin-top: 22px;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s ease;
}
.footer-pitch .femail:hover { border-color: var(--green); }

.footer-cols {
  display: flex;
  gap: clamp(40px, 6vw, 110px);
  flex-wrap: wrap;
}
.fcol h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 18px;
}
.fcol a {
  display: block;
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 600;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  margin-bottom: 12px;
  width: max-content;
  transition: color 0.25s ease, transform 0.3s var(--ease-out);
}
.fcol a:hover { color: var(--green); transform: translateX(4px); }

.footer-word {
  position: relative;
  z-index: 1;
  font-size: clamp(90px, 19vw, 320px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.72;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.22);
  user-select: none;
  transform: translateY(0.12em);
  transition: color 0.6s ease;
}
.footer:hover .footer-word { color: rgba(255,255,255,0.05); }

.footer-base {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
}

/* ── Footer v2: bigger pitch, clear button, base line above an edge-to-edge wordmark ── */
.footer { padding-top: clamp(64px, 9vw, 140px); }
.footer-top { align-items: flex-start; padding-bottom: clamp(56px, 8vw, 120px); }
.footer-pitch h3 { font-size: clamp(34px, 4.6vw, 76px); font-weight: 900; letter-spacing: -0.04em; line-height: 1; max-width: 13ch; }
.footer-actions { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(16px, 2vw, 28px); margin-top: clamp(26px, 3vw, 44px); }
.footer-cta { display: inline-flex; align-items: center; gap: 14px; padding: 8px 8px 8px 26px; border-radius: 999px; background: #f4f4f2; color: #0e1014; font-size: clamp(14px, 1.2vw, 17px); font-weight: 800; text-decoration: none; white-space: nowrap; will-change: transform; }
.fc-ico { display: grid; place-items: center; width: clamp(40px, 3.4vw, 50px); height: clamp(40px, 3.4vw, 50px); border-radius: 50%; background: #c8f25a; color: #0e1014; }
.fc-ico svg { width: 44%; height: 44%; transition: transform .35s var(--ease-out); }
.footer-cta:hover .fc-ico svg { transform: translate(2px, -2px); }
.footer-pitch .femail { margin-top: 0; color: rgba(255,255,255,.82); border-bottom: 1.5px solid rgba(255,255,255,.25); padding-bottom: 2px; transition: color .25s ease, border-color .25s ease; }
.footer-pitch .femail:hover { color: #fff; border-color: #fff; }
.fcol a { position: relative; }
.fcol a:hover { color: #fff; transform: translateX(4px); }
.footer-base { align-items: center; padding: 20px 0; }
.footer-top-link { color: rgba(255,255,255,.78); font-weight: 700; text-decoration: none; transition: color .25s ease; }
.footer-top-link span { display: inline-block; transition: transform .35s var(--ease-out); }
.footer-top-link:hover { color: #fff; }
.footer-top-link:hover span { transform: translateY(-3px); }
/* the wordmark closes the page: it spans the full width and a soft light follows the pointer across it */
.footer-word {
  display: flex; justify-content: center; white-space: nowrap;
  margin: clamp(10px, 2vw, 30px) calc(var(--pad) * -1) 0;
  font-size: 37.4vw; line-height: .9; letter-spacing: -0.055em;
  transform: none; padding-bottom: 0; margin-bottom: -0.02em;
  -webkit-text-stroke: 0; color: transparent;
  background: radial-gradient(circle 28vw at var(--mx, 50%) var(--my, -300%), rgba(255,255,255,.5), rgba(255,255,255,.1) 70%);
  -webkit-background-clip: text; background-clip: text;
}
.footer:hover .footer-word { color: transparent; }
.footer-word, .footer-word span { pointer-events: none; }   /* the tall letter boxes must never cover the links above */
.footer-base { z-index: 2; }
.footer-word span { display: inline-block; }
html.js .footer-word span { transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * .07s); }
html.js .footer-word.in span { transform: none; }
.footer-word span:nth-child(1) { --i: 0; } .footer-word span:nth-child(2) { --i: 1; } .footer-word span:nth-child(3) { --i: 2; } .footer-word span:nth-child(4) { --i: 3; } .footer-word span:nth-child(5) { --i: 4; }
@media (max-width: 720px) {
  .footer-top { flex-direction: column; }
  .footer-cols { width: 100%; justify-content: space-between; gap: 28px 20px; }
  .footer-base { justify-content: flex-start; gap: 8px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .footer-word span { transform: none; transition: none; }
}

/* ── Footer v3: three contact buttons and one line of links, straight into the wordmark ── */
.fq { padding-bottom: clamp(26px, 3vw, 44px); }
.fq-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: clamp(16px, 1.6vw, 24px); }
.fq-btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.fq-btn { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: clamp(34px, 5vw, 84px); padding: clamp(20px, 2vw, 30px); border-radius: clamp(20px, 2vw, 30px); border: 1.5px solid rgba(255,255,255,.18); color: #fff; text-decoration: none; overflow: hidden; isolation: isolate; transition: color .4s var(--ease-out), border-color .4s var(--ease-out); }
.fq-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #f4f4f2; border-radius: inherit; transform: translateY(101%); transition: transform .55s var(--ease-out); }
.fq-k { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .6; }
.fq-v { font-size: clamp(20px, 2.3vw, 38px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; overflow-wrap: anywhere; }
.fq-ico { position: absolute; top: clamp(16px, 1.6vw, 24px); right: clamp(16px, 1.6vw, 24px); width: clamp(36px, 3vw, 46px); height: clamp(36px, 3vw, 46px); border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; transition: transform .5s var(--ease-out); }
.fq-ico svg { width: 42%; height: 42%; }
@media (hover: hover) {
  .fq-btn:hover { color: #0e1014; border-color: #f4f4f2; }
  .fq-btn:hover::before { transform: none; }
  .fq-btn:hover .fq-ico { transform: rotate(45deg); }
}
.fq-nav { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 30px; margin-top: clamp(22px, 2.4vw, 36px); }
.fq-nav span { display: flex; flex-wrap: wrap; gap: 8px clamp(18px, 2vw, 32px); }
.fq-nav a { color: rgba(255,255,255,.72); text-decoration: none; font-weight: 600; font-size: clamp(14px, 1.1vw, 16px); transition: color .25s ease; }
.fq-nav a:hover { color: #fff; }
.footer { padding-top: clamp(48px, 6vw, 90px); }
@media (max-width: 720px) {
  .fq-btns { grid-template-columns: 1fr; }
  .fq-btn { gap: 22px; }
}

/* ── Footer v4: three round buttons, one line that reads out the one you point at ── */
.fq2 { text-align: center; padding-top: clamp(36px, 3vw, 48px); }
.fq-read { overflow: hidden; height: 1.15em; font-size: clamp(26px, 4.4vw, 72px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.15; color: #fff; margin-bottom: clamp(26px, 3.4vw, 54px); }
.fq-read span { display: block; transition: transform .45s var(--ease-out), opacity .3s ease; }
.fq-read span.out { transform: translateY(-100%); opacity: 0; }
.fq-read span.pre { transform: translateY(100%); opacity: 0; transition: none; }
.fq-dots { display: flex; justify-content: center; gap: clamp(12px, 1.6vw, 26px); }
.fq-dot { --s: clamp(96px, 12vw, 176px); width: var(--s); height: var(--s); border-radius: 50%; border: 1.5px solid rgba(255,255,255,.22); color: #fff; text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: clamp(13px, 1.1vw, 16px); letter-spacing: .04em; position: relative; overflow: hidden; isolation: isolate; transition: color .4s var(--ease-out), border-color .4s var(--ease-out); will-change: transform; }
.fq-dot::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: 50%; background: #f4f4f2; transform: scale(0); transition: transform .5s var(--ease-out); }
.fq-dot svg { width: 24%; height: 24%; }
@media (hover: hover) {
  .fq-dot:hover { color: #0e1014; border-color: #f4f4f2; }
  .fq-dot:hover::before { transform: scale(1); }
}
.fq2 .fq-nav { margin-top: clamp(34px, 4vw, 64px); text-align: left; }
@media (max-width: 720px) { .fq-dot { --s: 27vw; gap: 6px; } }

/* ── Page transition: accent + dark panels with destination label ── */
.pt {
  position: fixed;
  inset: 0;
  z-index: 300;
  visibility: hidden;
  pointer-events: none;
}
.pt-panel {
  position: absolute;
  inset: -1px 0;
  transform: translateY(102%);
}
.pt-accent { background: var(--green); }
.pt-dark {
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pt-label { overflow: hidden; }
.pt-label-inner {
  display: block;
  font-size: clamp(54px, 12vw, 150px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #fff;
  transform: translateY(120%);
}

/* leaving the current page: panels sweep up, label rises */
.pt.is-exit { visibility: visible; }
.pt.is-exit .pt-accent {
  transform: translateY(0);
  transition: transform 0.55s cubic-bezier(0.76, 0, 0.24, 1);
}
.pt.is-exit .pt-dark {
  transform: translateY(0);
  transition: transform 0.55s cubic-bezier(0.76, 0, 0.24, 1) 0.09s;
}
.pt.is-exit .pt-label-inner {
  transform: translateY(0);
  transition: transform 0.5s var(--ease-out) 0.34s;
}

/* arriving: html.pt-in is set before paint, so the page starts covered… */
html.pt-in .pt { visibility: visible; }
html.pt-in .pt-panel { transform: translateY(0); }
html.pt-in .pt-label-inner { transform: translateY(0); }
/* …then both panels release upward */
html.pt-in .pt.is-enter .pt-dark {
  transform: translateY(-102%);
  transition: transform 0.62s cubic-bezier(0.76, 0, 0.24, 1) 0.08s;
}
html.pt-in .pt.is-enter .pt-accent {
  transform: translateY(-102%);
  transition: transform 0.62s cubic-bezier(0.76, 0, 0.24, 1) 0.18s;
}
html.pt-in .pt.is-enter .pt-label-inner {
  transform: translateY(-130%);
  transition: transform 0.45s ease;
}

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

/* ── Page transition v2: a dark curtain with a curved leading edge, a quieter second layer,
      the page dimming underneath and a smaller, calmer destination label ── */
.pt::before { content: ''; position: absolute; inset: 0; background: #0e1014; opacity: 0; }
.pt.is-exit::before { opacity: .35; transition: opacity .6s ease; }
.pt-panel { transform: translateY(128%); will-change: transform; }
.pt-accent { background: #23252b; }
.pt-dark { background: #0e1014; flex-direction: column; gap: clamp(10px, 1.4vw, 18px); }
/* the curved edges: one on top for the way in, one underneath for the way out */
.pt-panel::before, .pt-panel::after { content: ''; position: absolute; left: -15%; width: 130%; height: 24vh; background: inherit; border-radius: 50%; will-change: transform; }
.pt-panel::before { top: -12vh; transform: scaleY(1); }
.pt-panel::after { bottom: -12vh; transform: scaleY(0); }
.pt-label { position: relative; z-index: 1; padding: 0 .08em .08em; }
.pt-label-inner { font-size: clamp(44px, 8vw, 112px); letter-spacing: -0.045em; text-transform: lowercase; }

.pt.is-exit .pt-accent { transition: transform .62s cubic-bezier(0.7, 0, 0.2, 1); }
.pt.is-exit .pt-dark { transition: transform .64s cubic-bezier(0.7, 0, 0.2, 1) .06s; }
.pt.is-exit .pt-panel::before { transform: scaleY(0); transition: transform .64s cubic-bezier(0.7, 0, 0.2, 1) .06s; }
.pt.is-exit .pt-label-inner { transition: transform .5s var(--ease-out) .24s; }

html.pt-in .pt-panel::before { transform: scaleY(0); }
html.pt-in .pt.is-enter .pt-dark { transform: translateY(-128%); transition: transform .8s cubic-bezier(0.7, 0, 0.2, 1) .1s; }
html.pt-in .pt.is-enter .pt-accent { transform: translateY(-128%); transition: transform .8s cubic-bezier(0.7, 0, 0.2, 1) .16s; }
html.pt-in .pt.is-enter .pt-panel::after { transform: scaleY(1); transition: transform .8s cubic-bezier(0.7, 0, 0.2, 1) .1s; }
html.pt-in .pt.is-enter .pt-label-inner { transform: translateY(-120%); transition: transform .4s cubic-bezier(0.7, 0, 0.84, 0); }

/* ── Sub-page hero (giant lowercase word) ── */
.page-hero {
  position: relative;
  padding: clamp(140px, 20vh, 220px) var(--pad) clamp(40px, 6vw, 80px);
  overflow: hidden;
}
.page-hero .ph-word {
  font-size: min(22vw, 240px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.85;
}
.page-hero .ph-sub {
  margin-top: clamp(18px, 2.4vw, 32px);
  font-size: clamp(17px, 1.7vw, 24px);
  font-weight: 600;
  color: var(--muted);
  max-width: 44ch;
  line-height: 1.5;
}
body.intro .ph-word { animation: ph-zoom 1.4s var(--ease-out) both; }
body.intro .ph-sub  { animation: ph-rise 1s var(--ease-out) 0.5s both; }
@keyframes ph-zoom {
  from { opacity: 0; transform: scale(2.4); transform-origin: 12% 50%; }
  to   { opacity: 1; transform: scale(1);   transform-origin: 12% 50%; }
}
@keyframes ph-rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* generic content wrapper */
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ── Preloader (home, first visit per session) ── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.loader::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
}
.loader-brand {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding-bottom: 0.06em;
}
.loader-brand span {
  display: inline-block;
  font-size: clamp(64px, 13vw, 170px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: #fff;
  transform: translateY(115%);
  animation: loader-rise 0.85s var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 0.055s + 0.12s);
}
@keyframes loader-rise { to { transform: translateY(0); } }
.loader-count {
  position: absolute;
  z-index: 1;
  right: var(--pad);
  bottom: clamp(22px, 4vw, 44px);
  font-size: clamp(40px, 7vw, 92px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.22);
  font-variant-numeric: tabular-nums;
}
.loader-tag {
  position: absolute;
  z-index: 1;
  left: var(--pad);
  bottom: clamp(30px, 4.6vw, 56px);
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.loader.is-done {
  transform: translateY(-101%);
  transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1) 0.1s;
}
html.no-loader .loader,
html.pt-in .loader { display: none; }
@media (prefers-reduced-motion: reduce) { .loader { display: none; } }

/* ── Split-text reveals: words rise out of their own line ── */
html.js [data-split] .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
html.js [data-split] .wi {
  display: inline-block;
  transform: translateY(118%);
  transition: transform 0.9s var(--ease-out);
  transition-delay: var(--wd, 0s);
}
html.js [data-split].in .wi { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html.js [data-split] .wi { transform: none; transition: none; }
}

/* ── Spinning badge (CTA) ── */
.spin-badge {
  position: absolute;
  top: clamp(16px, 5vw, 56px);
  right: calc(var(--pad) + 1vw);
  width: clamp(96px, 11vw, 150px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.spin-badge svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: badge-spin 16s linear infinite;
}
.spin-badge text {
  font-size: 10.6px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  fill: var(--ink);
}
.spin-badge .sb-arrow {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 800;
  color: var(--ink);
  transition: transform 0.4s var(--ease-out);
}
a.spin-badge { text-decoration: none; }
a.spin-badge:hover .sb-arrow { transform: translate(3px, -3px); }
@keyframes badge-spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) { .spin-badge { display: none; } }
@media (prefers-reduced-motion: reduce) { .spin-badge svg { animation: none; } }

/* ── 3D depth: card content floats above the tilting plane ── */
.work-card .work-meta { transform: translateZ(46px); }
.gallery-canvas { transform-style: preserve-3d; }
.gallery-canvas .gc-service { transform: translateZ(40px); }
.value-card { transform-style: preserve-3d; }
.value-card .value-word,
.value-card .value-text,
.value-card .value-num { transform: translateZ(32px); }
.member { transform-style: preserve-3d; }
.member .member-info { transform: translateZ(24px); }

/* ── Keyboard focus ── */
:focus-visible {
  outline: 2px solid oklch(0.55 0.18 130);
  outline-offset: 4px;
}

/* ── Shared-element flip (service card ⇄ detail page) ──
   One element morphs between the card's rect and the full viewport,
   painted with the card's own surface so the motion reads as the
   card itself opening into the page. */
.flip-card {
  position: fixed;
  z-index: 350;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(110, 40, 220, 0.7) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 75%, rgba(62, 200, 255, 0.55) 0%, transparent 50%),
    #08080f;
  pointer-events: none;
}
.flip-card.is-anim {
  transition:
    top 0.78s cubic-bezier(0.65, 0, 0.35, 1),
    left 0.78s cubic-bezier(0.65, 0, 0.35, 1),
    width 0.78s cubic-bezier(0.65, 0, 0.35, 1),
    height 0.78s cubic-bezier(0.65, 0, 0.35, 1),
    border-radius 0.78s ease,
    opacity 0.34s ease;
}
.flip-card.is-fade { opacity: 0; }

/* pre-paint cover so the destination never flashes before the flip resolves */
html.svc-cover::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 349;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(110, 40, 220, 0.7) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 75%, rgba(62, 200, 255, 0.55) 0%, transparent 50%),
    #08080f;
}
@media (prefers-reduced-motion: reduce) {
  .flip-card, html.svc-cover::before { display: none; }
}

/* ── Lenis smooth scroll ── */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* no green glow in the footer (Ahmet, 2026-11-10) */
.footer::before { display: none; }

/* phones: big headings had letters and lines touching (2026-11-14) */
@media (max-width: 720px) {
  html body .section-title, html body .cta-section h2, html body .sv-title, html body .promise-title { letter-spacing: -0.02em; line-height: 1.04; }
  html body .outline { -webkit-text-stroke-width: 1.2px; }
}
