/* ==========================================================================
   STYLE.CSS — Bedirhan Çakıroğlu Portfolio
   Kod organizasyonu:
   1. Reset & base
   2. Accessibility yardımcıları
   3. Layout / grid
   4. Tipografi yardımcıları
   5. Navigasyon
   6. Bileşenler: buton, etiket, dimension-mark, medya alanı, not/callout
   7. Ana sayfa bileşenleri: hero, proje kartı, ilke şeridi
   8. Case study şablonu bileşenleri
   9. Footer
   10. Hareket & prefers-reduced-motion
   ========================================================================== */

/* ---------- 1. Reset & base ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--paper);
  color: var(--ink-700);
  font-family: var(--font-sans);
  font-size: var(--fs-400);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img{ max-width: 100%; display: block; }
h1, h2, h3, h4{
  color: var(--ink-900);
  font-weight: 650;
  line-height: var(--lh-tight);
  letter-spacing: -0.012em;
  margin: 0;
}
p{ margin: 0 0 var(--sp-3); }
a{ color: inherit; text-decoration: none; }
ul, ol{ margin: 0; padding: 0; list-style: none; }
button{ font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }

/* ---------- 2. Accessibility ---------- */
.skip-link{
  position: absolute; left: -9999px; top: 0;
  background: var(--ink-900); color: var(--surface);
  padding: 10px 16px; z-index: 200; font-size: var(--fs-200);
}
.skip-link:focus{ left: var(--edge); top: 8px; }

a:focus-visible, button:focus-visible, [tabindex]:focus-visible{
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

.visually-hidden{
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- 3. Layout / grid ---------- */
.wrap{
  max-width: var(--col-max);
  margin: 0 auto;
  padding: 0 var(--edge);
}
.wrap--narrow{ max-width: var(--col-max-narrow); }

.grid-12{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
@media (max-width: 860px){
  .grid-12{ grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

/* ---------- 4. Tipografi yardımcıları ---------- */
.eyebrow{
  font-family: var(--font-mono);
  font-size: var(--fs-100);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-500);
}
.h-display{ font-size: var(--fs-900); }
.h1{ font-size: var(--fs-800); }
.h2{ font-size: var(--fs-700); }
.h2--section{ margin-bottom: var(--sp-5); }
.h3{ font-size: var(--fs-600); }
.text-muted{ color: var(--ink-500); }
.text-small{ font-size: var(--fs-300); }

/* ---------- 5. Navigasyon ---------- */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  border-bottom: 1px solid var(--line-100);
  /* backdrop-filter kaldırıldı — CSS spec: backdrop-filter olan bir öğe
     fixed pozisyonlu tüm çocukları için containing block oluyor. Bu, mobile
     menüsünün .primary-nav.is-open (position: fixed) header'ın 64px'ine
     hapsedip inset:64px 0 0 0 → yükseklik 0 uzun ekran çakışmalarına
     yol açıyordu, portre menünün altında yerine üstünde görünüyordu. */
}
.site-header .wrap{
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand{
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--fs-300); font-weight: 600; letter-spacing: -0.01em;
  color: var(--ink-900);
}
.brand small{
  display: block; font-weight: 400; font-size: var(--fs-100);
  color: var(--ink-500); font-family: var(--font-mono);
  text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px;
}
/* Signature wordmark to the left of the printed name. Handwriting-weighted
   Caveat, angled slightly, in the signal color, with a soft flourish
   underline. Placed only on wide viewports so the mobile header stays
   compact. */
.brand-signature{
  font-family: var(--font-signature);
  font-weight: 700;
  font-style: normal;
  font-size: 40px;
  line-height: 1;
  color: var(--signal);
  display: inline-block;
  position: relative;
  transform: rotate(-4deg);
  transform-origin: 50% 60%;
  padding: 0 6px 4px;
  letter-spacing: -0.03em;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
}
.brand-signature::after{
  content: "";
  position: absolute;
  left: 2px; right: 2px; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--signal) 15%, var(--signal) 85%, transparent 100%);
  transform: skewX(-16deg);
  opacity: 0.8;
}
.brand-print{
  display: flex; flex-direction: column;
  border-left: 1px solid var(--line-300);
  padding-left: 12px;
}
@media (max-width: 720px){
  .brand-signature{ display: none; }
  .brand-print{ border-left: none; padding-left: 0; }
}
.primary-nav{ display: flex; gap: var(--sp-5); align-items: center; }
.primary-nav a{
  font-family: var(--font-mono); font-size: var(--fs-100);
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-500);
  padding: 6px 0; border-bottom: 1px solid transparent;
  transition: color var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.primary-nav a:hover, .primary-nav a[aria-current="page"]{
  color: var(--ink-900); border-color: var(--signal);
}
.lang-switch{ display: flex; gap: 2px; align-items: center; margin-left: var(--sp-4); }
.lang-switch button{
  font-family: var(--font-mono); font-size: var(--fs-100); text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--ink-500); padding: 4px 6px; line-height: 1;
  transition: color var(--dur-base) var(--ease);
}
.lang-switch button.is-active{ color: var(--ink-900); }
.lang-switch button:hover{ color: var(--signal); }
.lang-switch .sep{ color: var(--line-300); font-size: var(--fs-100); }

.nav-toggle{ display: none; }
@media (max-width: 720px){
  .primary-nav{
    display: none; position: fixed; inset: 64px 0 0 0;
    background: var(--paper);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--sp-5) var(--edge); border-top: 1px solid var(--line-100);
    z-index: 999;
    /* Promote to own compositor layer so hero-portrait's will-change
       doesn't render above this fixed overlay */
    transform: translateZ(0);
    will-change: transform;
  }
  .primary-nav.is-open{ display: flex; }
  .primary-nav a{
    font-size: var(--fs-500); font-family: var(--font-sans);
    text-transform: none; letter-spacing: normal;
    padding: var(--sp-3) var(--sp-4);
    border-bottom: 1px solid var(--line-100);
    color: var(--ink-900);
  }
  .primary-nav a:last-of-type{ border-bottom: none; }
  .primary-nav a:hover{ background: var(--line-100); border-color: var(--line-100); }
  .nav-toggle{
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 11px;
    margin-right: -11px;
    z-index: 151;  /* stay above the overlay so user can close it */
  }
  .nav-toggle span{ height: 1.5px; background: var(--ink-900); display: block; }
}

.breadcrumb{
  font-family: var(--font-mono); font-size: var(--fs-100);
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-500);
  display: flex; gap: 10px; align-items: center; padding: var(--sp-4) 0;
}
.breadcrumb a{ color: var(--ink-500); }
.breadcrumb a:hover{ color: var(--signal); }

/* ---------- 6. Ortak bileşenler ---------- */

/* Mono uppercase label. Sinyal kırmızısıyla renk yeter — dekoratif
   "accent bar" (önceki ::before) AI-jenerik design pattern havası
   veriyordu, kaldırıldı. */
.dim-mark{
  display: inline-block;
  font-family: var(--font-mono); font-size: var(--fs-100);
  letter-spacing: 0.06em; color: var(--signal); text-transform: uppercase;
}

.btn{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: var(--fs-100);
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 12px 20px; border: 1px solid var(--ink-900); color: var(--ink-900);
  transition: background var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
}
.btn:hover{ background: var(--ink-900); color: var(--surface); }
.btn--ghost{ border-color: var(--line-300); color: var(--ink-500); }
.btn--ghost:hover{ background: transparent; color: var(--ink-900); border-color: var(--ink-900); }

.status-badge{
  display: inline-block; font-family: var(--font-mono); font-size: var(--fs-100);
  text-transform: uppercase; letter-spacing: 0.05em;
  padding: 3px 9px; border: 1px solid var(--line-300); color: var(--ink-500);
}
.status-badge--ready{ color: var(--signal); border-color: var(--signal); }

.media-slot{
  background: repeating-linear-gradient(135deg, var(--line-100), var(--line-100) 10px, var(--paper) 10px, var(--paper) 20px);
  border: 1px dashed var(--line-300);
  aspect-ratio: 16 / 10;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--ink-300); font-family: var(--font-mono); font-size: var(--fs-100);
  text-transform: uppercase; letter-spacing: 0.05em; padding: var(--sp-3);
}
.media-slot.is-ready{ background: var(--surface); border-style: solid; border-color: var(--line-100); }
.media-slot img{ width: 100%; height: 100%; object-fit: cover; }
/* Aspect variants — pick the closest fit so images stop getting head-cropped. */
.media-slot--wide{ aspect-ratio: 21 / 10; }        /* graduation book layouts, 2.1:1 */
.media-slot--book{ aspect-ratio: 3 / 4; }          /* portrait A4/A5 pages */
.media-slot--sq3-2{ aspect-ratio: 3 / 2; }         /* 1.5:1 renders, prototype photos */
.media-slot--sq7-5{ aspect-ratio: 7 / 5; }         /* 1.4:1 exploded views, lifestyle */
.media-slot--sq5-4{ aspect-ratio: 5 / 4; }         /* 1.25:1 product renders on light bg */
.media-slot--sq1-1{ aspect-ratio: 1 / 1; }         /* 1:1 square photos */
.media-slot--169{ aspect-ratio: 16 / 9; }          /* 1.78 hero renders */
.media-slot--contain{ background: var(--paper); }
.media-slot--contain img{ object-fit: contain; }
.media-slot--dark{ background: var(--nihai-bg); border-color: transparent; }
.media-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px){ .media-grid{ grid-template-columns: 1fr; } }

/* Final hero shot: full-bleed, uncropped (letterboxed on dark) for a more confident close per case study */
#nihai .wrap > .media-slot{
  width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  aspect-ratio: 21 / 9; border: none; background: var(--nihai-bg);
}
#nihai .wrap > .media-slot img{ object-fit: contain; }
@media (max-width: 720px){ #nihai .wrap > .media-slot{ aspect-ratio: 4 / 3; } }

/* Nötr not kutusu — önceki soft-red bg + kırmızı sol kenar AI-jenerik
   "warning box" havası veriyordu. Nötr çizgi + sade zemin daha
   editorial okunur, semantik önem yine sol-rail'de kalır. */
.callout{
  background: transparent; border-left: 2px solid var(--line-300);
  padding: var(--sp-3) var(--sp-4); font-size: var(--fs-300); color: var(--ink-500);
  margin: var(--sp-4) 0; font-style: italic;
}
.callout strong{ color: var(--ink-900); }

.spec-table{
  width: 100%; border-collapse: collapse; margin: var(--sp-4) 0;
  font-size: var(--fs-300);
}
.spec-table th, .spec-table td{
  text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line-100);
}
.spec-table th{
  font-family: var(--font-mono); font-size: var(--fs-100); text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--ink-500); font-weight: 500;
}

/* ---------- 7. Ana sayfa bileşenleri ---------- */
.hero{ padding: var(--sp-9) 0 var(--sp-7); }
.hero h1{ max-width: 15ch; margin: var(--sp-3) 0 var(--sp-4); }
.hero .lede{ font-size: var(--fs-500); color: var(--ink-500); max-width: 48ch; font-weight: 400; }

.meta-strip{
  display: flex; gap: var(--sp-6); flex-wrap: wrap;
  border-top: 1px solid var(--line-100); padding-top: var(--sp-4); margin-top: var(--sp-6);
}
.meta-strip .item span{
  display: block; font-family: var(--font-mono); font-size: var(--fs-100);
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-500); margin-bottom: 4px;
}
.meta-strip .item{ font-size: var(--fs-300); color: var(--ink-700); }

.principles{
  padding: var(--sp-7) 0; border-top: 1px solid var(--line-100);
}
.how-head{ margin-bottom: var(--sp-6); }
.how-process{
  font-family: var(--font-mono); font-size: var(--fs-300); color: var(--ink-700);
  margin: var(--sp-3) 0 8px; letter-spacing: 0.01em; line-height: 1.9;
}
.how-tools{
  font-family: var(--font-mono); font-size: var(--fs-100); color: var(--ink-300);
  text-transform: uppercase; letter-spacing: 0.05em; margin: 0;
}
.principle-grid{
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4);
}
@media (max-width: 860px){ .principle-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px){ .principle-grid{ grid-template-columns: 1fr; } }
.principle{ padding-top: var(--sp-3); border-top: 2px solid var(--ink-900); }

.portfolio-actions{ display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.btn.is-disabled{ opacity: 0.4; cursor: not-allowed; pointer-events: none; }

/* Single-page: smooth anchor scroll + sticky-header offset */
html{ scroll-behavior: smooth; }
#work, #about, #contact{ scroll-margin-top: 84px; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior: auto; } }

/* Hero with portrait */
.hero-grid{ display: grid; grid-template-columns: 1fr 300px; gap: var(--sp-7); align-items: center; }
.hero-portrait{ width: 100%; will-change: transform; }
/* Portre kartı hem light hem dark modda SICAK KREM KAĞIT gibi kalır —
   "portrait on paper" motif. Subject grayscale olduğu için tema-adaptif
   koyu kart subject'i muddy gösteriyordu; sabit krem zemin bunu çözer.
   Filter yok — subject kaynak dosyadaki gibi görünür. */
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .about-portrait{
    background: #F1EDE2;
    border-color: rgba(0, 0, 0, 0.08);
  }
}
:root[data-theme="dark"] .about-portrait{
  background: #F1EDE2;
  border-color: rgba(0, 0, 0, 0.08);
}
@media (max-width: 720px){
  .hero-grid{ grid-template-columns: 1fr; gap: var(--sp-5); }
  .hero-portrait{ width: 200px; order: -1; }
}

/* ---------- Hero V2.1 (Fraunces-style serif display, 1fr:1.4fr grid,
     Pioneer render + engineering axis motif, 76px portrait chip) ---------- */
:root{
  --serif: "Iowan Old Style","Palatino Linotype","Palatino","URW Palladio L","Book Antiqua",Georgia,serif;
  --card: #F1EDE2;
  --paper-hero: #F6F3EC;
}
:root[data-theme="dark"]{
  --card: #1A1B1E;
  --paper-hero: #121316;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --card: #1A1B1E;
    --paper-hero: #121316;
  }
}

.hero--v21{ background: var(--paper-hero); padding: var(--sp-9) 0 var(--sp-8); }
.hero--v21 .hero-grid{ grid-template-columns: 1fr 1.4fr; align-items: center; gap: var(--sp-7); }
.hero--v21 .hero-welcome{
  display: block;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: var(--fs-400); line-height: 1.3;
  color: var(--ink-500); letter-spacing: -0.005em;
  margin-bottom: var(--sp-3);
}
.hero--v21 .h-display{
  font-family: var(--serif); font-weight: 400; font-style: normal;
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.12; letter-spacing: -0.015em;
  max-width: 24ch; color: var(--ink-900);
  text-wrap: balance;
  padding-right: 0.1em;
}
.hero--v21 .h-display em{ font-style: italic; color: var(--ink-700); }
.hero--v21 .lede{
  font-family: var(--font-sans); font-size: var(--fs-400); font-weight: 400;
  color: var(--ink-500); max-width: 42ch;
}

.hero--v21 .meta-strip.orbital{
  gap: var(--sp-5); padding-top: 14px; margin-top: var(--sp-5);
}
.hero--v21 .meta-strip.orbital .item{
  font-family: var(--font-mono); font-size: 11.5px;
  color: var(--ink-700); letter-spacing: 0.02em;
  display: flex; flex-direction: row; gap: 6px; align-items: baseline;
}
.hero--v21 .meta-strip.orbital .item span{ display: inline; margin: 0; }
.hero--v21 .meta-strip.orbital .item span:first-child{
  color: var(--ink-500);
  text-transform: uppercase; font-size: 10px; letter-spacing: 0.14em;
}

.hero--v21 .portrait-chip{
  display: flex; align-items: center; gap: 14px;
  margin-top: var(--sp-5); padding-top: var(--sp-4);
  border-top: 1px solid var(--line-100);
}
.hero--v21 .portrait-chip .pic{
  width: 76px; height: 76px; border-radius: 2px; overflow: hidden;
  background: var(--card); flex-shrink: 0;
}
.hero--v21 .portrait-chip .pic img{
  width: 100%; height: 100%; object-fit: cover; object-position: center 22%;
  display: block; filter: grayscale(100%);
}
.hero--v21 .portrait-chip .meta{ line-height: 1.35; }
.hero--v21 .portrait-chip .meta .name{
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 17px; color: var(--ink-900);
}
.hero--v21 .portrait-chip .meta .role{
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-500); margin-top: 2px;
}

.hero--v21 .hero-media{
  position: relative; background: var(--paper-hero);
  border: 1px solid var(--line-100);
  aspect-ratio: 16 / 10; overflow: hidden;
}
.hero--v21 .hero-render{
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block;
}
.hero--v21 .axis-tag{
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em;
  color: var(--ink-900); background: var(--paper-hero);
  padding: 4px 8px; border: 1px solid var(--line-300);
}
.hero--v21 .axis-h, .hero--v21 .axis-v{
  position: absolute; background: var(--ink-900); opacity: 0.14; z-index: 1;
}
.hero--v21 .axis-h{ left: 0; right: 0; top: 50%; height: 1px; }
.hero--v21 .axis-v{ top: 0; bottom: 0; left: 50%; width: 1px; }
.hero--v21 .axis-corner{
  position: absolute; z-index: 2;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em;
  color: var(--ink-500); background: var(--paper-hero); padding: 3px 6px;
}
.hero--v21 .axis-corner.axis-tr{ top: 12px; right: 12px; }
.hero--v21 .axis-corner.axis-br{ bottom: 12px; right: 12px; }
.hero--v21 .axis-corner.axis-bl{ bottom: 12px; left: 12px; }

@media (max-width: 900px){
  .hero--v21 .hero-grid{ grid-template-columns: 1fr; gap: var(--sp-4); }
  .hero--v21 .hero-media{ order: -1; }
  .hero--v21 .h-display{ font-size: clamp(32px, 8vw, 48px); }
}

@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .hero--v21 .portrait-chip .pic img{
    filter: grayscale(100%) brightness(1.10) contrast(0.95);
  }
  :root:not([data-theme="light"]) .hero--v21 .hero-media{
    border-color: rgba(255,255,255,0.06);
  }
  :root:not([data-theme="light"]) .hero--v21 .axis-tag,
  :root:not([data-theme="light"]) .hero--v21 .axis-corner{
    background: var(--paper-hero); border-color: rgba(255,255,255,0.08);
  }
  :root:not([data-theme="light"]) .hero--v21 .axis-h,
  :root:not([data-theme="light"]) .hero--v21 .axis-v{
    background: rgba(255,255,255,0.14);
  }
}
:root[data-theme="dark"] .hero--v21 .portrait-chip .pic img{
  filter: grayscale(100%) brightness(1.10) contrast(0.95);
}
:root[data-theme="dark"] .hero--v21 .hero-media{
  border-color: rgba(255,255,255,0.06);
}
:root[data-theme="dark"] .hero--v21 .axis-tag,
:root[data-theme="dark"] .hero--v21 .axis-corner{
  background: var(--paper-hero); border-color: rgba(255,255,255,0.08);
}
:root[data-theme="dark"] .hero--v21 .axis-h,
:root[data-theme="dark"] .hero--v21 .axis-v{
  background: rgba(255,255,255,0.14);
}

.case-pager{
  display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--sp-4);
  align-items: center; padding: var(--sp-6) 0; border-top: 1px solid var(--line-100);
  margin-top: var(--sp-7);
}
.case-pager__link{ display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.case-pager__next{ text-align: right; }
.case-pager__all{
  font-family: var(--font-mono); font-size: var(--fs-100); text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--ink-500); white-space: nowrap;
}
.case-pager__all:hover{ color: var(--signal); }
.case-pager__dir{
  font-family: var(--font-mono); font-size: var(--fs-100); text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--ink-300);
}
.case-pager__name{ font-size: var(--fs-500); color: var(--ink-900); transition: color var(--dur-base) var(--ease); }
.case-pager__link:hover .case-pager__name{ color: var(--signal); }
@media (max-width: 640px){
  .case-pager{ grid-template-columns: 1fr 1fr; row-gap: var(--sp-4); }
  .case-pager__all{ grid-column: 1 / -1; grid-row: 2; text-align: center; }
}
.principle h3{ font-size: var(--fs-400); margin-bottom: 6px; }
.principle p{ font-size: var(--fs-300); color: var(--ink-500); margin: 0; }

.work-grid{ display: flex; flex-direction: column; }
.project-card{
  display: grid; grid-template-columns: 220px 1fr auto; gap: var(--sp-5);
  align-items: center; padding: var(--sp-5) 0; border-top: 1px solid var(--line-100);
  transition: background var(--dur-base) var(--ease);
}
.project-card:last-child{ border-bottom: 1px solid var(--line-100); }
.project-card:hover{ background: var(--surface); }
.project-card .thumb{
  aspect-ratio: 4/3; background: var(--surface); border: 1px solid var(--line-100);
  overflow: hidden;
}
.project-card .thumb img{ width: 100%; height: 100%; object-fit: cover; }
.project-card .thumb.is-empty{
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 10px; color: var(--ink-300);
  text-transform: uppercase; background: repeating-linear-gradient(135deg, var(--line-100), var(--line-100) 8px, var(--surface) 8px, var(--surface) 16px);
}
.project-card h3{ font-size: var(--fs-500); margin-bottom: 6px; }
.project-card p{ color: var(--ink-500); font-size: var(--fs-300); margin: 0; }
.project-card .arrow{
  font-family: var(--font-mono); font-size: var(--fs-200); color: var(--ink-300);
  transition: transform var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
}
.project-card:hover .arrow{ transform: translateX(4px); color: var(--signal); }
@media (max-width: 720px){
  .project-card{ grid-template-columns: 1fr; }
  .project-card .arrow{ display: none; }
}

/* ---------- 8. Case study şablonu ---------- */
.case-hero{ padding: var(--sp-7) 0 var(--sp-6); border-bottom: 1px solid var(--line-100); }
.case-hero h1{ max-width: 20ch; margin: var(--sp-3) 0 var(--sp-4); }
.case-hero .lede{ font-size: var(--fs-500); color: var(--ink-500); max-width: 56ch; font-weight: 400; margin-bottom: var(--sp-5); }

.case-subnav{
  position: sticky; top: 64px; z-index: 90;
  background: var(--paper); border-bottom: 1px solid var(--line-100);
  overflow-x: auto; white-space: nowrap;
  scrollbar-width: none;
}
.case-subnav::-webkit-scrollbar{ display: none; }
.case-subnav .wrap{ display: flex; gap: var(--sp-5); padding-top: var(--sp-2); padding-bottom: var(--sp-2); }
.case-subnav a{
  font-family: var(--font-mono); font-size: var(--fs-100); text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--ink-500); padding: 6px 0; border-bottom: 2px solid transparent;
}
.case-subnav a:hover, .case-subnav a.is-active{ color: var(--ink-900); border-color: var(--signal); }

.case-section{ padding: var(--sp-8) 0; border-top: 1px solid var(--line-100); scroll-margin-top: 110px; }
@media (max-width: 720px){ .case-section{ padding: var(--sp-7) 0; } }
.case-section .wrap{ max-width: var(--col-max-narrow); }
.case-section .eyebrow{ display: block; margin-bottom: var(--sp-3); }
.case-section h2{ font-size: var(--fs-700); margin-bottom: var(--sp-4); line-height: var(--lh-snug); }
.case-section p{ font-size: var(--fs-400); line-height: 1.7; }
.case-section ul{ margin: 0 0 var(--sp-3); padding-left: 20px; list-style: disc; }
.case-section li{ font-size: var(--fs-400); margin-bottom: 8px; line-height: 1.7; }
.case-section .media-slot,
.case-section .media-grid{ margin-top: var(--sp-4); }

/* Break media out of the 760px reading column so renders actually breathe.
   #nihai's single media-slot gets 100vw dark backdrop treatment; its grids
   still break out to col-max so paired renders don't shrink to thumbnails. */
.case-section:not(#nihai) .media-slot,
.case-section .media-grid{
  width: min(var(--col-max), calc(100vw - 32px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}
/* Slots inside a 2-col grid stay inside their grid track, not their own breakout. */
.case-section:not(#nihai) .media-grid .media-slot{
  width: auto;
  margin-left: 0;
  transform: none;
}
@media (max-width: 860px){
  .case-section:not(#nihai) .media-slot,
  .case-section:not(#nihai) .media-grid{
    width: 100%;
    margin-left: 0;
    transform: none;
  }
}

.case-outcome{ background: var(--nihai-bg); color: var(--paper); }
.case-outcome .eyebrow{ color: var(--line-300); }
.case-outcome h2{ color: var(--surface); }
.case-outcome p{ color: var(--ink-500); }

/* ---------- 8b. About sayfası ---------- */
.about-head{ display: grid; grid-template-columns: 260px 1fr; gap: var(--sp-6); align-items: start; }
.about-portrait{ border: 1px solid var(--line-100); overflow: hidden; aspect-ratio: 2 / 3; background: var(--surface); }
.about-portrait img{ width: 100%; height: 100%; object-fit: cover; object-position: top center; }
@media (max-width: 640px){
  .about-head{ grid-template-columns: 1fr; gap: var(--sp-4); }
  .about-portrait{ width: 200px; }
}
.timeline{ display: flex; flex-direction: column; gap: var(--sp-6); }
.tl-item{ padding-left: var(--sp-4); border-left: 2px solid var(--line-300); }
.tl-item h3{ font-size: var(--fs-500); margin: 6px 0 8px; }
.tl-item p{ font-size: var(--fs-300); color: var(--ink-700); margin: 0; }
.award-list{ list-style: none; }
.award-list li{
  font-size: var(--fs-400); padding: 14px 0; border-bottom: 1px solid var(--line-100);
  padding-left: var(--sp-4); position: relative;
}
.award-list li::before{ content: ""; position: absolute; left: 0; top: 22px; width: 8px; height: 1px; background: var(--line-300); }
.skill-block{ padding-top: var(--sp-3); border-top: 2px solid var(--ink-900); margin-bottom: var(--sp-3); }
.skill-block h3{ font-size: var(--fs-400); margin-bottom: 6px; }

.testimonial{ margin: 0; max-width: 62ch; }
.testimonial blockquote{
  margin: 0 0 var(--sp-3);
  font-size: var(--fs-500); line-height: 1.55;
  color: var(--ink-900); font-style: normal;
  padding-left: var(--sp-4);
  border-left: 2px solid var(--signal);
}
.testimonial blockquote p{ margin: 0; }
.testimonial figcaption{
  padding-left: calc(var(--sp-4) + 2px);
  font-family: var(--font-mono); font-size: var(--fs-100);
  letter-spacing: 0.02em; color: var(--ink-500); line-height: 1.7;
}
.testimonial .ref-name{
  display: block; color: var(--ink-900); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.testimonial .ref-role{ display: block; }
.testimonial .ref-org{ display: block; color: var(--ink-700); }

/* ---------- 9. Footer ---------- */
.site-footer{ border-top: 1px solid var(--line-100); padding: var(--sp-7) 0 var(--sp-8); }
.site-footer .cols{ display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-5); }
.site-footer a{ color: var(--ink-700); }
.site-footer a:hover{ color: var(--signal); }
.site-footer .legal{ margin-top: var(--sp-6); font-size: var(--fs-200); color: var(--ink-500); }
.contact-links p{ margin: 0 0 8px; font-size: var(--fs-300); }
.contact-links a{ color: var(--ink-700); }
.contact-links a:hover{ color: var(--signal); }

/* ---------- 8b. Standalone /contact/ page (simplified, centered) ---------- */
.page-contact{ display: flex; flex-direction: column; min-height: 100vh; }
.page-contact #main{ flex: 1 0 auto; display: flex; align-items: center; justify-content: center; }
.contact-simple{ width: 100%; padding: var(--sp-6) 0; text-align: center; }
.contact-simple .dim-mark{ display: block; margin-bottom: var(--sp-5); }
.contact-simple__actions{ display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; }
.contact-simple__actions .btn{ min-width: 190px; justify-content: center; }
.contact-simple__more{ margin-top: var(--sp-6); display: flex; gap: var(--sp-5); justify-content: center; flex-wrap: wrap; }
.contact-simple__more a{
  font-family: var(--font-mono); font-size: var(--fs-100);
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-500);
}
.contact-simple__more a:hover{ color: var(--signal); }

/* Minimal footer variant, used on the standalone /contact/ page. */
.site-footer--minimal{ padding: var(--sp-5) 0 var(--sp-6); }
.site-footer--minimal .legal{ margin: 0; font-size: var(--fs-200); color: var(--ink-500); }

/* ---------- 9a. Industry Experience strip ---------- */
.industry-exp{
  display: grid; grid-template-columns: 280px 1fr; gap: var(--sp-6);
  padding: var(--sp-5) 0; border-top: 2px solid var(--ink-900);
}
.ind-role .eyebrow{ display: block; margin-bottom: var(--sp-2); color: var(--signal); }
.ind-role h3{ font-size: var(--fs-500); margin: 4px 0 8px; }
.ind-period{
  font-family: var(--font-mono); font-size: var(--fs-100); color: var(--ink-500);
  text-transform: uppercase; letter-spacing: 0.06em; margin: 0;
}
.ind-contributions{ display: flex; flex-direction: column; gap: 0; }
.ind-contrib-list{ list-style: none; margin: 0 0 var(--sp-4); padding: 0; }
.ind-contrib-list li{
  font-size: var(--fs-300); color: var(--ink-700);
  padding: 10px 0; border-bottom: 1px solid var(--line-100);
  padding-left: var(--sp-4); position: relative;
}
.ind-contrib-list li::before{
  content: ""; position: absolute; left: 0; top: 18px;
  width: 8px; height: 1px; background: var(--ink-300);
}
.ind-note{
  font-family: var(--font-mono); font-size: var(--fs-100);
  color: var(--ink-300); text-transform: uppercase; letter-spacing: 0.06em; margin: 0;
}
@media (max-width: 720px){
  .industry-exp{ grid-template-columns: 1fr; gap: var(--sp-4); }
}

/* ---------- 9b. Selected Works compact grid ---------- */
.selected-works-grid{
  display: grid; grid-template-columns: repeat(4,1fr); gap: var(--sp-5);
}
.sw-card{
  display: block; text-decoration: none; color: inherit;
  transition: opacity var(--dur-base) var(--ease);
}
.sw-card:hover{ opacity: 0.65; }
.sw-card .thumb{
  aspect-ratio: 4/3; background: var(--surface); border: 1px solid var(--line-100);
  overflow: hidden; margin-bottom: var(--sp-3);
}
.sw-card .thumb img{ width: 100%; height: 100%; object-fit: cover; }
.sw-card h3{ font-size: var(--fs-300); font-weight: 600; margin-bottom: 4px; }
.sw-card p{ font-size: var(--fs-200); color: var(--ink-500); margin: 0; line-height: var(--lh-base); }
@media (max-width: 720px){
  .selected-works-grid{ grid-template-columns: repeat(2,1fr); }
}

/* ---------- 10. Hareket ---------- */
@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
[data-reveal]{
  opacity: 0; transform: translateY(10px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
[data-reveal].is-visible{ opacity: 1; transform: none; }

/* Contact form success toast (fires when Netlify redirects with ?sent=1) */
.form-toast{
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 60px);
  background: var(--ink-900); color: var(--surface);
  padding: 14px 22px; border-radius: 4px;
  font-size: var(--fs-300); font-weight: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  opacity: 0; transition: transform 300ms ease, opacity 300ms ease;
  z-index: 100; max-width: calc(100vw - 32px);
}
.form-toast.is-in{ transform: translate(-50%, 0); opacity: 1; }
@media (prefers-reduced-motion: reduce){
  .form-toast{ transition: none; }
}

/* ---------- Theme toggle (dark mode) ---------- */
.theme-toggle{
  width: 28px; height: 28px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-500); margin-left: var(--sp-3);
  border-radius: 3px;
  transition: color var(--dur-base) var(--ease), background var(--dur-base) var(--ease);
}
.theme-toggle:hover{ color: var(--ink-900); background: var(--line-100); }
.theme-toggle .theme-icon{ display: none; }
/* Light default → show moon (indicates "switch to dark") */
.theme-toggle .icon-moon{ display: block; }
/* System-dark → show sun; explicit-light override wins back */
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .theme-toggle .icon-moon{ display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-sun{ display: block; }
}
:root[data-theme="dark"] .theme-toggle .icon-moon{ display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun{ display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon{ display: block; }
:root[data-theme="light"] .theme-toggle .icon-sun{ display: none; }

/* ---------- Featured-work strip (hero'nun altında, iş görsel sinyali) ---------- */
.featured-work{
  padding: var(--sp-5) 0 var(--sp-6);
  border-top: 1px solid var(--line-100);
  border-bottom: 1px solid var(--line-100);
}
.featured-work .wrap{
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}
.fw-card{
  display: block; text-decoration: none; color: inherit;
  transition: opacity var(--dur-base) var(--ease);
}
.fw-card:hover{ opacity: 0.85; }
.fw-thumb{
  aspect-ratio: 4 / 3;
  background: var(--surface);
  border: 1px solid var(--line-100);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.fw-thumb img{
  width: 100%; height: 100%; object-fit: cover;
}
.fw-name{
  display: block; margin-top: var(--sp-2);
  font-size: var(--fs-300); font-weight: 600; color: var(--ink-900);
  letter-spacing: -0.01em;
}
.fw-tag{
  display: block; margin-top: 2px;
  font-family: var(--font-mono); font-size: var(--fs-100); letter-spacing: 0.04em;
  color: var(--ink-500);
}
@media (max-width: 860px){
  .featured-work .wrap{ grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
}

/* ---------- Consent banner (Google Consent Mode v2) ---------- */
.consent-banner{
  position: fixed; bottom: var(--sp-4); left: var(--sp-4);
  max-width: 400px; width: calc(100% - 32px);
  background: var(--paper); color: var(--ink-700);
  border: 1px solid var(--line-300); border-radius: 3px;
  padding: 20px 22px;
  box-shadow: 0 20px 40px -12px rgba(20, 19, 17, 0.20);
  z-index: 200;
  font-size: var(--fs-300); line-height: 1.55;
  transform: translateY(24px); opacity: 0;
  transition: transform 300ms var(--ease), opacity 300ms var(--ease);
}
.consent-banner.is-in{ transform: translateY(0); opacity: 1; }
.consent-banner p{ margin: 0 0 var(--sp-3); color: var(--ink-700); }
.consent-buttons{ display: flex; gap: 10px; justify-content: flex-end; }
.consent-buttons button{
  font-family: var(--font-mono); font-size: var(--fs-100);
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 8px 14px; border: 1px solid var(--line-300); color: var(--ink-500);
  cursor: pointer; background: transparent;
  transition: color var(--dur-base) var(--ease), background var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.consent-buttons button:hover{
  color: var(--ink-900); border-color: var(--ink-900);
}
.consent-buttons .consent-accept{
  border-color: var(--ink-900); color: var(--ink-900);
}
.consent-buttons .consent-accept:hover{
  background: var(--ink-900); color: var(--surface);
}
@media (prefers-reduced-motion: reduce){
  .consent-banner{ transition: none; }
}

/* ==========================================================================
   11. Motion layer — scroll reveal + card hover
   IntersectionObserver in main.js adds .is-visible on entering viewport.
   prefers-reduced-motion honored via a single override at the bottom.
   ========================================================================== */

[data-reveal]{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children of a [data-reveal-stagger] container — 80ms per step.
   Apply data-reveal to the children AND data-reveal-stagger to the parent. */
[data-reveal-stagger] > [data-reveal]:nth-child(1){ transition-delay:  0ms; }
[data-reveal-stagger] > [data-reveal]:nth-child(2){ transition-delay: 80ms; }
[data-reveal-stagger] > [data-reveal]:nth-child(3){ transition-delay: 160ms; }
[data-reveal-stagger] > [data-reveal]:nth-child(4){ transition-delay: 240ms; }
[data-reveal-stagger] > [data-reveal]:nth-child(5){ transition-delay: 320ms; }
[data-reveal-stagger] > [data-reveal]:nth-child(6){ transition-delay: 400ms; }

/* Card image — subtle scale on hover (project-card + featured-work) */
.project-card .thumb img,
.fw-thumb img{
  transition: transform 500ms var(--ease);
}
.project-card:hover .thumb img,
.fw-card:hover .fw-thumb img{
  transform: scale(1.035);
}
/* project-card already has an arrow that translates on hover — keep that;
   only the image gains scale. */

/* Case-pager link — arrow character in ::after slides subtly */
.case-pager__link{ transition: color var(--dur-base) var(--ease); }

/* Blanket override — respect user preference across every rule above */
@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity: 1; transform: none; transition: none; }
  .project-card .thumb img,
  .fw-thumb img{ transition: none; }
  .project-card:hover .thumb img,
  .fw-card:hover .fw-thumb img{ transform: none; }
}

/* ---------- Motion Phase 2: #nihai Ken Burns ---------- */
/* Case-study finale image slowly zooms out once it enters the viewport —
   ambient nefes, "sinema kapanışı" hissi. Kısa değil (10s) çünkü
   kullanıcı image'i görüp okuyor, çok hızlı zoom rahatsız eder. */
#nihai .wrap > .media-slot img{
  transform: scale(1.0);
  transition: transform 10s cubic-bezier(.4,0,.2,1);
  transform-origin: center center;
}
#nihai .wrap.is-visible > .media-slot img{
  transform: scale(1.04);
}
@media (prefers-reduced-motion: reduce){
  #nihai .wrap > .media-slot img,
  #nihai .wrap.is-visible > .media-slot img{
    transform: none;
    transition: none;
  }
}

/* ---------- Motion Phase 3: featured-work cross-fade carousel ---------- */
.fw-thumb{ position: relative; }
.fw-img{
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity 1100ms cubic-bezier(.4,0,.2,1);
}
@media (prefers-reduced-motion: reduce){
  .fw-img{ transition: none; }
}

/* ============================================================
   11. V2.2 Motion, hero reveal + project hover blur overlay
   ============================================================ */

@media (prefers-reduced-motion: no-preference){
  .hero--v21 .h-display{
    opacity: 0; transform: translateY(10px);
    animation: bc-fade-up 720ms var(--ease) 120ms forwards;
  }
  .hero--v21 .h-display em{
    display: inline-block;
    clip-path: inset(0 100% 0 0);
    animation: bc-tail-wipe 900ms var(--ease) 780ms forwards;
    will-change: clip-path;
  }
  .hero--v21 .lede,
  .hero--v21 .meta-strip.orbital,
  .hero--v21 .portrait-chip{
    opacity: 0; transform: translateY(8px);
    animation: bc-fade-up 620ms var(--ease) forwards;
  }
  .hero--v21 .lede{ animation-delay: 260ms; }
  .hero--v21 .meta-strip.orbital{ animation-delay: 420ms; }
  .hero--v21 .portrait-chip{ animation-delay: 560ms; }

  .hero--v21 .axis-h{
    transform-origin: left center; transform: scaleX(0);
    animation: bc-axis-h 800ms var(--ease) 200ms forwards;
  }
  .hero--v21 .axis-v{
    transform-origin: center top; transform: scaleY(0);
    animation: bc-axis-v 800ms var(--ease) 400ms forwards;
  }
  .hero--v21 .axis-tag,
  .hero--v21 .axis-corner{
    opacity: 0; transform: translateY(4px);
    animation: bc-fade-up 480ms var(--ease) forwards;
  }
  .hero--v21 .axis-tag{ animation-delay: 900ms; }
  .hero--v21 .axis-corner.axis-tr{ animation-delay: 1000ms; }
  .hero--v21 .axis-corner.axis-br{ animation-delay: 1100ms; }
  .hero--v21 .axis-corner.axis-bl{ animation-delay: 1200ms; }

  .hero--v21 .hero-render{
    opacity: 0; filter: blur(12px); transform: scale(0.94);
    animation: bc-render-in 1000ms var(--ease) 1150ms forwards;
    will-change: opacity, filter, transform;
  }
}
@keyframes bc-fade-up{ to{ opacity: 1; transform: translateY(0); } }
@keyframes bc-tail-wipe{ to{ clip-path: inset(0 0 0 0); } }
@keyframes bc-axis-h{ to{ transform: scaleX(1); } }
@keyframes bc-axis-v{ to{ transform: scaleY(1); } }
@keyframes bc-render-in{ to{ opacity: 1; filter: blur(0); transform: scale(1); } }

/* Project-card is a row layout (thumb 220px + text + arrow). It already has
   a background swap on hover; a full-blur overlay does not fit this shape,
   so no card-detail markup here, and the existing arrow-slide plus surface
   background swap carry the hover state on their own. */

/* --- Featured work preview cards, same hover treatment --- */
.fw-card{ position: relative; }
.fw-card:hover{ opacity: 1; }
.fw-thumb{ position: relative; overflow: hidden; }
.fw-thumb .fw-img{
  object-fit: cover;
  object-position: center center;
  transition: filter 380ms var(--ease), transform 520ms var(--ease), opacity 380ms var(--ease);
  will-change: filter, transform;
}
.fw-card:hover .fw-thumb .fw-img,
.fw-card:focus-visible .fw-thumb .fw-img{
  filter: blur(5px) saturate(0.55);
  transform: scale(1.03);
}
.fw-card .fw-detail{
  position: absolute;
  inset: 0;
  padding: var(--sp-4);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(2px);
  opacity: 0; transform: translateY(6px);
  transition: opacity 320ms var(--ease), transform 420ms var(--ease);
  pointer-events: none;
  overflow: hidden;
  z-index: 3;
}
.fw-card:hover .fw-detail,
.fw-card:focus-visible .fw-detail{
  opacity: 1; transform: translateY(0);
}
.fw-card .fw-name,
.fw-card .fw-tag{
  transition: opacity 240ms var(--ease);
}
.fw-card:hover .fw-name,
.fw-card:hover .fw-tag,
.fw-card:focus-visible .fw-name,
.fw-card:focus-visible .fw-tag{
  opacity: 0;
}
.fw-card .fw-detail .d-eyebrow{
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em;
  color: var(--signal); text-transform: uppercase;
}
.fw-card .fw-detail .d-title{
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(18px, 1.8vw, 22px); letter-spacing: -0.005em;
  color: var(--ink-900); line-height: 1.2;
  margin-top: 6px; text-wrap: balance;
}
.fw-card .fw-detail .d-title em{ font-style: italic; color: var(--ink-700); }
.fw-card .fw-detail .d-desc{
  font-size: 13px; line-height: 1.45; color: var(--ink-700);
  margin-top: var(--sp-2); max-width: 40ch;
}
.fw-card .fw-detail .d-cta{
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  color: var(--signal); text-transform: uppercase;
  margin-top: var(--sp-3);
}

/* --- Reduced motion overrides for V2.2 --- */
@media (prefers-reduced-motion: reduce){
  .hero--v21 .h-display,
  .hero--v21 .h-display em,
  .hero--v21 .lede,
  .hero--v21 .meta-strip.orbital,
  .hero--v21 .portrait-chip,
  .hero--v21 .axis-tag,
  .hero--v21 .axis-corner,
  .hero--v21 .hero-render{
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
    clip-path: none;
  }
  .hero--v21 .axis-h{ transform: scaleX(1); animation: none; }
  .hero--v21 .axis-v{ transform: scaleY(1); animation: none; }
  .fw-thumb .fw-img,
  .fw-card .fw-detail{ transition: none; }
}

/* --- Selected works cards, same hover treatment --- */
.sw-card{ position: relative; }
.sw-card .thumb{ position: relative; overflow: hidden; }
.sw-card .thumb img{
  object-fit: cover;
  object-position: center center;
  transition: filter 380ms var(--ease), transform 520ms var(--ease);
  will-change: filter, transform;
}
.sw-card:hover .thumb img,
.sw-card:focus-visible .thumb img{
  filter: blur(5px) saturate(0.55);
  transform: scale(1.03);
}
.sw-card:hover{ opacity: 1; }
.sw-card .sw-detail{
  position: absolute;
  inset: 0;
  padding: var(--sp-4);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(2px);
  opacity: 0; transform: translateY(6px);
  transition: opacity 320ms var(--ease), transform 420ms var(--ease);
  pointer-events: none;
  overflow: hidden;
  z-index: 3;
}
.sw-card:hover .sw-detail,
.sw-card:focus-visible .sw-detail{
  opacity: 1; transform: translateY(0);
}
.sw-card h3,
.sw-card p{
  transition: opacity 240ms var(--ease);
}
.sw-card:hover h3,
.sw-card:hover p,
.sw-card:focus-visible h3,
.sw-card:focus-visible p{
  opacity: 0;
}
.sw-card .sw-detail .d-eyebrow{
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em;
  color: var(--signal); text-transform: uppercase;
}
.sw-card .sw-detail .d-title{
  font-family: var(--serif); font-weight: 400;
  font-size: 18px; letter-spacing: -0.005em;
  color: var(--ink-900); line-height: 1.2;
  margin-top: 4px; text-wrap: balance;
}
.sw-card .sw-detail .d-title em{ font-style: italic; color: var(--ink-700); }
.sw-card .sw-detail .d-desc{
  font-size: 12.5px; line-height: 1.5; color: var(--ink-700);
  margin-top: var(--sp-2); max-width: 36ch;
}
.sw-card .sw-detail .d-cta{
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  color: var(--signal); text-transform: uppercase;
  margin-top: var(--sp-3);
}
@media (prefers-reduced-motion: reduce){
  .sw-card .thumb img,
  .sw-card .sw-detail{ transition: none; }
}
