/* ------------------------------------------------------------
   Pulmonis — showroom tarzı tek sayfa
   Renkler: saf siyah stüdyo, gümüş yazı, porselen açık bölüm,
   tek vurgu olarak fırçalanmış pirinç.
------------------------------------------------------------ */
:root {
  --black: #000000;
  --graphite: #1a1c1f;
  --porcelain: #e8eaec;
  --silver: #a3a9b0;
  --white: #f5f6f7;
  --brass: #c2a878;

  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --sans: "Jost", "Futura", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 5vw, 72px);
  --max: 1320px;
}

[dir="rtl"] {
  --serif: "Amiri", "Times New Roman", serif;
  --sans: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[dir="rtl"] body { line-height: 1.85; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }

:focus-visible { outline: 1px solid var(--brass); outline-offset: 4px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--white); color: var(--black); padding: 8px 14px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 22px var(--gutter);
  transition: background-color .4s ease, padding .4s ease;
}
.site-header.is-solid {
  background: rgba(0, 0, 0, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-block: 14px;
}
.wordmark {
  font-family: "Bodoni Moda", Georgia, serif;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: .42em;
  text-decoration: none;
  margin-inline-end: auto;
  direction: ltr;
  display: inline-flex; align-items: center; gap: .9em;
}
/* Logo işareti: SVG maske olarak, yazı rengini alır */
.mark {
  width: 1em; height: 3em; flex: none;
  background: currentColor;
  -webkit-mask: url("assets/logo.svg") center / contain no-repeat;
  mask: url("assets/logo.svg") center / contain no-repeat;
}
.nav { display: flex; gap: 34px; }
.nav a {
  text-decoration: none; font-size: .95rem; color: var(--silver);
  transition: color .2s;
}
.nav a:hover { color: var(--white); }
.header-tools { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; gap: 2px; }
.lang button {
  background: none; border: 0; cursor: pointer;
  color: var(--silver); font: inherit; font-size: .85rem;
  padding: 6px 8px; letter-spacing: .06em;
}
.lang button[lang="ar"] { font-family: "IBM Plex Sans Arabic", sans-serif; letter-spacing: 0; }
.lang button[aria-pressed="true"] { color: var(--white); box-shadow: inset 0 -1px 0 var(--brass); }
.menu-toggle {
  display: none; background: none; color: var(--white);
  border: 1px solid rgba(245, 246, 247, .3); font: inherit; font-size: .9rem;
  padding: 6px 14px; cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font: inherit; font-size: .95rem; font-weight: 400;
  padding: 15px 30px; border: 1px solid transparent;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn-solid { background: var(--white); color: var(--black); }
.btn-solid:hover { background: var(--brass); }
.btn-line { border-color: rgba(245, 246, 247, .45); color: var(--white); background: transparent; }
.btn-line:hover { border-color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: 1fr 1fr; align-items: end;
  padding: 120px var(--gutter) clamp(56px, 9vh, 110px);
  overflow: hidden; isolation: isolate;
}
.hero-light {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  /* alt kenarda sönerek koleksiyonun arka planına kesintisiz bağlanır */
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent);
  mask-image: linear-gradient(to bottom, #000 78%, transparent);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .55), transparent 42%),
    radial-gradient(34% 50% at 72% 40%, rgba(255, 244, 228, .07), transparent 70%),
    radial-gradient(30% 16% at 72% 88%, rgba(214, 160, 92, .16), transparent 70%);
}
[dir="rtl"] .hero-light {
  background:
    linear-gradient(270deg, rgba(0, 0, 0, .55), transparent 42%),
    radial-gradient(34% 50% at 28% 40%, rgba(255, 244, 228, .07), transparent 70%),
    radial-gradient(30% 16% at 28% 88%, rgba(214, 160, 92, .16), transparent 70%);
}
/* Gece manzarası: ay, uzak şehir, deniz (script.js bir kez çizer) */
.hero-night {
  position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%;
  pointer-events: none;
}
/* Kayan yıldız: arada bir, ince bir çizgi (script.js) */
.hero-sky {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  pointer-events: none;
}
.hero-text { grid-column: 1; grid-row: 1; max-width: 34rem; position: relative; z-index: 2; }
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3rem, 7.2vw, 6.75rem);
  line-height: 1.02; letter-spacing: -.015em;
}
[dir="rtl"] .hero h1 { line-height: 1.3; letter-spacing: 0; }
.hero-text > p { margin-top: 26px; max-width: 28rem; color: var(--silver); font-size: 1.125rem; }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero-piece {
  grid-column: 2; grid-row: 1; align-self: center; justify-self: center;
  position: relative; height: min(78svh, 760px); aspect-ratio: 220 / 540;
}
.hero-piece .piece { height: 100%; }

/* 3D model: yüklenince SVG çizimin yerini alır, yatay sürükleyerek döner */
.hero-piece canvas {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
  cursor: grab; touch-action: pan-y;
}
.hero-piece canvas:active { cursor: grabbing; }
.hero-piece.is-3d > .piece { visibility: hidden; }
.drag-hint {
  position: absolute; left: 50%; bottom: -26px; z-index: 2; transform: translateX(-50%);
  white-space: nowrap; font-size: .8rem; letter-spacing: .08em; color: var(--silver);
  pointer-events: none; transition: opacity .6s;
}
.drag-hint::before, .drag-hint::after { content: "‹"; margin-inline: .7em; color: var(--brass); }
.drag-hint::after { content: "›"; }
.drag-hint.is-gone { opacity: 0; }


/* Açılış: model karanlıktan çıkar */
.hero-piece, .hero-light, .hero-night { animation: unveil 2.2s cubic-bezier(.2, .7, .2, 1) both; }
.hero-text { animation: fadein 1.4s ease .9s both; }
@keyframes unveil {
  from { opacity: 0; transform: translateY(30px); filter: brightness(.2); }
  to   { opacity: 1; transform: none; filter: none; }
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Ortak bölüm başlıkları ---------- */
.section-head {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end;
}
.section-head h2, .anatomy h2, .contact h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.2rem, 4.6vw, 3.9rem); line-height: 1.08; letter-spacing: -.01em;
}
[dir="rtl"] .section-head h2, [dir="rtl"] .anatomy h2, [dir="rtl"] .contact h2 { line-height: 1.35; letter-spacing: 0; }
.section-head p { color: var(--silver); max-width: 30rem; }

/* ---------- Koleksiyon ---------- */
.collection {
  position: relative; isolation: isolate;
  padding: clamp(96px, 14vh, 160px) var(--gutter) clamp(80px, 12vh, 140px);
  /* Gece sürüyor: girişteki denizden gelen lacivert, modellerin arkasında
     gün batımı gibi sıcak bir ışık, altta yeniden siyah */
  background:
    radial-gradient(60% 34% at 50% 78%, rgba(214, 160, 92, .09), transparent 70%),
    linear-gradient(to bottom, #050912, #070c18 35%, #070c18 66%, #000);
}
/* Sönük yıldız tozu: yalnızca üst kısımda, modellere inmeden kaybolur (hareketsiz) */
.collection::before {
  content: ""; position: absolute; inset: 0 0 45% 0; z-index: -1; pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='340' fill='%23e1e6f0'%3E%3Ccircle cx='81' cy='185' r='0.7' fill-opacity='0.8'/%3E%3Ccircle cx='161' cy='197' r='1' fill-opacity='0.26'/%3E%3Ccircle cx='285' cy='88' r='0.6' fill-opacity='0.37'/%3E%3Ccircle cx='244' cy='184' r='1' fill-opacity='0.54'/%3E%3Ccircle cx='217' cy='51' r='1.1' fill-opacity='0.34'/%3E%3Ccircle cx='315' cy='133' r='0.5' fill-opacity='0.65'/%3E%3Ccircle cx='22' cy='258' r='1' fill-opacity='0.28'/%3E%3Ccircle cx='265' cy='280' r='0.7' fill-opacity='0.53'/%3E%3Ccircle cx='244' cy='299' r='1.1' fill-opacity='0.72'/%3E%3Ccircle cx='145' cy='248' r='1' fill-opacity='0.52'/%3E%3Ccircle cx='318' cy='299' r='0.5' fill-opacity='0.27'/%3E%3Ccircle cx='168' cy='88' r='1.1' fill-opacity='0.51'/%3E%3Ccircle cx='213' cy='102' r='1' fill-opacity='0.75'/%3E%3Ccircle cx='195' cy='182' r='0.8' fill-opacity='0.6'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='560' fill='%23e1e6f0'%3E%3Ccircle cx='127' cy='539' r='0.6' fill-opacity='0.37'/%3E%3Ccircle cx='25' cy='77' r='1' fill-opacity='0.38'/%3E%3Ccircle cx='359' cy='257' r='0.8' fill-opacity='0.48'/%3E%3Ccircle cx='321' cy='503' r='0.8' fill-opacity='0.3'/%3E%3Ccircle cx='131' cy='11' r='0.7' fill-opacity='0.56'/%3E%3Ccircle cx='266' cy='510' r='1.1' fill-opacity='0.32'/%3E%3Ccircle cx='145' cy='555' r='0.5' fill-opacity='0.48'/%3E%3Ccircle cx='465' cy='60' r='0.5' fill-opacity='0.45'/%3E%3Ccircle cx='387' cy='279' r='1.1' fill-opacity='0.56'/%3E%3Ccircle cx='116' cy='453' r='1' fill-opacity='0.29'/%3E%3Ccircle cx='530' cy='274' r='0.6' fill-opacity='0.34'/%3E%3Ccircle cx='482' cy='256' r='1' fill-opacity='0.78'/%3E%3Ccircle cx='160' cy='200' r='0.8' fill-opacity='0.33'/%3E%3Ccircle cx='428' cy='55' r='1.1' fill-opacity='0.44'/%3E%3Ccircle cx='200' cy='361' r='0.8' fill-opacity='0.55'/%3E%3Ccircle cx='111' cy='84' r='1' fill-opacity='0.42'/%3E%3C/svg%3E");
  background-size: 340px 340px, 560px 560px;
  background-position: 0 0, 170px 90px;
  opacity: .55;
  -webkit-mask-image: linear-gradient(to bottom, transparent 8%, #000 45%, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, transparent 8%, #000 45%, #000 55%, transparent);
}
.lineup {
  max-width: 980px; margin: clamp(56px, 8vh, 96px) auto 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  border-bottom: 1px solid rgba(163, 169, 176, .25);
}
.model {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 0 16px 40px;
}
.model-stage {
  position: relative; width: 100%; height: 520px;
  display: flex; justify-content: center; align-items: flex-end;
  background:
    radial-gradient(42% 7% at 50% 98%, rgba(255, 220, 170, .16), transparent 70%),
    radial-gradient(55% 80% at 50% 70%, rgba(255, 255, 255, .06), transparent 70%);
}
.model-stage .piece {
  position: relative; z-index: 1;
  height: 92%; aspect-ratio: 220 / 540; transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.model:hover .piece { transform: translateY(-8px); }
.model h3 {
  margin-top: 28px; font-family: "Bodoni Moda", Georgia, serif; font-weight: 400;
  font-size: 1.75rem; letter-spacing: .02em;
}
.model p { margin-top: 8px; color: var(--silver); font-size: .95rem; max-width: 16rem; min-height: 3.2em; }
.model-stage.is-clickable { cursor: pointer; perspective: 900px; }

/* Etkileşim ipuçları (yazısız): üzerine gelince sıcak bir ışık, köşede çevirme
   simgesi, koleksiyon ilk göründüğünde modellerin bir kez hafifçe dönmesi */
.model-stage.is-clickable::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 65% at 50% 70%, rgba(255, 236, 205, .14), transparent 70%);
  opacity: 0; transition: opacity .5s ease;
}
.model-stage.is-clickable:hover::before,
.model-stage.is-clickable:focus-visible::before { opacity: 1; }
.spin-cue {
  position: absolute; bottom: 14px; inset-inline-end: 14px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(194, 168, 120, .55); color: var(--brass);
  transition: background-color .3s, color .3s, border-color .3s;
}
.spin-cue svg { width: 26px; height: 26px; }
.model-stage:hover .spin-cue,
.model-stage:focus-visible .spin-cue { background: var(--brass); border-color: var(--brass); color: #0b0b0b; }
.lineup.is-peek .piece { animation: peek 1.8s cubic-bezier(.45, .05, .35, 1); }
.lineup.is-peek .model + .model .piece { animation-delay: .25s; }
.lineup.is-peek .spin-cue { animation: cue-pulse 1.8s ease-out .2s; }
@keyframes peek {
  35% { transform: rotateY(-16deg); }
  70% { transform: rotateY(11deg); }
}
@keyframes cue-pulse {
  50% { box-shadow: 0 0 0 7px rgba(194, 168, 120, .2); border-color: var(--brass); }
}

/* ---------- 360° pencere ---------- */
.viewer {
  width: min(1040px, 100vw - 32px); height: min(820px, 100svh - 32px);
  max-width: none; max-height: none; padding: 0;
  border: 1px solid rgba(163, 169, 176, .2);
  background: radial-gradient(60% 55% at 50% 48%, #1d1f22, #000 75%);
  color: var(--white); overflow: hidden;
}
.viewer[open] { display: flex; flex-direction: column; }
.viewer::backdrop { background: rgba(0, 0, 0, .8); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
html:has(.viewer[open]) { overflow: hidden; }
.viewer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 24px 28px 0; }
.viewer-head h2 { font-family: "Bodoni Moda", Georgia, serif; font-weight: 400; font-size: 2rem; letter-spacing: .02em; }
.viewer-desc { margin-top: 4px; color: var(--silver); font-size: .95rem; }
.viewer-close {
  flex: none; background: none; color: var(--white); cursor: pointer;
  border: 1px solid rgba(245, 246, 247, .3); font: inherit; font-size: .9rem; padding: 6px 14px;
}
.viewer-close:hover { border-color: var(--white); }
.viewer-actions { flex: none; display: flex; gap: 8px; }
.viewer-ar {
  background: var(--white); color: var(--black); cursor: pointer;
  border: 1px solid var(--white); font: inherit; font-size: .9rem; padding: 6px 14px;
}

/* Odada gör (Android AR): kamera görüntüsünün üstünde yalnızca ipucu ve Kapat */
.ar-overlay { position: fixed; inset: 0; z-index: 100; pointer-events: none; color: var(--white); }
.ar-overlay[hidden] { display: none; }
.ar-close {
  position: absolute; top: 16px; inset-inline-end: 16px; pointer-events: auto; cursor: pointer;
  background: rgba(0, 0, 0, .55); color: var(--white); border: 1px solid rgba(245, 246, 247, .4);
  font: inherit; font-size: .9rem; padding: 8px 16px;
}
.ar-overlay p {
  position: absolute; bottom: 32px; left: 16px; right: 16px; margin: 0 auto; max-width: 26rem;
  padding: 10px 16px; text-align: center; font-size: .9rem; background: rgba(0, 0, 0, .55);
}
.viewer-stage { position: relative; flex: 1; min-height: 0; }
.viewer-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.viewer-stage canvas:active { cursor: grabbing; }
.viewer-hint { padding: 0 20px 20px; text-align: center; color: var(--silver); font-size: .8rem; }

/* ---------- Anatomi ---------- */
/* 3D yoksa: başlık ve düz parça listesi */
.anatomy { background: radial-gradient(70% 60% at 30% 50%, #1a1c1f, #000 75%); }
[dir="rtl"] .anatomy { background: radial-gradient(70% 60% at 70% 50%, #1a1c1f, #000 75%); }
.anatomy-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 96px);
  padding: clamp(96px, 14vh, 160px) var(--gutter);
}
.anatomy-stage { display: none; }
.anatomy-text { grid-column: 1 / -1; max-width: 40rem; }
.anatomy-kicker {
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brass);
  margin-bottom: 18px; display: flex; gap: 1em;
}
[dir="rtl"] .anatomy-kicker { letter-spacing: 0; }
.anatomy-count { font-variant-numeric: tabular-nums; color: var(--silver); direction: ltr; unicode-bidi: isolate; }
.anatomy-steps { list-style: none; margin: 48px 0 0; padding: 0; }
.anatomy-steps li { padding: 24px 0; border-top: 1px solid rgba(163, 169, 176, .25); }
.anatomy-steps h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; }
.anatomy-steps p { margin-top: 6px; color: var(--silver); max-width: 30rem; }
.anatomy-intro { display: none; }

/* 3D: bölüm uzar, içerik ekrana yapışır; kaydırdıkça parçalar ayrılır ve tek tek anlatılır */
.anatomy.is-3d { height: 560svh; }
.anatomy.is-3d .anatomy-inner {
  position: sticky; top: 0; height: 100svh;
  padding-block: 96px 48px;
}
.anatomy.is-3d .anatomy-stage { display: block; position: relative; height: 100%; min-height: 0; }
.anatomy-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.anatomy.is-3d .anatomy-text { grid-column: auto; }
.anatomy.is-3d .anatomy-steps { position: relative; min-height: 11rem; margin-top: 40px; }
.anatomy.is-3d .anatomy-steps li {
  position: absolute; inset: 0 0 auto 0; display: block;
  padding-top: 24px; opacity: 0; transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease; pointer-events: none;
}
.anatomy.is-3d .anatomy-steps li.is-active { opacity: 1; transform: none; }
.anatomy.is-3d .anatomy-intro { border-top: 0; }
.anatomy-intro p::after { content: " ↓"; color: var(--brass); }

/* ---------- Tasarla ---------- */
.design { background: radial-gradient(60% 60% at 30% 50%, #15171a, #000 75%); }
[dir="rtl"] .design { background: radial-gradient(60% 60% at 70% 50%, #15171a, #000 75%); }
.design-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(32px, 6vw, 96px);
  padding: clamp(96px, 14vh, 160px) var(--gutter);
}
/* Seçenekler kaydırılırken model ekranda kalır */
.design-stage { position: sticky; top: 80px; height: min(calc(100svh - 110px), 760px); }
.design-stage .piece { height: 100%; aspect-ratio: 220 / 540; margin: 0 auto; }
.design-stage canvas {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
  cursor: grab; touch-action: pan-y;
}
.design-stage canvas:active { cursor: grabbing; }
.design-stage.is-3d > .piece { visibility: hidden; }
.design-stage .drag-hint { bottom: 0; }
.kicker {
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); margin-bottom: 18px;
}
[dir="rtl"] .kicker { letter-spacing: 0; }
.design h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.2rem, 4.6vw, 3.9rem); line-height: 1.08; letter-spacing: -.01em;
}
[dir="rtl"] .design h2 { line-height: 1.35; letter-spacing: 0; }
.design-intro { margin-top: 18px; color: var(--silver); max-width: 30rem; }

.presets { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: .85rem; color: var(--silver); }
.presets span { margin-inline-end: 6px; }
.presets button {
  background: none; color: var(--white); cursor: pointer;
  border: 1px solid rgba(245, 246, 247, .3); font: inherit; font-family: "Bodoni Moda", Georgia, serif;
  font-size: .95rem; padding: 5px 16px; transition: border-color .2s;
}
.presets button:hover, .presets button[aria-pressed="true"] { border-color: var(--brass); }

.design-options { margin-top: 12px; }
.choice { border: 0; border-top: 1px solid rgba(163, 169, 176, .25); margin: 0; padding: 16px 0 18px; }
.choice legend { float: left; width: 100%; padding: 0; margin-bottom: 12px; font-size: .85rem; color: var(--silver); }
[dir="rtl"] .choice legend { float: right; }
.choice-name { color: var(--white); margin-inline-start: .5em; }
.choice-row { clear: both; display: flex; flex-wrap: wrap; gap: 10px; }
.choice input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.swatch { position: relative; cursor: pointer; padding: 3px; border-radius: 50%; border: 1px solid transparent; transition: border-color .2s; }
.swatch .dot { display: block; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.swatch:hover { border-color: rgba(245, 246, 247, .35); }
.swatch:has(input:checked) { border-color: var(--brass); }
.chip {
  position: relative; cursor: pointer; font-size: .9rem; padding: 7px 14px;
  border: 1px solid rgba(163, 169, 176, .35); transition: border-color .2s, color .2s; color: var(--silver);
}
.chip:hover { border-color: rgba(245, 246, 247, .6); color: var(--white); }
.chip:has(input:checked) { border-color: var(--brass); color: var(--white); }
.choice label:has(input:focus-visible) { outline: 1px solid var(--brass); outline-offset: 3px; }
/* RAL seç: son yuvarlak; seçilen renk ondan biri değilse onun rengini alır */
.ral-pick { background: none; font: inherit; color: inherit; }
.ral-pick .dot {
  display: grid; place-items: center; font-size: .56rem; letter-spacing: .04em; color: #0b0b0b; font-weight: 500;
  background: conic-gradient(#c1121c, #f6b600, #3e753b, #13447c, #6b6880, #c1121c);
}
.ral-pick .dot span { background: rgba(245, 246, 247, .88); border-radius: 6px; padding: 1px 3px; line-height: 1.2; }
.ral-pick.is-on, .ral-pick[aria-expanded="true"] { border-color: var(--brass); }
.ral-panel { clear: both; margin-top: 14px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; max-width: 26rem; }
.ral-panel label { font-size: .8rem; color: var(--silver); }
.ral-panel input {
  font: inherit; font-size: 1rem; color: var(--white); background: transparent; width: 100%; box-sizing: border-box;
  border: 1px solid rgba(163, 169, 176, .35); padding: 9px 12px; border-radius: 0;
}
.ral-panel input:focus { border-color: var(--brass); outline: none; }
.ral-results { display: grid; gap: 2px; }
.ral-results button {
  display: flex; align-items: center; gap: 10px; text-align: start; width: 100%; min-height: 40px;
  background: none; border: 1px solid transparent; color: var(--silver); font: inherit; font-size: .9rem; padding: 4px 8px; cursor: pointer;
}
.ral-results button:hover, .ral-results button[aria-pressed="true"] { border-color: rgba(194, 168, 120, .55); color: var(--white); }
.ral-results .dot { width: 22px; height: 22px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.ral-results button > span:nth-child(2) { direction: ltr; unicode-bidi: isolate; white-space: nowrap; color: var(--white); }
.ral-none { font-size: .85rem; color: var(--silver); }
.ral-note { font-size: .78rem; color: var(--silver); }
.design-note { margin-top: 6px; color: var(--silver); font-size: .8rem; max-width: 30rem; }
.design-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.design-share {
  margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
  font-size: .85rem; color: var(--silver);
}
.design-share > span { width: 100%; }
.share {
  background: none; border: 0; padding: 2px 0; cursor: pointer; font: inherit; font-size: .95rem;
  color: var(--white); text-decoration: none; box-shadow: inset 0 -1px 0 rgba(194, 168, 120, .55);
  transition: box-shadow .2s, color .2s;
}
.share:hover { color: var(--brass); box-shadow: inset 0 -1px 0 var(--brass); }
.share-status { min-height: 1.4em; margin-top: 10px; color: var(--brass); font-size: .85rem; }
.btn[aria-busy="true"], .viewer-ar[aria-busy="true"] { opacity: .5; cursor: progress; }

/* ---------- Diğer sayfalara geçiş kartları ---------- */
.more {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  padding: 0 var(--gutter) clamp(80px, 12vh, 140px);
}
.teaser {
  display: flex; align-items: center; gap: clamp(20px, 3vw, 40px);
  padding: 36px clamp(24px, 3vw, 44px); text-decoration: none;
  border: 1px solid rgba(163, 169, 176, .25);
  background: radial-gradient(80% 90% at 20% 50%, #15171a, #000 80%);
  transition: border-color .3s;
}
.teaser:hover { border-color: var(--brass); }
.teaser-piece { flex: none; width: 90px; height: 200px; }
.teaser-piece .piece { height: 100%; }
.teaser h3 { margin-top: 8px; font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.2; }
.teaser p:not(.kicker) { margin-top: 10px; color: var(--silver); font-size: .95rem; max-width: 24rem; }
.teaser-go { display: inline-block; margin-top: 18px; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.teaser-go::after { content: " →"; }
[dir="rtl"] .teaser-go { letter-spacing: 0; }
[dir="rtl"] .teaser-go::after { content: " ←"; }
.nav a[aria-current="page"] { color: var(--white); }
.anatomy + .more { padding-top: clamp(80px, 12vh, 140px); }

/* ---------- İletişim ---------- */
.contact {
  background: var(--graphite);
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px);
  padding: clamp(88px, 13vh, 150px) var(--gutter);
}
.contact-text p { margin-top: 22px; color: var(--silver); max-width: 26rem; }
.whatsapp { margin-top: 34px; }
.contact-mail { display: block; width: fit-content; text-decoration: none; margin-top: 26px; color: var(--silver); border-bottom: 1px solid rgba(163, 169, 176, .4); padding-bottom: 2px; }
.contact-mail:hover { color: var(--white); }
.contact-mail[hidden] { display: none; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 28px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-wide, .form-error, .form-foot { grid-column: 1 / -1; }
.field label { font-size: .85rem; color: var(--silver); }
.field input, .field select, .field textarea {
  font: inherit; font-weight: 400; color: var(--white);
  background: transparent; border: 0; border-bottom: 1px solid rgba(163, 169, 176, .4);
  padding: 8px 0 10px; border-radius: 0; width: 100%;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.field select option { background: var(--graphite); color: var(--white); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--brass); }
.field input[aria-invalid="true"] { border-bottom-color: #e08a7a; }
.form-error { color: #e9a294; font-size: .95rem; }
.form-foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 6px; }
.form-note { color: var(--silver); font-size: .85rem; }

/* ---------- Footer ---------- */
.site-footer {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px;
  padding: 44px var(--gutter); color: var(--silver); font-size: .85rem;
}
.site-footer .wordmark { color: var(--white); font-size: .9rem; }

/* ---------- Duyarlı ---------- */
@media (max-width: 980px) {
  .nav {
    position: absolute; top: 100%; inset-inline: 0;
    flex-direction: column; gap: 0; background: rgba(0, 0, 0, .96);
    padding: 8px var(--gutter) 20px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid rgba(163, 169, 176, .15); }
  .menu-toggle { display: inline-block; }
  .wordmark { letter-spacing: .32em; }

  .hero { grid-template-columns: 1fr; align-items: start; padding-top: 96px; }
  .hero-piece { grid-column: 1; grid-row: 1; height: 48svh; margin-bottom: 28px; }
  .hero-text { grid-column: 1; grid-row: 2; }
  .hero-light, [dir="rtl"] .hero-light {
    background:
      radial-gradient(70% 36% at 50% 28%, rgba(255, 244, 228, .07), transparent 70%),
      radial-gradient(60% 10% at 50% 50%, rgba(214, 160, 92, .16), transparent 70%),
      linear-gradient(to bottom, transparent 52%, rgba(0, 0, 0, .5) 70%);
  }

  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .lineup { grid-template-columns: 1fr; }
  .model + .model { margin-top: 24px; }
  .model-stage { height: 420px; }
  .collection::before { inset-block-end: 20%; }

  .contact { grid-template-columns: 1fr; }
  .more { grid-template-columns: 1fr; }
  .teaser-piece { width: 64px; height: 150px; }
  .design-inner { grid-template-columns: 1fr; gap: 16px; padding-top: 88px; }
  /* Telefonda model üstte yapışık kalır, seçenekler altından kayar */
  .design, [dir="rtl"] .design { background: #000; }
  .design-stage {
    top: 68px; z-index: 3; height: 40svh;
    background: #000; border-bottom: 1px solid rgba(163, 169, 176, .25);
  }
  /* Anatomi telefonda: model üstte, açıklama altta */
  .anatomy.is-3d .anatomy-inner {
    grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; gap: 8px;
    padding-block: 76px 24px;
  }
  .anatomy.is-3d h2 { display: none; }
  .anatomy.is-3d .anatomy-steps { margin-top: 0; min-height: 9.5rem; }
  .anatomy.is-3d .anatomy-steps li { padding-top: 12px; }
  .anatomy-steps h3 { font-size: 1.35rem; }
  .anatomy-kicker { margin-bottom: 0; }
}
@media (max-width: 560px) {
  .lang button { padding: 6px 5px; }
  .header-tools { gap: 10px; }
  .wordmark { font-size: .9rem; letter-spacing: .26em; }
  .form { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; text-align: center; }
  .viewer { width: 100vw; height: 100svh; border: 0; }
  .viewer-head { padding: 18px 16px 0; }
  .viewer-head h2 { font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
