/* ==========================================================================
   Ramdeni — Design tokens
   Palette derived from ramdeni.com: ink #242124, signal orange #F7651F,
   paper #F8F7F4, mid gray #747474.
   ========================================================================== */
:root {
  --ink: #242124;
  --ink-2: #1a181a;
  --ink-3: #2f2b2f;
  --paper: #f8f7f4;
  --paper-2: #efede7;
  --white: #ffffff;
  --orange: #f7651f;
  --orange-hover: #ff7a38;
  --orange-deep: #c94d0f; /* AA on paper for small text */
  --gray: #747474;
  --gray-light: #a8a4a8;
  --line-dark: rgba(255, 255, 255, 0.12);
  --line-light: rgba(36, 33, 36, 0.12);

  --font-sans: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1360px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(96px, 12vw, 180px);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 320ms;
  --dur-med: 700ms;
  --dur-slow: 1100ms;

  --header-h: 84px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
/* the hidden attribute always wins over a component's own display (e.g. an invisible cookie banner must not catch taps) */
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--orange); color: var(--white); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius-pill);
  transform: translateY(-160%);
  transition: transform var(--dur-fast) var(--ease-out);
}
.skip-link:focus { transform: none; }

.accent { color: var(--orange); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.section-dark { background: var(--ink); color: var(--paper); }
.section-light { background: var(--paper); color: var(--ink); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  --btn-bg: var(--orange);
  --btn-fg: var(--white);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 10px 0 26px;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: background-color 400ms var(--ease-soft),
              color 400ms var(--ease-soft),
              box-shadow 400ms var(--ease-soft),
              transform var(--dur-fast) var(--ease-out);
}
.btn:hover { background: var(--white); color: var(--ink); }
.btn:active { transform: scale(0.98); }

.btn__icon {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  transition: transform var(--dur-med) var(--ease-out), background var(--dur-med);
}
.btn:hover .btn__icon { transform: rotate(-45deg); background: var(--orange); color: var(--white); }
.btn__icon svg { width: 16px; height: 16px; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  padding: 0 26px;
  box-shadow: inset 0 0 0 1px currentColor;
}
.section-dark .btn--ghost:hover,
.hero .btn--ghost:hover { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--paper); }
.section-light .btn--ghost:hover { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }

.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--paper); }
.btn--dark:hover { background: var(--orange); color: var(--white); }
.btn--dark .btn__icon { background: rgba(255, 255, 255, 0.12); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: gap var(--dur-med) var(--ease-out), color var(--dur-fast);
}
.link-arrow:hover { gap: 16px; color: var(--orange); }
.link-arrow svg { width: 16px; height: 16px; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  color: var(--white);
  transition: background var(--dur-med) var(--ease-out),
              transform var(--dur-med) var(--ease-out),
              height var(--dur-med) var(--ease-out);
}
.header.is-scrolled {
  height: 72px;
  background: rgba(26, 24, 26, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--line-dark);
}
.header.is-hidden { transform: translateY(-100%); }

.header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.header__logo { justify-self: start; display: flex; align-items: center; min-height: 44px; }
.header__logo img { height: 22px; width: auto; transition: opacity var(--dur-fast); }
.header__logo:hover img { opacity: 0.75; }

/* Floating glass pill menu with a cursor-tracked glow, rim light and text shine */
.nav-pill {
  --mx: -200px;
  --my: -200px;
  position: relative;
  display: flex;
  gap: 2px;
  padding: 5px;
  border: 1px solid rgba(248, 247, 244, 0.1);
  border-radius: var(--radius-pill);
  background: rgba(36, 33, 36, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  isolation: isolate;
  overflow: hidden;
}
.nav-pill::before,
.nav-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 400ms var(--ease-soft);
}
.nav-pill::before {
  z-index: -1;
  background: radial-gradient(110px circle at var(--mx) var(--my),
              rgba(255, 196, 160, 0.42), rgba(247, 101, 31, 0.18) 40%, transparent 75%);
}
.nav-pill::after {
  /* 1px rim that lights up near the cursor */
  padding: 1px;
  background: radial-gradient(100px circle at var(--mx) var(--my), rgba(255, 214, 190, 1), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.nav-pill.is-lit::before,
.nav-pill.is-lit::after { opacity: 1; }

.nav__link {
  --lx: -200px;
  --ly: -200px;
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(248, 247, 244, 0.66);
  transition: color 300ms var(--ease-soft), background 300ms var(--ease-soft);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .nav__link {
    background-image: radial-gradient(70px circle at var(--lx) var(--ly),
                      #ffffff 0%, #ffd2b8 35%, rgba(248, 247, 244, 0.66) 75%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
.nav__link[aria-current="page"] {
  color: var(--paper);
  -webkit-text-fill-color: var(--paper);
  background: rgba(248, 247, 244, 0.08) border-box;
}
.nav__link:focus-visible { color: var(--paper); -webkit-text-fill-color: var(--paper); }
/* a section switched off in the panel: shown, not clickable */
.nav__link.is-disabled { cursor: default; opacity: 0.4; }

.header__actions { display: flex; align-items: center; gap: 12px; justify-self: end; }
.header__cta { min-height: 46px; font-size: 14px; }
.header__cta .btn__icon { width: 30px; height: 30px; }

.menu-toggle {
  display: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 14px; right: 14px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur-med) var(--ease-out), top var(--dur-med) var(--ease-out);
}
.menu-toggle span:nth-child(1) { top: 19px; }
.menu-toggle span:nth-child(2) { top: 27px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink-2);
  color: var(--paper);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: circle(0% at calc(100% - 44px) 42px);
  visibility: hidden;
  transition: clip-path 600ms var(--ease-in-out), visibility 0s linear 600ms;
}
.mobile-menu.is-open {
  clip-path: circle(150% at calc(100% - 44px) 42px);
  visibility: visible;
  transition: clip-path 700ms var(--ease-in-out), visibility 0s;
}
.mobile-menu__list a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 10px 0;
  font-size: clamp(36px, 10vw, 56px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  border-bottom: 1px solid var(--line-dark);
}
.mobile-menu__list a { transition: color 300ms var(--ease-soft); }
.mobile-menu__list .is-disabled { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; font-size: clamp(36px, 10vw, 56px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; border-bottom: 1px solid var(--line-dark); opacity: 0.35; }
.mobile-menu__list .is-disabled small { font-size: 13px; color: var(--orange); letter-spacing: 0; }
.mobile-menu__list a:hover,
.mobile-menu__list a:focus-visible { color: var(--orange); }
.mobile-menu__list a small {
  font-size: 13px;
  color: var(--orange);
  letter-spacing: 0;
}
.mobile-menu__foot { display: grid; gap: 8px; color: var(--gray-light); font-size: 15px; }
.mobile-menu__foot a { color: var(--paper); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: var(--white);
  background: var(--ink-2);
  overflow: hidden;
  isolation: isolate;
}
.hero__glow {
  position: absolute;
  z-index: -1;
  width: 70vw; height: 70vw;
  max-width: 1000px; max-height: 1000px;
  right: -20vw; top: -30vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 101, 31, 0.32) 0%, rgba(247, 101, 31, 0) 62%);
  pointer-events: none;
}
.hero::after {
  /* subtle grain for depth */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.06;
  pointer-events: none;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- animated hero layers ---- */
.hero { --hs: 0; }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  will-change: transform;
}
.hero__blob--a {
  width: min(70vw, 1000px); aspect-ratio: 1;
  right: -18vw; top: -34vw;
  background: radial-gradient(circle, rgba(247, 101, 31, 0.34) 0%, rgba(247, 101, 31, 0) 64%);
  animation: blobA 18s ease-in-out infinite alternate;
}
.hero__blob--b {
  width: min(60vw, 820px); aspect-ratio: 1;
  left: -20vw; top: -22vw;
  background: radial-gradient(circle, rgba(248, 247, 244, 0.13) 0%, rgba(248, 247, 244, 0) 62%);
  animation: blobB 22s ease-in-out infinite alternate;
}
.hero__blob--c {
  width: min(120vw, 1500px); aspect-ratio: 2 / 1;
  left: 50%; bottom: -14vw;
  margin-left: max(-60vw, -750px);
  background: radial-gradient(ellipse at 50% 50%, rgba(247, 101, 31, 0.55) 0%, rgba(247, 101, 31, 0.16) 38%, rgba(247, 101, 31, 0) 66%);
  animation: blobC 14s ease-in-out infinite alternate;
}
@media (min-width: 1001px) {
  .hero__blob--c { left: 74%; bottom: auto; top: 10%; width: min(90vw, 1150px); margin-left: max(-45vw, -575px); }
}
@keyframes blobC { from { opacity: 0.8; transform: scale(1); } to { opacity: 1; transform: scale(1.06); } }
@keyframes blobA { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-6vw, 5vw, 0) scale(1.08); } 100% { transform: translate3d(-2vw, 10vw, 0) scale(0.96); } }
@keyframes blobB { 0% { transform: translate3d(0, 0, 0) scale(1); } 100% { transform: translate3d(8vw, -6vw, 0) scale(1.15); } }

/* headline on the left, the morphing device on the right; both fit the first screen */
.hero__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding-top: calc(var(--header-h) + 16px);
  padding-bottom: 24px;
}
.hero__content { position: relative; z-index: 1; }
.hero__visual {
  --fade: clamp(24px, 4vw, 64px);
  position: relative;
  margin: -60px calc(-1 * var(--fade));
  padding: 60px var(--fade);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 calc(var(--fade) + 5%), #000 calc(100% - var(--fade) - 5%), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 calc(var(--fade) + 5%), #000 calc(100% - var(--fade) - 5%), transparent 100%);
}

.hero__stage {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(340px, calc(100svh - var(--header-h) - 130px), 560px);
  container-type: size;
  opacity: 0;
  animation: stageIn 1400ms var(--ease-out) 0.5s forwards;
}
@keyframes stageIn { from { opacity: 0; translate: 0 60px; } to { opacity: 1; translate: 0 0; } }

/* the device: real proportions per mode (16:10 laptop, 16:9 TV, phone, 3:1 billboard, bus);
   size, corners and screen inset animate between them. Everything stands on one ground line. */
.hero__stage { --ground: 10cqh; }
@property --by { syntax: "<length>"; inherits: true; initial-value: 0px; }
.device {
  --w: min(86cqw, 120cqh); --h: calc(var(--w) * 0.625); --by: 14cqh; --r: 1.4cqw; --pad: 0.7cqw;
  --st: var(--pad); --sr: var(--pad); --sb: var(--pad); --sl: var(--pad);
  position: absolute;
  left: 50%;
  bottom: var(--by);
  width: var(--w);
  height: var(--h);
  translate: -50% 0;
  transition: width 1.2s var(--ease-in-out), height 1.2s var(--ease-in-out), --by 1.2s var(--ease-in-out),
              transform 1.6s var(--ease-out), opacity 700ms var(--ease-soft);
}
.device[data-mode="phone"]     { --h: 86cqh; --w: calc(var(--h) * 0.48); --by: 6cqh; --r: 5.6cqh; --pad: 1.3cqh; }
.device[data-mode="tv"]        { --w: min(86cqw, 120cqh); --h: calc(var(--w) * 0.5625); --by: 18cqh; --r: 0.6cqw; --pad: 0.45cqw; }
.device[data-mode="billboard"] { --w: min(88cqw, 160cqh); --h: calc(var(--w) / 3); --by: 50cqh; --r: 0.4cqw; --pad: 1cqw; }
.device[data-mode="bus"]       { --w: min(88cqw, 190cqh); --h: calc(var(--w) / 2.6); --by: 9cqh; --r: 2cqh;
                                 --st: 40.6%; --sr: 3.8%; --sb: 36.6%; --sl: 24.1%; }
.device.is-offright { transform: translateX(80cqw); opacity: 0; }
.device.is-offleft { transform: translateX(-80cqw); opacity: 0; transition: transform 1.6s cubic-bezier(0.45, 0, 0.75, 0.4), opacity 1.3s ease-in 0.2s; }
.device.no-anim, .device.no-anim * { transition: none !important; }

/* soft contact shadow on the ground line */
.device::after {
  content: "";
  position: absolute;
  left: 4%; right: 4%;
  top: calc(100% + var(--by) - var(--ground) - 1.6cqh);
  height: 3.2cqh;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  transition: opacity 500ms;
}
.device[data-mode="bus"]::after { opacity: 0; }

/* frame: tinted glass, no outline. The glass and the billboard's metal are separate layers so
   they cross-fade (gradients themselves can't animate). */
.device__frame {
  position: absolute;
  inset: 0;
  border-radius: var(--r);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 0 140px -40px rgba(247, 101, 31, 0.55);
  transition: border-radius 1.2s var(--ease-in-out), box-shadow 800ms var(--ease-soft),
              backdrop-filter 800ms var(--ease-soft), -webkit-backdrop-filter 800ms var(--ease-soft);
}
.device__frame::before,
.device__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transition: opacity 900ms var(--ease-soft);
}
.device__frame::before { background: linear-gradient(150deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05) 45%, rgba(0, 0, 0, 0.3)); }
.device__frame::after { background: linear-gradient(180deg, #38333a, #1c1a1c); opacity: 0; }
.device[data-mode="billboard"] .device__frame::after { opacity: 1; }
.device[data-mode="bus"] .device__frame::before { opacity: 0; }
.device[data-mode="bus"] .device__frame {
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0), 0 0 140px -40px rgba(247, 101, 31, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}
.device__screen {
  position: absolute;
  top: var(--st); right: var(--sr); bottom: var(--sb); left: var(--sl);
  border-radius: max(2px, calc(var(--r) - var(--pad)));
  overflow: hidden;
  container-type: size;
  background: rgba(16, 14, 16, 0.85);
  transition: top 1.2s var(--ease-in-out), right 1.2s var(--ease-in-out), bottom 1.2s var(--ease-in-out),
              left 1.2s var(--ease-in-out), border-radius 1.2s var(--ease-in-out);
}
/* glass glare across every screen */
.device__screen::after {
  content: "";
  position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.03) 32%, rgba(255, 255, 255, 0) 33%);
  pointer-events: none;
}
.device[data-mode="bus"] .device__screen::after { opacity: 0.5; }

/* small parts: they fade in once the shape has settled */
.device__cam, .device__notch, .device__home, .device__led, .device__deco {
  position: absolute; z-index: 4; pointer-events: none; opacity: 0;
  transition: opacity 450ms var(--ease-soft);
}
.device[data-mode="laptop"] .device__base,
.device[data-mode="laptop"] .device__cam,
.device[data-mode="phone"] .device__phone,
.device[data-mode="phone"] .device__notch,
.device[data-mode="phone"] .device__home,
.device[data-mode="tv"] .device__stand,
.device[data-mode="tv"] .device__led,
.device[data-mode="bus"] .device__bus { opacity: 1; transition: opacity 800ms var(--ease-soft) 450ms; }

.device__cam { left: 50%; top: calc(var(--pad) / 2); width: 0.5cqw; height: 0.5cqw; translate: -50% -50%; border-radius: 50%; background: #0b0a0b; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12); }
.device__notch { left: 50%; top: calc(var(--pad) + 1.2cqh); width: 28%; height: 3.2cqh; translate: -50% 0; border-radius: 99px; background: #050405; }
.device__home { left: 50%; bottom: calc(var(--pad) + 1.1cqh); width: 34%; height: 0.55cqh; translate: -50% 0; border-radius: 99px; background: rgba(255, 255, 255, 0.6); }
.device__led { left: 50%; bottom: 0.08cqw; width: 0.35cqw; height: 0.35cqw; translate: -50% 0; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0.6cqw var(--orange); }

/* laptop deck */
.device__base {
  left: -9%; right: -9%; top: 100%;
  height: 3.6cqh;
  border-radius: 0.3cqh 0.3cqh 45% 45% / 0.3cqh 0.3cqh 100% 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.16) 35%, rgba(255, 255, 255, 0.06) 70%, rgba(0, 0, 0, 0.3));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.7);
}
.device__base::before { content: ""; position: absolute; left: 50%; top: 0; width: 13%; height: 38%; translate: -50% 0; border-radius: 0 0 1cqh 1cqh; background: rgba(0, 0, 0, 0.38); }

/* phone side buttons */
.device__phone { inset: 0; }
.ph-btn { position: absolute; width: 0.5cqh; border-radius: 99px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2)); }
.ph-btn--power { right: -0.5cqh; top: 27%; height: 11%; }
.ph-btn--vol1 { left: -0.5cqh; top: 21%; height: 7%; }
.ph-btn--vol2 { left: -0.5cqh; top: 30%; height: 7%; }

/* tv legs */
.device__stand { left: 0; right: 0; top: 100%; height: calc(var(--by) - var(--ground)); }
.device__stand i {
  position: absolute; top: 0; bottom: 0; width: 1.1cqw;
  border-radius: 0 0 0.4cqw 0.4cqw;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.12));
}
.device__stand i:first-child { left: 13%; transform: skewX(24deg); transform-origin: top; }
.device__stand i:last-child { right: 13%; transform: skewX(-24deg); transform-origin: top; }

/* billboard: unipole, catwalk and lamps lighting the board from below. The pole is there from the
   start of the move, so the board looks lifted up on it. */
.device__pole { left: 0; right: 0; top: 100%; height: calc(var(--by) - var(--ground)); }
.device[data-mode="billboard"] .device__pole { opacity: 1; transition: opacity 700ms var(--ease-soft) 150ms; }
.device[data-mode="billboard"] .bb-lamps i::after { animation: lampsOn 900ms var(--ease-soft) 900ms backwards; }
@keyframes lampsOn { from { opacity: 0; } }
.device__pole::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 4.5cqw; translate: -50% 0;
  background: linear-gradient(90deg, #1f1d1f, #5c565c 40%, #2c292c 70%, #1a181a);
  border-radius: 0.3cqw 0.3cqw 0 0;
}
.device__pole::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 10cqw; height: 1.6cqh; translate: -50% 0; border-radius: 0.4cqh 0.4cqh 0 0; background: #2c292c; }
.bb-walk {
  position: absolute; left: 3%; right: 3%; top: 1.6cqh; height: 1.4cqh;
  background: #2c292c;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 -2.6cqh 0 -1.1cqh rgba(255, 255, 255, 0.18);
}
.bb-lamps { position: absolute; left: 8%; right: 8%; top: 0.4cqh; display: flex; justify-content: space-around; }
.bb-lamps i { position: relative; width: 3.6cqw; height: 1.6cqh; border-radius: 0.4cqh 0.4cqh 1cqh 1cqh; background: linear-gradient(180deg, #fff6e8, #9a948f); }
.bb-lamps i::after {
  content: ""; position: absolute; left: -120%; right: -120%; bottom: 100%; height: 30cqh;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 236, 214, 0.35), rgba(255, 236, 214, 0) 70%);
}

/* bus drawing */
.device__bus { inset: 0; z-index: 0; }
.bus-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bus-svg text { font-family: var(--font-sans); }
.bus-spokes { transform-box: fill-box; transform-origin: center; animation: busSpin 0.6s linear infinite; }
@keyframes busSpin { to { transform: rotate(-360deg); } }
.device__screen { z-index: 1; }

.stage__road {
  position: absolute; left: -10%; right: -10%; bottom: var(--ground);
  height: 3px;
  background: repeating-linear-gradient(90deg, rgba(248, 247, 244, 0.35) 0 44px, transparent 44px 88px);
  opacity: 0;
  transition: opacity 500ms var(--ease-soft);
  animation: roadMove 0.5s linear infinite;
}
.hero__stage[data-mode="bus"] .stage__road { opacity: 1; }
@keyframes roadMove { to { background-position: 88px 0; } }

/* service tags that float up and out of the phone / laptop, and leave with it */
.stage__tags { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.tag-chip {
  position: absolute;
  left: calc(50% + var(--tx));
  top: calc(var(--cy) + var(--ty));
  translate: -50% -50%;
  /* parked at the device centre, small and invisible */
  transform: translate(calc(-1 * var(--tx)), calc(-1 * var(--ty))) scale(0.4);
  opacity: 0;
  transition: transform 500ms var(--ease-in-out), opacity 350ms var(--ease-soft);
}
.hero__stage[data-mode="phone"] [data-for="phone"] .tag-chip,
.hero__stage[data-mode="laptop"] [data-for="laptop"] .tag-chip,
.hero__stage[data-mode="tv"] [data-for="tv"] .tag-chip,
.hero__stage[data-mode="billboard"] [data-for="billboard"] .tag-chip,
.hero__stage[data-mode="bus"] .device:not(.is-offleft) ~ [data-for="bus"] .tag-chip {
  transform: none;
  opacity: 1;
  transition: transform 1300ms var(--ease-out) var(--d), opacity 700ms var(--ease-soft) var(--d);
}
.tag-chip > span {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.6em 1.05em;
  border-radius: 99px;
  background: rgba(30, 27, 30, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 30px -16px rgba(0, 0, 0, 0.8);
  color: var(--paper);
  font-size: clamp(10px, 2.1cqw, 14px);
  font-weight: 600;
  white-space: nowrap;
  animation: tagFloat 4.2s ease-in-out var(--d) infinite alternate;
}
.tag-chip > span::before { content: ""; width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0.7em var(--orange); }
@keyframes tagFloat { to { transform: translateY(-0.6em); } }
@media (max-width: 700px) {
  /* narrow screens: own positions, long tags wrap onto two lines */
  .tag-chip {
    left: calc(50% + var(--mx));
    top: calc(var(--cy) + var(--my));
    transform: translate(calc(-1 * var(--mx)), calc(-1 * var(--my))) scale(0.4);
  }
  .hero__stage[data-mode="phone"] [data-for="phone"] .tag-chip,
  .hero__stage[data-mode="laptop"] [data-for="laptop"] .tag-chip,
  .hero__stage[data-mode="tv"] [data-for="tv"] .tag-chip,
  .hero__stage[data-mode="billboard"] [data-for="billboard"] .tag-chip,
  .hero__stage[data-mode="bus"] .device:not(.is-offleft) ~ [data-for="bus"] .tag-chip { transform: none; }
  .tag-chip > span { max-width: 30cqw; white-space: normal; line-height: 1.2; border-radius: 0.9em; font-size: 10px; }
  .tag-chip > span::before { flex: none; }
}
/* the floating platform logos step aside while the tags are out (filter, because opacity is animated) */
.hero__stage .mi { transition: filter 500ms var(--ease-soft); }
.hero__stage[data-mode="phone"][data-tags~="phone"] .mi,
.hero__stage[data-mode="laptop"][data-tags~="laptop"] .mi,
.hero__stage[data-mode="tv"][data-tags~="tv"] .mi,
.hero__stage[data-mode="billboard"][data-tags~="billboard"] .mi,
.hero__stage[data-mode="bus"][data-tags~="bus"] .mi { filter: opacity(0); }

/* scenes inside the screen cross-fade with the shape */
.scene { position: absolute; inset: 0; opacity: 0; transition: opacity 500ms var(--ease-soft); }
.device[data-mode="laptop"] .scene--laptop,
.device[data-mode="phone"] .scene--phone,
.device[data-mode="tv"] .scene--tv,
.device[data-mode="billboard"] .scene--billboard,
.device[data-mode="bus"] .scene--bus { opacity: 1; transition: opacity 800ms var(--ease-soft) 350ms; }

/* phone: social feed */
.scene--phone {
  display: flex; flex-direction: column; gap: 3.6cqi;
  padding: 14cqi 5cqi 5cqi;
  background: linear-gradient(180deg, #1d1a1d, #121012);
  color: var(--paper);
  font-size: 5.4cqi;
  text-align: left;
}
.sm-top { display: flex; justify-content: space-between; align-items: center; font-size: 1.25em; }
.sm-top span { display: flex; gap: 3.5cqi; }
.sm-top svg, .sm-post__actions svg { width: 1.15em; height: 1.15em; }
.sm-stories { display: flex; gap: 3cqi; }
.sm-stories i { flex: none; width: 14cqi; height: 14cqi; border-radius: 50%; background: radial-gradient(circle, #3a353a 56%, #1d1a1d 58% 64%, transparent 66%), linear-gradient(135deg, var(--orange), #ffc29e); }
.device[data-mode="phone"] .sm-stories .is-live { animation: livePulse 1.6s ease-in-out infinite; }
@keyframes livePulse { 50% { scale: 1.08; } }
.sm-post { display: grid; gap: 2.6cqi; }
.sm-post__head { display: flex; align-items: center; gap: 2.6cqi; }
.sm-post__head span:last-child { display: grid; line-height: 1.2; }
.sm-post__head small { font-size: 0.78em; color: rgba(248, 247, 244, 0.5); }
.sm-avatar { display: grid; place-items: center; width: 9cqi; height: 9cqi; border-radius: 50%; background: var(--orange); color: var(--white); font-weight: 700; font-size: 0.85em; }
.sm-post__img {
  position: relative;
  display: flex; align-items: flex-end;
  aspect-ratio: 1 / 1.05;
  padding: 6cqi;
  border-radius: 4cqi;
  background: linear-gradient(150deg, #ff9a62, var(--orange) 40%, #8a3510 85%);
  color: var(--white);
  font-size: 1.7em; font-weight: 600; line-height: 1.02; letter-spacing: -0.03em;
  overflow: hidden;
}
.sm-post__img b { color: var(--ink); }
.sm-heart { position: absolute; left: 50%; top: 42%; translate: -50% -50%; font-style: normal; font-size: 3em; color: var(--white); opacity: 0; }
.device[data-mode="phone"] .sm-heart { animation: heartPop 1.1s var(--ease-out) 1.7s; }
@keyframes heartPop { 0% { opacity: 0; scale: 0.3; } 35% { opacity: 1; scale: 1.15; } 60% { scale: 1; opacity: 1; } 100% { opacity: 0; scale: 1; } }
.sm-post__actions { display: flex; gap: 3.6cqi; }
.device[data-mode="phone"] .sm-like { color: var(--orange); fill: var(--orange); transition: color 300ms 1.9s; }
.device[data-mode="phone"] .sm-like svg { fill: currentColor; }
.sm-post__likes { font-size: 0.9em; color: rgba(248, 247, 244, 0.7); }
.sm-post__likes b { color: var(--paper); font-variant-numeric: tabular-nums; }
.sm-float { position: absolute; right: 7cqi; bottom: 22cqi; }
.sm-float i { position: absolute; right: 0; bottom: 0; font-style: normal; font-size: 1.6em; color: var(--orange); opacity: 0; }
.device[data-mode="phone"] .sm-float i { animation: floatUp 2.2s var(--ease-out) infinite; }
.device[data-mode="phone"] .sm-float i:nth-child(2) { animation-delay: 0.7s; right: 4cqi; }
.device[data-mode="phone"] .sm-float i:nth-child(3) { animation-delay: 1.4s; right: -2cqi; }
@keyframes floatUp { 0% { opacity: 0; translate: 0 0; scale: 0.6; } 20% { opacity: 1; } 100% { opacity: 0; translate: -3cqi -40cqi; scale: 1.1; } }

/* tv: commercial break */
.scene--tv {
  overflow: hidden;
  background: radial-gradient(ellipse at 28% 45%, rgba(247, 101, 31, 0.65), transparent 62%), linear-gradient(120deg, #2b1509, #121012 65%);
  color: var(--white);
  font-size: 3.4cqi;
  text-align: left;
}
.scene--tv::before {
  content: ""; position: absolute; inset: -20% auto -20% -40%; width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: skewX(-18deg);
}
.device[data-mode="tv"] .scene--tv::before { animation: sweep 3.2s ease-in-out 1s infinite; }
@keyframes sweep { to { left: 120%; } }
.tv-badge { position: absolute; left: 3.5cqi; top: 3.5cqi; display: inline-flex; align-items: center; gap: 0.5em; padding: 0.35em 0.8em; border-radius: 0.4em; background: rgba(0, 0, 0, 0.45); font-size: 0.8em; font-weight: 700; letter-spacing: 0.12em; }
.tv-badge i { width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--orange); animation: livePulse 1.2s ease-in-out infinite; }
.tv-ch { position: absolute; right: 3.5cqi; top: 3.5cqi; font-weight: 700; opacity: 0.75; }
.tv-spot { position: absolute; left: 7cqi; top: 50%; translate: 0 -50%; }
.tv-line { font-size: 2.1em; font-weight: 600; line-height: 1.02; letter-spacing: -0.035em; opacity: 0; translate: 0 30%; }
.tv-line--accent { color: #ffb48a; }
.tv-sub { margin-top: 0.9em; font-size: 0.95em; opacity: 0; color: rgba(255, 255, 255, 0.72); }
.device[data-mode="tv"] .tv-line { animation: tvIn 800ms var(--ease-out) 1s forwards; }
.device[data-mode="tv"] .tv-line--accent { animation-delay: 1.2s; }
.device[data-mode="tv"] .tv-sub { animation: fadeIn 800ms var(--ease-out) 1.6s forwards; }
@keyframes tvIn { to { opacity: 1; translate: 0 0; } }
.tv-time { position: absolute; right: 3.5cqi; bottom: 3.6cqi; font-size: 0.8em; font-variant-numeric: tabular-nums; opacity: 0.7; }
.tv-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 1cqi; background: rgba(255, 255, 255, 0.14); }
.tv-bar i { display: block; height: 100%; width: 100%; background: var(--orange); transform-origin: left; transform: scaleX(0); }
.device[data-mode="tv"] .tv-bar i { animation: tvBar 4s linear 0.7s forwards; }
@keyframes tvBar { to { transform: scaleX(1); } }

/* billboard: outdoor */
.scene--billboard {
  display: flex; align-items: center; justify-content: space-between; gap: 4cqi;
  padding: 0 6cqi;
  overflow: hidden;
  background: linear-gradient(110deg, var(--orange), #ff8b4f 55%, #e2541a);
  color: var(--ink);
  font-size: 3cqi;
  text-align: left;
}
.scene--billboard p { font-size: 2.1em; font-weight: 600; line-height: 1.02; letter-spacing: -0.035em; }
.scene--billboard b { color: var(--white); }
.bb-logo { flex: none; display: grid; place-items: center; width: 11cqi; height: 11cqi; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 1.6em; font-weight: 700; }
.scene--billboard::after {
  content: ""; position: absolute; inset: -30% auto -30% -40%; width: 25%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-18deg);
}
.device[data-mode="billboard"] .scene--billboard::after { animation: sweep 2.8s ease-in-out 1.1s infinite; }

/* bus: side panel ad */
.scene--bus {
  display: flex; align-items: center; gap: 4cqi;
  padding: 0 6cqi;
  background: linear-gradient(100deg, #fff, var(--paper));
  color: var(--ink);
  font-size: 38cqh;
  text-align: left;
}
.scene--bus p { font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; white-space: nowrap; }
.scene--bus b { color: var(--orange); }
.bus-logo { flex: none; display: grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--orange); color: var(--white); font-size: 0.8em; font-weight: 700; }

/* channel name + progress dots under the stage */
.stage__meta { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 8px; }
.stage__label { font-size: 15px; font-weight: 500; color: rgba(248, 247, 244, 0.82); transition: opacity 300ms var(--ease-soft); }
.stage__label.is-out { opacity: 0; }
.stage__dots { display: flex; gap: 6px; }
.stage__dots i { width: 6px; height: 6px; border-radius: 99px; background: rgba(248, 247, 244, 0.25); transition: width 500ms var(--ease-out), background 500ms var(--ease-soft); }
.stage__dots i.is-on { width: 22px; background: var(--orange); }

.dash {
  --dash-line: rgba(248, 247, 244, 0.08);
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  overflow: hidden;
  text-align: left;
  font-size: 1.85cqi;
  color: var(--paper);
}
.dash__bar {
  display: flex; align-items: center; gap: 2.2em;
  padding: 1em 1.6em;
  border-bottom: 1px solid var(--dash-line);
}
.dash__brand { display: inline-flex; align-items: center; gap: 0.6em; font-weight: 600; }
.dash__brand b { display: grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: 0.5em; background: var(--orange); color: var(--white); font-size: 0.9em; }
.dash__tabs { display: flex; gap: 0.4em; color: rgba(248, 247, 244, 0.5); }
.dash__tabs span { padding: 0.4em 0.9em; border-radius: 99px; white-space: nowrap; }
.dash__tabs span:nth-child(n+4) { display: none; }
.dash__brand, .dash__date { white-space: nowrap; }
.dash__tabs .is-on { background: rgba(248, 247, 244, 0.08); color: var(--paper); }
.dash__date { margin-left: auto; padding: 0.4em 0.9em; border: 1px solid var(--dash-line); border-radius: 99px; color: rgba(248, 247, 244, 0.6); }
.dash__body { display: grid; grid-template-columns: minmax(0, 1fr) 30%; min-height: 0; }
.dash__main { display: grid; grid-template-rows: auto 1fr; gap: 1.2em; padding: 1.4em 1.6em; min-height: 0; }
.dash__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9em; }
.kpi { display: grid; gap: 0.25em; padding: 0.9em 1em; border: 1px solid var(--dash-line); border-radius: 0.9em; background: rgba(248, 247, 244, 0.03); }
.kpi small { font-size: 0.85em; color: rgba(248, 247, 244, 0.5); }
.kpi b { font-size: 1.9em; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi em { font-style: normal; font-size: 0.85em; font-weight: 600; color: #4ade80; }
.dash__chart { position: relative; display: grid; grid-template-rows: auto 1fr; gap: 0.6em; min-height: 0; padding: 1em 1.1em 0.6em; border: 1px solid var(--dash-line); border-radius: 0.9em; background: rgba(248, 247, 244, 0.02); }
.dash__chart-head { display: flex; justify-content: space-between; font-weight: 600; }
.dash__legend { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 400; color: rgba(248, 247, 244, 0.55); }
.dash__legend i { width: 0.7em; height: 0.7em; border-radius: 50%; background: var(--orange); }
.dash__legend i.is-alt { margin-left: 0.6em; background: rgba(248, 247, 244, 0.5); }
.dash__chart svg { width: 100%; height: 100%; min-height: 0; overflow: visible; }
.dash__grid path { stroke: var(--dash-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dash__line { fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: dashDraw 2.2s var(--ease-out) 1.2s forwards; }
.dash__line--alt { stroke: rgba(248, 247, 244, 0.4); stroke-width: 1.5; stroke-dasharray: 4 5; stroke-dashoffset: 0; animation: none; }
.dash__area { opacity: 0; animation: fadeIn 1.4s var(--ease-soft) 2s forwards; }
@keyframes dashDraw { to { stroke-dashoffset: 0; } }
.dash__tip {
  position: absolute; right: 1.2em; top: 3.4em;
  padding: 0.3em 0.7em; border-radius: 99px;
  background: var(--orange); color: var(--white); font-weight: 700;
  opacity: 0; animation: fadeIn 600ms var(--ease-out) 3.2s forwards, tipPulse 2.4s ease-in-out 3.8s infinite;
}
@keyframes tipPulse { 50% { box-shadow: 0 0 0 0.6em rgba(247, 101, 31, 0); } 0%, 100% { box-shadow: 0 0 0 0 rgba(247, 101, 31, 0.5); } }
.dash__side { display: flex; flex-direction: column; gap: 0.9em; padding: 1.4em 1.4em 1.4em 0.4em; min-height: 0; }
.dash__side-title { font-weight: 600; }
.chan { display: grid; gap: 0.75em; }
.chan li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.3em 0.7em; }
.chan__ic { display: grid; place-items: center; width: 2em; height: 2em; border-radius: 0.6em; background: rgba(248, 247, 244, 0.07); }
.chan__ic svg { width: 1.05em; height: 1.05em; }
.chan__name { color: rgba(248, 247, 244, 0.8); }
.chan b { font-variant-numeric: tabular-nums; font-weight: 600; }
.chan i { grid-column: 2 / -1; height: 0.35em; border-radius: 99px; background: rgba(248, 247, 244, 0.08); overflow: hidden; }
.chan i::before { content: ""; display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, rgba(247, 101, 31, 0.6), var(--orange)); transform-origin: left; transform: scaleX(0); animation: chanFill 1.6s var(--ease-out) 1.4s forwards; }
.chan li:nth-child(2) i::before { animation-delay: 1.55s; }
.chan li:nth-child(3) i::before { animation-delay: 1.7s; }
.chan li:nth-child(4) i::before { animation-delay: 1.85s; }
.chan li:nth-child(5) i::before { animation-delay: 2s; }
.chan li:nth-child(6) i::before { animation-delay: 2.15s; }
@keyframes chanFill { to { transform: scaleX(1); } }
.dash__toast {
  order: -1;
  display: flex; align-items: center; gap: 0.6em;
  padding: 0.7em 0.9em;
  border-radius: 0.8em;
  background: rgba(248, 247, 244, 0.94);
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}
.dash__toast span { overflow: hidden; text-overflow: ellipsis; }
.dash__toast i { flex: none; width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--orange); }
.dash__toast.is-out { opacity: 0; transform: translateY(-40%); }

/* floating marketing icons around the screen */
.mi {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  display: grid;
  place-items: center;
  width: var(--s);
  height: var(--s);
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  border-radius: 50%;
  border: 1px solid rgba(248, 247, 244, 0.16);
  background: rgba(36, 33, 36, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--paper);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
  opacity: 0;
  animation:
    miIn 900ms var(--ease-out) calc(900ms + var(--i) * 110ms) forwards,
    miFloat calc(6s + var(--i) * 0.45s) ease-in-out calc(var(--i) * -0.9s) infinite alternate;
}
.mi svg { width: 44%; height: 44%; }
.mi--accent { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.mi--accent svg { width: 48%; height: 48%; }
.mi--light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
@keyframes miIn { from { opacity: 0; scale: 0.6; } to { opacity: 1; scale: 1; } }
@keyframes miFloat { from { transform: translateY(-10px) rotate(-4deg); } to { transform: translateY(10px) rotate(4deg); } }

@media (max-width: 1100px) {
  .hero__stage .mi { display: none; }
}
@media (max-width: 700px) {
  .dash__tabs, .dash__side { display: none; }
  .dash__body { grid-template-columns: 1fr; }
  .dash__kpis { grid-template-columns: repeat(2, 1fr); }
  .dash { font-size: 2.9cqi; }
}

/* rotating last word of the headline */
.hero__rotator { display: inline-grid; justify-items: start; vertical-align: top; overflow: hidden; padding-bottom: 0.2em; margin-bottom: -0.2em; }
.hero__rotator > span {
  grid-area: 1 / 1;
  transform: translateY(105%);
  opacity: 0;
  transition: transform 800ms var(--ease-out), opacity 500ms var(--ease-soft);
}
.hero__rotator > span.is-active { transform: none; opacity: 1; }
.hero__rotator > span.is-leaving { transform: translateY(-105%); opacity: 0; }

/* content drifts up and fades as the hero scrolls away */
.hero__content { translate: 0 calc(var(--hs) * -60px); opacity: calc(1 - var(--hs) * 1.3); }

.hero__title {
  font-size: clamp(40px, 4.6vw, 78px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.045em;
}
.hero__h1 { margin: 0; font: inherit; letter-spacing: inherit; color: inherit; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.2em; margin-bottom: -0.14em; }
.hero__title .line > span {
  display: inline-block;
  transform: translateY(105%);
  animation: lineUp 1.1s var(--ease-out) forwards;
}
.hero__title .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero__title .line:nth-child(3) > span { animation-delay: 0.24s; }
@keyframes lineUp { to { transform: none; } }

@keyframes fadeIn { to { opacity: 1; } }

.hero__lead {
  max-width: 46ch;
  margin-top: clamp(20px, 2vw, 28px);
  font-size: clamp(15px, 1.15vw, 18px);
  color: rgba(255, 255, 255, 0.72);
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 0.5s forwards;
}
.hero__ctas {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: clamp(24px, 2.6vw, 36px);
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 0.65s forwards;
}
@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; gap: 28px; padding-top: calc(var(--header-h) + 8px); text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__ctas { justify-content: center; }
  .hero__rotator { justify-items: center; }
  .hero__stage { height: clamp(280px, 80vw, 440px); }
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.scroll-cue__line {
  position: relative;
  width: 1px; height: 44px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}
.scroll-cue__line::after {
  content: "";
  position: absolute;
  left: 0; top: -40%;
  width: 100%; height: 40%;
  background: var(--orange);
  animation: scrollCue 2s var(--ease-in-out) infinite;
}
@keyframes scrollCue { to { top: 100%; } }

/* ==========================================================================
   Section heads
   ========================================================================== */
.section { padding-block: var(--section-y); position: relative; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(56px, 7vw, 96px);
}
.section-title {
  font-size: clamp(40px, 6vw, 92px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}
.section-head .eyebrow { margin-bottom: 24px; }
.svc-intro .section-title { font-size: clamp(32px, 3.6vw, 56px); line-height: 1.05; }
.section-head__aside { max-width: 44ch; justify-self: end; font-size: 18px; color: var(--gray); }
.section-dark .section-head__aside { color: var(--gray-light); }

/* ==========================================================================
   About / manifesto
   ========================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: clamp(32px, 6vw, 96px);
}
.about__label { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.about__label p { margin-top: 20px; color: var(--gray); max-width: 28ch; }

.manifesto {
  font-size: clamp(28px, 3.6vw, 54px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.manifesto .word {
  color: rgba(36, 33, 36, 0.16);
  transition: color 500ms var(--ease-out);
}
.manifesto .word.is-lit { color: var(--ink); }
.manifesto .word.accent.is-lit { color: var(--orange); }
.no-js .manifesto .word { color: var(--ink); }

.about__body {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  color: var(--gray);
  font-size: 17px;
}

.stats {
  margin-top: clamp(48px, 6vw, 88px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 0 24px 0 0;
  border-right: 1px solid var(--line-light);
}
.stat + .stat { padding-left: 24px; }
.stat:last-child { border-right: 0; }
.stat__num {
  display: flex;
  align-items: flex-start;
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.stat__num sup { font-size: 0.5em; color: var(--orange); margin-left: 3px; top: 0.15em; position: relative; }
.stat__label { margin-top: 8px; font-size: 14px; color: var(--gray); }

/* ==========================================================================
   Services
   ========================================================================== */
.services { overflow: hidden; }
.services__list { border-top: 1px solid var(--line-dark); }

.service {
  position: relative;
  border-bottom: 1px solid var(--line-dark);
}
.service__head {
  width: 100%;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: clamp(24px, 3vw, 40px) 0;
  text-align: left;
  position: relative;
  z-index: 1;
}
.service__num {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-light);
  font-variant-numeric: tabular-nums;
}
.service__title {
  font-size: clamp(32px, 5vw, 76px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  transition: transform var(--dur-med) var(--ease-out), color var(--dur-med);
}
.service__plus {
  position: relative;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  transition: background var(--dur-med), border-color var(--dur-med), transform var(--dur-med) var(--ease-out);
}
.service__plus::before,
.service__plus::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 16px; height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform var(--dur-med) var(--ease-out);
}
.service__plus::after { transform: translate(-50%, -50%) rotate(90deg); }

.service__head:hover .service__title { transform: translateX(12px); color: var(--orange); }
.service__head:hover .service__plus { border-color: var(--orange); }
.service.is-open .service__plus { background: var(--orange); border-color: var(--orange); transform: rotate(180deg); }
.service.is-open .service__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.service.is-open .service__title { color: var(--orange); }

.service__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-med) var(--ease-out);
}
.service.is-open .service__panel { grid-template-rows: 1fr; }
.service__panel-inner { overflow: hidden; }
.service__body {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  padding-bottom: 40px;
}
.service__desc { grid-column: 2; max-width: 46ch; color: var(--gray-light); font-size: 17px; }
.service__tags { grid-column: 3; display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-dark);
  font-size: 14px;
  color: var(--paper);
}

/* ==========================================================================
   Process
   ========================================================================== */
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step {
  position: relative;
  min-height: 360px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.step__index {
  font-size: 72px;
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.8;
  color: var(--orange);
}
.step__title { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; }
.step__text { color: var(--gray); font-size: 16px; }

/* ==========================================================================
   Work
   ========================================================================== */
.work__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px) clamp(16px, 2vw, 28px);
}
.work-card { display: block; }

.work-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-3);
}

.work-card__art {
  position: absolute;
  inset: 0;
  transition: transform 900ms var(--ease-out);
}
.work-card:hover .work-card__art { transform: scale(1.05); }

/* Placeholder art — replace with project imagery from the admin panel */
.art-1 { background: radial-gradient(60% 70% at 30% 30%, #f7651f 0%, transparent 60%), radial-gradient(50% 60% at 80% 80%, #6b2a0c 0%, transparent 70%), #1a181a; }
.art-2 { background: conic-gradient(from 210deg at 60% 40%, #242124, #f7651f, #f8f7f4, #242124); }
.art-3 { background: linear-gradient(160deg, #efede7 0%, #efede7 50%, #f7651f 50%, #f7651f 100%); }
.art-4 { background: radial-gradient(circle at 70% 50%, #f8f7f4 0 18%, transparent 18.5%), radial-gradient(circle at 70% 50%, #f7651f 0 30%, transparent 30.5%), #242124; }
.art-5 { background: radial-gradient(70% 90% at 50% 110%, #f7651f 0%, #b9470f 35%, transparent 70%), #f8f7f4; }
.art-6 { background: repeating-linear-gradient(135deg, #242124 0 22px, #2f2b2f 22px 44px); box-shadow: inset 0 0 0 999px rgba(247, 101, 31, 0.08); }
.art-7 { background: linear-gradient(90deg, #f7651f 0 33.3%, #242124 33.3% 66.6%, #efede7 66.6%); }
.art-8 { background: radial-gradient(circle at 30% 40%, #f7651f 0 14%, transparent 14.5%), radial-gradient(circle at 62% 58%, #f8f7f4 0 22%, transparent 22.5%), #1a181a; }

.work-card__badge {
  position: absolute;
  left: 20px; top: 20px;
  display: inline-flex;
  gap: 8px;
}
.work-card__badge span {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}
.work-card__view {
  position: absolute;
  right: 20px; bottom: 20px;
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  transform: scale(0.6) rotate(-45deg);
  opacity: 0;
  transition: transform var(--dur-med) var(--ease-out), opacity var(--dur-med);
}
.work-card__view svg { width: 22px; height: 22px; }
.work-card:hover .work-card__view,
.work-card:focus-visible .work-card__view { transform: scale(1) rotate(0); opacity: 1; }

.work-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-top: 20px;
}
.work-card__title { font-size: clamp(22px, 2.2vw, 32px); font-weight: 500; letter-spacing: -0.02em; }
.work-card__year { color: var(--gray); font-size: 15px; font-variant-numeric: tabular-nums; }

.work__more { margin-top: clamp(48px, 6vw, 80px); display: flex; justify-content: center; }

/* ==========================================================================
   Partners
   ========================================================================== */
.partners { padding-block: clamp(80px, 9vw, 140px); }
.partners__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 48px;
}
.partners__title { font-size: clamp(28px, 3.2vw, 44px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; max-width: 18ch; }
.partners__note { color: var(--gray-light); max-width: 36ch; }

.partners__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.4vw, 20px);
}
.partner {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 140px;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(248, 247, 244, 0.55);
  overflow: hidden;
  isolation: isolate;
  transition: color var(--dur-med) var(--ease-soft),
              border-color var(--dur-med) var(--ease-soft),
              transform var(--dur-med) var(--ease-out);
}
.partner:hover { color: var(--paper); border-color: rgba(247, 101, 31, 0.3); transform: translateY(-2px); }


/* ==========================================================================
   Testimonial
   ========================================================================== */
.quote { text-align: center; }
.quote__mark { width: 56px; height: 56px; margin: 0 auto 32px; color: var(--orange); }
.quote__text {
  max-width: 22ch;
  margin-inline: auto;
  font-size: clamp(32px, 4.4vw, 68px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.quote__author { margin-top: 40px; display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.quote__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--orange);
  display: grid;
  place-items: center;
  font-weight: 600;
}
.quote__name { font-weight: 600; }
.quote__role { color: var(--gray); font-size: 14px; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(120px, 14vw, 220px);
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 80vw; height: 80vw;
  max-width: 1100px; max-height: 1100px;
  /* centre sits high enough that the gradient reaches 0 before the section's
     bottom edge, so there is no hard line against the footer */
  left: 50%; top: calc(100% - min(40vw, 550px));
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 101, 31, 0.5) 0%, rgba(247, 101, 31, 0.18) 38%, rgba(247, 101, 31, 0) 62%);
  filter: blur(20px);
}
.cta__inner { text-align: center; }
.cta__title {
  font-size: clamp(64px, 15vw, 240px);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.06em;
}
.cta__lead { margin: 32px auto 48px; max-width: 48ch; color: var(--gray-light); font-size: 18px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--ink-2);
  color: var(--paper);
  padding-top: clamp(72px, 8vw, 112px);
  overflow: hidden;
}
.footer__top {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line-dark);
}
.footer__brand img { height: 26px; width: auto; margin-bottom: 24px; }
.footer__brand p { color: var(--gray-light); max-width: 34ch; }

.newsletter { margin-top: 32px; max-width: 420px; }
.newsletter label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 10px; }
.newsletter__field {
  display: flex;
  align-items: center;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-dark);
  transition: border-color var(--dur-fast);
}
.newsletter__field:focus-within { border-color: var(--orange); }
.newsletter input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 0 16px;
  background: transparent;
  border: 0;
  color: var(--paper);
  font: inherit;
  font-size: 16px;
}
.newsletter input::placeholder { color: var(--gray-light); }
.newsletter input:focus { outline: none; }
.newsletter button {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast);
}
.newsletter button:hover { background: var(--orange-hover); transform: rotate(-45deg); }
.newsletter button svg { width: 18px; height: 18px; }
.newsletter__msg { min-height: 22px; margin-top: 8px; font-size: 14px; color: var(--gray-light); }

.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__col .footer__title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 20px;
}
.footer__col li + li { margin-top: 10px; }
.footer__col a { position: relative; transition: color var(--dur-fast); }
.footer__col a:hover { color: var(--orange); }
.footer__col .is-disabled { opacity: 0.4; cursor: default; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-block: 28px;
  font-size: 14px;
  color: var(--gray-light);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 24px; }
.footer__legal a:hover { color: var(--paper); }

/* ==========================================================================
   Inner pages — shared page hero
   ========================================================================== */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(56px, 9vw, 140px));
  padding-bottom: clamp(56px, 7vw, 104px);
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; color: var(--gray-light); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: rgba(248, 247, 244, 0.3); }
.breadcrumb a { transition: color 300ms var(--ease-soft); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb [aria-current] { color: var(--paper); }

.page-hero__title {
  margin-top: clamp(24px, 3vw, 40px);
  font-size: clamp(44px, 7.6vw, 128px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.045em;
}
.page-hero__title .line { display: block; overflow: hidden; padding-bottom: 0.2em; margin-bottom: -0.14em; }
.page-hero__title .line > span {
  display: inline-block;
  transform: translateY(105%);
  animation: lineUp 1.1s var(--ease-out) forwards;
}
.page-hero__title .line:nth-child(2) > span { animation-delay: 0.12s; }
/* Projeler: the title lines sit side by side, so the hero is shorter */
.page-hero--projeler .page-hero__title .line { display: inline-block; vertical-align: top; }

.page-hero__bottom {
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 0.5s forwards;
}
.page-hero__lead { max-width: 52ch; font-size: clamp(16px, 1.4vw, 19px); color: rgba(255, 255, 255, 0.8); }
.page-hero__facts { display: flex; gap: clamp(24px, 4vw, 56px); }
.page-hero__facts dt { font-size: 13px; color: var(--gray-light); margin-bottom: 6px; }
.page-hero__facts dd { margin: 0; font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; }

/* ==========================================================================
   Kurumsal — story
   ========================================================================== */
.story__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.story__head .eyebrow { margin-bottom: 24px; }
.story__body { display: grid; gap: 24px; max-width: 62ch; font-size: 18px; line-height: 1.7; color: var(--gray); }
.story__body .story__lead {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--ink);
}

/* ==========================================================================
   Kurumsal — what we do / how we work
   ========================================================================== */
.doing__block {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.doing__block--how {
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 64px);
  margin-top: clamp(96px, 11vw, 160px);
  padding-top: clamp(64px, 7vw, 96px);
  border-top: 1px solid var(--line-dark);
}
.doing__head .eyebrow { margin-bottom: 24px; }
.doing__body { display: grid; gap: 24px; max-width: 62ch; font-size: 18px; line-height: 1.7; color: var(--gray-light); }
.doing__body .doing__lead {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--paper);
}
.doing__tags { display: flex; flex-wrap: wrap; gap: 10px; }
.doing__body .link-arrow { justify-self: start; color: var(--paper); }

.how__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
.how { padding-top: 24px; border-top: 1px solid var(--line-dark); }
.how__num { display: block; font-size: 14px; font-weight: 500; color: var(--orange); margin-bottom: 32px; font-variant-numeric: tabular-nums; }
.how__title { font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 12px; }
.how__text { color: var(--gray-light); }

/* ==========================================================================
   Kurumsal — team
   ========================================================================== */
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.member { text-align: center; }
.member__photo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 30% 18%, rgba(247, 101, 31, 0.16), rgba(247, 101, 31, 0) 62%), var(--paper-2);
  margin-bottom: 22px;
  overflow: hidden;
  transition: transform 700ms var(--ease-out), box-shadow 700ms var(--ease-out);
}
/* thin orange line that grows along the bottom of the card on hover */
.member__photo::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 700ms var(--ease-out);
}
.member:hover .member__photo { transform: translateY(-6px); box-shadow: 0 24px 44px -26px rgba(36, 33, 36, 0.45); }
.member:hover .member__photo::after { transform: scaleX(1); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__photo span { font-size: 44px; font-weight: 600; letter-spacing: -0.03em; color: rgba(247, 101, 31, 0.45); }
.member__name { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.member__role {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(247, 101, 31, 0.1);
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 700ms var(--ease-out), color 700ms var(--ease-out);
}
.member:hover .member__role { background: var(--orange); color: var(--white); }
@media (max-width: 560px) {
  .member__name { font-size: 18px; }
  .member__role { padding: 5px 10px; font-size: 10px; letter-spacing: 0.05em; }
}

.section--divided { border-top: 1px solid var(--line-light); }

/* ==========================================================================
   Kurumsal — why us
   ========================================================================== */
.approach__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.approach__head { position: sticky; top: calc(var(--header-h) + 32px); }
.approach__head .eyebrow { margin-bottom: 24px; }
.approach__lead { margin: 24px 0 36px; max-width: 38ch; font-size: 18px; color: var(--gray); }
.approach__list { border-top: 1px solid var(--line-light); }
.approach__item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  padding: clamp(28px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--line-light);
}
.approach__num { font-size: 14px; font-weight: 500; color: var(--orange); padding-top: 8px; font-variant-numeric: tabular-nums; }
.approach__item h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 500; letter-spacing: -0.025em; margin-bottom: 10px; }
.approach__item p { color: var(--gray); max-width: 50ch; }

/* ==========================================================================
   Neler Yapıyoruz? — service index + detail blocks
   ========================================================================== */
.svc-index { margin-top: clamp(56px, 7vw, 96px); }
.svc-index ol { display: flex; flex-wrap: wrap; gap: 10px; }
.svc-index a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-light);
  font-size: 15px;
  font-weight: 500;
  transition: background-color 400ms var(--ease-soft), color 400ms var(--ease-soft), border-color 400ms var(--ease-soft);
}
.svc-index a span { font-size: 12px; color: var(--orange-deep); font-variant-numeric: tabular-nums; transition: color 400ms var(--ease-soft); }
.svc-index a:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.svc-index a:hover span { color: var(--orange); }

.svc { padding-block: clamp(72px, 9vw, 128px); border-top: 1px solid var(--line-light); }
.svc__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.svc__head { position: sticky; top: calc(var(--header-h) + 32px); }
.svc__num { display: block; font-size: 14px; font-weight: 500; color: var(--orange-deep); font-variant-numeric: tabular-nums; margin-bottom: 20px; }
.svc__title { font-size: clamp(40px, 5vw, 76px); font-weight: 500; line-height: 1; letter-spacing: -0.04em; }
.svc__desc { margin-top: 24px; max-width: 40ch; font-size: 18px; color: var(--gray); }
.svc__items { border-top: 1px solid var(--line-light); }
.svc__item { padding: clamp(24px, 3vw, 36px) 0; border-bottom: 1px solid var(--line-light); }
.svc__item h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; letter-spacing: -0.02em; margin-bottom: 8px; }
.svc__item p { color: var(--gray); max-width: 52ch; }

/* "Detaylı incele" link inside the home page service accordion */
.service__more { grid-column: 2; justify-self: start; color: var(--paper); }

/* ==========================================================================
   Projeler — brand logo tiles
   ========================================================================== */
.brands__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.4vw, 20px);
}
.brand {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  padding: clamp(14px, 1.8vw, 26px);
  border-radius: var(--radius-md);
  border: 1px solid var(--line-light);
  background: var(--white);
}
.brand img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; }
/* wide and square logos get the same visual weight: a 4:1 logo is half as tall as a square one */
.brand img[style*="--ar"] { height: calc(var(--logo-h) / sqrt(var(--ar))); max-height: calc(var(--logo-h) * 1.2); }
.brands__grid { --logo-h: clamp(58px, 6.4vw, 92px); }
.brand__placeholder { font-size: 14px; font-weight: 500; color: rgba(36, 33, 36, 0.3); }

/* ==========================================================================
   Havadisler — compact page hero, lead story, filters, cards
   ========================================================================== */
.page-hero--compact { padding-bottom: clamp(48px, 6vw, 80px); }
.page-hero--compact .page-hero__title {
  margin-top: 20px;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 1;
}
.page-hero--compact .page-hero__lead { margin-top: 20px; }

.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13px; color: var(--gray); }
.post__meta > * { white-space: nowrap; }
.post__meta > * + *::before { content: "·"; margin-right: 12px; opacity: 0.5; }
.post__cat { font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--orange-deep); }

.news-lead {
  display: grid;
  grid-template-columns: 7fr 5fr;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--paper);
}
.news-lead__media { position: relative; display: block; min-height: 420px; overflow: hidden; }
.news-lead__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  padding: clamp(28px, 4vw, 56px);
}
.news-lead__label { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }
.news-lead .post__meta { color: var(--gray-light); }
.news-lead .post__cat { color: var(--orange); }
.news-lead__title { font-size: clamp(26px, 2.8vw, 40px); font-weight: 500; line-height: 1.12; letter-spacing: -0.03em; }
.news-lead__excerpt { color: var(--gray-light); margin-bottom: 8px; }

.news__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: clamp(64px, 8vw, 104px) 0 clamp(28px, 3vw, 40px);
}
.news__heading { font-size: clamp(26px, 2.6vw, 36px); font-weight: 500; letter-spacing: -0.025em; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-light);
  background: var(--white);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: background-color 400ms var(--ease-soft), color 400ms var(--ease-soft), border-color 400ms var(--ease-soft);
}
.filter:hover { border-color: var(--ink); }
.filter__count {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  background: var(--paper-2);
  font-size: 12px;
  color: var(--gray);
  transition: background-color 400ms var(--ease-soft), color 400ms var(--ease-soft);
}
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filter[aria-pressed="true"] .filter__count { background: rgba(255, 255, 255, 0.14); color: var(--paper); }

.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.post {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-light);
  background: var(--white);
}
.post[hidden] { display: none; }
.post.is-filtered-in { animation: filterIn 600ms var(--ease-out); }
@keyframes filterIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.post__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.post__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: clamp(20px, 2vw, 28px); }
.post__title { font-size: clamp(19px, 1.5vw, 22px); font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; }
.post__excerpt {
  color: var(--gray);
  font-size: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--orange-deep);
  transition: gap 400ms var(--ease-soft);
}
.post__more svg { width: 16px; height: 16px; }
.post__more:hover { gap: 12px; }
.news-lead__title a,
.post__title a { transition: color 400ms var(--ease-soft); }
.news-lead__title a:hover { color: var(--orange); }
.post__title a:hover { color: var(--orange-deep); }
.news-lead .work-card__art,
.post .work-card__art { transition: transform 900ms var(--ease-out); }
.news-lead:hover .work-card__art,
.post:hover .work-card__art { transform: scale(1.04); }

/* ==========================================================================
   İletişim — info column + form
   ========================================================================== */
.contact__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: stretch; /* left column matches the form height */
}
.contact__info { display: flex; flex-direction: column; align-items: flex-start; }
.contact__info > .contact__list { align-self: stretch; margin-bottom: 32px; }
.contact__note { max-width: 40ch; margin-top: 20px; color: var(--gray); }
.contact__list { margin-top: 40px; border-top: 1px solid var(--line-light); }
.contact__list > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-light); }
.contact__list dt { font-size: 14px; color: var(--gray); }
.contact__list dd { margin: 0; font-weight: 500; }
.contact__list a { transition: color 300ms var(--ease-soft); }
.contact__list a:hover { color: var(--orange-deep); }
.contact__social { display: flex; flex-wrap: wrap; gap: 8px 20px; }

.contact-form {
  padding: clamp(24px, 3.4vw, 48px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-light);
  background: var(--white);
}
.contact-form__title { font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; letter-spacing: -0.025em; }
.contact-form__hint { margin: 6px 0 28px; font-size: 14px; color: var(--gray); }
.contact-form__hint span, .field > label:not(.consent-check) > span, .field > legend > span { color: var(--orange-deep); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.field > label,
.field > legend { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(36, 33, 36, 0.18);
  background: var(--paper);
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  transition: border-color 300ms var(--ease-soft), background-color 300ms var(--ease-soft), box-shadow 300ms var(--ease-soft);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(36, 33, 36, 0.4); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(247, 101, 31, 0.15);
}
.field [aria-invalid="true"] { border-color: #c62828; }
.field__error { min-height: 0; margin-top: 6px; font-size: 13px; color: #c62828; }
.field__error:empty { display: none; }


/* the contact form's consent checkbox (not the cookie banner, which is .consent) */
.consent-check { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.5; color: var(--gray); cursor: pointer; }
/* a small, soft custom box: rounded, fills orange with a white tick when checked */
.consent-check input {
  appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 16px; height: 16px; margin: 1px 0 0;
  border: 1.5px solid rgba(36, 33, 36, 0.28); border-radius: 5px; background: #fff center / 10px no-repeat;
  cursor: pointer; transition: background-color 200ms var(--ease-soft), border-color 200ms var(--ease-soft), box-shadow 200ms var(--ease-soft);
}
.consent-check:hover input { border-color: var(--orange); }
.consent-check input:checked {
  border-color: var(--orange); background-color: var(--orange);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.consent-check input:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(247, 101, 31, 0.25); }
.consent-check input[aria-invalid="true"] { border-color: var(--orange-deep); }
.consent-check a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.contact-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.contact-form__status { font-size: 14px; color: var(--gray); }

/* İletişim — details, hours, map */
.contact__stack { display: grid; gap: 4px; }
.contact__address { font-style: normal; font-weight: 500; line-height: 1.5; }
.contact__directions { display: inline-block; margin-top: 8px; font-size: 14px; color: var(--orange-deep); }
.contact__list .contact__directions:hover { color: var(--ink); }


.contact-map { padding-top: clamp(48px, 6vw, 80px); }
.contact-map__frame {
  /* address panel sits beside the map so it never covers the pin */
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  overflow: hidden;
  min-height: clamp(320px, 36vw, 460px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-light);
  background: var(--paper-2);
}
.contact-map__frame iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; order: 2; }
.contact-map__card {
  order: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: clamp(24px, 3vw, 36px);
  background: var(--ink);
  color: var(--paper);
}
.contact-map__label { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.contact-map__card address { font-style: normal; line-height: 1.5; margin-bottom: 18px; color: rgba(248, 247, 244, 0.85); }
.contact-map__card .btn { min-height: 46px; font-size: 14px; }
.contact-map__card .btn__icon { width: 30px; height: 30px; }

/* İletişim — working hours card, pinned to the bottom of the left column */
.hours-band {
  align-self: stretch;
  margin-top: auto;
  padding: clamp(20px, 2vw, 26px);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--paper);
}
.hours-band__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.hours-band__label { margin: 0; font-size: 12px; color: var(--paper); }
.hours-band__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gray-light);
}
.hours-band__badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.hours-band__badge.is-open { background: rgba(102, 187, 106, 0.14); color: #81c784; }

.hours { display: grid; gap: 2px; }
.hours li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}
.hours__day { font-size: 14px; color: var(--gray-light); }
.hours__time { white-space: nowrap; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hours li.is-closed .hours__time { color: rgba(248, 247, 244, 0.4); font-weight: 500; }
.hours li.is-today { background: var(--orange); }
.hours li.is-today .hours__day { color: rgba(36, 33, 36, 0.75); font-weight: 600; }
.hours li.is-today .hours__time { color: var(--ink); }

/* Light variant of the closing CTA */
.cta--light .cta__lead { color: var(--gray); }
.cta--light::before { opacity: 0.45; }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .header__cta { display: none; }
}

@media (max-width: 1000px) {
  .nav { display: none; }
  .header__inner { grid-template-columns: 1fr auto; }
  .menu-toggle { display: block; }
}

@media (max-width: 1100px) {
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .news__grid { grid-template-columns: 1fr 1fr; }
  .step { min-height: 300px; }

}

@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .header__cta { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .section-head__aside { justify-self: start; }
  .about__grid { grid-template-columns: 1fr; }
  .about__label { position: static; }
  .about__body { grid-template-columns: 1fr; gap: 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line-light); }
  .stat + .stat { padding-left: 0; }
  .stat:nth-child(2n) { border-right: 0; padding-left: 16px; }
  .service__head { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 16px; }
  .service__plus { width: 44px; height: 44px; }
  .service__body { grid-template-columns: 1fr; padding-left: 60px; }
  .service__desc, .service__tags { grid-column: 1; }
  .work__grid { grid-template-columns: 1fr; }
  .work-card__view { opacity: 1; transform: none; width: 52px; height: 52px; }
  .partners__head { flex-direction: column; align-items: flex-start; }
  .partners__grid { grid-template-columns: repeat(2, 1fr); }
  .partner { min-height: 110px; }
  .footer__top { grid-template-columns: 1fr; }

}

@media (max-width: 860px) {
  .page-hero__bottom { grid-template-columns: 1fr; }
  .story__grid, .doing__block, .svc__grid { grid-template-columns: 1fr; }
  .svc__head { position: static; }
  .service__more { grid-column: 1; }
  .how__grid { grid-template-columns: 1fr 1fr; }
  .brands__grid { grid-template-columns: repeat(3, 1fr); }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__info { position: static; }
  .news-lead { grid-template-columns: 1fr; }
  .news-lead__media { min-height: 0; aspect-ratio: 16 / 10; }
  .news__grid { grid-template-columns: 1fr 1fr; }
  .team__grid { grid-template-columns: 1fr 1fr; }
  .approach__grid { grid-template-columns: 1fr; }
  .approach__head { position: static; }
}

@media (max-width: 560px) {
  .how__grid { grid-template-columns: 1fr; }
  .brands__grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .contact-map__frame { grid-template-columns: 1fr; }
  .contact-map__frame iframe { order: 1; height: 300px; }
  .contact-map__card { order: 2; }
  .contact__list > div { grid-template-columns: 1fr; gap: 6px; }
  .news__grid { grid-template-columns: 1fr; }
  .page-hero__facts { flex-wrap: wrap; gap: 20px 32px; }
  .approach__item { grid-template-columns: 40px minmax(0, 1fr); }
  .process__grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .hero__ctas .btn { flex: 1 1 auto; justify-content: center; min-height: 48px; }
  .service__body { padding-left: 0; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__title .line > span { transform: none; }
  .hero__lead, .hero__ctas, .hero__stage, .dash__area, .dash__tip { opacity: 1; }
  .bus-spokes, .stage__road, .tag-chip > span { animation: none !important; }
  .dash__line { stroke-dashoffset: 0; }
  .chan i::before { transform: none; }
  .mi { opacity: 1; animation: none; }
  .hero__blob { animation: none; }
  .hero__content { translate: none; opacity: 1; }
  .page-hero__title .line > span { transform: none; }
  .page-hero__bottom { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
  .manifesto .word { color: var(--ink); }
  .manifesto .word.accent { color: var(--orange); }
}

/* ==========================================================================
   Content managed from the admin panel
   ========================================================================== */
/* uploaded images inside cards */
.work-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* partner logos (dark band) */
.partner--logo { padding: 16px 20px; }
/* every partner logo in white on the dark band, whatever its own colours */
.partner img { max-width: 160px; max-height: 56px; width: auto; height: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.8; transition: opacity 400ms var(--ease-soft); }
.partner img[style*="--ar"] { --logo-h: clamp(54px, 5.6vw, 84px); height: calc(var(--logo-h) / sqrt(var(--ar))); max-width: 88%; max-height: calc(var(--logo-h) * 1.15); }
.partner:hover img { opacity: 1; }
.partner a { display: grid; place-items: center; width: 100%; height: 100%; }
/* brand logos (projeler) */
.brand a { display: grid; place-items: center; width: 100%; height: 100%; }
.brand__name { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; text-align: center; }
/* team photos */
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
/* contact form honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* popup (Panel → Popup) */
.popup { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; }
.popup[hidden] { display: none; }
.popup__backdrop {
  position: absolute; inset: 0;
  background: rgba(14, 12, 14, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 400ms var(--ease-soft);
}
.popup__box {
  position: relative;
  width: min(480px, 100%);
  max-height: calc(100svh - 32px);
  overflow: auto;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 85% 0%, rgba(247, 101, 31, 0.35), rgba(247, 101, 31, 0) 55%), var(--ink-2);
  color: var(--paper);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 500ms var(--ease-out), transform 700ms var(--ease-out);
}
.popup.is-open .popup__backdrop { opacity: 1; }
.popup.is-open .popup__box { opacity: 1; transform: none; }
html.popup-open { overflow: hidden; }
.popup__close {
  position: absolute; top: 14px; right: 14px; z-index: 1;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(20, 18, 20, 0.55);
  color: var(--paper);
  backdrop-filter: blur(8px);
  transition: background 400ms var(--ease-soft);
}
.popup__close:hover { background: var(--orange); }
.popup__close svg { width: 18px; height: 18px; }
.popup__img { aspect-ratio: 16 / 9; overflow: hidden; }
.popup__img img { width: 100%; height: 100%; object-fit: cover; }
.popup__body { display: grid; gap: 14px; padding: clamp(28px, 4vw, 40px); }
.popup__box:not(.popup__box--img) .popup__body { padding-top: clamp(44px, 6vw, 56px); }
.popup__title { font-size: clamp(26px, 3vw, 34px); font-weight: 500; line-height: 1.08; letter-spacing: -0.03em; }
.popup__text { color: rgba(248, 247, 244, 0.72); font-size: 16px; line-height: 1.6; }
.popup__btn { justify-self: start; margin-top: 8px; }
@media (max-width: 560px) {
  .popup__btn { justify-self: stretch; justify-content: space-between; }
}

/* single news article */
.article-hero__meta { margin-top: 24px; color: var(--gray-light); }
.article-hero__meta .post__cat { color: var(--orange); }
.article-hero__title { max-width: 22ch; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.05; }
.article__inner { max-width: 820px; display: grid; gap: 28px; }
.article__image { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 16 / 9; object-fit: cover; }
.article__lead { font-size: clamp(20px, 2vw, 26px); line-height: 1.45; letter-spacing: -0.015em; font-weight: 500; }
.article__body { display: grid; gap: 18px; font-size: 18px; line-height: 1.75; color: #3a363a; }
.article__inner > .link-arrow { justify-self: start; }

/* ==========================================================================
   Cookie consent
   ========================================================================== */
.consent {
  position: fixed;
  z-index: 150;
  left: clamp(12px, 2vw, 24px);
  bottom: clamp(12px, 2vw, 24px);
  width: min(460px, calc(100vw - 24px));
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--line-dark);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 300ms var(--ease-soft), transform 300ms var(--ease-soft);
}
.consent.is-open { opacity: 1; transform: none; }
.consent__title { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.consent__text { font-size: 14px; line-height: 1.55; color: var(--gray-light); }
.consent__text a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.consent__prefs { display: grid; gap: 10px; margin-top: 14px; }
.consent__opt { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--gray-light); cursor: pointer; }
.consent__opt strong { display: block; color: var(--paper); font-size: 14px; }
.consent__opt input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange); flex-shrink: 0; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.consent__btn { min-height: 42px; padding: 0 18px; font-size: 14px; }
.consent .btn--ghost { color: var(--paper); }
.consent .btn--ghost:hover { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--paper); }
.consent__link { padding: 8px 4px; font-size: 14px; color: var(--gray-light); text-decoration: underline; text-underline-offset: 3px; }
.consent__link:hover { color: var(--paper); }
.footer__consent { font: inherit; font-size: inherit; color: inherit; transition: color var(--dur-fast); }
.footer__consent:hover { color: var(--paper); }

/* FAQ (Neler Yapıyoruz?) */
.faq__list { border-top: 1px solid var(--line-light); }
.faq__item { border-bottom: 1px solid var(--line-light); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; cursor: pointer; list-style: none;
  font-size: clamp(18px, 1.7vw, 22px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.3;
  transition: color 0.3s ease;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--orange-deep); }
.faq__icon { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-light); transition: background-color 0.3s ease, border-color 0.3s ease; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform 0.35s ease; }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { max-width: 62ch; padding: 0 60px 28px 0; color: #4a464a; font-size: 17px; line-height: 1.7; }
.faq__a p + p { margin-top: 12px; }

/* legal pages */
.legal__inner { max-width: 820px; }
.legal__updated { margin-bottom: 32px; color: var(--gray); font-size: 15px; }
.legal__body { display: grid; gap: 16px; font-size: 17px; line-height: 1.75; color: #3a363a; }
.legal__body h2 { margin-top: 20px; font-size: clamp(19px, 1.8vw, 22px); line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }

/* 404 */
.notfound__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
