/* ========================================
   Cilthanê Istanbul — Styles
   ======================================== */

/* --- Custom Properties --- */
:root {
  --bg: #FAF7F2;
  --surface: #EDEAE5;
  --surface-2: #E4E0DA;
  --ink: #1A1A1A;
  --ink-soft: #4A4A4A;
  --accent: #9D174D;
  --accent-2: #BE9B6E;
  --accent-2-light: #D4B88A;
  --line: rgba(26,26,26,0.12);
  --line-strong: rgba(26,26,26,0.25);
  --white: #FFFFFF;
  --header-h: 76px;
  --container: 1400px;
  --pad: clamp(16px, 4vw, 32px);
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 4px 24px -8px rgba(26,26,26,0.10);
  --shadow-hover: 0 12px 32px -12px rgba(157,23,77,0.18);
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.4,0,.2,1);
  interpolate-size: allow-keywords;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
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; }
body {
  font-family: 'Work Sans', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1vw + 0.5rem, 17px);
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; transition: color 240ms var(--ease-out); }
a:hover { color: var(--accent); }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }

/* --- Skip Link --- */
.skip-link {
  position: fixed; top: -100%; left: 16px;
  background: var(--ink); color: var(--bg);
  padding: 8px 18px; border-radius: 0 0 var(--radius) var(--radius);
  font-size: 14px; font-weight: 500; z-index: 10000;
  transition: top 200ms;
}
.skip-link:focus { top: 0; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant', 'Georgia', serif;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5vw + 1rem, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3vw + 0.5rem, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw + 0.3rem, 1.8rem); }
h4 { font-size: clamp(1.1rem, 1.2vw + 0.3rem, 1.35rem); }
.eyebrow {
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  display: block;
  margin-bottom: 12px;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* --- Section --- */
section { padding: clamp(3rem, 8vw, 6rem) 0; }
.section-head { text-align: center; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head .eyebrow { margin-bottom: 10px; }
.section-head p { max-width: 560px; margin: 12px auto 0; color: var(--ink-soft); }

/* --- Gold Foil Corner Ornament --- */
.gold-corner {
  position: absolute;
  width: 48px; height: 48px;
  pointer-events: none;
  opacity: 0.7;
}
.gold-corner svg { width: 100%; height: 100%; }
.gold-corner--tl { top: 0; left: 0; }
.gold-corner--tr { top: 0; right: 0; transform: scaleX(-1); }
.gold-corner--bl { bottom: 0; left: 0; transform: scaleY(-1); }
.gold-corner--br { bottom: 0; right: 0; transform: scale(-1); }

@keyframes foilGleam {
  0%, 100% { opacity: 0.55; filter: brightness(1); }
  50% { opacity: 0.9; filter: brightness(1.3); }
}
.gold-corner svg path {
  animation: foilGleam 8s ease-in-out infinite;
}

/* --- Double Border Decoration --- */
.double-border {
  position: relative;
  border: 1px solid var(--accent-2);
  padding: 6px;
}
.double-border::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid var(--accent-2);
  pointer-events: none;
  border-radius: inherit;
}

/* ========================================
   HEADER (sticky-with-morph)
   ======================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1080;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 240ms ease, box-shadow 240ms ease, padding 240ms ease;
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.site-header.scrolled {
  background: rgba(250, 247, 242, 0.98);
  box-shadow: 0 8px 24px -16px rgba(0,0,0,0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.logo {
  font-family: 'Cormorant', serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.logo-mark {
  width: 32px; height: 32px;
  color: var(--accent-2);
  flex-shrink: 0;
}

/* Desktop Nav */
.nav-desktop {
  display: none;
  align-items: center;
  gap: clamp(18px, 2.5vw, 32px);
}
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
}
.nav-desktop a {
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color 240ms var(--ease-out);
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width 280ms var(--ease);
}
.nav-desktop a:hover::after,
.nav-desktop a.is-active::after {
  width: 100%;
}
.nav-desktop a.is-active { color: var(--accent); }
.nav-desktop .nav-cta {
  background: var(--ink);
  color: var(--bg);
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
  transition: background 240ms var(--ease-out), color 240ms var(--ease-out), transform 180ms var(--ease);
}
.nav-desktop .nav-cta::after { display: none; }
.nav-desktop .nav-cta:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-2px);
}
.nav-desktop .nav-cta.is-active { color: var(--bg); }

/* Hamburger Toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px; height: 44px;
  position: relative;
  z-index: 1100;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 300ms var(--ease), opacity 200ms;
  position: absolute;
}
.nav-toggle span:nth-child(1) { transform: translateY(-7px); }
.nav-toggle span:nth-child(2) { transform: translateY(0); }
.nav-toggle span:nth-child(3) { transform: translateY(7px); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }

/* ========================================
   MOBILE DRAWER (outside header)
   ======================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms var(--ease-out);
}
.drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 92vw);
  background: var(--bg);
  z-index: 1050;
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(.2,.7,.2,1);
  padding: calc(var(--header-h) + 24px) var(--pad) var(--pad);
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}
.drawer.is-open {
  transform: translateX(0);
}
.drawer a {
  display: block;
  padding: 14px 0;
  font-family: 'Cormorant', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: color 240ms var(--ease-out), padding-left 240ms var(--ease);
}
.drawer a:hover,
.drawer a.is-active {
  color: var(--accent);
  padding-left: 8px;
}
.drawer .drawer-cta {
  display: inline-block;
  margin-top: 24px;
  background: var(--ink);
  color: var(--bg);
  padding: 14px 28px;
  border-radius: 4px;
  text-align: center;
  font-family: 'Work Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  border-bottom: none;
}
.drawer .drawer-cta:hover {
  background: var(--accent);
  color: var(--bg);
  padding-left: 28px;
}

/* ========================================
   HERO
   ======================================== */
main { padding-top: var(--header-h); }

.hero {
  position: relative;
  min-height: clamp(480px, 75vh, 780px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  padding: clamp(3rem, 8vw, 5rem) 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.45;
  animation: heroZoom 12s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,26,0.7) 0%, rgba(26,26,26,0.35) 60%, rgba(157,23,77,0.15) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  color: var(--white);
  animation: heroReveal 900ms var(--ease) forwards;
}
@keyframes heroReveal {
  from { clip-path: inset(0 0 100% 0); opacity: 0; }
  to { clip-path: inset(0); opacity: 1; }
}
.hero .eyebrow { color: var(--accent-2-light); }
.hero h1 {
  color: var(--white);
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.hero-sub {
  font-size: clamp(1rem, 1.2vw + 0.3rem, 1.2rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  max-width: 520px;
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 32px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
}
.trust-badge svg {
  width: 18px; height: 18px;
  color: var(--accent-2-light);
  flex-shrink: 0;
}

/* Hero Gold Corners */
.hero .gold-corner { width: 64px; height: 64px; opacity: 0.35; }

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: background 240ms var(--ease-out), color 240ms var(--ease-out), transform 180ms var(--ease), box-shadow 240ms var(--ease-out);
  border: none;
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.btn-primary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.btn-primary svg { width: 16px; height: 16px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 13px 28px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 15px;
  border: 1.5px solid rgba(255,255,255,0.4);
  transition: background 240ms var(--ease-out), color 240ms var(--ease-out), border-color 240ms var(--ease-out), transform 180ms var(--ease);
  cursor: pointer;
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}
.btn-ghost:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--bg);
  padding: 13px 28px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 15px;
  border: none;
  transition: background 240ms var(--ease-out), color 240ms var(--ease-out), transform 180ms var(--ease);
  cursor: pointer;
}
.btn-secondary:hover, .btn-secondary:focus-visible {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

/* ========================================
   CONFIGURATOR
   ======================================== */
.configurator {
  background: var(--surface);
  position: relative;
}
.config-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}
@media (min-width: 768px) {
  .config-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .config-grid { grid-template-columns: 55fr 45fr; }
}
.config-panel {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  position: relative;
}

/* Config Option Groups */
.config-group { margin-bottom: 28px; }
.config-group:last-child { margin-bottom: 0; }
.config-label {
  font-family: 'Cormorant', serif;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 12px;
  display: block;
}
.config-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.config-btn {
  padding: 10px 20px;
  border: 1.5px solid var(--line-strong);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  cursor: pointer;
  transition: border-color 220ms var(--ease-out), background 220ms var(--ease-out), color 220ms var(--ease-out), transform 180ms var(--ease);
}
.config-btn:hover {
  border-color: var(--accent-2);
  background: var(--surface);
  color: var(--ink);
}
.config-btn.is-selected {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}
.config-btn small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  opacity: 0.7;
  margin-top: 2px;
}

/* Page Slider */
.slider-wrap { display: flex; align-items: center; gap: 16px; }
.slider-wrap input[type="range"] {
  flex: 1;
  accent-color: var(--accent);
  height: 6px;
}
.page-count-display {
  font-family: 'Cormorant', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent);
  min-width: 48px;
  text-align: center;
}

/* Config Preview */
.config-preview-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  position: relative;
}
.config-preview {
  position: relative;
  background: #5C3A1E;
  border-radius: 4px 12px 12px 4px;
  box-shadow: 8px 8px 32px rgba(26,26,26,0.2), inset -2px 0 8px rgba(0,0,0,0.15);
  transition: all 500ms var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}
.config-preview.size-a4 { width: 200px; height: 280px; }
.config-preview.size-a3 { width: 260px; height: 340px; }
.config-preview.size-kare { width: 240px; height: 240px; }
.config-preview.cover-deri { background: #3D2415; }
.config-preview.cover-bez { background: #C4B49A; }
.config-preview.cover-keten { background: #8B7D6B; }

/* Spine */
.config-preview::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: var(--spine-width, 8px);
  background: rgba(0,0,0,0.2);
  border-radius: 2px 0 0 2px;
  transition: width 400ms var(--ease);
}
/* Emboss Effect */
.config-preview::after {
  content: '';
  position: absolute;
  width: 60%; height: 1px;
  bottom: 30%;
  background: var(--accent-2);
  opacity: 0.5;
  animation: embossShine 6s ease-in-out infinite;
}
@keyframes embossShine {
  0%, 100% { opacity: 0.3; width: 50%; }
  50% { opacity: 0.7; width: 65%; }
}

.preview-label {
  font-family: 'Cormorant', serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 20px;
}

/* Price Display */
.price-result {
  margin-top: 28px;
  text-align: center;
}
.price-result .price-label {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.price-result .price-value {
  font-family: 'Cormorant', serif;
  font-weight: 700;
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--accent);
}
.price-result .price-currency {
  font-size: 0.6em;
  font-weight: 600;
  margin-left: 4px;
}
.price-disclaimer {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 8px;
  opacity: 0.7;
}

/* ========================================
   SHOWCASE (horizontal scroll)
   ======================================== */
.showcase-scroll {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 var(--pad) 16px;
  margin: 0 calc(-1 * var(--pad));
  scrollbar-width: thin;
  scrollbar-color: var(--accent-2) var(--surface);
}
.showcase-scroll::-webkit-scrollbar { height: 6px; }
.showcase-scroll::-webkit-scrollbar-track { background: var(--surface); border-radius: 3px; }
.showcase-scroll::-webkit-scrollbar-thumb { background: var(--accent-2); border-radius: 3px; }

.showcase-card {
  flex: 0 0 clamp(300px, 38vw, 420px);
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg);
  transition: transform 360ms var(--ease), box-shadow 360ms var(--ease);
}
.showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.showcase-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--surface-2);
}
.showcase-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.showcase-card:hover .showcase-img img { transform: scale(1.04); }
/* Page curl effect on hover */
.showcase-img::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 0 48px 48px;
  border-color: transparent transparent var(--bg) transparent;
  opacity: 0;
  transition: opacity 400ms var(--ease);
}
.showcase-card:hover .showcase-img::after { opacity: 0.9; }

.showcase-body {
  padding: clamp(16px, 2vw, 24px);
}
.showcase-body h3 { margin-bottom: 6px; }
.showcase-body p { font-size: 14px; color: var(--ink-soft); margin-bottom: 12px; }
.showcase-price {
  font-family: 'Cormorant', serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--accent);
}
.showcase-price small {
  font-size: 0.7em;
  font-weight: 400;
  color: var(--ink-soft);
  margin-left: 6px;
}

/* ========================================
   MATERIALS
   ======================================== */
.materials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
@media (min-width: 768px) {
  .materials-grid { grid-template-columns: repeat(3, 1fr); }
}
.material-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  transition: transform 360ms var(--ease), box-shadow 360ms var(--ease);
}
.material-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.material-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--surface-2);
}
.material-img img { width: 100%; height: 100%; object-fit: cover; }
.material-body {
  padding: clamp(16px, 2vw, 24px);
}
.material-body h3 { margin-bottom: 8px; }
.material-body p { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }

/* Color Swatches */
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 1px var(--line-strong);
  cursor: pointer;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.swatch:hover {
  transform: scale(1.15);
  box-shadow: 0 0 0 2px var(--accent);
}

/* ========================================
   PROCESS / TIMELINE
   ======================================== */
.process-section {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.process-section h2 { color: var(--white); }
.process-section .eyebrow { color: var(--accent-2-light); }
.process-section .section-head p { color: rgba(255,255,255,0.6); }

.timeline {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 28px; top: 0; bottom: 0;
  width: 2px;
  background: var(--accent-2);
  opacity: 0.3;
}
@media (min-width: 768px) {
  .timeline::before { left: 50%; transform: translateX(-1px); }
}

.timeline-step {
  position: relative;
  padding: 0 0 clamp(2rem, 4vw, 3rem) 72px;
}
@media (min-width: 768px) {
  .timeline-step {
    width: 50%;
    padding: 0 40px clamp(2rem, 4vw, 3rem) 0;
  }
  .timeline-step:nth-child(even) {
    margin-left: 50%;
    padding: 0 0 clamp(2rem, 4vw, 3rem) 40px;
  }
}
.step-dot {
  position: absolute;
  left: 16px; top: 4px;
  width: 26px; height: 26px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--ink);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .step-dot {
    left: auto;
    right: -13px;
  }
  .timeline-step:nth-child(even) .step-dot {
    right: auto;
    left: -13px;
  }
}
.step-dot span {
  font-family: 'Work Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--white);
}

.step-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: clamp(16px, 2vw, 24px);
  transition: background 300ms var(--ease-out);
}
.step-card:hover { background: rgba(255,255,255,0.1); }
.step-card h4 {
  color: var(--white);
  margin-bottom: 6px;
  font-size: 1.15rem;
}
.step-card .step-time {
  font-size: 12px;
  color: var(--accent-2-light);
  margin-bottom: 8px;
  font-weight: 500;
}
.step-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}

/* Stitch line decoration */
@keyframes stitchDraw {
  from { stroke-dashoffset: 200; }
  to { stroke-dashoffset: 0; }
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2rem);
}
@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
  .testimonials-grid .testimonial-card:first-child {
    grid-row: span 2;
  }
}
.testimonial-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  transition: transform 360ms var(--ease), box-shadow 360ms var(--ease);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.testimonial-card::before {
  content: '\201C';
  font-family: 'Cormorant', serif;
  font-size: 4rem;
  color: var(--accent-2);
  opacity: 0.3;
  position: absolute;
  top: 10px; left: 20px;
  line-height: 1;
}
.testimonial-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  font-style: italic;
}
.testimonial-author {
  font-family: 'Cormorant', serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}
.testimonial-meta {
  font-size: 13px;
  color: var(--accent-2);
  margin-top: 2px;
}

/* ========================================
   STATS BAND
   ======================================== */
.stats-band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(2rem, 4vw, 3rem) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  text-align: center;
}
@media (min-width: 640px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat-item {}
.stat-number {
  font-family: 'Cormorant', serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--accent);
  line-height: 1.1;
}
.stat-label {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* ========================================
   FAQ ACCORDION (pure CSS)
   ======================================== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { border-top: 1px solid var(--line); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  font-family: 'Cormorant', serif;
  font-weight: 600;
  font-size: clamp(1.05rem, 1.2vw + 0.2rem, 1.25rem);
  color: var(--ink);
  list-style: none;
  transition: color 240ms var(--ease-out);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; content: ''; }
.faq-item summary:hover { color: var(--accent); }

.faq-chevron {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--accent-2);
  transition: transform 360ms var(--ease);
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); }

.faq-item .faq-body {
  height: 0;
  padding: 0 0;
  overflow: hidden;
  transition: height 360ms cubic-bezier(.4,0,.2,1),
              padding-block-end 360ms cubic-bezier(.4,0,.2,1);
}
.faq-item[open] .faq-body {
  height: auto;
  padding-block-end: 20px;
}
.faq-body p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
}
@media (prefers-reduced-motion: reduce) {
  .faq-item .faq-body { transition: none; }
}

/* ========================================
   NEWS / ATÖLYE NOTLARI
   ======================================== */
.news-list {
  max-width: 600px;
  margin: 0 auto;
}
.news-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.news-date {
  font-family: 'Cormorant', serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-2);
  white-space: nowrap;
}
.news-text {
  font-size: 15px;
  color: var(--ink-soft);
}

/* ========================================
   CTA BAND
   ======================================== */
.cta-band {
  background: var(--accent);
  color: var(--white);
  text-align: center;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.8); margin-bottom: 24px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-band .btn-primary {
  background: var(--white);
  color: var(--accent);
}
.cta-band .btn-primary:hover {
  background: var(--ink);
  color: var(--white);
}
/* Stitch decoration on CTA band */
.cta-band::before,
.cta-band::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.3) 0 6px, transparent 6px 12px);
}
.cta-band::before { top: 12px; }
.cta-band::after { bottom: 12px; }

/* ========================================
   CAPACITY / AVAILABILITY
   ======================================== */
.capacity-strip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(190,155,110,0.12);
  border: 1px solid rgba(190,155,110,0.3);
  border-radius: 24px;
  padding: 8px 18px;
  font-size: 13px;
  color: var(--ink);
  margin-top: 18px;
}
.capacity-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  animation: capacityPulse 2s ease-in-out infinite;
}
@keyframes capacityPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: clamp(3rem, 6vw, 4.5rem) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; }
}
.footer-brand .logo {
  color: var(--white);
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  max-width: 300px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  padding: 4px 0;
  transition: color 240ms var(--ease-out);
}
.footer-col a:hover { color: var(--accent-2-light); }
.footer-contact-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  margin-bottom: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}
.footer-contact-item svg {
  width: 18px; height: 18px;
  color: var(--accent-2);
  margin-top: 2px;
}
.footer-contact-item a {
  display: inline;
  padding: 0;
  color: rgba(255,255,255,0.6);
  word-break: break-all;
}
.footer-contact-item a:hover { color: var(--accent-2-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  padding: 0;
}
.footer-bottom a:hover { color: var(--accent-2-light); }

/* ========================================
   FORMS
   ======================================== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .field--full { grid-column: 1 / -1; }
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.field input,
.field textarea,
.field select {
  padding: 12px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 6px;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  transition: border-color 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(157,23,77,0.1);
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { cursor: pointer; }
.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);
}
.field-check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}
.field-check label {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.5;
  cursor: pointer;
}
.form-submit {
  margin-top: 8px;
}
@media (max-width: 639px) {
  .form-submit .btn-primary { width: 100%; justify-content: center; }
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-hero {
  background: var(--surface);
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  text-align: center;
}
.contact-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(14px, 2vw, 20px);
}
.channel-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(18px, 2vw, 24px);
  background: var(--bg);
  transition: transform 360ms var(--ease), box-shadow 360ms var(--ease);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.channel-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.channel-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(157,23,77,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.channel-icon svg { width: 22px; height: 22px; }
.channel-card h4 {
  font-size: 1rem;
  margin: 0;
}
.channel-card a {
  color: var(--ink);
  font-size: 15px;
  word-break: break-all;
  transition: color 240ms var(--ease-out);
}
.channel-card a:hover { color: var(--accent); }
.channel-card .channel-note {
  font-size: 12px;
  color: var(--ink-soft);
}

/* Hours mini-grid */
.hours-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  font-variant-numeric: tabular-nums;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.hours-row:last-child { border-bottom: none; }
.hours-row.is-today {
  color: var(--accent);
  font-weight: 600;
}
.hours-day { font-weight: 500; }

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-story {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}
@media (min-width: 768px) {
  .about-story { grid-template-columns: 1fr 1fr; }
}
.about-story-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--surface-2);
}
.about-story-img img { width: 100%; height: 100%; object-fit: cover; }

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
@media (min-width: 640px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}
.team-card {
  text-align: center;
}
.team-photo {
  width: clamp(140px, 20vw, 180px);
  height: clamp(140px, 20vw, 180px);
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  background: var(--surface-2);
  border: 3px solid var(--accent-2);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { margin-bottom: 4px; }
.team-card .team-role {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 10px;
}
.team-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 320px;
  margin: 0 auto;
}

/* ========================================
   PAGE CONTENT (policies, etc.)
   ======================================== */
.page-hero {
  background: var(--surface);
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
  text-align: center;
}
.page-content {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3.5rem) var(--pad);
}
.page-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  font-size: 1.6rem;
}
.page-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
}
.page-content p {
  margin-bottom: 1rem;
  color: var(--ink-soft);
}
.page-content ul, .page-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}
.page-content li {
  list-style: disc;
  margin-bottom: 0.4rem;
  color: var(--ink-soft);
}
.page-content ol li { list-style: decimal; }

/* 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: 6px;
}
.table-scroll > table { margin: 0 !important; min-width: 480px; width: 100%; }
:where(*:has(> .table-scroll), *:has(> * > .table-scroll), *:has(> * > * > .table-scroll)) { min-width: 0; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
table th, table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
table th {
  background: var(--surface);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
}
table td { color: var(--ink-soft); }

/* ========================================
   COOKIE BANNER
   ======================================== */
.cookie-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  max-width: 520px;
  margin: 0 auto;
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  z-index: 9999;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), opacity 240ms;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}
@media (min-width: 640px) {
  .cookie-banner { left: 24px; right: auto; max-width: 420px; }
}
.cookie-banner h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 8px;
}
.cookie-banner p {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.65);
}
.cookie-banner p a { color: var(--accent-2-light); text-decoration: underline; }
.cookie-banner p a:hover { color: var(--white); }
.cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cookie-actions button {
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  min-height: 44px;
  transition: background 220ms var(--ease-out), color 220ms var(--ease-out);
}
.cookie-actions .cookie-accept {
  background: var(--accent-2);
  color: var(--ink);
  border: none;
}
.cookie-actions .cookie-accept:hover {
  background: var(--accent-2-light);
  color: var(--ink);
}
.cookie-actions .cookie-reject {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
}
.cookie-actions .cookie-reject:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}
.cookie-actions .cookie-settings {
  background: transparent;
  color: rgba(255,255,255,0.5);
  border: none;
  font-size: 12px;
  padding: 10px 12px;
  min-height: 44px;
}
.cookie-actions .cookie-settings:hover {
  color: rgba(255,255,255,0.8);
}

/* ========================================
   THANK YOU PAGE
   ======================================== */
.thankyou-wrap {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(3rem, 8vw, 5rem) var(--pad);
}
.thankyou-inner { max-width: 520px; }
.thankyou-icon {
  width: 64px; height: 64px;
  margin: 0 auto 24px;
  color: var(--accent);
}
.thankyou-inner h1 { margin-bottom: 14px; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.thankyou-inner p { color: var(--ink-soft); margin-bottom: 28px; }

/* ========================================
   404 PAGE
   ======================================== */
.error-wrap {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(3rem, 8vw, 5rem) var(--pad);
}
.error-inner { max-width: 520px; }
.error-code {
  font-family: 'Cormorant', serif;
  font-weight: 700;
  font-size: clamp(5rem, 12vw, 9rem);
  color: var(--surface-2);
  line-height: 1;
  margin-bottom: 8px;
}
.error-inner h1 { margin-bottom: 14px; font-size: clamp(1.5rem, 2.5vw, 2rem); }
.error-inner p { color: var(--ink-soft); margin-bottom: 28px; }

/* ========================================
   SITEMAP PAGE
   ======================================== */
.sitemap-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.sitemap-group h3 { margin-bottom: 12px; font-size: 1.2rem; }
.sitemap-group a {
  display: block;
  padding: 6px 0;
  font-size: 15px;
  color: var(--ink-soft);
}
.sitemap-group a:hover { color: var(--accent); }

/* ========================================
   REVEAL ON SCROLL
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal[style*="--i"] {
  transition-delay: calc(var(--i, 0) * 80ms);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
html.no-js .reveal { opacity: 1; transform: none; }

/* ========================================
   NICHE ANIMATIONS
   ======================================== */

/* 1. Leather grain texture shimmer on material cards */
@keyframes grainReveal {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
}
.material-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(190,155,110,0.08) 0%, transparent 60%);
  background-size: 200% 200%;
  animation: grainReveal 10s ease-in-out infinite;
  pointer-events: none;
  border-radius: inherit;
}

/* 2. Thread stitch section divider */
.stitch-divider {
  display: block;
  width: 120px;
  height: 12px;
  margin: 0 auto 24px;
}
.stitch-divider line {
  stroke: var(--accent-2);
  stroke-width: 1.5;
  stroke-dasharray: 8 6;
  stroke-linecap: round;
}
.reveal.is-in .stitch-divider line {
  animation: stitchDraw 1.2s var(--ease) forwards;
  stroke-dashoffset: 200;
}

/* 3. Book press effect on CTA button */
@keyframes pressDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(1px); }
}
.btn-primary:active {
  animation: pressDown 200ms ease-out;
}

/* 4. Gold leaf float in hero */
@keyframes leafFloat {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-60px) rotate(15deg); opacity: 0; }
}
.hero-leaf {
  position: absolute;
  width: 6px; height: 6px;
  background: var(--accent-2);
  border-radius: 50% 50% 50% 0;
  animation: leafFloat 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
.hero-leaf:nth-child(2) { animation-delay: 2s; left: 20%; bottom: 20%; }
.hero-leaf:nth-child(3) { animation-delay: 4s; left: 70%; bottom: 30%; }
.hero-leaf:nth-child(4) { animation-delay: 6s; left: 45%; bottom: 15%; }
@media (prefers-reduced-motion: reduce) {
  .hero-leaf { display: none; }
  .material-card::after { animation: none; }
  .gold-corner svg path { animation: none; }
  .config-preview::after { animation: none; }
  .capacity-dot { animation: none; }
}

/* 5. Spine shadow breathing on configurator preview */
@keyframes spineBreath {
  0%, 100% { box-shadow: 8px 8px 32px rgba(26,26,26,0.2), inset -2px 0 8px rgba(0,0,0,0.15); }
  50% { box-shadow: 12px 12px 40px rgba(26,26,26,0.28), inset -3px 0 12px rgba(0,0,0,0.2); }
}
.config-preview { animation: spineBreath 6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .config-preview { animation: none; }
}

/* ========================================
   COUNTER UP (data-target elements)
   ======================================== */
[data-target] {
  font-variant-numeric: tabular-nums;
}

/* ========================================
   PRICING (on index - package cards)
   ======================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.2rem, 2vw, 1.8rem);
}
@media (min-width: 640px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}
.pricing-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  background: var(--bg);
  transition: transform 360ms var(--ease), box-shadow 360ms var(--ease);
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.pricing-card.is-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.pricing-card.is-featured::before {
  content: 'Popüler';
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 14px;
  border-radius: 12px;
  letter-spacing: 0.05em;
}
.pricing-card h3 { margin-bottom: 4px; }
.pricing-card .pricing-desc {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.pricing-price {
  font-family: 'Cormorant', serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  color: var(--accent);
  margin-bottom: 18px;
}
.pricing-price span {
  font-size: 0.5em;
  font-weight: 400;
  color: var(--ink-soft);
  margin-left: 4px;
}
.pricing-includes h5,
.pricing-excludes h5 {
  font-family: 'Work Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  color: var(--ink);
}
.pricing-includes ul, .pricing-excludes ul {
  margin-bottom: 14px;
}
.pricing-includes li, .pricing-excludes li {
  font-size: 14px;
  color: var(--ink-soft);
  padding: 4px 0 4px 22px;
  position: relative;
  list-style: none;
}
.pricing-includes li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 12px; height: 6px;
  border-left: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  transform: rotate(-45deg);
}
.pricing-excludes li::before {
  content: '\2013';
  position: absolute;
  left: 0; top: 4px;
  color: var(--line-strong);
  font-weight: 600;
}
.pricing-footer {
  margin-top: auto;
  padding-top: 18px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  :root { --header-h: 64px; }
}
@media (max-width: 640px) {
  section { padding: clamp(2rem, 6vw, 3.5rem) 0; }
  .hero { min-height: 420px; }
  .hero h1 { font-size: clamp(2rem, 7vw, 2.8rem); }
  .showcase-card { flex: 0 0 clamp(260px, 80vw, 320px); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-channels { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .about-story { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { justify-content: center; text-align: center; }
  .trust-strip { gap: 12px 18px; }
  .config-options { gap: 8px; }
  .config-btn { padding: 8px 14px; font-size: 13px; }
  .channel-card { padding: 16px; }
  .channel-icon { width: 40px; height: 40px; }
  .channel-icon svg { width: 18px; height: 18px; }
  .pricing-card { padding: 20px; }
  .team-photo { width: 120px; height: 120px; }
}
@media (max-width: 360px) {
  body { font-size: 15px; }
  h1 { font-size: 1.8rem; }
  .hero { min-height: 380px; padding: 2rem 0; }
}

/* Focus ring for a11y */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Print */
@media print {
  .site-header, .drawer, .drawer-backdrop, .cookie-banner, .nav-toggle, .skip-link { display: none !important; }
  main { padding-top: 0 !important; }
  body { background: white; color: black; }
  a { color: inherit; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

.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}

/* form-reveal-opacity-fix */
main form.reveal, .form-section form.reveal, .contact-form.reveal, form[id*='iletisim'].reveal, form[class*='contact'].reveal { opacity: 1 !important; transform: none !important; translate: none !important; }
main form, .form-section form, .contact-form, form[id*='iletisim'], form[class*='contact'] { opacity: 1 !important; }

/* consent-checkbox-inline-fix */
main form label.checkbox, main form .form-checkbox, main form .consent, main form .kvkk, .contact-form label.checkbox, .contact-form .checkbox-group { display: flex !important; flex-direction: row !important; align-items: flex-start !important; gap: 10px !important; font-size: 14px !important; line-height: 1.5 !important; flex-wrap: nowrap !important; }
main form label.checkbox span, main form label.checkbox a, main form .form-checkbox span, main form .form-checkbox a, .contact-form label.checkbox span, .contact-form label.checkbox a { display: inline !important; flex: 1 1 auto; }
main form label.checkbox input[type='checkbox'], main form .form-checkbox input[type='checkbox'] { flex-shrink: 0 !important; width: 18px !important; height: 18px !important; margin-top: 3px !important; }

/* iletisim-form-responsive-guard v2 */
main form, .form-section form, .contact-form, .iletisim-form, form#contact-form, form[id*="iletisim"], form[class*="iletisim"], form[class*="contact"] {
  display: block;
  max-width: 720px;
  margin: 24px auto;
  padding: clamp(20px, 4vw, 36px);
  background: var(--surface, rgba(255,255,255,0.04));
  border: 1px solid var(--line, rgba(127,127,127,0.18));
  border-radius: 16px;
  box-shadow: 0 8px 32px -12px rgba(0,0,0,0.25);
  box-sizing: border-box;
}
main form .form-grid,
main form > .grid,
.contact-form .form-grid,
form[class*="contact"] .form-grid,
form[class*="iletisim"] .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  width: 100%;
}
@media (max-width: 640px) {
  main form .form-grid,
  main form > .grid,
  .contact-form .form-grid,
  form[class*="contact"] .form-grid,
  form[class*="iletisim"] .form-grid {
    grid-template-columns: 1fr;
  }
}
main form .form-grid > .field-full,
main form .form-grid > .col-full,
main form .form-grid > [class*="full"] {
  grid-column: 1 / -1;
}
main form .field, main form label,
.contact-form .field, .contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
main form input[type="text"],
main form input[type="email"],
main form input[type="tel"],
main form input[type="number"],
main form input[type="date"],
main form input[type="url"],
main form input[type="search"],
main form input:not([type]),
main form select,
main form textarea,
.contact-form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=hidden]),
.contact-form select,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  min-height: 44px;
  font-size: 16px;
  line-height: 1.4;
  font-family: inherit;
  border: 1px solid var(--line, rgba(127,127,127,0.22));
  border-radius: 10px;
  background: var(--input-bg, rgba(0,0,0,0.04));
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
}
main form textarea, .contact-form textarea {
  min-height: 120px;
  resize: vertical;
}
main form input:focus, main form select:focus, main form textarea:focus,
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 2px solid var(--accent, #5a8dee);
  outline-offset: 1px;
  border-color: transparent;
}
main form .checkbox, main form label.checkbox,
.contact-form .checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
}
main form input[type="checkbox"], main form input[type="radio"],
.contact-form input[type="checkbox"], .contact-form input[type="radio"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent, #5a8dee);
}
main form button[type="submit"],
main form input[type="submit"],
main form .btn-submit,
.contact-form button[type="submit"],
.contact-form .btn-submit {
  width: 100%;
  min-height: 48px;
  padding: 14px 28px;
  background: var(--accent, #5a8dee);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 8px;
  transition: filter 200ms ease, transform 120ms ease;
}
@media (min-width: 640px) {
  main form button[type="submit"],
  main form input[type="submit"],
  .contact-form button[type="submit"] {
    width: auto;
    min-width: 220px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}
main form button[type="submit"]:hover,
.contact-form button[type="submit"]:hover {
  filter: brightness(1.05);
}
main form button[type="submit"]:active,
.contact-form button[type="submit"]:active {
  transform: translateY(1px);
}


/* bookbinding-design-v1 */

/* ---------- Paper-grain background overlay ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
}
body > * { position: relative; z-index: 2; }

/* ---------- Stitched divider between sections (decorative) ---------- */
section + section { position: relative; }
section + section::before {
  content: '';
  display: block;
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(60px, 12vw, 120px);
  height: 2px;
  background-image: repeating-linear-gradient(
    to right,
    var(--accent, currentColor) 0 8px,
    transparent 8px 14px
  );
  opacity: 0.55;
  border-radius: 2px;
}

/* ---------- Gold-foil shimmer on .eyebrow + .logo ---------- */
.eyebrow {
  background: linear-gradient(
    100deg,
    var(--accent, #b8860b) 0%,
    #f4d57c 30%,
    var(--accent, #b8860b) 60%,
    #d4a017 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: bb-shimmer 8s ease-in-out infinite;
  font-weight: 600;
  letter-spacing: 0.12em;
}
@keyframes bb-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .eyebrow { animation: none; }
}

/* ---------- Card hover: page-lift ---------- */
.product-card, .course-card, .gallery-item {
  transition: transform 350ms cubic-bezier(.2,.7,.2,1),
              box-shadow 350ms cubic-bezier(.2,.7,.2,1);
}
.team-card, .package-card, .feature-card, .case-card, .testimonial-card, .pricing-card {
  transition: transform 280ms ease, box-shadow 280ms ease;
}
.product-card:hover, .course-card:hover, .gallery-item:hover,
.team-card:hover, .package-card:hover, .feature-card:hover,
.case-card:hover, .testimonial-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 40px -16px rgba(0,0,0,0.18),
              0 4px 12px -4px rgba(0,0,0,0.08) !important;
}

/* ---------- Button: ink-blot ripple on hover ---------- */
.btn-primary, button[type="submit"], .nav-cta, .cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary::after, button[type="submit"]::after,
.nav-cta::after, .cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(255,255,255,0.25) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 240ms ease;
  pointer-events: none;
  z-index: -1;
}
.btn-primary:hover::after, button[type="submit"]:hover::after,
.nav-cta:hover::after, .cta:hover::after { opacity: 1; }

/* ---------- Smooth scroll site-wide ---------- */

/* ---------- Stitched section header underline ---------- */
section h2 {
  position: relative;
  padding-bottom: 0.5em;
}
section h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 64px;
  height: 2px;
  background-image: repeating-linear-gradient(
    to right,
    var(--accent, currentColor) 0 6px,
    transparent 6px 11px
  );
  opacity: 0.7;
  border-radius: 2px;
}
section[style*="text-align:center"] h2::after,
.section-head h2::after,
.text-center h2::after {
  left: 50%;
  transform: translateX(-50%);
}


/* per-site spice: polaroid stack tilt on .gallery-item */
.gallery-item, .gallery-card {
  background: #fff;
  padding: 8px 8px 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 400ms cubic-bezier(.2,.7,.2,1), box-shadow 400ms;
}
.gallery-item:nth-child(2n) { transform: rotate(-1.2deg); }
.gallery-item:nth-child(2n+1) { transform: rotate(0.8deg); }
.gallery-item:hover {
  transform: rotate(0) translateY(-8px) scale(1.02) !important;
  z-index: 5;
}

/* batch-overflow-guard */
html, body { overflow-x: hidden; max-width: 100vw; }
img, picture, svg, video { max-width: 100%; height: auto; }
.hero-visual, .split-visual, .gallery-item, .gallery-card, figure {
  overflow: hidden;
  max-width: 100%;
}
.hero-visual img, .split-visual img, .gallery-item img, .gallery-card img {
  max-width: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
section.hero, header.hero, .hero, [class*="hero"] { overflow-x: clip; }
.hero-content, .gallery-grid, .gallery { overflow-x: hidden; }
/* albumcilt-hero-image-fix */
.hero-bg, .hero-bg img { max-width: 100% !important; }
.hero-bg img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.hero-bg { overflow: hidden; }
.showcase-track, .showcase-strip, [class*="showcase-grid"] { overflow-x: auto; scroll-snap-type: x mandatory; }
