/* ==========================================================================
   DAMIRA TEXTILE — design system
   Register: Brand (editorial, quiet luxury)
   Tokens: OKLCH, warm linen / charcoal / champagne gold
   ========================================================================== */

:root {
  /* OKLCH tokens */
  --bg: oklch(0.97 0.01 80);            /* warm linen  #FAF8F5 */
  --bg-soft: oklch(0.95 0.01 80);       /* sand tint   #F1EDE7 */
  --surface: oklch(0.985 0.008 80);     /* card surface */
  --ink: oklch(0.20 0.01 80);           /* charcoal    #1A1918 */
  --ink-soft: oklch(0.42 0.012 80);     /* body muted  */
  --ink-faint: oklch(0.62 0.012 80);    /* micro labels */
  --gold: oklch(0.72 0.08 75);          /* champagne   #C5A059 */
  --gold-deep: oklch(0.60 0.07 75);
  --line: oklch(0.92 0.01 80);          /* sand border */
  --line-strong: oklch(0.85 0.015 80);
  --focus: oklch(0.55 0.09 75);         /* focus ring */

  /* Semantic roles (Riviera-tinted, warm family) */
  --success: oklch(0.48 0.07 140);      /* dark olive green — maquis hills */
  --success-soft: oklch(0.95 0.03 140); /* olive tinted wash */
  --error: oklch(0.45 0.09 35);         /* terracotta red — Provence roofs */
  --error-soft: oklch(0.955 0.025 35);  /* terracotta wash */
  --warning: oklch(0.55 0.08 75);       /* deep champagne, warmer than gold */
  --selection: oklch(0.88 0.05 80);     /* soft gold highlight */
  --disabled: oklch(0.90 0.01 80);      /* sand disabled */
  --placeholder: oklch(0.66 0.014 80);  /* hint text */

  /* Type */
  --font-serif: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Type scale (modular, rem) */
  --text-xs: 0.75rem;     /* 12px — micro labels */
  --text-sm: 0.875rem;    /* 14px — small UI */
  --text-base: 1rem;      /* 16px — body */
  --text-lg: 1.0625rem;   /* 17px — lede/lead */
  --text-xl: 1.25rem;     /* 20px — card titles */
  --text-2xl: 1.5rem;     /* 24px — collection captions */
  --text-3xl: clamp(2.4rem, 5vw, 3.8rem);  /* section titles */
  --text-4xl: clamp(2.8rem, 6vw, 5rem);    /* hero display */

  /* Line-height system */
  --lh-tight: 1.1;        /* display headings */
  --lh-snug: 1.3;         /* labels, buttons, short-form */
  --lh-normal: 1.5;       /* form text, metadata */
  --lh-relaxed: 1.65;     /* paragraphs */
  --lh-loose: 1.8;        /* long-form (unused now, reserved) */

  /* Rhythm (1-4-9 system: 4 / 16 / 36) */
  --space-1: 4px;
  --space-4: 16px;
  --space-9: 36px;

  /* Easing */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);

  /* Header height (mobile nav overlay padding; matches .site-header at ≤768px) */
  --header-h: 133px;
  @media (max-width: 480px) {
    --header-h: 105px;
  }

  /* Motion timing (baseline 150ms) */
  --dur-instant: 100ms;   /* tactile press */
  --dur-fast: 150ms;      /* hover, focus, press feedback */
  --dur-short: 250ms;     /* menus, small modals, chip states */
  --dur-med: 400ms;       /* image fades, full-screen transitions */
  --dur-long: 700ms;      /* section reveals, brand entrances */
}

/* ===== Reset / base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: var(--lh-relaxed);
  font-size: var(--text-base);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

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

:focus-visible {
  outline: 2px dashed var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
  transition: outline-color var(--dur-fast) var(--ease);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* `hidden` attribute her zaman kazansın (display:flex/grid ile ezilmesin) */
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: var(--space-4); top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 12px 20px;
  font-size: 14px; letter-spacing: 0.04em;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: var(--space-4); }

/* ===== Type scale (editorial serif) ===== */
/* Kısa etiketler: sıkı satır yüksekliği (1.1), geniş harf aralığı */
.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  line-height: var(--lh-snug);
  color: var(--gold-deep);
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: var(--text-3xl);
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin-bottom: var(--space-4);
}

.section-lede {
  font-size: var(--text-lg);
  color: var(--ink-soft);
  max-width: 64ch;
  line-height: var(--lh-relaxed);
}

.gold { color: var(--gold-deep); font-style: italic; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 70;
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1440px; margin: 0 auto;
  padding: var(--space-9) clamp(16px, 4vw, 48px);
  display: flex; align-items: center; gap: var(--space-9);
}
@media (max-width: 480px) {
  .header-inner { gap: clamp(8px, 2.5vw, 12px); padding-top: 28px; padding-bottom: 28px; }
}
.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.brand-logo {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--line);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: var(--font-serif); font-weight: 600;
  font-size: 1.4rem; letter-spacing: 0.24em;
}
.brand-textile {
  color: var(--gold-deep); margin-top: 3px;
  display: flex; align-items: center;
  justify-content: center;
  /* Bir tık sola: optik denge için hafif kaydırma */
  transform: translateX(-3px);
}
.brand-textile-letters {
  font-size: 0.72rem;
  text-transform: uppercase;
  /* Harfler arası boşluk HTML'de nbsp ile verilir; letter-spacing yok,
     böylece son harften sonra fazla boşluk oluşmaz ve çizgiler simetrik kalır */
}
.brand-textile::before,
.brand-textile::after {
  content: '';
  height: 1px;
  flex: 0 0 auto;
  width: 18px;
  background: var(--gold-deep);
}
.brand-textile::before { margin-right: 6px; }
.brand-textile::after { margin-left: 6px; }
@media (max-width: 480px) {
  /* Mobilde TEXTILE çizgilerini DAMIRA harf genişliğine hizala */
  .brand-textile::before,
  .brand-textile::after { width: 11px; }
  .brand-textile::before { margin-right: 4px; }
  .brand-textile::after { margin-left: 4px; }
}

.site-nav { display: flex; gap: var(--space-9); }
.site-nav a {
  font-size: var(--text-sm); font-weight: 500; color: var(--ink-soft);
  letter-spacing: 0.02em; padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.site-nav a:hover { color: var(--ink); border-color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: var(--space-4); }
@media (max-width: 480px) {
  .header-actions { gap: 8px; }
}

.lang-switch {
  display: flex; border: 1px solid var(--line-strong); border-radius: 2px;
  padding: 2px; gap: 2px;
}
.lang-btn {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em;
  padding: 6px 12px; border-radius: 1px; color: var(--ink-faint);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
              transform var(--dur-instant) var(--ease);
  min-height: 32px;
  will-change: transform;
}
@media (max-width: 480px) {
  .lang-btn { padding: 6px 8px; }
}
.lang-btn:active { transform: scale(0.97); }
.lang-btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.lang-btn:not([aria-pressed="true"]):hover { color: var(--ink); background: var(--bg-soft); }

.header-cta {
  font-size: 0.92rem; font-weight: 600;
  padding: 10px 22px; border-radius: 2px;
  background: var(--ink); color: var(--bg);
  transition: background var(--dur-short) var(--ease), transform var(--dur-instant) var(--ease);
  will-change: transform;
}
.header-cta:hover { background: var(--gold-deep); }
.header-cta:active { transform: scale(0.97); }

.nav-toggle {
  display: none; width: 48px; height: 48px; position: relative;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px;
  background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 19px; }
.nav-toggle span:nth-child(2) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-nav {
  display: none; flex-direction: column; gap: var(--space-4);
  padding: calc(var(--header-h) + var(--space-4) + env(safe-area-inset-top, 0px)) clamp(16px, 4vw, 48px) calc(var(--space-9) + env(safe-area-inset-bottom, 0px));
  position: fixed; inset: 0; z-index: 60;
  min-height: 100dvh; min-height: 100vh;
  background: var(--bg); overflow-y: auto;
  animation: menuIn var(--dur-short) var(--ease);
}
@keyframes menuIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}
.mobile-nav a { font-size: 1.3rem; font-weight: 500; padding: 8px 0; border-bottom: 1px solid var(--line); min-height: 48px; display: flex; align-items: center; }
.mobile-nav .mobile-cta { color: var(--gold-deep); font-weight: 600; border: none; }

/* ===== Buttons (hairline editorial, not pill) ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.01em;
  padding: 14px 28px; border-radius: 2px;
  transition: background var(--dur-short) var(--ease), color var(--dur-short) var(--ease),
              border-color var(--dur-short) var(--ease), transform var(--dur-instant) var(--ease);
  min-height: 48px;
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--gold-deep); color: var(--bg); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.btn-outline { border: 1px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; background: var(--disabled); color: var(--ink-faint); border-color: var(--disabled); }
.btn[disabled]:active { transform: none; }

/* Gönderim state'i: işlem sürüyor sinyali (JS .is-loading ekler) */
.btn.is-loading { opacity: 0.7; }

.text-link {
  font-weight: 600; font-size: 0.95rem;
  border-bottom: 1px solid var(--gold); padding-bottom: 2px;
  color: var(--ink); transition: color 0.2s;
}
.text-link:hover { color: var(--gold-deep); }

/* ===== Hero ===== */
.hero {
  max-width: 1440px; margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) clamp(16px, 4vw, 48px) clamp(48px, 6vw, 80px);
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 64px); align-items: center;
}
.hero-title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: var(--text-4xl);
  line-height: var(--lh-tight); letter-spacing: -0.015em;
  text-wrap: balance;
  margin-bottom: var(--space-4);
}
.hero-lede {
  max-width: 62ch; color: var(--ink-soft);
  font-size: var(--text-lg); line-height: var(--lh-relaxed); margin-bottom: var(--space-9);
}
.hero-actions { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-4); }
.hero-note {
  font-size: var(--text-xs); letter-spacing: 0.08em; color: var(--ink-faint);
  text-transform: uppercase; line-height: 1.4;
}
.hero-figure { position: relative; }
.hero-img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 4px;
}
.hero-caption {
  margin-top: var(--space-4); font-size: 0.85rem; color: var(--ink-faint);
  font-style: italic; line-height: 1.5;
}

/* ===== Sections ===== */
.section { padding: clamp(48px, 6vw, 88px) clamp(16px, 4vw, 48px); }
.section-head { max-width: 1440px; margin: 0 auto var(--space-9); }
.catalog-head {
  display: flex; flex-direction: column;
  gap: var(--space-9);
}
/* Başlık tam genişlikte, sola dayalı; lede kendi okunabilirlik sınırını korur */
.catalog-tools {
  display: flex; flex-direction: column; gap: var(--space-4);
  align-items: flex-start;
  width: 100%;
}

.catalog-meta { display: flex; align-items: center; gap: var(--space-4); }
.catalog-count {
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-faint); font-variant-numeric: tabular-nums;
}
.reset-btn {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em;
  color: var(--gold-deep); padding: 8px 12px; min-height: 44px;
  border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.reset-btn:hover { border-color: var(--gold-deep); }

.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }

.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-start; }
.chip {
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.04em;
  padding: 8px 16px; border-radius: 2px;
  border: 1px solid var(--line-strong); color: var(--ink-soft);
  transition: background var(--dur-short) var(--ease), border-color var(--dur-short) var(--ease),
              color var(--dur-short) var(--ease), transform var(--dur-instant) var(--ease);
  min-height: 44px;
  will-change: transform;
}
.chip:active { transform: scale(0.97); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ===== Collection grid (editorial, asymmetric) ===== */
.collection-grid {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: var(--space-4);
}
.collection-card { grid-column: span 4; position: relative; }
.collection-card:nth-child(3n+2) { transform: translateY(24px); }
.collection-card a { display: block; }
.collection-card figure { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 3 / 4; }
/* Soldan sağa parlaklık süpürmesi — koleksiyonlarda sıralı (biri bitince diğeri) */
.collection-card figure::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shimmer 2.8s ease-in-out infinite;
  pointer-events: none;
}
/* Sıralı geçiş: her kart bir öncekinden ~400ms sonra başlar (2.8s / 7 koleksiyon) */
.collection-card:nth-child(1) figure::after { animation-delay: 0s; }
.collection-card:nth-child(2) figure::after { animation-delay: 0.4s; }
.collection-card:nth-child(3) figure::after { animation-delay: 0.8s; }
.collection-card:nth-child(4) figure::after { animation-delay: 1.2s; }
.collection-card:nth-child(5) figure::after { animation-delay: 1.6s; }
.collection-card:nth-child(6) figure::after { animation-delay: 2.0s; }
.collection-card:nth-child(7) figure::after { animation-delay: 2.4s; }
.collection-card figure img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-med) var(--ease), opacity var(--dur-med) var(--ease), filter var(--dur-short) var(--ease);
}
/* Hover davranışı (smooth, çift katman):
   - Kırpılan görseller: contain katmanı 0→1 fade (tam görünüm)
   - 3/4'e tam sığan görseller: scale 1→1.06 yumuşak zoom in */
.collection-card figure img.cc-contain {
  position: absolute; inset: 0;
  object-fit: contain;
  opacity: 0;
  background: var(--bg-soft);
}
.collection-card:hover figure img.cc-contain { opacity: 1; }
.collection-card:hover figure img.cc-cover[data-fit="fit"] { transform: scale(1.06); filter: saturate(1.05); }
.collection-card figure { background: var(--bg-soft); }
.collection-card figcaption {
  position: absolute; inset: auto 0 0 0; padding: 28px 16px 14px;
  background: linear-gradient(to top, rgba(26, 25, 24, 0.55), transparent);
  color: var(--bg); font-family: var(--font-serif);
  font-size: var(--text-2xl); font-weight: 500; letter-spacing: 0.02em;
  line-height: var(--lh-tight); /* açık metin: koyu zeminde daha rahat okunur */
}
.collection-count {
  display: block; font-family: var(--font-sans);
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0.85; margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

/* ===== Product grid ===== */
.product-grid {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-9);
}
.product-card { position: relative; }
.product-card button { display: block; width: 100%; text-align: left; }
.product-card figure { position: relative; overflow: hidden; border-radius: 4px; background: var(--bg-soft); aspect-ratio: 1 / 1; }
.product-card figure::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shimmer 2.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shimmer {
  to { transform: translateX(100%); }
}
.product-card img.loaded { animation: none; }
.product-card figure img { opacity: 0; transition: opacity var(--dur-med) var(--ease); }
.product-card figure img.loaded { opacity: 1; }
/* Katmanlar: cover altta, contain üstte (hover'da yumuşak fade) */
.product-card figure img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-med) var(--ease), opacity var(--dur-med) var(--ease);
}
.product-card figure img.pc-contain {
  position: absolute; inset: 0;
  object-fit: contain;
  opacity: 0;
  background: var(--bg-soft);
}
/* Hover davranışı (smooth):
   - Kırpılan görseller: contain katmanı 0→1 fade (zoom out hissi)
   - Tam sığan kare görseller: scale 1→1.06 yumuşak zoom in */
.product-card:hover figure img.pc-contain { opacity: 1; }
.product-card:hover figure img.pc-cover[data-fit="fit"] { transform: scale(1.06); }
.product-card figure { background: var(--bg-soft); }
.product-card figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px;
  background: linear-gradient(to top, rgba(26, 25, 24, 0.5), transparent);
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s var(--ease);
  color: var(--bg);
}
.product-card:hover figcaption,
.product-card:focus-within figcaption { opacity: 1; transform: translateY(0); }
.product-card figcaption p { font-family: var(--font-serif); font-size: var(--text-lg); line-height: 1.25; }
.product-card figcaption span {
  font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.85;
  line-height: var(--lh-snug);
}
.product-info { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; gap: 8px; }
.product-name { font-family: var(--font-serif); font-size: var(--text-xl); font-weight: 500; line-height: 1.25; }
.product-coll { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); line-height: var(--lh-snug); }

.catalog-empty {
  max-width: 1440px; margin: var(--space-9) auto;
  padding: var(--space-9); text-align: center;
  border: 1px dashed var(--line-strong); border-radius: 4px;
  color: var(--ink-soft);
  display: flex; flex-direction: column; align-items: center; gap: var(--space-4);
}
.btn-sm { padding: 10px 20px; min-height: 44px; font-size: 0.88rem; }
.catalog-more { max-width: 1440px; margin: var(--space-9) auto 0; text-align: center; }

/* ===== Atelier ===== */
.atelier { background: var(--bg-soft); }
.atelier-inner {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 72px); align-items: center;
}
.atelier-figure img { border-radius: 4px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.atelier-facts {
  display: grid; gap: var(--space-4);
  margin: var(--space-9) 0; padding-top: var(--space-4);
  border-top: 1px solid var(--line-strong);
}
.atelier-facts dt {
  font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600;
  line-height: var(--lh-snug);
}
.atelier-facts dd { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.5; font-variant-numeric: tabular-nums; }

/* ===== Contact ===== */
.contact-inner {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 5vw, 72px); align-items: start;
}
.contact-meta { margin-top: var(--space-9); font-style: normal; line-height: 1.7; }
.contact-meta a { border-bottom: 1px solid var(--line-strong); transition: border-color 0.2s; }
.contact-meta a:hover { border-color: var(--gold); }

.quote-form {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 4px; padding: clamp(24px, 3vw, 36px);
}
.form-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 8px; line-height: var(--lh-snug); }
.quote-items { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-4); }
.quote-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; padding: 8px 12px;
  background: var(--bg-soft); border: 1px solid var(--line-strong); border-radius: 2px;
  line-height: 1.4;
}
.quote-tag button {
  width: 28px; height: 28px; border-radius: 1px;
  background: var(--ink); color: var(--bg);
  font-size: 0.85rem; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
}
/* Görsel olarak küçük ama dokunma alanı 44px */
.quote-tag button::before {
  content: ''; position: absolute; inset: -8px;
}
.quote-tag button:hover { background: var(--gold-deep); }
.quote-tag button:active { transform: scale(0.92); }
.quote-empty { font-size: 0.92rem; color: var(--ink-faint); margin-bottom: var(--space-4); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.field { margin-bottom: var(--space-4); }
.field label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 6px; line-height: 1.4; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem;
  padding: 12px 14px; border-radius: 4px;
  border: 1px solid var(--line-strong); background: var(--bg);
  color: var(--ink); transition: border-color 0.2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: 0.85rem; margin-top: 4px; }
.field textarea { resize: vertical; }
.form-error { color: var(--error); font-size: 0.9rem; margin-bottom: var(--space-4); }
.form-success {
  margin-top: var(--space-4); padding: 12px 16px;
  background: var(--success-soft);
  border: 1px solid var(--success); border-radius: 4px;
  font-size: 0.95rem; color: var(--success);
}

/* ===== E-Katalog (catalog.html) ===== */
.ecat-hero {
  padding: clamp(48px, 8vw, 96px) clamp(16px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}
.ecat-hero-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.ecat-title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: var(--lh-tight); letter-spacing: -0.015em;
  text-wrap: balance; margin-bottom: var(--space-4);
}
.ecat-lede {
  font-size: var(--text-lg); color: var(--ink-soft);
  max-width: 64ch; margin: 0 auto var(--space-4);
  line-height: var(--lh-relaxed);
}
.ecat-note {
  font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-deep);
}
.ecat-section { padding: clamp(48px, 6vw, 88px) clamp(16px, 4vw, 48px); }
.ecat-wrap { max-width: 1440px; margin: 0 auto; }

/* Koleksiyon blokları: büyük görsel + açıklama, dönüşümlü */
.ecat-collection {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px); align-items: center;
  padding: var(--space-9) 0;
  border-bottom: 1px solid var(--line);
}
.ecat-collection:nth-child(even) .ecat-collection-fig { order: 2; }
.ecat-collection-fig img {
  width: 100%; height: auto; object-fit: contain; border-radius: 4px;
  background: var(--bg-soft);
}
.ecat-collection-title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: var(--lh-tight); margin-bottom: var(--space-4);
}
.ecat-collection-desc {
  font-size: var(--text-lg); color: var(--ink-soft);
  line-height: var(--lh-relaxed); max-width: 56ch;
  margin-bottom: var(--space-4);
}

/* Desen grupları */
.ecat-designs { background: var(--bg-soft); }
.ecat-design-group { margin-bottom: var(--space-9); }
.ecat-design-group:last-child { margin-bottom: 0; }
.ecat-design-group-title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: var(--text-2xl); line-height: var(--lh-tight);
  letter-spacing: 0.02em; margin-bottom: var(--space-4);
  padding-bottom: var(--space-1);
  border-bottom: 1px solid var(--line-strong);
}
.ecat-design-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-9);
}
.ecat-design {
  background: var(--bg); border: 1px solid var(--line); border-radius: 4px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.ecat-design-fig {
  position: relative; background: var(--bg-soft); overflow: hidden;
}
.ecat-design-fig img {
  width: 100%; height: auto; object-fit: contain; display: block;
  transition: transform var(--dur-med) var(--ease);
}
.ecat-design:hover .ecat-design-fig img { transform: scale(1.02); }
.ecat-design-fig figcaption {
  position: absolute; inset: auto 0 0 0; padding: 32px 16px 12px;
  background: linear-gradient(to top, rgba(26,25,24,0.5), transparent);
  color: var(--bg);
}
.ecat-design-fig figcaption span {
  font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.9;
}
.ecat-design-fig figcaption p {
  font-family: var(--font-serif); font-size: var(--text-xl); line-height: 1.25;
}
.ecat-design-body {
  padding: var(--space-4);
  display: flex; flex-direction: column; gap: var(--space-4); flex: 1;
}
.ecat-design-desc { font-size: var(--text-sm); color: var(--ink-soft); line-height: 1.6; }
.ecat-design-specs {
  display: grid; grid-template-columns: auto 1fr; gap: 2px 12px;
  font-size: 0.85rem; padding-top: var(--space-4);
  border-top: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.ecat-design-specs dt { font-weight: 600; color: var(--ink-faint); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; padding-top: 2px; }
.ecat-design-specs dd { color: var(--ink); }
.ecat-design-body .btn { align-self: flex-start; margin-top: auto; }

/* Alt CTA */
.ecat-footer-cta {
  padding: clamp(48px, 6vw, 72px) clamp(16px, 4vw, 48px);
  border-top: 1px solid var(--line);
  text-align: center;
}
.ecat-cta-text {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: var(--lh-tight); margin-bottom: var(--space-4);
}

@media (max-width: 768px) {
  .ecat-collection { grid-template-columns: 1fr; }
  .ecat-collection:nth-child(even) .ecat-collection-fig { order: 0; }
  .ecat-design-grid { grid-template-columns: 1fr; }
}

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--line); padding: var(--space-9) clamp(16px, 4vw, 48px); }
.footer-inner {
  max-width: 1440px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); flex-wrap: wrap;
}
@media (max-width: 480px) {
  .footer-inner { flex-direction: column; justify-content: center; text-align: center; gap: var(--space-4); }
}
.footer-brand { font-family: var(--font-serif); font-weight: 600; font-size: 1.1rem; letter-spacing: 0.1em; line-height: var(--lh-snug); }
.footer-brand span { color: var(--gold-deep); }
.footer-note { font-size: 0.85rem; color: var(--ink-faint); line-height: 1.5; }
.footer-links { display: flex; gap: var(--space-9); font-size: 0.9rem; }
.footer-links a { color: var(--ink-soft); transition: color 0.2s; }
.footer-links a:hover { color: var(--ink); }

/* ===== Modal ===== */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: var(--space-4); }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(26, 25, 24, 0.55); backdrop-filter: blur(4px); animation: fadeIn var(--dur-fast) var(--ease); }
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.modal-panel {
  position: relative; z-index: 1;
  background: var(--bg); border-radius: 6px;
  max-width: 920px; width: 100%; max-height: 90vh; overflow: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  animation: modalIn var(--dur-med) var(--ease);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg); color: var(--ink);
  font-size: 1.4rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(26, 25, 24, 0.15);
  transition: transform 0.2s;
}
.modal-close:hover { transform: rotate(90deg); }
.modal-figure {
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
/* Görsel kendi native oranında (JS aspect-ratio set eder), asla kırpılmaz */
.modal-figure img { width: 100%; height: auto; object-fit: contain; display: block; }
.modal-body { padding: clamp(24px, 3vw, 36px); }
.modal-title { font-family: var(--font-serif); font-weight: 500; font-size: 2rem; line-height: 1.15; margin-bottom: 8px; text-wrap: balance; }
.modal-desc { color: var(--ink-soft); line-height: 1.65; margin-bottom: var(--space-4); }
.modal-specs {
  display: grid; gap: 4px; margin-bottom: var(--space-9);
  padding: var(--space-4); background: var(--bg-soft); border-radius: 4px;
  font-size: 0.9rem;
}
.modal-specs dt { font-weight: 600; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); line-height: 1.4; }
.modal-actions { display: flex; gap: var(--space-4); flex-wrap: wrap; }

/* ===== Motion: reveal on scroll (JS adds .revealed; html.js gate = no-JS fallback) ===== */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-long) var(--ease), transform var(--dur-long) var(--ease); }
html.js .reveal.revealed { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 640px; }
  .hero-img { aspect-ratio: 16 / 10; }
  .atelier-inner, .contact-inner { grid-template-columns: 1fr; }
  .collection-card { grid-column: span 6; }
  .collection-card:nth-child(3n+2) { transform: none; }
  .collection-card:nth-child(even) { transform: translateY(16px); }
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .nav-toggle { display: block; }
  .mobile-nav { display: flex; }
  .header-cta { display: none; }
  .brand-logo { width: 60px; height: 60px; }
  .brand-text strong { font-size: 1.3rem; }
  .collection-card { grid-column: span 12; }
  .collection-card:nth-child(even) { transform: none; }
  .catalog-head { flex-direction: column; align-items: flex-start; }
  .catalog-tools { align-items: flex-start; }
  .filter-chips { justify-content: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .modal-panel { grid-template-columns: 1fr; max-height: 92vh; }
  /* Mobilde de native oran korunur (inline aspect-ratio) */
}
@media (max-width: 480px) {
  .brand-logo { width: 48px; height: 48px; }
  .brand { gap: 10px; }
  .brand-text strong { font-size: 1.1rem; }
  .brand-textile { transform: none; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .product-grid { grid-template-columns: 1fr; }
  .lang-switch { order: -1; }
  .hero { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: none; }
  .hero-img { aspect-ratio: 4 / 5; }
  /* Üst bilgiyle çakışmaması için — hero bölümü zaten single column */
  .section, .ecat-section, .ecat-hero { scroll-margin-top: calc(var(--header-h) + 8px); }
}

/* ===== Touch devices: dokunma anında zoom =====
   Mobilde :hover tetiklenmez; dokununca (active) zoom in/out olsun,
   bırakınca eski haline dönsün — desktop hover'a karşılık. */
@media (hover: none) {
  .collection-card figure img.cc-cover[data-fit="fit"] { filter: saturate(1.05); }
  .collection-card figure img.cc-contain { opacity: 1; }
  .product-card figure img.pc-contain { opacity: 1; }
  .product-card figcaption { opacity: 1; transform: none; }
  .ecat-design:active .ecat-design-fig img { transform: scale(1.02); }
  .collection-card:active figure img.cc-cover[data-fit="fit"],
  .collection-card:active figure img.cc-contain { transform: scale(1.06); }
  .product-card:active figure img.pc-cover[data-fit="fit"],
  .product-card:active figure img.pc-contain { transform: scale(1.06); }
  /* Dokunma anında hızlı tepki — 400ms çok yavaş kalır */
  .collection-card figure img,
  .product-card figure img { transition-duration: 180ms; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  /* Shimmer (parlaklık süpürmesi) ve touch zoom efektleri korunur:
     iOS "Hareketi Azalt" açıkken de görseller canlı kalsın. */
  .product-card figure::after,
  .collection-card figure::after { animation: shimmer 2.8s ease-in-out infinite !important; }
  .collection-card figure img.cc-contain,
  .product-card figure img.pc-contain { opacity: 1 !important; }
  .product-card figcaption { opacity: 1; transform: none; }
  html.js .reveal { opacity: 1; transform: none; }
}
