.home { --mast-height:90px }
.home .mast { position:sticky; top:0 }
.home #imalat-alanlari { scroll-margin-top:var(--mast-height) }

.product-study {
  --stage-heading:var(--ink);
  --stage-body:var(--body);
  --stage-muted:var(--muted);
  --stage-brass:#805825;
  --progress:0;
  position:relative;
  color:var(--stage-heading);
}
.stage-pin {
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.stage-inner {
  position:relative;
  isolation:isolate;
  max-width:1920px;
  height:clamp(515px,calc(100svh - var(--mast-height)),1080px);
  margin:auto;
}
.product-study.active { height:750svh }
.product-study.active .stage-pin { position:sticky; top:var(--mast-height) }
.product-study.active .stage-inner { height:calc(100svh - var(--mast-height)) }

.product-stage {
  position:absolute;
  inset:0 0 11% auto;
  width:65%;
  z-index:-1;
  pointer-events:none;
}
.product-stage :is(canvas,.poster,video), .piece-view :is(canvas,.poster,video) {
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
.product-stage :is(canvas,video), .piece-view :is(canvas,video) { opacity:0 }
.ready canvas, .ready video { opacity:1 }
.ready .poster { visibility:hidden }
.product-stage video { opacity:0 }
.product-stage.video-visible video { opacity:1 }
.piece-view video { object-fit:cover }

/* An optional, explicitly selected film retains its cinematic presentation. */
.product-study.film {
  --stage-heading:#f6f4ed;
  --stage-body:#d1d7d6;
  --stage-muted:#c2cbc9;
  --stage-brass:#dfc397;
  background:#10191e;
}
.product-study.film .product-stage {
  inset:0 0 4%;
  width:100%;
  container-type:size;
}
.product-study.film .product-stage video {
  top:50%; left:calc(68% - min(16cqw,28.445cqh)); right:auto; bottom:auto;
  translate:-50% -50%;
  width:min(100cqw,177.778cqh);
  height:auto;
  aspect-ratio:16/9;
  object-fit:fill;
  mask-image:linear-gradient(90deg,transparent 0%,#000 38%,#000 90%,transparent 100%),
    linear-gradient(180deg,transparent 0%,#000 9%,#000 88%,transparent 100%);
  mask-composite:intersect;
}

.stage-copy {
  position:absolute;
  top:45%; left:var(--gutter);
  width:42%;
  transform:translateY(-50%);
  pointer-events:none;
}
.stage-chapter:not(.current) { display:none }
.stage-overline {
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:clamp(16px,2.2svh,28px);
  color:var(--stage-brass);
  font-size:clamp(.73rem,.85vw,.92rem);
  font-weight:650;
  line-height:1.2;
  letter-spacing:.075em;
}
.stage-overline::before { content:""; width:22px; height:2px; background:currentColor }
.stage-copy .stage-chapter :is(h1,h2) {
  color:var(--stage-heading);
  font-size:clamp(3.65rem,6.3vw,7.8rem);
  font-weight:590;
  line-height:1.015;
  letter-spacing:-.055em;
  text-wrap:balance;
}
.stage-copy .stage-chapter h1 { font-size:clamp(4rem,6.75vw,8.1rem) }
.stage-chapter :is(h1,h2) span { color:var(--stage-brass) }
.stage-chapter > p:last-child {
  max-width:34ch;
  margin-top:clamp(16px,2.25svh,30px);
  color:var(--stage-body);
  font-size:clamp(.99rem,1.2vw,1.28rem);
  line-height:1.55;
  letter-spacing:-.01em;
}
.stage-actions {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px clamp(14px,2vw,30px);
  margin-top:clamp(19px,3.3svh,38px);
  pointer-events:auto;
}
.stage-actions a {
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:40px;
  font-size:clamp(.85rem,.98vw,1rem);
  font-weight:650;
  line-height:1.15;
}
.stage-skip {
  padding:0 13px;
  color:var(--stage-heading);
  border:1px solid var(--stage-muted);
  border-radius:2px;
}
.stage-skip span { color:var(--stage-brass); font-size:1.25em }
.watch-workshop { color:var(--stage-body) }
.watch-workshop i {
  display:grid;
  flex:none;
  place-items:center;
  width:19px;
  height:19px;
  border:1px solid var(--stage-muted);
  border-radius:50%;
}
.watch-workshop i::before {
  content:"";
  border-block:3px solid transparent;
  border-left:5px solid var(--stage-brass);
  margin-left:2px;
}
.stage-skip:hover { border-color:var(--stage-brass); background:#eee3cd0e }
.watch-workshop:hover { color:var(--stage-brass) }

.stage-foot {
  position:absolute;
  bottom:clamp(17px,3.3svh,44px);
  left:var(--gutter); right:var(--gutter);
  display:flex; gap:clamp(18px,3.6vw,74px); align-items:center;
}
.scroll-cue {
  display:inline-flex; align-items:center; gap:10px;
  color:var(--stage-muted);
  font-size:.79rem; font-weight:550; line-height:1.25; white-space:nowrap;
}
.scroll-cue i {
  display:block;
  position:relative;
  height:17px; width:9px;
}
.scroll-cue i::before {
  content:""; position:absolute;left:4px;top:1px;width:1px;height:13px;
  background:var(--stage-brass);
}
.scroll-cue i::after {
  content:"";position:absolute;bottom:3px;left:1px;width:7px;height:7px;
  border:solid var(--stage-brass);border-width:0 1px 1px 0;transform:rotate(45deg);
}
.product-study:not(.active) .scroll-cue { display:none }
.steps {display:flex; flex:1; gap:5px; align-items:center }
.steps button {
  position:relative;
  display:flex;
  flex:1 1 0;
  align-items:center;
  min-width:0;
  min-height:44px;
  padding:9px 0 2px;
  color:var(--stage-muted);
  background:none;
  border:0;
  text-align:left;
  font-size:clamp(.8rem,.98vw,1rem);
  font-weight:560;
}
.steps button::before, .steps button::after {
  content:"";
  position:absolute;left:0;right:0;top:1px;height:2px;
  background:#7180808a;
}
.steps button::after { transform:scaleX(0); transform-origin:left; background:var(--stage-brass) }
.steps button.passed::after { transform:none; opacity:.63 }
.steps button[aria-current] { color:var(--stage-heading); font-weight:750 }
.steps button[aria-current]::after { transform:none }
.active .steps button[aria-current]::after { transform:scaleX(max(.09,var(--step-progress,0))) }
.steps button:hover { color:var(--stage-brass) }
.steps button:focus-visible { outline-offset:0 }
@media (min-width:1001px) {
  .steps button:is([data-step="3"],[data-step="6"]) { margin-inline-start:clamp(7px,1.1vw,20px) }
}
@media (max-width:1100px) and (orientation:landscape) {
  .scroll-cue {display:none}
}
@media (max-width:900px) {
  .home { --mast-height:75px }
}
@media (max-width:700px) {
  .home { --mast-height:70px }
  .product-study.active { height:620svh }
}

/* In portrait the copy, product and chapter rail get distinct rows. */
@media (max-width:700px), (max-width:1000px) and (orientation:portrait) {
  .stage-inner {
    display:grid; grid-template-rows:auto minmax(0,1fr) auto;
    height:clamp(520px,calc(100svh - var(--mast-height)),1050px);
  }
  .stage-copy {
    grid-row:1;
    position:relative;top:auto;left:auto;
    width:auto;transform:none;
    padding:clamp(18px,3.4svh,42px) var(--gutter) 0;
  }
  .stage-overline { gap:9px; margin-bottom:11px; font-size:.76rem }
  .stage-overline::before { width:15px }
  .stage-copy .stage-chapter :is(h1,h2) {
    max-width:17ch;
    font-size:clamp(2.5rem,9.2vw,4.55rem);
    line-height:1.01;
  }
  .stage-copy .stage-chapter h1 { max-width:16ch; font-size:clamp(2.65rem,9.8vw,4.7rem) }
  .stage-chapter > p:last-child { max-width:40ch; margin-top:10px; font-size:clamp(.88rem,2.7vw,1.05rem); line-height:1.43 }
  .stage-actions { gap:5px 16px; margin-top:12px }
  .stage-actions a { min-height:44px; font-size:.82rem; gap:6px }
  .stage-skip { padding-inline:9px }
  .product-stage, .product-study.film .product-stage {
    grid-row:2; position:relative; inset:auto; width:100%; height:100%; min-height:0;
  }
  .product-study.film .product-stage video {
    top:50%; left:50%;
    width:min(100cqw,95cqh);
    aspect-ratio:45/64;
    mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent),
      linear-gradient(180deg,transparent,#000 20%,#000 82%,transparent);
  }
  .product-study.film .product-stage {
    mask-image:linear-gradient(180deg,transparent,#000 12%,#000 90%,transparent);
  }
  .stage-foot {
    grid-row:3;
    position:relative;inset:auto;display:flex;flex-direction:column-reverse;
    align-items:stretch;gap:2px;padding:0 var(--gutter) clamp(6px,1.8svh,16px);
  }
  .steps { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 8px }
  .steps button { min-height:44px;font-size:.79rem;padding:6px 0 2px }
  .scroll-cue {display:flex; font-size:.7rem;gap:6px}
  .scroll-cue i {scale:.8}
}
@media (max-width:375px), (max-width:700px) and (max-height:690px) {
  .stage-copy {padding-top:13px}
  .stage-overline {margin-bottom:7px;font-size:.7rem}
  .stage-copy .stage-chapter :is(h1,h2) {font-size:clamp(2rem,8.4vw,3.2rem)}
  .stage-chapter > p:last-child {font-size:.84rem;line-height:1.36; margin-top:7px}
  .stage-actions {margin-top:8px;gap:4px 9px}
  .stage-actions a {font-size:.77rem;min-height:34px}
}
@media (max-width:359px) {
  .stage-actions {column-gap:7px}
  .stage-skip {padding-inline:7px}
  .stage-skip span {display:none}
}
@media (max-height:590px) and (min-width:701px) {
  .home { --mast-height:0px }
  .home .mast {position:relative}
  .stage-copy .stage-chapter :is(h1,h2) {font-size:clamp(2.5rem,5.8vw,4.8rem)}
  .stage-overline {margin-bottom:8px}
  .stage-chapter > p:last-child {margin-top:10px;font-size:.9rem}
  .stage-actions {margin-top:10px}
  .stage-foot {bottom:8px}
}
@media (orientation:landscape) and (max-height:500px) {
  .home {--mast-height:0px}
  .home .mast {position:relative}
  .stage-inner {display:block;min-height:280px}
  .stage-copy {position:absolute;left:var(--gutter);top:43%;width:43%;padding:0;transform:translateY(-50%)}
  .stage-copy .stage-chapter :is(h1,h2) {font-size:clamp(1.8rem,4.8vw,3.4rem)}
  .stage-overline {margin-bottom:6px;font-size:.7rem}
  .stage-chapter > p:last-child {font-size:.76rem;line-height:1.35;margin-top:6px}
  .stage-actions {margin-top:8px;gap:4px 8px}
  .stage-actions a {font-size:.71rem;min-height:30px}
  .stage-foot {position:absolute;left:var(--gutter);right:var(--gutter);bottom:2px;padding:0}
  .steps {display:flex}
  .steps button {font-size:.7rem;min-height:40px}
  .scroll-cue {display:none}
  .product-stage {position:absolute;inset:0 0 10% auto;width:60%;height:auto}
  .product-study.film .product-stage {position:absolute;inset:0 0 8% auto;width:65%;height:auto}
}
@media (prefers-reduced-motion:no-preference) {
  .stage-chapter.current :is(h1,h2) {animation:bh-chapter-title .28s cubic-bezier(.2,.7,.3,1) both}
  @keyframes bh-chapter-title {from {transform:translateY(4px)} to {transform:translateY(0)}}
}
@media (scripting:none) {
  .steps, .scroll-cue {display:none}
}

.directory{background:#f4f2ed;color:var(--ink)}.directory-intro p{color:var(--body)}.directory-row,.directory-row:last-child{border-color:#b9b9b4}.row-view{color:#4b5260}.directory-intro h2 span,.directory-row:hover,.directory-row:hover .row-view{color:var(--bronze)}.journal{border-top:1px solid var(--rule)}
.piece-view{position:relative;aspect-ratio:1.32;background:radial-gradient(ellipse at 55% 26%,#42494d,#192127 77%);overflow:hidden}
.product-figure figcaption{display:flex;align-items:center;justify-content:space-between;gap:14px}.piece-toggle{font-size:.85rem;border:0;background:none;text-decoration:underline;text-underline-offset:4px;min-height:44px}

.workshop-film{padding-block:clamp(46px,6vw,100px);display:grid;grid-template-columns:.73fr 1.27fr;gap:var(--gutter);align-items:center;scroll-margin-top:var(--mast-height)}
.workshop-film h2{font-size:clamp(2.7rem,4.8vw,5.8rem);margin:16px 0}.workshop-film h2 span{color:var(--bronze)}.workshop-film video{width:100%;aspect-ratio:16/9;display:block;background:#171c1f}.workshop-film figcaption{margin-top:8px;color:var(--muted);font-size:.8rem}
@media (max-width:700px) { .workshop-film {grid-template-columns:1fr;gap:23px} }
