/* ============================================================
   MİLİM — Ölçüye Özel Erkek Gömlek Atölyesi
   Technical-spec dark UI
   ============================================================ */

:root {
  --bg: #0E1116;
  --surface: #171B22;
  --surface-2: #1E232C;
  --ink: #E6E9EF;
  --ink-soft: #9AA3B2;
  --ink-faint: #6B7484;
  --accent: #3DDC97;
  --accent-2: #7AA2F7;
  --line: #262C36;
  --line-strong: #343C49;
  --header-h: 72px;

  interpolate-size: allow-keywords;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  /* thin technical grid background */
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
}

h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.012em;
}

p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; transition: color 200ms ease; }

.mono { font-family: 'IBM Plex Mono', 'Consolas', monospace; }

img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--accent); color: var(--bg); }

/* ---------- layout ---------- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 56px);
  padding-right: clamp(16px, 4vw, 56px);
}

main { padding-top: var(--header-h); }

/* anchor targets clear the fixed header (cross-page #links) */
:where(section[id], [id]) { scroll-margin-top: calc(var(--header-h) + 16px); }

section { padding: clamp(56px, 9vw, 104px) 0; position: relative; }

.section-head { margin-bottom: clamp(28px, 5vw, 48px); max-width: 720px; }

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "·";
  color: var(--accent-2);
  font-size: 1.4em;
  line-height: 0;
}

h2.section-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}
.section-sub { color: var(--ink-soft); font-size: 1.02rem; max-width: 60ch; }

/* dotted-dash technical frame helper */
.tech-frame {
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  position: relative;
}
.tech-frame::before {
  content: "";
  position: absolute; inset: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  pointer-events: none;
}

/* ---------- skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: var(--bg);
  padding: 10px 16px; z-index: 2000; border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1080;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(14, 17, 22, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background 240ms ease, box-shadow 240ms ease, height 240ms ease;
}
.site-header.is-scrolled {
  background: rgba(14, 17, 22, 0.98);
  box-shadow: 0 8px 24px -16px rgba(0,0,0,0.6);
  height: 62px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 56px);
  padding-right: clamp(16px, 4vw, 56px);
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand .brand-mark {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  border: 1px solid var(--line-strong);
  padding: 2px 6px;
  border-radius: 4px;
  align-self: center;
}

.nav-desktop { display: none; }
@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2vw, 30px);
  }
  .nav-desktop a {
    position: relative;
    color: var(--ink-soft);
    font-size: 0.92rem;
    font-weight: 500;
    padding: 4px 0;
  }
  .nav-desktop a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -2px;
    width: 0; height: 2px;
    background: var(--accent);
    transition: width 220ms cubic-bezier(.2,.7,.2,1);
  }
  .nav-desktop a:hover { color: var(--ink); }
  .nav-desktop a:hover::after,
  .nav-desktop a.is-active::after { width: 100%; }
  .nav-desktop a.is-active { color: var(--ink); }
  .nav-desktop .nav-cta::after { display: none; }
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--bg) !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 9px 18px;
  border-radius: 8px;
  border: 1px solid var(--accent);
  transition: background 200ms ease, transform 200ms ease, color 200ms ease;
}
.nav-desktop .nav-cta:hover,
.nav-cta:hover {
  background: transparent;
  color: var(--accent) !important;
  transform: translateY(-2px);
}

/* hamburger toggle */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
  z-index: 1100;
  position: relative;
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.nav-toggle span {
  display: block;
  height: 2px; width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), opacity 200ms ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- drawer ---------- */
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 92vw);
  background: var(--surface);
  border-left: 1px solid var(--line-strong);
  z-index: 1050;
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(.2,.7,.2,1);
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 16px) 28px 32px;
  overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer a {
  display: block;
  color: var(--ink);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.drawer a:hover, .drawer a.is-active { color: var(--accent); }
.drawer .drawer-meta {
  margin-top: auto;
  padding-top: 24px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  color: var(--ink-faint);
  line-height: 1.8;
}
.drawer .drawer-meta a { font-size: 0.8rem; font-family: inherit; font-weight: 400; padding: 2px 0; border: 0; color: var(--accent); }

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms ease, visibility 240ms ease;
  z-index: 1040;
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 0.96rem;
  padding: 13px 24px;
  border-radius: 9px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease, border-color 200ms ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: transparent;
  color: var(--accent);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: var(--surface-2);
  color: var(--ink);
  border-color: var(--accent-2);
  transform: translateY(-2px);
}
.btn .arrow { transition: transform 220ms ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: clamp(40px, 7vw, 76px);
  padding-bottom: clamp(48px, 8vw, 96px);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 6vw, 64px);
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}
.hero-code-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.hero-code-label span { color: var(--accent-2); }
.hero h1 {
  font-size: clamp(2.5rem, 6.2vw, 4.4rem);
  line-height: 1.04;
  margin-bottom: 22px;
}
.hero h1 .hl { color: var(--accent); }
.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 30px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding-top: 24px;
  border-top: 1px dashed var(--line-strong);
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.trust-badge svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

/* hero schema panel */
.hero-schema {
  position: relative;
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  padding: clamp(18px, 3vw, 30px);
}
.hero-schema::before {
  content: "";
  position: absolute; inset: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  pointer-events: none;
}
.schema-caption {
  display: flex;
  justify-content: space-between;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: var(--ink-faint);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.schema-caption .live { color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.schema-caption .live .live-dot { width: 6px; height: 6px; }
.shirt-svg { width: 100%; height: auto; display: block; overflow: visible; }

/* shirt schema lines drawn on hover */
.shirt-svg .body-line {
  stroke: var(--ink-soft);
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.shirt-svg .measure {
  stroke: var(--accent);
  stroke-width: 1;
  stroke-dasharray: 4 3;
  fill: none;
  opacity: 0;
  transition: opacity 500ms ease;
}
.shirt-svg .measure-dot {
  fill: var(--accent-2);
  opacity: 0;
  transition: opacity 400ms ease;
}
.shirt-svg .measure-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 7px;
  fill: var(--accent);
  opacity: 0;
  transition: opacity 500ms ease;
}
.hero-schema:hover .measure,
.hero-schema:hover .measure-dot,
.hero-schema:hover .measure-label,
.hero-schema.is-armed .measure,
.hero-schema.is-armed .measure-dot,
.hero-schema.is-armed .measure-label { opacity: 1; }

/* measure ticker under schema */
.schema-ticker {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
}
.schema-ticker .tick {
  display: flex;
  justify-content: space-between;
  padding: 7px 11px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink-soft);
}
.schema-ticker .tick b { color: var(--accent); font-weight: 600; }

/* ============================================================
   ATÖLYE GÖRSELLERİ — feature shot + gallery
   ============================================================ */
.feature-shot {
  margin: 0;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  padding: 8px;
  background: var(--surface);
  overflow: hidden;
}
.feature-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.gallery-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 220ms cubic-bezier(.2,.7,.2,1), border-color 220ms ease, box-shadow 220ms ease;
}
.gallery-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 18px 40px -28px rgba(61,220,151,0.5);
}
.gallery-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.gallery-card figcaption {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}

/* inline-SVG illustrations (line-art, no raster assets) */
.illus { width: 100%; height: auto; display: block; background: var(--bg); }
.feature-shot .illus { aspect-ratio: 3 / 2; border-radius: 10px; }
.feature-shot figcaption {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  padding: 12px 4px 2px;
}
.illus-card .illus { aspect-ratio: 1 / 1; }
.illus-grid path { stroke: rgba(255,255,255,0.05); stroke-width: 1; fill: none; }
.illus-line {
  stroke: var(--ink-soft); stroke-width: 2; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  transition: stroke 220ms ease;
}
.illus-measure { stroke: var(--accent); stroke-width: 1.4; fill: none; stroke-dasharray: 5 4; }
.illus-dot { fill: var(--accent-2); }
.illus-label { font-family: 'IBM Plex Mono', monospace; font-size: 13px; fill: var(--accent); }
.illus-card:hover .illus-line,
.feature-shot:hover .illus-line { stroke: var(--ink); }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}
@media (min-width: 760px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--surface);
  padding: clamp(24px, 4vw, 40px) clamp(16px, 3vw, 28px);
  text-align: center;
}
.stat .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.stat .num .suf { color: var(--accent-2); }
.stat .lbl {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin-top: 6px;
}

/* ============================================================
   14 NOKTA — measure points
   ============================================================ */
.olcu-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 48px);
}
@media (min-width: 920px) { .olcu-layout { grid-template-columns: 1.1fr 0.9fr; align-items: start; } }

.points-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.points-table th, .points-table td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
}
.points-table thead th {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  font-weight: 500;
}
.points-table tbody tr { transition: background 180ms ease; }
.points-table tbody tr:hover { background: var(--surface-2); }
.points-table .pid {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--accent);
  font-weight: 500;
}
.points-table .pname { color: var(--ink); font-weight: 500; }
.points-table .pval {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--accent-2);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.olcu-aside {
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  padding: clamp(18px, 3vw, 26px);
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.olcu-aside h3 { font-size: 1.15rem; margin-bottom: 12px; }
.olcu-aside .torso { width: 100%; height: auto; max-width: 220px; margin: 0 auto 16px; }
.olcu-aside .torso .outline { stroke: var(--ink-soft); stroke-width: 1.4; fill: none; }
.olcu-aside .torso .mline { stroke: var(--accent); stroke-width: 1; stroke-dasharray: 3 2; }
.olcu-aside .torso .mpt { fill: var(--accent-2); }
.olcu-aside p { font-size: 0.88rem; color: var(--ink-soft); margin: 0; }

/* ============================================================
   KUMAŞ — fabric table
   ============================================================ */
.fabric-note {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.chip {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.76rem;
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 6px 14px;
}
.chip b { color: var(--accent); }

/* ============================================================
   YAKA / MANŞET — option grid
   ============================================================ */
.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.option-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  transition: transform 220ms cubic-bezier(.2,.7,.2,1), border-color 220ms ease, box-shadow 220ms ease;
}
.option-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 18px 40px -28px rgba(61,220,151,0.5);
}
.option-card .opt-svg {
  width: 64px; height: 64px;
  margin-bottom: 16px;
  color: var(--accent);
}
.option-card .opt-svg svg { width: 100%; height: 100%; }
.option-card h4 {
  font-size: 1.08rem;
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.option-card h4 .code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: var(--accent-2);
  font-weight: 400;
}
.option-card p { font-size: 0.88rem; color: var(--ink-soft); margin: 0; }

.option-group-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 36px 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.option-group-label::after {
  content: "";
  flex: 1; height: 1px;
  background: var(--line-strong);
}
.option-group-label:first-of-type { margin-top: 0; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 760px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 220ms cubic-bezier(.2,.7,.2,1), border-color 220ms ease;
}
.price-card:hover { transform: translateY(-6px); border-color: var(--accent-2); }
.price-card.featured {
  border-color: var(--accent);
  position: relative;
}
.price-card.featured::after {
  content: "EN ÇOK TERCİH";
  position: absolute;
  top: -10px; right: 18px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  background: var(--accent);
  color: var(--bg);
  padding: 3px 10px;
  border-radius: 5px;
}
.price-card .ptier {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.price-card .pamount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--ink);
  margin: 10px 0 4px;
  font-variant-numeric: tabular-nums;
}
.price-card .pamount .cur { font-size: 1rem; color: var(--accent); }
.price-card .pdesc { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 18px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 22px; }
.price-card li {
  font-size: 0.88rem;
  padding: 7px 0 7px 24px;
  position: relative;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.price-card li::before {
  content: "+";
  position: absolute; left: 0;
  color: var(--accent);
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
}
.price-card li.excl { color: var(--ink-faint); }
.price-card li.excl::before { content: "–"; color: var(--ink-faint); }
.price-card .btn { margin-top: auto; justify-content: center; }
.price-note {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.76rem;
  color: var(--ink-faint);
  margin-top: 18px;
}

/* ============================================================
   PROCESS / SIPARIS — timeline
   ============================================================ */
.timeline { position: relative; margin-top: 12px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 19px; top: 6px; bottom: 6px;
  width: 1px;
  background: var(--line-strong);
}
.tl-step {
  position: relative;
  padding: 0 0 30px 56px;
}
.tl-step:last-child { padding-bottom: 0; }
.tl-step .tl-dot {
  position: absolute;
  left: 8px; top: 2px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tl-step h4 {
  font-size: 1.12rem;
  margin-bottom: 4px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}
.tl-step h4 .when {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: var(--accent-2);
  font-weight: 400;
}
.tl-step p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 760px) { .testi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}
.testi p { font-size: 0.94rem; color: var(--ink); margin-bottom: 16px; }
.testi .who {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.testi .who b { color: var(--accent); font-weight: 600; display: block; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 12px;
  background: var(--surface);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px clamp(18px, 3vw, 26px);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background 180ms ease, color 180ms ease;
}
.faq-item summary:hover { background: var(--surface-2); }
.faq-item summary:hover::after { color: var(--accent-2); }
.faq-item[open] summary { background: var(--surface-2); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: 'IBM Plex Mono', monospace;
  color: var(--accent);
  font-size: 1.3rem;
  transition: transform 300ms ease;
  flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item > .answer {
  height: 0;
  padding: 0 clamp(18px, 3vw, 26px);
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 0.94rem;
  transition: height 360ms cubic-bezier(.4,0,.2,1),
              padding-block-end 360ms cubic-bezier(.4,0,.2,1);
}
.faq-item[open] > .answer {
  height: auto;
  padding-block-end: 22px;
}
@media (prefers-reduced-motion: reduce) {
  .faq-item > .answer { transition: none; }
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 14px; }
.cta-band p { color: var(--ink-soft); max-width: 52ch; margin: 0 auto 26px; }
.cta-band .hero-actions { justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: clamp(44px, 6vw, 72px) 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid h4 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: var(--ink-soft); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: 0.9rem; color: var(--ink-soft); max-width: 38ch; }
.footer-contact { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.9; }
.footer-contact a { color: var(--ink-soft); }
.footer-contact a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.76rem;
  color: var(--ink-faint);
}
.footer-bottom a { color: var(--ink-faint); }

/* ============================================================
   TABLE SCROLL
   ============================================================ */
.table-scroll {
  display: block; width: 100%; max-width: 100%; min-width: 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.table-scroll > table { margin: 0 !important; min-width: 480px; width: 100%; border-collapse: collapse; }
:where(*:has(> .table-scroll), *:has(> * > .table-scroll), *:has(> * > * > .table-scroll)) { min-width: 0; }

.data-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.data-table th, .data-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.data-table thead th {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  font-weight: 500;
  background: var(--surface-2);
}
.data-table tbody tr:hover { background: var(--surface-2); }
.data-table .num-cell {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--accent-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.data-table .accent-cell { color: var(--accent); font-weight: 500; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.page-hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(28px, 4vw, 44px);
  min-height: 240px;
}
.page-hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
.page-hero p { color: var(--ink-soft); max-width: 56ch; font-size: 1.05rem; }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  transition: transform 240ms cubic-bezier(.4,0,.2,1), box-shadow 240ms ease, border-color 240ms ease;
}
.contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 16px 40px -28px rgba(61,220,151,0.5);
}
.contact-card .cc-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(61,220,151,0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.contact-card .cc-icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.contact-card .cc-value { color: var(--ink); font-weight: 500; word-break: break-word; }
.contact-card .cc-value:hover { color: var(--accent); }
.contact-card .cc-sub { font-size: 0.84rem; color: var(--ink-faint); margin-top: 4px; }

.hours-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 18px;
}
@media (min-width: 560px) { .hours-grid { grid-template-columns: repeat(2, 1fr); } }
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 11px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.9rem;
}
.hours-row .day { color: var(--ink-soft); }
.hours-row .time {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--accent-2);
  font-variant-numeric: tabular-nums;
}
.hours-row.today { border-color: var(--accent); }
.hours-row.today .day { color: var(--accent); font-weight: 600; }

/* ============================================================
   FORM
   ============================================================ */
.form-wrap {
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  padding: clamp(22px, 4vw, 40px);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 620px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 12px 14px;
  color: var(--ink);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.96rem;
  transition: border-color 200ms ease, box-shadow 200ms ease;
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(61,220,151,0.15);
}
.field.kvkk, .kvkk {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-family: 'IBM Plex Sans', sans-serif;
}
.field input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: auto;
  width: 18px; height: 18px;
  min-width: 18px; min-height: 18px;
  padding: 0; border: 0; margin: 2px 0 0;
  accent-color: var(--accent);
}
.form-wrap .btn { margin-top: 22px; width: 100%; justify-content: center; }
@media (min-width: 620px) { .form-wrap .btn { width: auto; } }

/* ============================================================
   ATÖLYE NOTLARI (news)
   ============================================================ */
.notes-list { display: grid; gap: 14px; max-width: 760px; }
.note-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.note-row .ndate {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  color: var(--accent);
  white-space: nowrap;
}
.note-row .ntext { color: var(--ink-soft); font-size: 0.94rem; }
.note-row .ntext b { color: var(--ink); font-weight: 600; display: block; margin-bottom: 2px; }

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 720px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  transition: transform 220ms ease, border-color 220ms ease;
}
.team-card:hover { transform: translateY(-4px); border-color: var(--accent-2); }
.team-card .avatar {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.team-card h3 { font-size: 1.15rem; margin-bottom: 2px; }
.team-card .role {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.76rem;
  color: var(--accent);
  margin-bottom: 12px;
}
.team-card p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }

/* ============================================================
   ARTICLE / LEGAL PAGES
   ============================================================ */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.5rem; margin: 36px 0 12px; }
.legal h3 { font-size: 1.15rem; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal .updated {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  color: var(--ink-faint);
  margin-bottom: 28px;
}

/* sitemap */
.sitemap-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 640px) { .sitemap-cols { grid-template-columns: repeat(2, 1fr); } }
.sitemap-cols h3 { font-size: 1.05rem; margin-bottom: 10px; }
.sitemap-cols ul { list-style: none; padding: 0; }
.sitemap-cols li { margin-bottom: 8px; }

/* 404 */
.err-wrap { text-align: center; padding: clamp(60px, 12vw, 140px) 0; }
.err-wrap .code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(4rem, 14vw, 9rem);
  color: var(--accent);
  font-weight: 600;
  line-height: 1;
}
.err-wrap h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 12px 0 14px; }
.err-wrap p { color: var(--ink-soft); margin-bottom: 26px; }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 20px 22px;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), opacity 240ms;
  z-index: 9999;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.7);
}
@media (min-width: 760px) {
  .cookie-banner { left: 24px; right: auto; max-width: 420px; }
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
.cookie-banner h2 { font-size: 1.05rem; margin-bottom: 8px; }
.cookie-banner p { font-size: 0.86rem; color: var(--ink-soft); margin-bottom: 16px; }
.cookie-banner p a { color: var(--accent); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions button {
  flex: 1;
  min-width: 100px;
  min-height: 44px;
  border-radius: 9px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  border: 1px solid var(--line-strong);
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
/* Accept & Reject carry equal visual weight (consent-fairness);
   "Sadece zorunlu" stays as the quieter tertiary option. */
.cookie-actions [data-consent="accept"] {
  background: var(--accent); color: var(--bg); border-color: var(--accent);
}
.cookie-actions [data-consent="accept"]:hover { background: transparent; color: var(--accent); }
.cookie-actions [data-consent="reject"] {
  background: transparent; color: var(--ink); border-color: var(--ink-soft);
}
.cookie-actions [data-consent="reject"]:hover {
  background: var(--surface-2); color: var(--ink); border-color: var(--accent);
}
.cookie-actions [data-consent="settings"] {
  flex-basis: 100%;
  background: transparent; color: var(--ink-soft); border-color: var(--line-strong);
}
.cookie-actions [data-consent="settings"]:hover {
  background: var(--surface-2); color: var(--ink); border-color: var(--accent-2);
}

/* ============================================================
   REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms cubic-bezier(.2,.7,.2,1), transform 600ms cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-in { opacity: 1; transform: none; }
html.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ambient cinemagraph: breathing on accent dot in eyebrow */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.live-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

/* stitch underline draw on section titles */
@keyframes stitch-draw {
  from { stroke-dashoffset: 200; }
  to { stroke-dashoffset: 0; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
.long-text { word-break: break-word; overflow-wrap: anywhere; }

/* ---- mobile: stack data tables into spec-cards so no column scrolls off-screen ---- */
@media (max-width: 600px) {
  .table-scroll { overflow-x: visible; -webkit-overflow-scrolling: auto; }
  .table-scroll > table { min-width: 0; }

  /* visually hide the header row; labels are carried per-cell */
  .points-table thead,
  .data-table thead {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0; border: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }

  /* 14-NOKTA — pid + name + value on one line, açıklama beneath */
  .points-table, .points-table tbody { display: block; }
  .points-table tr {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    align-items: baseline;
    column-gap: 12px;
    padding: 13px 15px;
    border-bottom: 1px solid var(--line);
  }
  .points-table tr:last-child { border-bottom: 0; }
  .points-table td { display: block; padding: 0; border: 0; }
  .points-table .pid   { grid-column: 1; grid-row: 1; }
  .points-table .pname { grid-column: 2; grid-row: 1; }
  .points-table .pval  { grid-column: 3; grid-row: 1; text-align: right; }
  .points-table .pval::after { content: " cm"; color: var(--ink-faint); font-size: 0.82em; }
  .points-table td:nth-child(3) {            /* açıklama */
    grid-column: 1 / -1; grid-row: 2;
    margin-top: 5px;
    color: var(--ink-faint);
    font-size: 0.84rem;
    line-height: 1.5;
  }

  /* KUMAŞ — each fabric becomes a label:value card */
  .data-table, .data-table tbody { display: block; }
  .data-table tr {
    display: block;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }
  .data-table tr:last-child { border-bottom: 0; }
  .data-table td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 5px 0;
    border: 0;
    text-align: right;
  }
  .data-table td::before {
    content: attr(data-label);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-faint);
    text-align: left;
    flex: none;
  }
  .data-table td.accent-cell {
    font-size: 1.02rem;
    padding-bottom: 9px;
    margin-bottom: 4px;
    border-bottom: 1px dashed var(--line);
  }
}

@media (max-width: 640px) {
  .schema-ticker { grid-template-columns: 1fr; }
  .option-card { padding: 18px; }
  .price-card { padding: 22px 18px; }
  .contact-card { padding: 20px; }
  .stat { padding: 24px 14px; }
  .footer-bottom { flex-direction: column; }
  .tl-step { padding-left: 48px; }
}

@media (max-width: 400px) {
  body { font-size: 15px; }
  .hero h1 { font-size: 2.3rem; }
}

/* ============================================================
   CARD HOVER — must be defined AFTER .reveal.is-in
   .reveal.is-in { transform: none } has equal specificity to
   the card :hover rules above, so when a card also carries the
   .reveal class the later rule won and killed the lift once the
   reveal animation finished (audit: card_hover_no_effect).
   Re-stating the hover here lets it win the cascade, and unifies
   every card on a 6px lift + tinted shadow.
   ============================================================ */
.team-card,
.contact-card,
.gallery-card,
.option-card,
.price-card {
  transition: transform 240ms cubic-bezier(.2,.7,.2,1),
              border-color 240ms cubic-bezier(.2,.7,.2,1),
              box-shadow 240ms cubic-bezier(.2,.7,.2,1);
}
.team-card:hover,
.contact-card:hover,
.gallery-card:hover,
.option-card:hover,
.price-card:hover {
  transform: translateY(-6px);
}
.team-card:hover,
.price-card:hover {
  border-color: var(--accent-2);
  box-shadow: 0 18px 40px -28px rgba(122,162,247,0.5);
}
.contact-card:hover,
.gallery-card:hover,
.option-card:hover {
  border-color: var(--accent);
  box-shadow: 0 18px 40px -28px rgba(61,220,151,0.5);
}
@media (prefers-reduced-motion: reduce) {
  .team-card:hover,
  .contact-card:hover,
  .gallery-card:hover,
  .option-card:hover,
  .price-card:hover { transform: none; }
}

.scroll-progress{position:fixed;top:0;left:0;height:3px;width:0;background:var(--accent);z-index:9998;transition:width 80ms linear;pointer-events:none}
