/* =========================================================
   Siyahkalem — design tokens + global styles
   ========================================================= */

:root {
  /* Brand */
  --copper: #b9601f;
  --copper-deep: #8c4716;
  --copper-glow: #d9772e;

  /* Light theme (default) — warm paper */
  --bg: #f4efe6;
  --bg-elev: #ebe4d6;
  --bg-card: #ffffff;
  --ink: #181410;
  --ink-soft: #3b332a;
  --ink-muted: #7a6f60;
  --line: rgba(24, 20, 16, 0.12);
  --line-soft: rgba(24, 20, 16, 0.06);
  --paper-noise: 0.04;

  /* Akademi sub-brand — parchment + ink */
  --ak-bg: #efe7d6;
  --ak-bg-deep: #e3d8be;
  --ak-ink: #1c1a14;
  --ak-ink-soft: #4a4334;
  --ak-accent: #2f5a4a; /* deep teal */
  --ak-accent-soft: #4a7d6c;

  /* Type */
  --font-sans: "Manrope", system-ui, -apple-system, sans-serif;
  --font-display: "Manrope", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-ak-display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;

  /* Scale */
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
}

[data-theme="dark"] {
  --bg: #14110d;
  --bg-elev: #1c1814;
  --bg-card: #221d18;
  --ink: #ede4d2;
  --ink-soft: #c4b9a5;
  --ink-muted: #8a7e6b;
  --line: rgba(237, 228, 210, 0.12);
  --line-soft: rgba(237, 228, 210, 0.06);
  --ak-bg: #11140f;
  --ak-bg-deep: #181c16;
  --ak-ink: #ece3cb;
  --ak-ink-soft: #b8ad94;
  --ak-accent: #6ea48f;
  --ak-accent-soft: #8fb8a6;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "ss02";
}

body {
  min-height: 100vh;
  /* `clip` prevents horizontal scroll without creating a scroll container —
     unlike `hidden`, it doesn't break position: sticky on descendants. */
  overflow-x: clip;
  transition: background 0.4s ease, color 0.4s ease;
}

/* Subtle paper texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: var(--paper-noise);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0'/></filter><rect width='240' height='240' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}
[data-theme="dark"] body::before { mix-blend-mode: screen; opacity: 0.05; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

/* =========================================================
   Type system
   ========================================================= */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}

.h-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.92;
  margin: 0;
}

.h-1 { font-size: clamp(44px, 6vw, 88px); }
.h-2 { font-size: clamp(32px, 4.2vw, 60px); }
.h-3 { font-size: clamp(22px, 2.4vw, 34px); }
.h-4 { font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; }

.body-lead {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 62ch;
}

.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; }

/* =========================================================
   Layout
   ========================================================= */

.shell { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-top: clamp(48px, 6vw, 96px); padding-bottom: clamp(48px, 6vw, 96px); }
.section-tight { padding-top: clamp(32px, 4vw, 60px); padding-bottom: clamp(32px, 4vw, 60px); }

.hairline { height: 1px; background: var(--line); width: 100%; }

/* =========================================================
   Nav
   ========================================================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand-mark { width: 22px; height: 22px; color: var(--copper); }
.nav-brand-text { font-weight: 700; letter-spacing: -0.01em; font-size: 15px; }
.nav-brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  text-transform: uppercase;
  margin-left: 4px;
}
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 100px;
  color: var(--ink-soft);
  transition: all 0.2s;
  border: 1px solid transparent;
}
.nav-link:hover { color: var(--ink); background: var(--line-soft); }
.nav-link.active { color: var(--ink); border-color: var(--line); }

.nav-tools { display: flex; gap: 6px; align-items: center; }
.icon-btn {
  width: 36px; height: 36px;
  border-radius: 100px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.icon-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.lang-btn {
  width: auto;
  padding: 0 12px;
  height: 36px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

/* Hamburger button (mobile only) */
.nav-burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  margin-left: 4px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}
.nav-burger:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.nav-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.nav-link-mega { position: relative; }
.nav-caret {
  display: inline-block;
  margin-left: 4px;
  font-size: 9px;
  transform: translateY(-1px);
  color: var(--ink-muted);
}
.nav-link-mega:hover .nav-caret { color: var(--copper); }

/* Mobile breakpoint: collapse nav links + cta, show burger.
   Scoped under .nav-inner / .nav-tools so specificity beats .btn / .icon-btn
   declared later in the file (otherwise display would leak back). */
@media (max-width: 980px) {
  .nav-inner .nav-links-desktop { display: none; }
  .nav-inner .nav-cta-desktop { display: none; }
  .nav-inner .nav-tool-desktop { display: none; }
  .nav-inner .nav-burger { display: flex; }
}

/* =========================================================
   Mega menu (Hizmetler)
   ========================================================= */

.nav-mega {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line-soft);
  z-index: 99;
  animation: navMegaIn 0.18s ease-out;
}
@keyframes navMegaIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-mega-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px var(--gutter) 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 0.9fr;
  gap: 40px;
}
.nav-mega-col { min-width: 0; }
.nav-mega-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.nav-mega-title {
  font-size: clamp(24px, 2vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  font-weight: 700;
}
.nav-mega-lead {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-muted);
  max-width: 28ch;
  line-height: 1.5;
}
.nav-mega-link {
  display: block;
  padding: 8px 0;
  cursor: pointer;
  transition: transform 0.18s ease;
}
.nav-mega-link:hover { transform: translateX(3px); }
.nav-mega-link-title {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.nav-mega-link:hover .nav-mega-link-title { color: var(--copper); }
.nav-mega-link-desc {
  font-size: 11.5px;
  color: var(--ink-muted);
  margin-top: 2px;
}

.nav-mega-overview {
  cursor: pointer;
  border-left: 1px solid var(--line-soft);
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
}
.nav-mega-overview-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.nav-mega-overview-card {
  padding: 12px 14px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: transform 0.2s ease;
}
.nav-mega-overview-card.is-dark {
  background: var(--ink);
  border-color: var(--ink);
  margin-left: 18px;
  color: var(--bg);
}
.nav-mega-overview-card.is-dark .nav-mega-overview-cardmeta {
  color: color-mix(in srgb, var(--bg) 60%, transparent);
}
.nav-mega-overview:hover .nav-mega-overview-card { transform: translateX(2px); }
.nav-mega-overview:hover .nav-mega-overview-card.is-dark { transform: translateX(-2px); }
.nav-mega-overview-no {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--copper);
  line-height: 1;
}
.nav-mega-overview-cardtitle {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.015em;
  margin-top: 4px;
}
.nav-mega-overview-cardmeta {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  text-transform: uppercase;
  margin-top: 4px;
}
.nav-mega-overview-link {
  color: var(--copper);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease;
}
.nav-mega-overview:hover .nav-mega-overview-link { transform: translateX(3px); }

/* =========================================================
   Mobile menu — full-screen overlay
   ========================================================= */

/* Mobile menu — theme-aware. Uses the same --bg / --ink tokens as the rest
   of the site so the global theme switch (in the footer utilities) controls
   the menu's appearance too — no separate dark/light theme. */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  animation: mobileMenuIn 0.25s ease-out;
}
@keyframes mobileMenuIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.mobile-menu-bar {
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.mobile-menu-close {
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  /* Flex-centre the X glyph — <button> defaults wouldn't centre cleanly */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.mobile-menu-close:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.mobile-menu-body {
  flex: 1;
  padding: 32px 24px 24px;
  overflow-y: auto;
}
.mobile-menu-kicker {
  color: var(--ink-muted);
  margin-bottom: 24px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
}
.mobile-menu-list { display: flex; flex-direction: column; }
.mobile-menu-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.mobile-menu-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.mobile-menu-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 11vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  transition: color 0.2s, transform 0.2s;
}
.mobile-menu-dot { color: var(--copper); }
.mobile-menu-item:hover .mobile-menu-title,
.mobile-menu-item:active .mobile-menu-title,
.mobile-menu-item.is-active .mobile-menu-title {
  color: var(--copper);
  font-style: italic;
}
.mobile-menu-num {
  font-size: 11px;
  color: var(--ink-muted);
}
.mobile-menu-sub {
  margin-top: 6px;
  color: var(--ink-muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mobile-menu-footer {
  padding: 16px 24px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-menu-utilities {
  display: flex;
  gap: 24px;
}
.mobile-menu-utilities button {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  background: transparent;
  border: none;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 0;
}
.mobile-menu-utilities button:hover { color: var(--copper); }
.mobile-menu-contact {
  color: var(--ink-muted);
  font-size: 11px;
  letter-spacing: 0.06em;
}

/* =========================================================
   Service detail pages (Baskı / Dijital) — shared atoms
   ========================================================= */

.service-breadcrumb {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Hero */
.service-hero { padding-top: 24px; padding-bottom: 48px; }
.service-hero-tag {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 18px;
}
.service-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: end;
}
.service-hero-title {
  margin: 0;
  font-size: clamp(56px, 9vw, 132px);
  letter-spacing: -0.045em;
  line-height: 0.92;
  font-weight: 700;
}
.service-hero-body { display: flex; flex-direction: column; gap: 28px; max-width: 46ch; }
.service-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 880px) {
  .service-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .service-hero-title { font-size: clamp(44px, 11vw, 64px); }
}

/* Image strip */
.service-imgstrip { padding-top: 0; padding-bottom: 0; }
.service-imgstrip-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 16px;
  align-items: end;
}
.service-imgstrip-frame {
  background: var(--bg-elev);
  overflow: hidden;
  border-radius: 2px;
}
.service-imgstrip-frame .media-ph { width: 100%; height: 100%; }

@media (max-width: 760px) {
  .service-imgstrip-grid { grid-template-columns: 1fr; }
}

/* What-we-do cells */
.service-cells {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.service-cell {
  padding: 28px 28px 28px 0;
  border-bottom: 1px solid var(--line-soft);
}
.service-cell:nth-child(odd) { padding-right: 32px; border-right: 1px solid var(--line-soft); padding-left: 0; }
.service-cell:nth-child(even) { padding-left: 32px; padding-right: 0; }
.service-cell-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.service-cell-title {
  margin: 0;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.015em;
  font-family: var(--font-display);
}
.service-cell-no {
  color: var(--copper);
  font-size: 11px;
  letter-spacing: 0.16em;
}
.service-cell-desc {
  margin: 10px 0 16px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.55;
}
.service-cell-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mono-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink-soft);
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .service-cells { grid-template-columns: 1fr; }
  .service-cell, .service-cell:nth-child(odd), .service-cell:nth-child(even) {
    padding: 24px 0;
    border-right: none;
  }
}

/* Partner spotlight (Kadıköy Basım) */
.partner-spotlight {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(60px, 7vw, 96px) 0;
  position: relative;
}
.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.partner-tag {
  color: var(--copper);
  font-size: 11px;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
}
.partner-title {
  margin: 0 0 24px;
  font-size: clamp(56px, 8vw, 108px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--bg);
}
.partner-body {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(243, 239, 230, 0.8);
  max-width: 44ch;
  margin: 0 0 18px;
}
.partner-motto {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: rgba(243, 239, 230, 0.65);
  max-width: 44ch;
  margin: 0 0 28px;
  line-height: 1.5;
}
.partner-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.partner-247 {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(243, 239, 230, 0.6);
  text-transform: uppercase;
}

.partner-right { min-width: 0; }
.partner-media {
  aspect-ratio: 4 / 3;
  background: color-mix(in srgb, var(--copper) 18%, #0e0a06);
  overflow: hidden;
  margin-bottom: 20px;
}
.partner-media .media-ph,
.partner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Services paragraph (verbatim from kadikoybasim.com.tr) */
.partner-services {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(243, 239, 230, 0.72);
  max-width: 44ch;
  margin: 0 0 18px;
}

.partner-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(243, 239, 230, 0.3);
  border-bottom: 1px solid rgba(243, 239, 230, 0.15);
}
.partner-stat {
  padding: 18px 12px;
  border-right: 1px solid rgba(243, 239, 230, 0.15);
}
.partner-stat:last-child { border-right: none; }
.partner-stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 32px);
  color: var(--copper);
  letter-spacing: -0.02em;
}
.partner-stat-label {
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(243, 239, 230, 0.6);
  text-transform: uppercase;
}

.partner-kinds { margin-top: 24px; }
.partner-kinds-label {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: rgba(243, 239, 230, 0.5);
  margin-bottom: 12px;
}
.partner-kinds-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.partner-kind-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border: 1px solid rgba(243, 239, 230, 0.3);
  border-radius: 2px;
  color: rgba(243, 239, 230, 0.85);
}

@media (max-width: 880px) {
  .partner-grid { grid-template-columns: 1fr; gap: 40px; }
  .partner-stats { grid-template-columns: repeat(2, 1fr); }
  .partner-stat:nth-child(2) { border-right: none; }
  .partner-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(243, 239, 230, 0.15); }
}

/* Tech stack */
.tech-stack-section {
  background: var(--bg-elev);
  padding: clamp(56px, 7vw, 96px) 0;
}
.tech-stack-title {
  margin: 0 0 36px;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  font-weight: 600;
}
.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.tech-stack-cell {
  padding: 18px 12px;
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.tech-stack-cell:hover {
  color: var(--copper);
  border-color: var(--copper);
  transform: translateY(-2px);
}

@media (max-width: 880px) { .tech-stack-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .tech-stack-grid { grid-template-columns: repeat(2, 1fr); } }

/* Related work row */
.service-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 880px) { .service-related { grid-template-columns: 1fr; gap: 28px; } }

/* =========================================================
   Hizmetler hub (Services landing) — Two Big Pillars + secondary + process
   ========================================================= */

.hizmet-hero { padding-top: 96px; padding-bottom: 56px; }
.hizmet-hero-tag {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 18px;
}
.hizmet-hero-title {
  margin: 0;
  font-size: clamp(56px, 8vw, 116px);
  letter-spacing: -0.045em;
  line-height: 0.94;
  font-weight: 700;
  max-width: 18ch;
}
.hizmet-hero-lead {
  margin-top: 24px;
  max-width: 56ch;
}

/* Two pillars layout */
.hizmet-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.hizmet-pillar {
  position: relative;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: clamp(28px, 3vw, 40px);
  min-height: 480px;
  display: flex;
  flex-direction: column;
}
.hizmet-pillar.is-dark {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.hizmet-pillar-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.hizmet-pillar-no {
  font-family: var(--font-display);
  font-size: clamp(64px, 7vw, 96px);
  letter-spacing: -0.05em;
  line-height: 0.85;
  color: var(--copper);
  font-weight: 700;
}
.hizmet-pillar-tag {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  text-transform: uppercase;
}
.hizmet-pillar.is-dark .hizmet-pillar-tag {
  color: color-mix(in srgb, var(--bg) 55%, transparent);
}
.hizmet-pillar-title {
  margin: 6px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 56px);
  letter-spacing: -0.035em;
  line-height: 0.95;
  font-weight: 700;
}
.hizmet-pillar-kicker {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.hizmet-pillar.is-dark .hizmet-pillar-kicker {
  color: color-mix(in srgb, var(--bg) 72%, transparent);
}
.hizmet-pillar-body {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 44ch;
  margin: 0 0 24px;
}
.hizmet-pillar.is-dark .hizmet-pillar-body {
  color: color-mix(in srgb, var(--bg) 78%, transparent);
}
.hizmet-pillar-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
  margin-bottom: 22px;
}
.hizmet-pillar-service {
  font-size: 13px;
  padding: 9px 0;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-soft);
}
.hizmet-pillar.is-dark .hizmet-pillar-service {
  color: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom-color: color-mix(in srgb, var(--bg) 18%, transparent);
}
.hizmet-pillar-highlight {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--copper);
  margin-bottom: 22px;
  text-transform: none;
}
.hizmet-pillar > a.btn { align-self: flex-start; margin-top: auto; }

@media (max-width: 880px) {
  .hizmet-pillars { grid-template-columns: 1fr; gap: 16px; }
  .hizmet-pillar { min-height: 0; }
  .hizmet-hero-title { font-size: clamp(44px, 12vw, 64px); }
}

/* Secondary disciplines strip */
.hizmet-others {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hizmet-other {
  padding: 28px 24px;
  border-right: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 200px;
  cursor: default;
  transition: background 0.2s;
}
.hizmet-other:last-child { border-right: none; }
.hizmet-other:hover { background: var(--bg-elev); }
.hizmet-other-no {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--copper);
}
.hizmet-other-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 24px);
  letter-spacing: -0.015em;
  font-weight: 600;
  line-height: 1.1;
}
.hizmet-other-desc {
  margin: 0;
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.55;
}
.hizmet-other-link {
  margin-top: auto;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--copper);
}

@media (max-width: 880px) {
  .hizmet-others { grid-template-columns: 1fr 1fr; }
  .hizmet-other:nth-child(2n) { border-right: none; }
  .hizmet-other:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
}
@media (max-width: 520px) {
  .hizmet-others { grid-template-columns: 1fr; }
  .hizmet-other { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .hizmet-other:last-child { border-bottom: none; }
}

/* Process strip */
.hizmet-process-section {
  background: var(--bg-elev);
  padding: clamp(60px, 7vw, 96px) 0;
}
.hizmet-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.hizmet-step {
  padding: 20px 16px;
  border-right: 1px solid var(--line-soft);
}
.hizmet-step:last-child { border-right: none; }
.hizmet-step-no {
  font-family: var(--font-mono);
  font-size: clamp(28px, 3vw, 40px);
  color: var(--copper);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.hizmet-step-title {
  margin: 14px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.hizmet-step-desc {
  margin: 0;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 880px) {
  .hizmet-process { grid-template-columns: 1fr 1fr; gap: 0; }
  .hizmet-step:nth-child(2n) { border-right: none; }
  .hizmet-step:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
}

/* Contact CTA strip */
.service-cta {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.service-cta-title {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  font-weight: 600;
}
.service-cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  transition: all 0.2s;
}
.btn:hover { background: var(--copper); border-color: var(--copper); color: white; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-copper {
  background: var(--copper);
  border-color: var(--copper);
  color: white;
}
.btn-copper:hover { background: var(--copper-deep); border-color: var(--copper-deep); }

.btn-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}
.btn:hover .btn-arrow { transform: translateX(4px); }

/* =========================================================
   Placeholder media (striped)
   ========================================================= */

.media-ph {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0,
    transparent 16px,
    color-mix(in srgb, var(--ink) 5%, transparent) 16px,
    color-mix(in srgb, var(--ink) 5%, transparent) 17px
  );
}
.media-ph-label {
  position: relative;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: var(--bg);
  padding: 6px 10px;
  border: 1px solid var(--line);
}
/* Photo-backed MediaPh: real image fills the frame, label sits on top as a caption chip */
.media-ph-photo .media-ph-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}
.media-ph-photo::before { opacity: 0; }
.media-ph-copper {
  background: color-mix(in srgb, var(--copper) 12%, var(--bg));
  border-color: color-mix(in srgb, var(--copper) 25%, var(--line));
}
.media-ph-copper::before {
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0,
    transparent 16px,
    color-mix(in srgb, var(--copper) 18%, transparent) 16px,
    color-mix(in srgb, var(--copper) 18%, transparent) 17px
  );
}
.media-ph-ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.media-ph-ink::before {
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0,
    transparent 16px,
    rgba(255,255,255,0.06) 16px,
    rgba(255,255,255,0.06) 17px
  );
}
.media-ph-ink .media-ph-label { background: var(--ink); color: var(--ink-muted); border-color: rgba(255,255,255,0.15); }

/* =========================================================
   Cards / project grid
   ========================================================= */

.work-card {
  display: block;
  cursor: pointer;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.work-card:hover { transform: translateY(-2px); }
.work-card-media {
  aspect-ratio: 16 / 11;
  margin-bottom: 16px;
  overflow: hidden;
  position: relative;
}
.work-card-media .media-ph {
  width: 100%; height: 100%;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.work-card:hover .work-card-media .media-ph { transform: scale(1.03); }
.work-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 4px;
}
.work-card-title { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
.work-card-cat { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--ink-muted); text-transform: uppercase; }
.work-card-client { color: var(--ink-muted); font-size: 14px; }

/* Stat row */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-cell {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}
.stat-cell:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--copper);
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 10px;
}

/* =========================================================
   Feather mark (animated)
   ========================================================= */

.feather-mark {
  display: inline-flex;
  position: relative;
}
.feather-mark svg { display: block; }
.feather-mark .feather-ring {
  animation: feather-rotate 22s linear infinite;
  transform-origin: 50% 50%;
}
.feather-mark .feather-core {
  animation: feather-pulse 4s ease-in-out infinite;
  transform-origin: 50% 50%;
}
@keyframes feather-rotate {
  to { transform: rotate(360deg); }
}
@keyframes feather-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.94); opacity: 0.85; }
}

/* =========================================================
   Akademi (sub-brand) overrides — applied when [data-brand="akademi"]
   ========================================================= */

[data-brand="akademi"] {
  --bg: var(--ak-bg);
  --bg-elev: var(--ak-bg-deep);
  --ink: var(--ak-ink);
  --ink-soft: var(--ak-ink-soft);
  --copper: var(--ak-accent);
  --copper-deep: var(--ak-accent-soft);
  --font-display: var(--font-ak-display);
}
[data-brand="akademi"] .h-display { letter-spacing: -0.025em; }
[data-brand="akademi"] body { background: var(--ak-bg); }

/* =========================================================
   Landing hub
   ========================================================= */

.hub {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--bg);
  position: relative;
}
.hub--hero {
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
}
.hub-header {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 28px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hub--hero .hub-header {
  padding: 14px var(--gutter);
}
.hub-intro {
  padding: clamp(16px, 2vh, 28px) var(--gutter) clamp(12px, 1.5vh, 20px);
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.hub-title {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1;
}
.hub-lead {
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 58ch;
  margin: 0 auto;
  text-align: center;
}
.hub-stage {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  align-items: stretch;
}
.hub-stage::before {
  content: "";
  position: absolute;
  left: 50%; top: 10%; bottom: 10%;
  width: 1px;
  background: var(--line);
}
.hub-choice {
  padding: clamp(40px, 8vw, 120px) clamp(32px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 60vh;
  position: relative;
  transition: background 0.4s;
  cursor: pointer;
}
.hub--hero .hub-choice {
  padding: clamp(20px, 3vh, 36px) clamp(24px, 4vw, 56px);
  min-height: 0;
  gap: clamp(16px, 3vh, 32px);
}
.hub-choice:hover { background: var(--bg-elev); }
.hub-choice-top { display: flex; justify-content: space-between; gap: 24px; }
.hub-choice-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4.2vw, 64px);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0;
}
.hub--hero .hub-choice-name {
  font-size: clamp(28px, 3.2vw, 44px);
}
.hub-choice-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--ink-soft);
  max-width: 36ch;
  margin: 24px 0 0;
}
.hub--hero .hub-choice-sub {
  font-size: clamp(12px, 0.95vw, 14px);
  line-height: 1.5;
  margin: 12px 0 0;
  max-width: 38ch;
}
.hub-choice-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  margin-top: 32px;
}
.hub--hero .hub-choice-cta {
  font-size: 10px;
  letter-spacing: 0.12em;
  gap: 8px;
  margin-top: 18px;
}
.hub-choice.akademi-side {
  --bg: var(--ak-bg);
  --ink: var(--ak-ink);
  --ink-soft: var(--ak-ink-soft);
  --copper: var(--ak-accent);
  --bg-elev: var(--ak-bg-deep);
  background: var(--ak-bg);
  color: var(--ak-ink);
}
.hub-choice.akademi-side .hub-choice-name { font-family: var(--font-ak-display); }

/* Layerbrick — third card, ink-dark with copper accent */
.hub-choice.layerbrick-side {
  --lb-bg: #16110c;
  --lb-bg-elev: #1f1812;
  --lb-ink: #f1e7d5;
  --lb-ink-soft: #b0a18a;
  --bg: var(--lb-bg);
  --bg-elev: var(--lb-bg-elev);
  --ink: var(--lb-ink);
  --ink-soft: var(--lb-ink-soft);
  background: var(--lb-bg);
  color: var(--lb-ink);
  position: relative;
}
.hub-choice.layerbrick-side .hub-choice-name {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: -0.025em;
  font-size: clamp(36px, 5vw, 72px);
}
.hub-choice.layerbrick-side .hub-choice-cta {
  color: var(--copper);
}
.hub-choice.layerbrick-side::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(185, 96, 31, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(185, 96, 31, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: 0 0;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 30%, transparent 75%);
}
.hub-footer {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 24px var(--gutter);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.hub--hero .hub-footer {
  padding: 12px var(--gutter);
  font-size: 10px;
}
@media (max-width: 900px) {
  .hub-stage { grid-template-columns: 1fr; }
  .hub-stage::before, .hub-stage::after { display: none; }
  .hub--hero { height: auto; min-height: 100dvh; overflow: visible; }
}

/* =========================================================
   Tags / filters
   ========================================================= */

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  background: transparent;
  transition: all 0.2s;
  cursor: pointer;
}
.tag:hover { color: var(--ink); border-color: var(--ink); }
.tag.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* =========================================================
   Footer
   ========================================================= */

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 72px;
}
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
  margin: 0 0 18px;
}
.footer-col a { display: block; padding: 6px 0; font-size: 14px; color: var(--ink-soft); }
.footer-col a:hover { color: var(--copper); }
.footer-wordmark {
  height: 22px;
  color: var(--ink);
  margin-bottom: 24px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  text-transform: uppercase;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* =========================================================
   Project detail — shared meta typography (used by sticky sidebar)
   ========================================================= */

.project-meta-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
}
.project-meta-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
}

/* =========================================================
   Work — Index (typographic list with hover-preview)
   ========================================================= */

.work-index-title {
  font-size: clamp(80px, 13vw, 184px);
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin: 0;
  font-weight: 700;
}

.work-filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.work-filter-row .mono {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* View toggle — List / Gallery */
.work-view-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.work-view-toggle button {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 16px;
  background: transparent;
  color: var(--ink-muted);
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.work-view-toggle button + button { border-left: 1px solid var(--line); }
.work-view-toggle button:hover { color: var(--ink); }
.work-view-toggle button.active { background: var(--ink); color: var(--bg); }

/* Gallery view — masonry of every inner image */
.work-gallery {
  column-count: 4;
  column-gap: 16px;
  padding-top: 28px;
}
@media (max-width: 1100px) { .work-gallery { column-count: 3; } }
@media (max-width: 760px)  { .work-gallery { column-count: 2; } }
@media (max-width: 440px)  { .work-gallery { column-count: 1; } }
.work-gallery-item {
  display: block;
  position: relative;
  break-inside: avoid;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #1a120c;
  cursor: pointer;
}
.work-gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.3s;
}
.work-gallery-item:hover img { transform: scale(1.05); }
.work-gallery-cap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.25s ease;
  background: linear-gradient(to top, rgba(20,16,12,0.86) 0%, rgba(20,16,12,0.2) 55%, transparent 100%);
}
.work-gallery-item:hover .work-gallery-cap,
.work-gallery-item:focus-visible .work-gallery-cap { opacity: 1; }
.work-gallery-client {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}
.work-gallery-title {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #fff;
}
.work-gallery-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.work-gallery-arrow {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
}

.work-index-head {
  display: grid;
  grid-template-columns: 64px 200px 1fr 180px 80px 32px;
  gap: 28px;
  padding: 18px 0 16px;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--line);
}

.work-index-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.work-index-list > li { display: block; }

.work-index-row {
  display: grid;
  grid-template-columns: 64px 200px 1fr 180px 80px 32px;
  gap: 28px;
  align-items: baseline;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: opacity 0.25s ease, color 0.25s ease;
  position: relative;
}

.wir-num,
.wir-cat,
.wir-year {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.wir-year { text-align: right; }
.wir-client {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.wir-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex: 0 0 8px;
}
.wir-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--ink);
  transition: color 0.25s ease, font-style 0.25s ease;
}
.wir-arrow {
  color: var(--copper);
  font-size: 18px;
  text-align: right;
  opacity: 0.55;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Hover behaviour: when ANY row is hovered, fade siblings, highlight active */
.work-index-list:has(.work-index-row:hover) .work-index-row:not(:hover) { opacity: 0.32; }
.work-index-row:hover .wir-title { font-style: italic; color: var(--copper); }
.work-index-row:hover .wir-arrow { opacity: 1; transform: translateX(4px); }

/* JS-driven .is-hover fallback (used by floating preview state) */
.work-index-list .work-index-row.is-hover .wir-title { font-style: italic; color: var(--copper); }
.work-index-list .work-index-row.is-hover .wir-arrow { opacity: 1; transform: translateX(4px); }

/* Floating cursor preview */
.work-preview {
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.work-preview-frame {
  width: 100%;
  height: calc(100% - 28px);
  background: #1a120c;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(20, 16, 12, 0.35);
}
.work-preview-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

@media (hover: none) {
  .work-preview { display: none; }
}

@media (max-width: 880px) {
  .work-index-head,
  .work-index-row {
    grid-template-columns: 44px 1fr 90px 20px;
    gap: 14px;
    padding: 22px 0;
  }
  .work-index-head > span:nth-child(2),
  .work-index-head > span:nth-child(4),
  .wir-client,
  .wir-cat { display: none; }
  .work-preview { display: none; }
}

/* =========================================================
   Project detail — full-bleed header, sticky meta, plate stack
   ========================================================= */

.project-title {
  margin: 0;
  font-size: clamp(36px, 5vw, 72px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  max-width: 22ch;
}
.project-toptag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.project-toptag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.project-headline-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.project-headline-aside {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: right;
  white-space: nowrap;
}

.project-fig-caption {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Body: sticky meta + scrolling content */
.project-body {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 80px;
  /* Default `stretch` so the sidebar's grid cell takes full row height —
     gives `position: sticky` enough scroll range to follow. */
  padding-top: 80px;
  padding-bottom: 24px;
}
.project-meta {
  position: relative;
  /* Explicit fallback in case any parent re-enables align-items: start. */
  align-self: stretch;
}
.project-meta-inner {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.project-meta-block { display: flex; flex-direction: column; }
/* Wrapper around the 4 short metadata fields. Inherits the column rhythm on
   desktop (looks like the rest of the Colophon), becomes a 2×2 grid with
   hairline dividers on mobile (matches the Süreç process strip). */
.project-meta-shorts {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.project-meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}
.project-meta-list li::before {
  content: "·";
  margin-right: 8px;
  color: var(--ink-muted);
}
.project-meta-link {
  margin-top: 6px;
  color: var(--copper);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.project-body-main { min-width: 0; }
.project-approach-title { margin: 0 0 22px; }
.project-prose {
  font-size: 19px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 22px;
}
.project-prose:first-of-type::first-letter {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6em;
  line-height: 0.85;
  float: left;
  padding: 6px 12px 0 0;
  color: var(--ink);
}

/* =========================================================
   Project content stream (Behance-style)
   Right column inside .project-body, blocks flow top-to-bottom.
   ========================================================= */

.project-stream {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.project-stream .cs-lede {
  margin: 0;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* Text block */
.cs-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 62ch;
}
.cs-text p {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* Image block — full-width within the stream column */
.cs-image { margin: 0; }
.cs-image img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--bg-elev);
}
.cs-image.is-narrow {
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}
.cs-caption {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Image grid — N columns inside the stream column */
.cs-grid {
  display: grid;
  gap: 20px;
}
.cs-grid figure { margin: 0; }
.cs-grid img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--bg-elev);
}

/* Inline quote block */
.cs-quote {
  margin: 12px 0;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 500;
  text-align: center;
  max-width: 32ch;
  margin-left: auto;
  margin-right: auto;
}
.cs-quote > footer {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 400;
}

@media (max-width: 760px) {
  .cs-grid { grid-template-columns: 1fr !important; }
  .project-stream { gap: 36px; }
}

/* Plate stack */
.project-plates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 32px;
  padding-bottom: 16px;
}
.project-plate { margin: 0; }
.project-plate-half { grid-column: span 1; }
.project-plate-wide { grid-column: 1 / -1; }
.project-plate-media {
  background: #1a120c;
  overflow: hidden;
}
.project-plate-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* Hero floating objects — scattered design tools, varied scale + depth, flee the cursor.
   Three layers: .hero-float (cursor-repel transform via JS) > .hero-float-inner
   (idle float keyframe) > img (constant rotation). Kept separate so the motions
   never fight over `transform`. */
.hero-floats {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-float {
  position: absolute;
  pointer-events: none;
  will-change: transform;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-float-inner {
  animation: heroFloatY var(--dur, 7s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  will-change: transform;
}
.hero-float img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  transform: rotate(var(--rot, 0deg));
  filter: drop-shadow(0 12px 26px rgba(24, 20, 16, 0.26));
}
@keyframes heroFloatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(var(--floatY, -14px)); }
}
@media (max-width: 900px) {
  .hero-floats { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-float-inner { animation: none; }
}

.project-quote {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 32ch;
  margin: 60px auto;
  text-align: center;
  font-weight: 500;
}
.project-quote > footer {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 400;
}

/* Big "Next project" link */
.project-next {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: padding 0.25s ease;
}
.project-next:hover { padding-left: 16px; padding-right: 0; }
.project-next-title {
  margin: 10px 0 0;
  font-size: clamp(34px, 5.5vw, 76px);
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--ink);
}
.project-next:hover .project-next-title { color: var(--copper); font-style: italic; }
.project-next-arrow {
  color: var(--copper);
  font-size: clamp(34px, 5vw, 64px);
  transition: transform 0.25s ease;
}
.project-next:hover .project-next-arrow { transform: translateX(8px); }

@media (max-width: 960px) {
  .project-body { grid-template-columns: 1fr; gap: 48px; padding-top: 56px; }
  .project-meta-inner { position: static; gap: 28px; }

  /* Short fields → 2-col grid with hairline dividers, inspired by Süreç.
     Auto-flow so any number of items works (current: 4, can extend). */
  .project-meta-shorts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .project-meta-shorts .project-meta-block {
    padding: 20px 0;
    border-bottom: 1px solid var(--line-soft);
  }
  /* Left column: vertical divider on the right edge */
  .project-meta-shorts .project-meta-block:nth-child(odd) {
    padding-right: 20px;
    border-right: 1px solid var(--line-soft);
  }
  /* Right column: gutter padding on the left */
  .project-meta-shorts .project-meta-block:nth-child(even) {
    padding-left: 20px;
  }
  /* Last cell never gets an inner bottom divider */
  .project-meta-shorts .project-meta-block:last-child {
    border-bottom: none;
  }
  /* When item count is even, the penultimate (odd-positioned) cell sits in
     the last row alongside the last cell — drop its bottom divider too. */
  .project-meta-shorts .project-meta-block:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
  }
  .project-plates { grid-template-columns: 1fr; gap: 28px; }
  .project-plate-half, .project-plate-wide { grid-column: 1 / -1; }
}

/* =========================================================
   Misc
   ========================================================= */

.glow-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--copper);
  animation: pulse 2s ease-in-out infinite;
}
.glow-dot.is-closed {
  background: var(--ink-muted);
  animation: none;
  box-shadow: none;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 color-mix(in srgb, var(--copper) 50%, transparent); }
  50% { opacity: 0.6; transform: scale(1.1); box-shadow: 0 0 0 8px color-mix(in srgb, var(--copper) 0%, transparent); }
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.4); opacity: 0.3; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}


.fade-in {
  animation: fade-in 0.7s ease both;
}
@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Marquee */
.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.marquee-track {
  display: flex;
  gap: 64px;
  animation: scroll 40s linear infinite;
  white-space: nowrap;
  flex-shrink: 0;
}
.marquee-item {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 48px;
  color: var(--ink);
}
.marquee-item .dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--copper);
  flex-shrink: 0;
}
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* Form inputs */
.form-input {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
.form-input:focus { border-bottom-color: var(--copper); }
.form-input::placeholder { color: var(--ink-muted); }

textarea.form-input { padding: 14px 0; min-height: 120px; line-height: 1.5; }

/* Client row hover */
.client-row { cursor: default; }
.client-row-link { cursor: pointer; text-decoration: none; color: inherit; }
.client-row-link:hover { background: var(--line-soft); }

/* =========================================================
   Blog (Günlük) — v2 filter bar + asymmetric mixed-format feed
   ========================================================= */
.blog-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  gap: 24px;
  flex-wrap: wrap;
}
.blog-filter-bar .filters {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.filter-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.18s;
}
.filter-chip:hover { color: var(--ink); }
.filter-chip.active { color: var(--copper); }

.blog-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
}
.blog-grid .col-stack { display: flex; flex-direction: column; gap: 32px; }
@media (max-width: 980px) {
  .blog-grid { grid-template-columns: 1fr; gap: 32px; }
  .blog-grid .col-stack { gap: 32px; }
}
.blog-card { display: flex; flex-direction: column; }
.blog-card-media { margin-bottom: 12px; position: relative; }
.blog-card-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
}
.blog-card-meta.copper { color: var(--copper); }
.blog-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin: 0;
  color: var(--ink);
}
.blog-card-title.lg { font-size: clamp(26px, 2.4vw, 36px); margin-top: 4px; }
.blog-card-title.md { font-size: 22px; }
.blog-card-body {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.blog-card-cta {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
}
.video-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 4px 8px;
  letter-spacing: 0.06em;
}

/* =========================================================
   Contact (İletişim) — v2 multi-step brief form
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
.contact-info-block { margin-bottom: 32px; }
.contact-info-block .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.contact-info-block .value-lg {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.01em;
  margin-top: 8px;
  color: var(--copper);
  display: inline-block;
}
.contact-info-block .value-md {
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.005em;
  margin-top: 8px;
  color: var(--ink);
}
.contact-info-block .hint {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-muted);
}

.brief-card {
  border: 1px solid var(--line);
  padding: 36px;
  background: var(--bg-elev);
}
.brief-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.brief-progress { display: flex; gap: 6px; }
.brief-progress .seg {
  width: 32px;
  height: 3px;
  background: var(--line);
  transition: background 0.2s;
}
.brief-progress .seg.active { background: var(--copper); }
.brief-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 18px 0 28px;
  color: var(--ink);
}
.brief-section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 24px 0 12px;
}
.brief-section-label .hint { color: var(--ink-faint); font-style: italic; text-transform: none; letter-spacing: 0; margin-left: 6px; }
.brief-pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.brief-nav { margin-top: 32px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }

/* Akademi-specific elements */
.ak-card {
  background: var(--ak-bg-deep);
  padding: 32px;
  border: 1px solid color-mix(in srgb, var(--ak-ink) 8%, transparent);
  transition: all 0.3s ease;
  cursor: pointer;
}
.ak-card:hover {
  background: var(--ak-bg);
  border-color: var(--ak-accent);
}

/* Responsive nav collapse */
@media (max-width: 800px) {
  .nav-links { display: none; }
}
