/* ============================================================
   Oboro — Architecture Studio
   Premium landing page — style.css
   ============================================================ */

:root {
  /* palette sampled from the renders: travertine cream, walnut, warm stone, cypress */
  --bg: #f3efe7;
  --bg-soft: #ebe5da;
  --ink: #1f1a15;
  --ink-soft: #4d4339;
  --mute: #7a6f63;
  --mute-2: #bfb5a8;
  --line: rgba(31, 26, 21, 0.14);
  --dark: #16120e;
  --dark-2: #1d1813;
  --paper: #f9f6f0;
  --accent: #8f9678;

  /* Sertepe brand squares */
  --sq1: #8a4c9e;
  --sq2: #4ba3d9;
  --sq3: #009b8c;
  --sq4: #77b043;
  --sq5: #f3a61b;
  --sq6: #e1502f;

  --font: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);

  --pad: clamp(20px, 4vw, 56px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* Native scrollbar is replaced by the site's own (pointer devices only) */
@media (hover: hover) and (pointer: fine) {
  html { scrollbar-width: none; }
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  transition: background-color 1.1s var(--ease-soft), color 1.1s var(--ease-soft);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html:has(body.is-locked), body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
ul { list-style: none; }
sup { font-size: 0.55em; letter-spacing: 0; }
figure { margin: 0; }

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

@media (hover: hover) and (pointer: fine) {
  ::-webkit-scrollbar { width: 0; height: 0; display: none; }
}

/* — bespoke scrollbar (built by JS, pointer devices only) —
   difference-blended so it stays legible over light and dark
   sections alike; driven from the same rAF pipeline as the
   smooth scroll, so it can never lag or jitter. */
.sb {
  position: fixed;
  top: 6px;
  right: 4px;
  bottom: 6px;
  width: 16px;
  z-index: 160;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-soft);
}

.sb.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.sb::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 2.5px;
  width: 1px;
  background: #e8e5dc;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity 0.35s var(--ease-soft);
}

.sb:hover::before,
.sb.is-dragging::before { opacity: 0.3; }

.sb__thumb {
  position: absolute;
  top: 0;
  right: 0;
  width: 3px;
  border-radius: 999px;
  background: #e8e5dc;
  mix-blend-mode: difference;
  transition: width 0.3s var(--ease-out);
  will-change: transform;
}

.sb:hover .sb__thumb,
.sb.is-dragging .sb__thumb { width: 7px; }

/* Film grain overlay (added via JS) */
.grain {
  position: fixed;
  inset: -10%;
  z-index: 150;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 1.1s steps(4) infinite;
}

@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(-1%, 2%); }
  100% { transform: translate(2%, -1%); }
}

/* ============================================================
   Preloader
   ============================================================ */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--dark);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1.15s var(--ease-expo);
}

.preloader.is-done { transform: translateY(-100%); }

.preloader__inner { overflow: hidden; }

.preloader__logo {
  font-size: clamp(32px, 5.2vw, 62px);
  font-weight: 600;
  letter-spacing: 0.26em;
  margin-right: -0.26em;
  display: inline-block;
  line-height: 1.1;
}

.preloader__strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: clamp(10px, 1.4vw, 18px);
  animation: fade-in 0.7s var(--ease-soft) 0.85s backwards;
}

.preloader__squares { display: flex; gap: clamp(4px, 0.5vw, 7px); }

.preloader__squares i {
  width: clamp(8px, 1vw, 13px);
  height: clamp(8px, 1vw, 13px);
  display: block;
}

.preloader__squares i:nth-child(1) { background: var(--sq1); }
.preloader__squares i:nth-child(2) { background: var(--sq2); }
.preloader__squares i:nth-child(3) { background: var(--sq3); }
.preloader__squares i:nth-child(4) { background: var(--sq4); }
.preloader__squares i:nth-child(5) { background: var(--sq5); }
.preloader__squares i:nth-child(6) { background: var(--sq6); }

.preloader__strip em {
  font-style: normal;
  font-size: clamp(10px, 1.2vw, 15px);
  font-weight: 500;
  letter-spacing: 0.42em;
  margin-right: -0.42em;
  color: rgba(243, 239, 231, 0.85);
}

.preloader.is-out .preloader__strip {
  animation: fade-out 0.3s var(--ease-soft) forwards;
}

.pl-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}

.pl-ch {
  display: inline-block;
  transform: translateY(112%);
  animation: line-up 1.05s var(--ease-expo) calc(var(--ci, 0) * 70ms + 0.15s) forwards;
  will-change: transform;
}

.pl-sup {
  font-size: 0.32em;
  font-weight: 400;
  animation: fade-in 0.6s var(--ease-soft) 0.95s backwards;
}

.preloader.is-out .pl-ch {
  animation: pl-out 0.6s var(--ease-expo) calc(var(--ci, 0) * 40ms) both;
}

.preloader.is-out .pl-sup { animation: fade-out 0.3s var(--ease-soft) forwards; }

.preloader__count {
  position: fixed;
  right: clamp(24px, 4vw, 56px);
  bottom: clamp(20px, 3vw, 44px);
  font-size: clamp(13px, 1.2vw, 16px);
  letter-spacing: 0.14em;
  color: var(--mute);
  font-variant-numeric: tabular-nums;
}

.preloader__bar {
  position: fixed;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: var(--bg);
  opacity: 0.85;
}

.preloader.is-out .preloader__count,
.preloader.is-out .preloader__bar,
.preloader.is-done .preloader__count,
.preloader.is-done .preloader__bar { opacity: 0; transition: opacity 0.3s; }

@keyframes pl-out {
  from { transform: translateY(0); }
  to { transform: translateY(-115%); }
}

@keyframes fade-out {
  to { opacity: 0; }
}

/* ============================================================
   Shared
   ============================================================ */

.section {
  position: relative;
  padding: clamp(70px, 9vw, 140px) var(--pad);
  max-width: 1680px;
  margin: 0 auto;
}

.section--full { position: relative; }

.index-mark {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--mute);
  display: inline-block;
}

.index-mark--light { color: rgba(243, 239, 231, 0.65); }

/* --- Buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 7px 8px 7px 22px;
  border-radius: 999px;
  transition: transform 0.5s var(--ease-out), background 0.45s var(--ease-out),
    color 0.45s var(--ease-out), border-color 0.45s var(--ease-out),
    translate 0.5s var(--ease-out);
}

.btn__circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  transition: background 0.45s var(--ease-out), color 0.45s var(--ease-out);
}

.btn__circle svg {
  width: 15px;
  height: 15px;
  transition: transform 0.5s var(--ease-expo);
}

.btn:hover .btn__circle svg { transform: translate(18px, -18px); }

.btn__circle::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  background: currentColor;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.5"><path d="M7 17L17 7M9 7h8v8"/></svg>') center / contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.5"><path d="M7 17L17 7M9 7h8v8"/></svg>') center / contain no-repeat;
  transform: translate(-18px, 18px);
  transition: transform 0.5s var(--ease-expo);
}

.btn:hover .btn__circle::after { transform: translate(0, 0); }

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn--light {
  background: var(--bg);
  color: var(--ink);
}
.btn--light .btn__circle { background: var(--ink); color: var(--bg); }
.btn--light:hover { background: #fff; }

.btn--dark {
  background: var(--ink);
  color: var(--bg);
}
.btn--dark .btn__circle { background: var(--bg); color: var(--ink); }
.btn--dark:hover { background: #000; }

.btn--outline {
  background: transparent;
  color: var(--bg);
  border: 1px solid rgba(243, 239, 231, 0.35);
}
.btn--outline .btn__circle { background: var(--bg); color: var(--dark); }
.btn--outline:hover { background: rgba(243, 239, 231, 0.08); border-color: rgba(243, 239, 231, 0.7); }

/* --- Mode pills --- */

.mode {
  font-size: 12.5px;
  letter-spacing: 0.03em;
  padding: 8px 18px;
  border-radius: 999px;
  color: rgba(243, 239, 231, 0.8);
  border: 1px solid rgba(243, 239, 231, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.45s var(--ease-out), color 0.45s var(--ease-out),
    border-color 0.45s var(--ease-out), transform 0.45s var(--ease-out),
    translate 0.5s var(--ease-out);
}

.mode:hover { border-color: rgba(243, 239, 231, 0.7); transform: translateY(-1px); }

.mode.is-active {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}

/* --- Icon buttons --- */

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(243, 239, 231, 0.35);
  color: var(--bg);
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.45s var(--ease-out), transform 0.45s var(--ease-out),
    border-color 0.45s var(--ease-out), color 0.45s var(--ease-out),
    translate 0.5s var(--ease-out);
}

.icon-btn svg { width: 16px; height: 16px; }

.icon-btn:hover {
  background: var(--bg);
  color: var(--dark);
  transform: translateY(-2px);
}

/* ============================================================
   Reveal system (JS-driven)
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 1s var(--ease-soft) var(--d, 0ms),
    transform 1.2s var(--ease-expo) var(--d, 0ms);
}

.reveal.is-inview { opacity: 1; transform: translateY(0); }

/* split lines */
.line-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.09em;
  margin-bottom: -0.09em;
}

.line-mask > .line-inner {
  display: block;
  transform: translateY(120%) rotate(2.4deg);
  transform-origin: 0 100%;
  transition: transform 1.3s var(--ease-expo) calc(var(--i, 0) * 95ms + var(--d, 0ms));
}

.is-inview .line-mask > .line-inner { transform: translateY(0) rotate(0); }

/* image curtain reveal */
.img-reveal {
  position: relative;
  overflow: hidden;
}

.img-reveal img {
  transform: scale(1.18);
  transition: transform 1.7s var(--ease-expo) var(--d, 0ms);
}

.img-reveal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg);
  transform-origin: top;
  transition: transform 1.25s var(--ease-expo) var(--d, 0ms);
  z-index: 2;
}

.img-reveal.is-inview img { transform: scale(1.03); }
.img-reveal.is-inview::after { transform: scaleY(0); }

/* scroll-scrubbed word reveal (opacity driven per-frame by JS) */
.w { display: inline-block; }
.scrub-words .w { opacity: 0.14; }

/* entrance keyframes */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(28px); }
}

@keyframes drop-in {
  from { opacity: 0; transform: translateY(-16px); }
}

@keyframes fade-in {
  from { opacity: 0; }
}

@keyframes line-up {
  from { transform: translateY(118%) rotate(2.5deg); }
  to { transform: translateY(0) rotate(0); }
}

@keyframes word-in {
  from { opacity: 0; transform: translateY(0.55em); filter: blur(7px); }
}

/* ============================================================
   Header
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  color: var(--bg);
  padding: 22px var(--pad);
  transition:
    background 0.55s var(--ease-soft),
    color 0.55s var(--ease-soft),
    padding 0.55s var(--ease-soft),
    transform 0.6s var(--ease-expo);
}

/* hairline under the solid state */
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transition: opacity 0.55s var(--ease-soft);
}

/* compact frosted bar once the hero is left behind */
.site-header.is-solid {
  color: var(--ink);
  background: rgba(243, 239, 231, 0.86);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
  backdrop-filter: blur(16px) saturate(1.08);
  padding: 13px var(--pad);
}

.site-header.is-solid::after { opacity: 0.14; }

/* over the fullscreen menu the header always reads light */
body.nav-open .site-header {
  color: var(--bg);
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body.nav-open .site-header::after { opacity: 0; }

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 60px);
  max-width: 1680px;
  margin: 0 auto;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 5px;
  line-height: 1;
  width: fit-content;
  transform-origin: left center;
  transition: scale 0.55s var(--ease-soft);
}

.site-header.is-solid .logo { scale: 0.86; }

.logo__word {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.3em;
  margin-right: -0.3em;
}

.logo__strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.logo__squares { display: flex; gap: 3.5px; }

.logo__squares i { width: 7px; height: 7px; display: block; }
.logo__squares i:nth-child(1) { background: var(--sq1); }
.logo__squares i:nth-child(2) { background: var(--sq2); }
.logo__squares i:nth-child(3) { background: var(--sq3); }
.logo__squares i:nth-child(4) { background: var(--sq4); }
.logo__squares i:nth-child(5) { background: var(--sq5); }
.logo__squares i:nth-child(6) { background: var(--sq6); }

.logo__strip em {
  font-style: normal;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.32em;
  margin-right: -0.32em;
  opacity: 0.85;
}

/* centered project wordmark — appears only in the compact scrolled bar,
   so it never doubles the hero's own title */
.header__project {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.42em;
  margin-right: -0.42em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s var(--ease-soft);
}

.site-header.is-solid .header__project { opacity: 0.85; }

body.nav-open .site-header .header__project { opacity: 0; }

.header__right {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
}

.header__tel {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  position: relative;
  padding: 3px 0;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.header__tel::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-expo);
}

.header__tel:hover { opacity: 1; }
.header__tel:hover::after { transform: scaleX(1); transform-origin: left; }

/* — Menü button: label swap + icon morph — */
.burger {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 4px 0;
}

.burger__label {
  display: block;
  overflow: hidden;
  height: 1.2em;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.2;
}

.burger__label-in {
  display: flex;
  flex-direction: column;
  transition: transform 0.55s var(--ease-expo);
}

body.nav-open .burger__label-in { transform: translateY(-50%); }

.burger__icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.burger__icon span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease-out), width 0.4s var(--ease-out);
}

/* Yalnız gerçek imleçte: iOS dokununca :hover'ı yapıştırıyor, ilk çizgi
   14px'e iniyor ve açık hâldeki X çarpık duruyordu (ölçüldü). */
@media (hover: hover) and (pointer: fine) {
  .burger:hover .burger__icon span:first-child { width: 14px; }
}
.burger__icon span { transform-origin: 50% 50%; }

/* — header entrance — */
body:not(.is-loaded) .logo,
body:not(.is-loaded) .header__project,
body:not(.is-loaded) .header__tel,
body:not(.is-loaded) .sound,
body:not(.is-loaded) .burger { opacity: 0; }

body.is-loaded .logo { animation: drop-in 0.9s var(--ease-expo) 0.35s backwards; }
body.is-loaded .header__project { animation: drop-in 0.9s var(--ease-expo) 0.5s backwards; }
body.is-loaded .header__tel { animation: drop-in 0.8s var(--ease-expo) 0.62s backwards; }
body.is-loaded .sound { animation: drop-in 0.8s var(--ease-expo) 0.67s backwards; }
body.is-loaded .burger { animation: drop-in 0.8s var(--ease-expo) 0.72s backwards; }

/* Once the load choreography has played, retire its animations so
   state toggles (menu open/close) can't restart them. */
body.entered .logo,
body.entered .header__project,
body.entered .header__tel,
body.entered .sound,
body.entered .burger { animation: none; }

/* — fullscreen menu state on the header — */
body.nav-open .site-header { z-index: 130; }

body.nav-open .burger__icon span:nth-child(1) {
  transform: translateY(3.25px) rotate(45deg);
  width: 22px;
}

body.nav-open .burger__icon span:nth-child(2) {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* ============================================================
   Lightbox gallery
   ============================================================ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 170;
  background: rgba(16, 15, 12, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-soft), visibility 0s linear 0.5s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.5s var(--ease-soft);
}

.lightbox__stage {
  position: relative;
  width: min(86vw, 1320px);
  height: min(76vh, 840px);
}

.lightbox.is-open .lightbox__stage {
  animation: rise-in 0.85s var(--ease-expo) 0.08s backwards;
}

.lightbox__stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.45s var(--ease-soft), transform 0.85s var(--ease-expo);
}

.lightbox__stage img.is-active {
  opacity: 1;
  transform: scale(1);
}

.lightbox__caption {
  position: absolute;
  bottom: clamp(20px, 3.5vh, 40px);
  left: 50%;
  translate: -50% 0;
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.lightbox__label { color: rgba(243, 239, 231, 0.85); }

.lightbox__count {
  color: rgba(243, 239, 231, 0.45);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
}

.lightbox__close {
  position: absolute;
  top: clamp(20px, 3.5vh, 38px);
  right: var(--pad);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(243, 239, 231, 0.3);
  transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out),
    translate 0.5s var(--ease-out);
}

.lightbox__close span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}

.lightbox__close span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }

.lightbox__close:hover {
  background: rgba(243, 239, 231, 0.12);
  border-color: rgba(243, 239, 231, 0.6);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(243, 239, 231, 0.3);
  color: var(--bg);
  display: grid;
  place-items: center;
  transition: background 0.4s var(--ease-out), color 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out);
}

.lightbox__nav svg { width: 18px; height: 18px; }

.lightbox__nav--prev { left: var(--pad); }
.lightbox__nav--next { right: var(--pad); }

.lightbox__nav:hover {
  background: var(--bg);
  color: var(--dark);
  border-color: var(--bg);
}

@media (max-width: 720px) {
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__nav--prev { left: 12px; }
  .lightbox__nav--next { right: 12px; }
  .lightbox__stage { width: 92vw; height: 64vh; }
}

/* ============================================================
   Fullscreen menu
   ============================================================ */

.menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  background: var(--dark);
  color: var(--bg);
  padding: clamp(88px, 13vh, 136px) var(--pad) 0;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  pointer-events: none;
  transition: clip-path 0.55s var(--ease-expo), visibility 0s linear 0.55s;
  overflow: hidden;
}

.menu.is-open {
  clip-path: inset(0);
  visibility: visible;
  pointer-events: auto;
  transition: clip-path 0.85s var(--ease-expo);
}

.menu__mark {
  position: absolute;
  left: 50%;
  bottom: -0.18em;
  transform: translateX(-50%);
  font-size: clamp(110px, 18vw, 330px);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  color: rgba(243, 239, 231, 0.04);
  pointer-events: none;
  white-space: nowrap;
}

.menu__inner {
  position: relative;
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr minmax(260px, 380px);
  gap: clamp(40px, 7vw, 130px);
  overflow-y: auto;
  scrollbar-width: none;
}

.menu__inner::-webkit-scrollbar { display: none; }

.menu__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(243, 239, 231, 0.45);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(14px, 2.4vh, 30px);
}

.menu__route {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(243, 239, 231, 0.8);
  position: relative;
  width: fit-content;
  transition: color 0.3s;
}

.menu__route::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.menu__route svg { width: 12px; height: 12px; }
.menu__route:hover { color: #fff; }
.menu__route:hover::after { opacity: 1; }

.menu__foot-legal { display: flex; gap: 18px; }

.menu__foot-legal button {
  font: inherit;
  color: inherit;
  padding: 0;
  transition: color 0.3s;
}

.menu__foot-legal button:hover { color: var(--bg); }

.menu__label::after {
  content: "";
  height: 1px;
  flex: 0 0 90px;
  background: rgba(243, 239, 231, 0.22);
}

.menu:not(.is-open) .menu__label { opacity: 0; }
.menu.is-open .menu__label { animation: fade-in 0.7s var(--ease-soft) 0.3s backwards; }

.menu__nav { display: flex; flex-direction: column; }

.menu__nav a {
  position: relative;
  display: block;
  border-bottom: 1px solid rgba(243, 239, 231, 0.1);
  overflow: hidden;
  transition: opacity 0.4s var(--ease-out);
}

.menu__row {
  display: flex;
  align-items: baseline;
  gap: clamp(16px, 2vw, 30px);
  padding: clamp(8px, 1.5vh, 18px) 0;
  transition: padding-left 0.5s var(--ease-expo), opacity 0.3s var(--ease-soft);
}

.menu:not(.is-open) .menu__row { opacity: 0; }

.menu.is-open .menu__row {
  animation: menu-rise 0.85s var(--ease-expo) calc(var(--mi, 0) * 60ms + 0.25s) backwards;
}

@keyframes menu-rise {
  from { opacity: 0; transform: translateY(70%); }
}

.menu__num {
  font-size: 12px;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
  color: rgba(243, 239, 231, 0.4);
  min-width: 48px;
  transition: color 0.35s;
}

.menu__text {
  /* sized to the viewport height so all seven rows always fit above the foot */
  font-size: clamp(28px, min(4.4vw, 5.9vh), 58px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: rgba(243, 239, 231, 0.88);
  transition: color 0.35s;
}

.menu__text sup { font-size: 0.35em; font-weight: 400; color: rgba(243, 239, 231, 0.45); }

.menu__nav a::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 20px;
  height: 20px;
  translate: 14px -50%;
  opacity: 0;
  background: currentColor;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.5"><path d="M7 17L17 7M9 7h8v8"/></svg>') center / contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.5"><path d="M7 17L17 7M9 7h8v8"/></svg>') center / contain no-repeat;
  transition: opacity 0.35s var(--ease-out), translate 0.45s var(--ease-expo);
}

/* hovering one link softly dims its siblings */
@media (hover: hover) and (pointer: fine) {
  .menu__nav:hover a { opacity: 0.35; }
  .menu__nav a:hover { opacity: 1; }
  .menu__nav a:hover::after { opacity: 1; translate: 0 -50%; }
  .menu__nav a:hover .menu__row { padding-left: 18px; }
  .menu__nav a:hover .menu__text { color: #fff; }
  .menu__nav a:hover .menu__num { color: rgba(243, 239, 231, 0.65); }
}

/* keyboard parity with hover */
.menu__nav a:focus-visible { outline: none; }
.menu__nav a:focus-visible::after { opacity: 1; translate: 0 -50%; }
.menu__nav a:focus-visible .menu__row { padding-left: 18px; }
.menu__nav a:focus-visible .menu__text { color: #fff; }
.menu__contact a:focus-visible,
.menu__route:focus-visible { outline: none; color: #fff; }
.menu__contact a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.menu__route:focus-visible::after { opacity: 1; }

/* on close, content fades during the first beat of the curtain */
.menu__label,
.menu__right > *,
.menu__foot { transition: opacity 0.3s var(--ease-soft); }

.menu__right {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3.2vh, 34px);
  padding-bottom: 24px;
}

.menu:not(.is-open) .menu__right > * { opacity: 0; }

.menu.is-open .menu__right > * {
  animation: rise-in 0.85s var(--ease-expo) calc(0.45s + var(--ri, 0) * 100ms) backwards;
}

.menu__right > :nth-child(1) { --ri: 0; }
.menu__right > :nth-child(2) { --ri: 1; }
.menu__right > :nth-child(3) { --ri: 2; }

.menu__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.menu__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.07);
  transition: opacity 0.55s var(--ease-soft), transform 1.3s var(--ease-expo);
}

.menu__media img.is-active {
  opacity: 1;
  transform: scale(1);
}

.menu__studio h3,
.menu__contact h3 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243, 239, 231, 0.45);
  margin-bottom: 10px;
}

.menu__studio p {
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(243, 239, 231, 0.72);
}

.menu__studio p + p { margin-top: 10px; }

.menu__contact { display: flex; flex-direction: column; }

.menu__contact a {
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(243, 239, 231, 0.85);
  width: fit-content;
  position: relative;
  padding: 3px 0;
  transition: color 0.3s;
}

.menu__contact a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-expo);
}

.menu__contact a:hover { color: #fff; }
.menu__contact a:hover::after { transform: scaleX(1); transform-origin: left; }

.menu__foot {
  position: relative;
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 16px 0 18px;
  border-top: 1px solid rgba(243, 239, 231, 0.12);
  font-size: 11.5px;
  color: rgba(243, 239, 231, 0.5);
}

.menu:not(.is-open) .menu__foot { opacity: 0; }
.menu.is-open .menu__foot { animation: fade-in 0.8s var(--ease-soft) 0.65s backwards; }

.menu__foot-place span:not(:empty)::before { content: " — "; }

.menu__foot-social { display: flex; gap: 18px; }

.menu__foot-social a { transition: color 0.3s; }
.menu__foot-social a:hover { color: var(--bg); }

@media (max-width: 880px) {
  .menu { padding-top: 84px; }
  .menu__inner { grid-template-columns: 1fr; gap: 34px; }
  .menu__media { display: none; }
  .menu__right { padding-bottom: 12px; gap: 20px; }
  .menu__text { font-size: clamp(26px, 7vw, 38px); }
  .menu__foot { padding: 14px 0 16px; gap: 12px 20px; }
  .menu__foot-legal { display: none; }
}

/* ============================================================
   Hero — [01]
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--bg);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__media img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 2.2s var(--ease-expo);
  will-change: transform;
}

body.is-loaded .hero__media img { transform: scale(1); }

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(24, 22, 18, 0.58) 0%, rgba(24, 22, 18, 0.16) 34%, rgba(24, 22, 18, 0.12) 58%, rgba(24, 22, 18, 0.58) 100%),
    radial-gradient(120% 90% at 18% 88%, rgba(20, 18, 14, 0.35), transparent 55%);
}

.hero__leaves { display: none; }

/* Mobil: iOS araç çubuğu küçülünce görünür alan büyür (svh → lvh); bölüm
   svh'de kalınca altından sonraki açık bölüm görünüyordu (iPhone'da ölçüldü).
   Bölüm en büyük görünüme uzar, içerik ilk katlama çizgisine çapalı kalır —
   yeniden akış yok, açılan boşluk görsel olur. Desteklemeyen tarayıcıda
   calc düşer, hiçbir şey değişmez. */
@media (max-width: 880px) {
  .hero { min-height: 100lvh; }
  .hero__content { margin-bottom: calc(100lvh - 100svh); }
}

.hero__content {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 0 var(--pad) clamp(34px, 4.5vw, 60px);
  max-width: 1680px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.hero__index {
  position: absolute;
  top: -34vh;
  right: var(--pad);
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(243, 239, 231, 0.82);
  margin-bottom: clamp(16px, 2.2vw, 30px);
}

.hero__eyebrow::before {
  content: "";
  width: 44px;
  height: 1px;
  background: rgba(243, 239, 231, 0.55);
  transform-origin: left;
}

.hero__title {
  font-size: clamp(52px, 8.2vw, 138px);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.hero__sub {
  margin-top: clamp(18px, 2vw, 28px);
  font-size: clamp(13px, 1.05vw, 15.5px);
  line-height: 1.65;
  color: rgba(243, 239, 231, 0.78);
  max-width: 46ch;
}

.hero__bottom {
  margin-top: clamp(34px, 4vw, 58px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

/* — real numbers instead of decorative pills — */
.hero__stats {
  display: flex;
  gap: clamp(18px, 2.6vw, 46px);
  flex-wrap: wrap;
}

.hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: clamp(14px, 1.6vw, 22px);
  border-left: 1px solid rgba(243, 239, 231, 0.3);
}

.hero__stats strong {
  font-size: clamp(15px, 1.5vw, 21px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
}

.hero__stats span {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243, 239, 231, 0.62);
}

/* — hero entrance choreography — */
.hero__title .line-inner { transition: none; }

body:not(.is-loaded) .hero__title .line-inner {
  transform: translateY(118%) rotate(2.5deg);
}

body.is-loaded .hero__title .line-inner {
  animation: line-up 1.55s var(--ease-expo) calc(var(--i, 0) * 140ms + 0.3s) backwards;
  transform: none;
}

body:not(.is-loaded) .hero__sub .w { opacity: 0; }

body.is-loaded .hero__sub .w {
  animation: word-in 0.8s var(--ease-expo) calc(var(--wi, 0) * 30ms + 0.95s) backwards;
}

body:not(.is-loaded) .hero__bottom,
body:not(.is-loaded) .hero__eyebrow,
body:not(.is-loaded) .hero__index { opacity: 0; }

body.is-loaded .hero__eyebrow { animation: fade-in 1s var(--ease-soft) 0.2s backwards; }
body.is-loaded .hero__eyebrow::before { animation: line-draw 1.1s var(--ease-expo) 0.25s backwards; }
body.is-loaded .hero__bottom .btn { animation: rise-in 1s var(--ease-expo) 1.25s backwards; }
body.is-loaded .hero__stats li { animation: rise-in 0.85s var(--ease-expo) calc(1.4s + var(--si, 0) * 90ms) backwards; }
body.is-loaded .hero__index { animation: fade-in 1.2s var(--ease-soft) 1.8s backwards; }

@keyframes line-draw {
  from { transform: scaleX(0); }
}

/* slow perpetual breath on the hero image (after the entrance) */
body.is-loaded .hero__media {
  animation: hero-drift 36s ease-in-out 2.8s infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1); }
  to { transform: scale(1.045); }
}

/* ============================================================
   Manifesto — [02]
   ============================================================ */

.manifesto__title {
  margin-top: clamp(28px, 3.5vw, 52px);
  font-size: clamp(28px, 3.6vw, 56px);
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: -0.02em;
  max-width: 31ch;
}

.manifesto__title .ink,
.manifesto__title .mute { display: block; }

.manifesto__title .mute {
  color: #8f8478;
  margin-top: 0.22em;
}

.manifesto__grid {
  margin-top: clamp(56px, 7vw, 110px);
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
}

.manifesto__copy p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 40ch;
}

.manifesto__copy .btn { margin-top: 30px; }

.manifesto__img--a { align-self: start; margin-top: -10%; }
.manifesto__img--a .slides__stage { aspect-ratio: 4 / 2.9; }
.manifesto__img--b .slides__stage { aspect-ratio: 4 / 3.4; }

/* — auto-cycling slide stage: two stacked layers crossfade, the live
     layer drifts in almost imperceptibly — */
.slides { cursor: pointer; }

.slides__stage {
  position: relative;
  overflow: hidden;
  width: 100%;
}

:root { --slide-ms: 4000ms; }

/* every layer is always in motion: the incoming frame settles from a
   gentle zoom while it appears, the outgoing frame eases back out as it
   fades — nothing ever snaps */
.slides__stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  scale: 1.06;
  transition: opacity 2.2s var(--ease-soft), scale 9s linear;
}

.slides__stage img.is-active {
  opacity: 1;
  scale: 1;
}

/* rhythm line: fills over one interval, pauses while hovered */
.slides__bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1.5px;
  width: 100%;
  z-index: 3;
  background: rgba(255, 255, 255, 0.6);
  transform: scaleX(0);
  transform-origin: left;
}

.slides__bar.is-run { animation: slide-bar var(--slide-ms) linear forwards; }
.slides.is-paused .slides__bar { animation-play-state: paused; }

@keyframes slide-bar {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.slides figcaption { transition: opacity 0.6s var(--ease-soft); }
.slides.is-swapping figcaption { opacity: 0; }

.slides:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.manifesto__img figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--mute);
}

.manifesto__img figcaption::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--mute-2);
}

/* — project spec sheet — */
.spec__label {
  margin-top: clamp(56px, 7vw, 100px);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  display: flex;
  align-items: center;
  gap: 14px;
}

.spec__label::after {
  content: "";
  height: 1px;
  flex: 0 0 90px;
  background: var(--line);
}

.spec {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(32px, 6vw, 96px);
}

.spec__row {
  display: grid;
  grid-template-columns: 22px minmax(110px, 0.65fr) 1.35fr;
  gap: 18px;
  align-items: start;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.5s var(--ease-expo);
}

@media (hover: hover) and (pointer: fine) { .spec__row:hover { padding-left: 6px; } }

.spec__icon {
  width: 22px;
  height: 22px;
  color: var(--mute-2);
  transition: color 0.4s var(--ease-out);
}

.spec__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* icons draw themselves in as the sheet reveals */
.spec__icon path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.1s var(--ease-soft) calc(var(--ri, 0) * 70ms + 0.3s);
}

.spec.is-inview .spec__icon path { stroke-dashoffset: 0; }

.spec dt {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  padding-top: 4px;
  transition: color 0.4s var(--ease-out);
}

.spec dd {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  padding-top: 1px;
}

.spec__row:hover .spec__icon,
.spec__row:hover dt { color: var(--ink); }

.spec:not(.is-inview) .spec__row { opacity: 0; }

.spec.is-inview .spec__row {
  animation: rise-in 0.8s var(--ease-expo) calc(var(--ri, 0) * 70ms) backwards;
}

.spec__row:nth-child(1) { --ri: 0; }
.spec__row:nth-child(2) { --ri: 1; }
.spec__row:nth-child(3) { --ri: 2; }
.spec__row:nth-child(4) { --ri: 3; }
.spec__row:nth-child(5) { --ri: 4; }
.spec__row:nth-child(6) { --ri: 5; }
.spec__row:nth-child(7) { --ri: 6; }
.spec__row:nth-child(8) { --ri: 7; }
.spec__row:nth-child(9) { --ri: 8; }
.spec__row:nth-child(10) { --ri: 9; }

/* ============================================================
   Konum — [03]
   ============================================================ */

.konum__grid {
  margin-top: clamp(28px, 3.5vw, 52px);
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) 1.25fr;
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
}

.konum__title {
  font-size: clamp(30px, 3.4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.konum__lead {
  margin-top: 20px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 46ch;
}

.konum__dist {
  margin-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--line);
}

.konum__dist li {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.konum__dist strong {
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.konum__dist span {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.konum__dist:not(.is-inview) li { opacity: 0; }

.konum__dist.is-inview li {
  animation: rise-in 0.8s var(--ease-expo) calc(var(--ri, 0) * 90ms) backwards;
}

.konum__dist li:nth-child(1) { --ri: 0; }
.konum__dist li:nth-child(2) { --ri: 1; }
.konum__dist li:nth-child(3) { --ri: 2; }
.konum__dist li:nth-child(4) { --ri: 3; }
.konum__dist li:nth-child(5) { --ri: 4; }
.konum__dist li:nth-child(6) { --ri: 5; }

.konum__office { margin-top: clamp(24px, 3vw, 36px); }

.konum__office h3 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 10px;
}

.konum__office p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.konum__maplink {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
}

.konum__maplink svg { width: 13px; height: 13px; }

.konum__maplink::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.5s var(--ease-expo);
}

.konum__maplink:hover::after {
  transform: scaleX(0);
  transform-origin: right;
}

.konum__map {
  background: transparent;
  border: 0;
  padding: 0;
}

/* the map sits edge to edge in a soft rounded frame, like a native map */
.konum__mapwrap {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(31, 26, 21, 0.07), 0 30px 70px -40px rgba(31, 26, 21, 0.35);
  isolation: isolate;
}

.konum__mapwrap::after {
  /* faint atmospheric vignette at the edges */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(31, 26, 21, 0) 60%, rgba(31, 26, 21, 0.05) 100%);
}

.konum__mapwrap img {
  display: block;
  width: 100%;
  height: auto;
}

.konum__map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* — hover-linked routes: a real driving route draws itself from
     Nextopia to the place being hovered in the distance list — */
.map-route {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transition: stroke-dashoffset 1.1s var(--ease-expo), opacity 0.3s var(--ease-soft);
}

.map-route--sea { stroke-dasharray: 0.03 0.02; }

.map-route.is-hot {
  stroke-dashoffset: 0;
  opacity: 1;
}

.map-route--sea.is-hot { stroke-dashoffset: 0; }

/* cartographic halo: every label knocks the lines out beneath it */
.konum__map text {
  paint-order: stroke;
  stroke: rgba(246, 244, 239, 0.92);
  stroke-width: 12px;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.map-place circle { stroke-width: 2.2px; }

/* travel time appears beside a marker only while it is hot */
.map-time {
  opacity: 0;
  transition: opacity 0.35s var(--ease-soft);
}

.map-place.is-hot .map-time { opacity: 1; }
.map-place { cursor: default; }

/* secondary landmarks: present on the map, absent from the list */
.map-place--minor { opacity: 0.72; }
.map-place--minor circle { stroke-width: 1.8px; }
.map-place--minor text { font-size: 21px; fill: #4a4944; }

.map-place { transition: opacity 0.4s var(--ease-soft); }
.map-place circle { fill: var(--paper); transition: fill 0.35s var(--ease-out), r 0.35s var(--ease-out); }
.map-place text { transition: opacity 0.35s var(--ease-soft); }

.konum__map.has-hot .map-place:not(.is-hot) { opacity: 0.35; }
.konum__map.has-hot .map-base { opacity: 0.55; transition: opacity 0.4s var(--ease-soft); }
.map-place.is-hot circle { fill: #2a2a26; r: 10; }
.map-place.is-hot text { font-weight: 600; }

.konum__dist li { cursor: default; transition: padding-left 0.45s var(--ease-expo); }
/* Dokunmatikte konumlar birer düğmedir: dokunma parlaması kapalı, çift
   dokunma büyütmesi kapalı (300 ms gecikme yok). */
@media (hover: none), (pointer: coarse) {
  .konum__dist li, .map-place { cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
}
.konum__dist li.is-hot { padding-left: 8px; }
.konum__dist li.is-hot strong { color: var(--ink); }
.konum__dist li.is-hot span { color: var(--ink); }

/* the Nextopia pin breathes once the map has drawn itself */
.map-pulse {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
}

.konum__map.is-inview .map-pulse {
  animation: map-pulse 3.2s var(--ease-soft) 2.4s infinite;
}

@keyframes map-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}

.konum__map figcaption {
  margin-top: 14px;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--mute);
}

@media (max-width: 900px) {
  .konum__grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .spec { grid-template-columns: 1fr; }
}

/* the trust band, when it lives in "Neden Sertepe" */
.purpose__facts { margin-top: clamp(36px, 4.5vw, 64px); }

/* — credentials band — */
.manifesto__facts {
  margin-top: clamp(56px, 7vw, 100px);
  border-top: 1px solid var(--line);
  padding-top: clamp(28px, 3.5vw, 46px);
  display: flex;
  gap: clamp(36px, 7vw, 120px);
  flex-wrap: wrap;
}

.manifesto__facts li {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.manifesto__facts strong {
  font-size: clamp(30px, 3.4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.manifesto__facts span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

.manifesto__facts:not(.is-inview) li { opacity: 0; }

.manifesto__facts.is-inview li {
  animation: rise-in 0.9s var(--ease-expo) calc(var(--fi, 0) * 120ms) backwards;
}

.manifesto__facts li:nth-child(1) { --fi: 0; }
.manifesto__facts li:nth-child(2) { --fi: 1; }
.manifesto__facts li:nth-child(3) { --fi: 2; }

/* ============================================================
   Collection — [03]
   ============================================================ */

.collection__stage {
  position: relative;
  margin-top: clamp(40px, 5vw, 80px);
  min-height: clamp(480px, 56vw, 820px);
}

.c-img {
  position: absolute;
  overflow: hidden;
  cursor: pointer;
}

.c-img img { width: 100%; height: 100%; object-fit: cover; }

@media (hover: hover) and (pointer: fine) {
.c-img:hover img {
  transform: scale(1.07);
  transition-duration: 0.9s;
}
}

.c-img:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.c-img figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 3;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(20, 18, 14, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 7px 13px;
  border-radius: 999px;
  opacity: 0;
  translate: 0 8px;
  transition: opacity 0.4s var(--ease-out), translate 0.5s var(--ease-expo);
  pointer-events: none;
  white-space: nowrap;
}

.c-img:hover figcaption,
.c-img:focus-visible figcaption {
  opacity: 1;
  translate: 0 0;
}

.c-img--1 { left: 6%;  top: 0;    width: 26%; aspect-ratio: 4 / 3; }
.c-img--2 { left: 13%; top: 30%;  width: 23%; aspect-ratio: 4 / 3.2; z-index: 2; }
.c-img--3 { right: 7%; top: 6%;   width: 27%; aspect-ratio: 4 / 2.7; }
.c-img--4 { right: 15%; top: 48%; width: 19%; aspect-ratio: 4 / 4.4; z-index: 2; }
.c-img--5 { left: 31%; top: 60%;  width: 15%; aspect-ratio: 4 / 4.6; }

.collection__title {
  position: absolute;
  left: 50%;
  top: 40%;
  translate: -50% 0;
  text-align: center;
  font-size: clamp(26px, 2.6vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  z-index: 3;
  width: max-content;
  max-width: 90%;
}

.collection__note {
  position: absolute;
  font-size: 12px;
  line-height: 1.5;
  color: var(--mute);
  letter-spacing: 0.02em;
}

.collection__note--right { right: 0; top: 43%; text-align: right; }
.collection__note--bl { left: 6%; bottom: 0; }
.collection__note--br { right: 8%; bottom: 0; }

/* — gallery CTA, bottom center of the stage — */
.collection__more {
  position: absolute;
  left: 50%;
  bottom: 0;
  translate: -50% 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding-bottom: 4px;
  cursor: pointer;
}

.collection__more sup { color: var(--mute); }

.collection__more svg { width: 13px; height: 13px; }

.collection__more::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.5s var(--ease-expo);
}

.collection__more:hover::after {
  transform: scaleX(0);
  transform-origin: right;
}

/* ============================================================
   Featured — [04]
   ============================================================ */

.featured {
  position: relative;
  min-height: 108vh;
  color: var(--bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 3.5vw, 52px) var(--pad);
}

.featured__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.featured__media img {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
  opacity: 0;
  transition: opacity 0.9s var(--ease-soft);
}

.featured__media img.is-active { opacity: 1; }

.featured__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 12, 8, 0.55) 0%, rgba(14, 12, 8, 0.12) 35%, rgba(14, 12, 8, 0.12) 60%, rgba(14, 12, 8, 0.62) 100%);
}

.featured__head,
.featured__foot { position: relative; z-index: 1; }

.featured__index,
.featured__toggle,
.featured__eye { z-index: 2; }

.featured__index { position: absolute; top: clamp(28px, 3.5vw, 52px); left: var(--pad); }

.featured__toggle {
  position: absolute;
  top: clamp(28px, 3.5vw, 52px);
  right: var(--pad);
  display: flex;
  gap: 8px;
}

.featured__head { margin-top: clamp(48px, 6vw, 90px); }

.featured__title {
  font-size: clamp(34px, 4.2vw, 66px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.featured__meta {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(243, 239, 231, 0.75);
}

/* — scene swap: copy fades down/up while the image crossfades — */
.featured .featured__meta {
  transition: opacity 0.4s var(--ease-soft), transform 1.2s var(--ease-expo) var(--d, 0ms);
}

.featured .featured__caption {
  transition: opacity 0.4s var(--ease-soft);
}

.featured.is-swapping .featured__meta,
.featured.is-swapping .featured__caption { opacity: 0; }

.featured__eye {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(243, 239, 231, 0.5);
  display: grid;
  place-items: center;
  color: var(--bg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.6s var(--ease-expo), background 0.45s, color 0.45s,
    translate 0.5s var(--ease-out);
}

.featured__eye svg { width: 22px; height: 22px; }

.featured__eye:hover {
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--bg);
  color: var(--dark);
}

.featured__eye:not(.is-inview) { opacity: 0; }

.featured__eye.is-inview {
  animation: eye-in 1.1s var(--ease-expo) 0.15s backwards;
}

@keyframes eye-in {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.55); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

.featured__eye::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(243, 239, 231, 0.45);
  animation: eye-pulse 3s var(--ease-soft) 1.6s infinite;
  pointer-events: none;
}

.featured__eye:hover::after { animation: none; opacity: 0; }

@keyframes eye-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  65% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

.featured__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.featured__caption {
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(243, 239, 231, 0.82);
  max-width: 40ch;
}

.featured__actions { display: flex; gap: 10px; }

/* ============================================================
   Offer — [05]
   ============================================================ */

.offer__grid {
  margin-top: clamp(28px, 3.5vw, 52px);
  display: grid;
  grid-template-columns: minmax(300px, 480px) 1fr;
  gap: clamp(40px, 6vw, 110px);
}

.offer__title {
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.offer__sub {
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.offer__left {
  position: sticky;
  top: 110px;
  align-self: start;
}

.offer__ask {
  margin-top: clamp(28px, 3.5vw, 44px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  width: fit-content;
}

.offer__ask::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.5s var(--ease-expo);
}

.offer__ask:hover::after { transform: scaleX(0); transform-origin: right; }
.offer__ask svg { width: 13px; height: 13px; }

.services { border-top: 1px solid var(--line); }

.service { border-bottom: 1px solid var(--line); }

.service__head {
  display: flex;
  align-items: baseline;
  gap: clamp(20px, 3vw, 48px);
  width: 100%;
  text-align: left;
  padding: clamp(18px, 2vw, 28px) 8px;
  cursor: pointer;
  position: relative;
  transition: padding-left 0.55s var(--ease-expo);
}

.service__head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.55s var(--ease-expo);
  z-index: 0;
}

@media (hover: hover) and (pointer: fine) {
.service:not(.is-open) .service__head:hover::before {
  transform: scaleY(1);
  transform-origin: top;
}

.service__head > * { position: relative; z-index: 1; transition: color 0.4s var(--ease-out); }

.service:not(.is-open) .service__head:hover { padding-left: 22px; }
.service:not(.is-open) .service__head:hover > * { color: var(--bg); }
}

.service__head:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}

.service__num {
  font-size: 14px;
  color: var(--mute);
  min-width: 44px;
}

.service__name {
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--mute-2);
  transition: color 0.4s var(--ease-out);
}

.service.is-open .service__name,
.service.is-open .service__num { color: var(--ink); }

/* expand indicator: + rotating into × */
.service__plus {
  margin-left: auto;
  align-self: center;
  width: 14px;
  height: 14px;
  position: relative;
  color: var(--mute);
  rotate: 0deg;
  transition: rotate 0.55s var(--ease-expo), color 0.4s var(--ease-out);
}

.service__plus::before,
.service__plus::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.service__plus::before {
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
  margin-top: -0.75px;
}

.service__plus::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1.5px;
  margin-left: -0.75px;
}

.service.is-open .service__plus {
  rotate: 45deg;
  color: var(--ink);
}

/* — expanding detail panel (0fr → 1fr height animation) — */
.service__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.75s var(--ease-expo);
}

.service.is-open .service__panel { grid-template-rows: 1fr; }

.service__panel-in {
  overflow: hidden;
  min-height: 0;
}

.service:not(.is-open) .service__panel-in { visibility: hidden; transition: visibility 0s linear 0.75s; }
.service.is-open .service__panel-in { visibility: visible; transition: none; }

.service__detail {
  display: grid;
  grid-template-columns: 1.5fr minmax(180px, 260px);
  gap: clamp(24px, 3.5vw, 56px);
  align-items: start;
  padding: 4px 8px clamp(24px, 2.8vw, 38px);
  padding-left: calc(8px + 44px + clamp(20px, 3vw, 48px));
}

.service__detail > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s var(--ease-soft), transform 0.6s var(--ease-expo);
}

.service.is-open .service__detail > * {
  opacity: 1;
  transform: none;
  transition-delay: 0.18s;
}

.service__detail p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 48ch;
}

.service__scope {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.service__scope li {
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--mute);
  display: flex;
  align-items: center;
  gap: 12px;
}

.service__scope li::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--mute-2);
}

/* scope rows drift in one after another once the panel opens */
.service__scope li {
  opacity: 0;
  translate: 0 6px;
  transition: opacity 0.4s var(--ease-soft), translate 0.55s var(--ease-expo);
}

.service.is-open .service__scope li {
  opacity: 1;
  translate: 0 0;
}

.service.is-open .service__scope li:nth-child(1) { transition-delay: 0.26s; }
.service.is-open .service__scope li:nth-child(2) { transition-delay: 0.33s; }
.service.is-open .service__scope li:nth-child(3) { transition-delay: 0.4s; }
.service.is-open .service__scope li:nth-child(4) { transition-delay: 0.47s; }
.service.is-open .service__scope li:nth-child(5) { transition-delay: 0.54s; }

.service__link {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  width: fit-content;
}

.service__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.5s var(--ease-expo);
}

.service__link:hover::after {
  transform: scaleX(0);
  transform-origin: right;
}

.service__link svg { width: 13px; height: 13px; transition: translate 0.45s var(--ease-expo); }
.service__link:hover svg { translate: 4px 0; }
.service__link sup { font-size: 10px; color: var(--mute); margin-left: 2px; }

.service__detail figure {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.service__detail figure:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.service__detail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.14);
  transition: transform 1.5s var(--ease-expo) 0.12s;
}

.service.is-open .service__detail img { transform: scale(1); }

.service__detail figure:hover img {
  transform: scale(1.06);
  transition-duration: 0.9s;
  transition-delay: 0s;
}

/* — service rows entrance (animation keeps hover transitions intact) — */
.services:not(.is-inview) .service { opacity: 0; }

.services.is-inview .service {
  animation: rise-in 0.95s var(--ease-expo) calc(var(--si, 0) * 95ms) backwards;
}

.service:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}

.service:nth-child(1) { --si: 0; }
.service:nth-child(2) { --si: 1; }
.service:nth-child(3) { --si: 2; }
.service:nth-child(4) { --si: 3; }
.service:nth-child(5) { --si: 4; }
.service:nth-child(6) { --si: 5; }
.service:nth-child(7) { --si: 6; }

.service__detail figure { position: relative; }

.service__detail figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bg);
  opacity: 0;
  translate: 0 4px;
  transition: opacity 0.35s var(--ease-soft), translate 0.45s var(--ease-expo);
}

.service__detail figcaption::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  border: 1px solid var(--bg);
  margin-right: 8px;
  vertical-align: 1px;
}

.service__detail figure:hover figcaption,
.service__detail figure:focus-visible figcaption { opacity: 1; translate: 0 0; }

.offer__note {
  margin-top: 26px;
  font-size: 12px;
  color: var(--mute);
  text-align: right;
}

/* ============================================================
   Purpose — [06]
   ============================================================ */

.purpose__head {
  margin-top: clamp(28px, 3.5vw, 52px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.purpose__title {
  font-size: clamp(30px, 3.4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.purpose__sub {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* the storefront sits directly on the page: its ground line is the divider
   above the three columns */
/* invitation row above the sales-office drawing */
.purpose__invite {
  margin-top: clamp(28px, 3.5vw, 52px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(24px, 4vw, 64px);
  flex-wrap: wrap;
}

.purpose__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 6px;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--mute-2);
}
.btn--ghost .btn__circle { background: var(--ink); color: var(--bg); }
.btn--ghost:hover { border-color: var(--ink); }

.purpose__drawing {
  position: relative;
  margin-top: clamp(36px, 4.5vw, 72px);
  background: transparent;
  border: 0;
  padding: 0;
}

/* the ground line under the storefront spans the same full width */
.purpose__drawing::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line);
}

.purpose__drawing svg { width: 100%; height: auto; display: block; stroke: var(--ink); }
.purpose__drawing svg text { fill: var(--ink); }

/* lettering and brand squares arrive after the lines, one glyph at a time */
.purpose__drawing svg text tspan {
  opacity: 0;
  transition: opacity 0.55s var(--ease-soft);
}

.purpose__drawing svg .sq {
  opacity: 0;
  transition: opacity 0.6s var(--ease-soft);
}

.purpose__drawing.is-drawn svg text tspan,
.purpose__drawing.is-drawn svg .sq { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .purpose__drawing svg text tspan,
  .purpose__drawing svg .sq { opacity: 1; transition: none; }
}
.purpose__drawing svg circle { fill: var(--ink); }
.purpose__drawing svg .glass { fill: var(--paper); }

.purpose__stage { position: relative; container-type: inline-size; }

/* posters in the shop windows — live counters sized to the drawing */
.purpose__posters { position: absolute; inset: 0; pointer-events: none; }

.poster {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: var(--h);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.7cqw;
  padding: 0 0.6cqw;
  opacity: 0;
  translate: 0 6px;
  transition: opacity 0.7s var(--ease-soft), translate 0.9s var(--ease-expo);
}

.purpose__drawing.is-drawn .poster { opacity: 1; translate: 0 0; }
.purpose__drawing.is-drawn .poster:nth-child(1) { transition-delay: 2.4s; }
.purpose__drawing.is-drawn .poster:nth-child(2) { transition-delay: 2.6s; }
.purpose__drawing.is-drawn .poster:nth-child(3) { transition-delay: 2.8s; }

.poster strong {
  font-size: 3.3cqw;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.poster span {
  font-size: 0.92cqw;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  line-height: 1.35;
}

.purpose__facts { display: none; }

@media (max-width: 640px) {
  .purpose__posters { display: none; }
  /* Davet ve sayılar ortalı: tek sütunda sola yaslı başlık + düğmeler + üç
     sayı dengesiz duruyordu (iPhone'da ölçüldü). */
  .purpose__invite { flex-direction: column; align-items: center; text-align: center; }
  .purpose__actions { justify-content: center; }
  .purpose__facts { display: flex; justify-content: center; text-align: center; gap: 28px; }
  .purpose__facts li { align-items: center; flex: 1 1 0; }
}

.purpose__drawing figcaption {
  margin-top: clamp(14px, 1.6vw, 22px);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  display: flex;
  align-items: center;
  gap: 10px;
}

.purpose__drawing figcaption::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--mute-2);
}

/* draw-in effect for the elevation */
.purpose__drawing path,
.purpose__drawing rect,
.purpose__drawing circle {
  transition: opacity 0.6s var(--ease-soft);
}

.purpose__cols {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 64px);
  border-top: 0;
  padding-top: clamp(28px, 3.5vw, 48px);
}

.p-col__num {
  display: block;
  font-size: 12px;
  color: var(--mute);
  margin-bottom: 16px;
  transition: color 0.4s var(--ease-out);
}

.p-col:hover .p-col__num { color: var(--ink); }

/* each column is centred within itself: icon, title, text */
.p-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.p-col p { max-width: 34ch; }

.p-col h3 {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  position: relative;
  width: fit-content;
}

.p-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 1px;
  width: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease-expo);
}

.p-col:hover h3::after { transform: scaleX(1); }

.p-col p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 34ch;
}

/* ============================================================
   Footer
   ============================================================ */

.purpose { padding-bottom: clamp(48px, 5.5vw, 90px); }

.footer {
  background: var(--dark);
  color: var(--bg);
  padding: 0 var(--pad) 0;
  position: relative;
  overflow: hidden;
}

.footer__cta {
  max-width: 1680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(32px, 6vw, 120px);
  align-items: end;
  padding-bottom: clamp(64px, 8vw, 120px);
}

/* lead form — quiet underline fields on the dark ground */
.footer__form { display: flex; flex-direction: column; }
.footer__form .footer__note { margin-bottom: clamp(24px, 3vw, 40px); }

.field { position: relative; margin-top: 18px; }

.field label {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243, 239, 231, 0.55);
  margin-bottom: 4px;
  transition: color 0.3s;
}

.field label em { font-style: normal; text-transform: none; letter-spacing: 0.04em; color: rgba(243, 239, 231, 0.35); margin-left: 6px; }

.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(243, 239, 231, 0.22);
  border-radius: 0;
  padding: 10px 0 12px;
  color: var(--bg);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  resize: none;
  outline: none;
  transition: border-color 0.35s var(--ease-out);
}

.field input:focus,
.field textarea:focus { border-bottom-color: rgba(243, 239, 231, 0.9); }
.field:focus-within label { color: rgba(243, 239, 231, 0.9); }
.field.is-error input,
.field.is-error textarea { border-bottom-color: #c98b6b; }
.field.is-error label { color: #c98b6b; }

.footer__form-row {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__form-hint { font-size: 11.5px; line-height: 1.5; color: rgba(243, 239, 231, 0.45); max-width: 26ch; }
.footer__form.is-sent .footer__form-hint { color: rgba(243, 239, 231, 0.85); }

.footer__note {
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(243, 239, 231, 0.6);
}

.footer__cta-right { text-align: left; }

.footer__title {
  font-size: clamp(34px, 4.4vw, 68px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.footer__cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer__grid {
  max-width: 1680px;
  margin: 0 auto;
  display: grid;
  /* brand column, then three equal columns under one small-caps heading language */
  grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(160px, 1fr));
  gap: clamp(32px, 4vw, 72px);
  padding: clamp(48px, 5.5vw, 90px) 0 clamp(44px, 5vw, 70px);
  border-top: 1px solid rgba(243, 239, 231, 0.14);
}

.footer__about h4 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 14px;
}

.footer__about p {
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(243, 239, 231, 0.6);
  max-width: 30ch;
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(243, 239, 231, 0.25);
  display: grid;
  place-items: center;
  transition: background 0.4s var(--ease-out), color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.footer__social a:hover {
  background: var(--bg);
  color: var(--dark);
  transform: translateY(-3px);
}

.footer__social svg { width: 15px; height: 15px; }

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 500;
  letter-spacing: -0.01em;
  width: fit-content;
  position: relative;
  transition: color 0.3s;
  color: rgba(243, 239, 231, 0.85);
}

.footer__links a sup { color: var(--mute); font-weight: 400; }

.footer__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-expo);
}

.footer__links a:hover { color: #fff; }
.footer__links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* — footer entrance staggers — */
.footer__links:not(.is-inview) a { opacity: 0; }

.footer__links.is-inview a {
  animation: rise-in 0.9s var(--ease-expo) calc(var(--fi, 0) * 75ms) backwards;
}

.footer__links a:nth-child(1) { --fi: 0; }
.footer__links a:nth-child(2) { --fi: 1; }
.footer__links a:nth-child(3) { --fi: 2; }
.footer__links a:nth-child(4) { --fi: 3; }
.footer__links a:nth-child(5) { --fi: 4; }

.footer__social:not(.is-inview) a { opacity: 0; }

.footer__social.is-inview a {
  animation: rise-in 0.85s var(--ease-expo) calc(0.2s + var(--fi, 0) * 70ms) backwards;
}

.footer__social a:nth-child(1) { --fi: 0; }
.footer__social a:nth-child(2) { --fi: 1; }
.footer__social a:nth-child(3) { --fi: 2; }
.footer__social a:nth-child(4) { --fi: 3; }

.footer__studio h3 {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(243, 239, 231, 0.5);
  margin-bottom: 16px;
}

.footer__studio p {
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(243, 239, 231, 0.75);
}

.footer__studio p + p { margin-top: 16px; }

.footer__legal {
  max-width: 1680px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid rgba(243, 239, 231, 0.14);
  font-size: 11.5px;
  color: rgba(243, 239, 231, 0.5);
}

.footer__legal div { display: flex; gap: 22px; }

.footer__legal a { transition: color 0.3s; }
.footer__legal a:hover { color: var(--bg); }

.footer__top {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.footer__top svg {
  width: 12px;
  height: 12px;
  transition: translate 0.45s var(--ease-expo);
}

.footer__top:hover svg { translate: 0 -3px; }

/* Giant wordmark */

.footer__mark {
  position: relative;
  height: clamp(200px, 30vw, 500px);
  margin: 30px calc(var(--pad) * -1) 0;
  overflow: hidden;
}

.footer__mark-media {
  position: absolute;
  inset: 0;
  opacity: 0.22;
}

.footer__mark-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--dark) 0%, rgba(22, 18, 14, 0.35) 60%, rgba(22, 18, 14, 0.55) 100%);
}

.footer__mark-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.8);
}

/* the word is cut out of the photograph: the same frame that sits dimmed
   behind it shows through the letters at full strength */
.footer__wordmark {
  position: absolute;
  inset: 0 0 -0.12em 0; /* the word runs a little past the edge, like a clipping */
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0;
  /* Safari (WebKit): background-clip:text taşıyan öğede transform, translate,
     filter ya da dönüştürülmüş çocuk olursa kesilmiş metin HİÇ çizilmez.
     Bu öğe artık yalnız keser; taşma `inset` ile, yükselme sarmalayıcıda. */
  font-size: clamp(64px, 16.2vw, 300px);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 0.82;
  white-space: nowrap;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background: url("../assets/img/footer.webp") center / cover no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
}

/* Yükselme perdesi: sol köşe önce, sağ köşe daha uzaktan gelir — harf harf
   kalkış hissi, tek bir clip-path geçişiyle. Kesen öğeye dokunmaz. */
.footer__wordmark-reveal {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 100%, 100% 135%, 100% 135%, 0 100%);
  transform: translateY(14%);
  transition: clip-path 1.6s var(--ease-expo), transform 1.6s var(--ease-expo);
}
.footer__mark.is-inview .footer__wordmark-reveal {
  clip-path: polygon(0 -10%, 100% -10%, 100% 110%, 0 110%);
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .footer__wordmark-reveal { transition: none; clip-path: none; transform: none; }
}

.footer__wordmark::after {
  /* a faint rim so the cut edge reads on the darkest frames */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.footer__wordmark .ch {
  display: inline-block; /* dönüşüm YOK — bkz. üstteki Safari notu */
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 860px) {
  .header__project { display: none; }
}

@media (max-width: 900px) {
  .manifesto__grid { grid-template-columns: 1fr 1fr; }
  .manifesto__copy { grid-column: 1 / -1; }
  .manifesto__img--a { margin-top: 0; }

  .offer__grid { grid-template-columns: 1fr; }
  .offer__left { position: static; }
  .offer__ask { margin-top: 20px; }

  .purpose__cols { grid-template-columns: 1fr; gap: 32px; }

  .footer__cta { grid-template-columns: 1fr; }
  .footer__cta-actions { margin-top: 8px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__studio { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .header__tel { display: none; }

  .hero__title { font-size: clamp(48px, 15vw, 68px); }

  .hero__stats { gap: 16px; }
  .hero__stats li { flex: 1 1 40%; }

  .manifesto__grid { grid-template-columns: 1fr; }

  .collection__stage { min-height: 150vw; }
  .c-img--1 { left: 0; width: 44%; }
  .c-img--2 { left: 12%; top: 30%; width: 40%; }
  .c-img--3 { right: 0; width: 46%; }
  .c-img--4 { right: 6%; top: 44%; width: 36%; }
  .c-img--5 { left: 24%; top: 62%; width: 32%; }
  .collection__title { top: 47%; font-size: 24px; }
  .collection__note--right { top: 24%; }

  .featured { min-height: 92vh; }
  .featured__toggle { top: auto; bottom: 120px; right: auto; left: var(--pad); }

  .footer__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Motion preferences
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ============================================================
   [04] Villayı Gezin — threshold tour
   Every transition leaves through a real door in the frame: the
   outgoing scene grows from that point, the incoming one settles
   from its own vanishing point. Nothing moves unless asked.
   ============================================================ */

@property --scrim { syntax: "<number>"; inherits: true; initial-value: 0.55; }

.tour {
  display: block;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
  --scrim: 0.55;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --- layers: media (scroll parallax) > world (look-around) > scene (dolly) --- */
.tour .featured__media {
  inset: auto;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  overflow: hidden;
}

.tour__world {
  position: absolute;
  inset: 0;
  scale: 1.05;
  translate: 0 0;
  transition: translate 1.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  touch-action: pan-y;
}

.tour__world.is-dragging { transition: none; }

.tour__scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  scale: 1;
  translate: 0 0;
  filter: blur(0) brightness(1);
  z-index: 1;
  pointer-events: none;
}

.tour__scene.is-active { opacity: 1; z-index: 2; pointer-events: auto; }
.tour.is-moving .tour__scene { will-change: transform, opacity, filter; }

.tour .featured__media .tour__scene img {
  position: absolute;
  inset: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

/* the door: one quiet ring at the exit point of each frame */
.tour__spot {
  position: absolute;
  left: 0;
  top: 0;
  translate: -50% -50%;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--bg);
  opacity: 0;
  transition: opacity 0.4s var(--ease-soft);
  cursor: none;
}

.tour__scene.is-active.is-settled .tour__spot { opacity: 1; }

.tour__spot-core,
.tour__spot-halo {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  border-radius: 50%;
  border: 1px solid rgba(243, 239, 231, 0.9);
}

.tour__spot-core {
  width: 10px;
  height: 10px;
  box-shadow: 0 0 0 1px rgba(14, 12, 8, 0.35), inset 0 0 0 1px rgba(14, 12, 8, 0.25);
  transition: scale 0.4s var(--ease-expo);
}

/* a soft shade behind the ring keeps it legible on bright floors */
.tour__spot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 12, 8, 0.32) 0%, rgba(14, 12, 8, 0) 68%);
}

.tour__spot-halo {
  width: 30px;
  height: 30px;
  border-color: rgba(243, 239, 231, 0.55);
  box-shadow: 0 0 0 1px rgba(14, 12, 8, 0.18);
  animation: spot-breathe 2.6s var(--ease-soft) infinite;
}

@keyframes spot-breathe {
  0% { scale: 1; opacity: 0.6; }
  70% { scale: 1.35; opacity: 0; }
  100% { scale: 1.35; opacity: 0; }
}

.tour__spot:hover .tour__spot-core,
.tour__spot:focus-visible .tour__spot-core { scale: 1.4; }
.tour__spot:hover .tour__spot-halo { animation-play-state: paused; opacity: 0; }

.tour__spot-label {
  position: absolute;
  left: calc(50% + 18px);
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  background: rgba(14, 12, 8, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  backdrop-filter: blur(10px) saturate(1.1);
  box-shadow: 0 4px 18px rgba(14, 12, 8, 0.18);
  top: 50%;
  translate: 0 -50%;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s var(--ease-soft) 0.08s;
}

.tour__spot-label i {
  width: 12px;
  height: 1px;
  background: rgba(243, 239, 231, 0.8);
  box-shadow: 0 1px 2px rgba(14, 12, 8, 0.35);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-expo);
}

.tour__spot:hover .tour__spot-label,
.tour__spot:focus-visible .tour__spot-label,
.tour__spot.is-invited .tour__spot-label { opacity: 1; }
.tour__spot:hover .tour__spot-label i,
.tour__spot:focus-visible .tour__spot-label i,
.tour__spot.is-invited .tour__spot-label i { transform: scaleX(1); }

/* threshold veil + scrim */
.tour__veil {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: #0e0c08;
  opacity: 0;
  pointer-events: none;
}

.tour__bloom {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: #f3efe7;
  opacity: 0;
  pointer-events: none;
}

.tour__scrim {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  transition: --scrim 0.9s var(--ease-soft);
  background:
    radial-gradient(ellipse 70vw 56vh at 0% 100%, rgba(14, 12, 8, var(--scrim)) 0%, rgba(14, 12, 8, calc(var(--scrim) * 0.55)) 35%, rgba(14, 12, 8, 0) 72%),
    linear-gradient(0deg, rgba(14, 12, 8, calc(var(--scrim) * 0.5)) 0%, rgba(14, 12, 8, 0) 30%),
    radial-gradient(ellipse 34vw 26vh at 100% 0%, rgba(14, 12, 8, 0.28), rgba(14, 12, 8, 0) 70%),
    radial-gradient(ellipse 30vw 22vh at 0% 0%, rgba(14, 12, 8, 0.22), rgba(14, 12, 8, 0) 70%);
}

/* --- chrome --- */
.tour__top,
.tour__where,
.tour__foot,
.tour__ctrl { z-index: 6; }

.tour__top {
  position: absolute;
  top: clamp(28px, 3.5vw, 52px);
  left: var(--pad);
  display: flex;
  align-items: baseline;
  gap: 18px;
}

.tour__eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(243, 239, 231, 0.7);
}

.tour__where {
  position: absolute;
  top: clamp(28px, 3.5vw, 52px);
  right: var(--pad);
  display: flex;
  align-items: flex-start;
  gap: 18px;
  color: var(--bg);
}

.tour__where-text {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.tour__floor,
.tour__count {
  display: grid;
  overflow: hidden;
  line-height: 1.2;
}

.tour__floor .tour__roll,
.tour__count .tour__roll { grid-area: 1 / 1; white-space: nowrap; }

.tour__floor {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(243, 239, 231, 0.72);
}

.tour__count {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(243, 239, 231, 0.5);
  font-variant-numeric: tabular-nums;
}

/* the section glyph: three floors, a ground line, one dot */
.tour__glyph {
  position: relative;
  width: 44px;
  height: 36px;
  margin-top: -6px;
}

.tour__glyph-line,
.tour__glyph-ground {
  position: absolute;
  padding: 0;
  height: 12px;
  display: block;
  color: var(--bg);
}

/* a section of the house: upper floor, ground line running past the
   walls on both sides (front garden / back garden), basement */
.tour__glyph-line { left: 12px; width: 20px; }
.tour__glyph-line[data-floor="ust"] { top: 0; }
.tour__glyph-line[data-floor="zemin"] { top: 12px; }
.tour__glyph-line[data-floor="bodrum"] { top: 24px; }
.tour__glyph-ground { top: 12px; width: 12px; }
.tour__glyph-ground--l { left: 0; }
.tour__glyph-ground--r { left: 32px; }

.tour__glyph-line span,
.tour__glyph-ground span {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(243, 239, 231, 0.32);
  transition: background 0.35s var(--ease-out);
}

.tour__glyph-ground span { background: rgba(243, 239, 231, 0.2); }

.tour__glyph-line:hover span,
.tour__glyph-ground:hover span,
.tour__glyph-line.is-here span,
.tour__glyph-ground.is-here span { background: rgba(243, 239, 231, 0.85); }

.tour__glyph-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: #fff;
  translate: 22px 18px;
  transition: translate 0.5s var(--ease-expo);
  pointer-events: none;
}

.tour__foot {
  position: absolute;
  left: var(--pad);
  bottom: clamp(44px, 6vw, 84px);
  max-width: min(44ch, calc(100% - var(--pad) * 2 - 260px));
  color: var(--bg);
}

.tour__room {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(243, 239, 231, 0.62);
  margin-bottom: 18px;
  transition: opacity 0.22s var(--ease-soft), translate 0.4s var(--ease-expo);
}

.tour__room::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
}

.tour__room.is-pulse::before { animation: here-pulse 1.2s var(--ease-soft) 1; }

@keyframes here-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5); }
  100% { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); }
}

.tour__title {
  font-size: clamp(30px, 3.4vw, 50px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 24ch;
  color: #fff;
  margin: 0;
  transition: opacity 0.22s var(--ease-soft), translate 0.4s var(--ease-expo);
}

.tour__cap {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(243, 239, 231, 0.78);
  max-width: 44ch;
  transition: opacity 0.22s var(--ease-soft) 0.04s, translate 0.4s var(--ease-expo);
}

.tour.is-swapping .tour__room,
.tour.is-swapping .tour__title,
.tour.is-swapping .tour__cap { opacity: 0; translate: 0 -6px; }

.tour:not(.is-entered) .tour__foot,
.tour:not(.is-entered) .tour__ctrl,
.tour:not(.is-entered) .tour__where,
.tour:not(.is-entered) .tour__top { opacity: 0; }

.tour__top, .tour__where, .tour__ctrl { transition: opacity 0.6s var(--ease-soft) 0.4s; }
.tour__foot { transition: opacity 0.4s var(--ease-soft); }

.tour__ctrl {
  position: absolute;
  right: var(--pad);
  bottom: clamp(44px, 6vw, 84px);
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--bg);
}

.tour__back {
  width: 32px;
  height: 32px;
  padding: 0;
  display: grid;
  place-items: center;
  color: rgba(243, 239, 231, 0.4);
  transition: color 0.3s, opacity 0.3s;
}

.tour__back svg { width: 16px; height: 16px; transition: translate 0.45s var(--ease-expo); }
.tour__back:hover { color: #fff; }
.tour__back:hover svg { translate: -3px 0; }

.tour__go {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(243, 239, 231, 0.88);
  transition: color 0.3s;
}

.tour__go::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.45s var(--ease-expo), opacity 0.3s;
}

.tour__go svg { width: 14px; height: 14px; transition: translate 0.45s var(--ease-expo); }
.tour__go:hover { color: #fff; }
.tour__go:hover svg,
.tour__go.is-nudge svg { translate: 4px 0; }
.tour__go:hover::after { opacity: 0.9; }

/* cursor ring, pointer:fine only */
.tour__cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 7;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s var(--ease-soft);
  color: var(--bg);
  will-change: transform;
}

.tour__cursor.is-on { opacity: 1; }
/* Dokunmatikte imleç etiketi YOKTUR: son dokunulan yerde asılı kalıp
   "◎ — Salona geç" diye görünüyordu (iPhone'da ölçüldü). */
@media (hover: none), (pointer: coarse) {
  .tour__cursor { display: none !important; }
}

/* two-tone ring: reads on bright curtains and dark wood alike */
.tour__cursor-ring {
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  translate: -50% -50%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 1px rgba(14, 12, 8, 0.28), inset 0 0 0 1px rgba(14, 12, 8, 0.22), 0 2px 14px rgba(14, 12, 8, 0.18);
  transition: scale 0.35s var(--ease-expo), border-color 0.3s;
}

.tour__cursor-ring::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  translate: -50% -50%;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(14, 12, 8, 0.3);
}

.tour__cursor.is-near .tour__cursor-ring { scale: 1.25; border-color: #fff; }
.tour__cursor.is-press .tour__cursor-ring { scale: 0.66; }
.tour__cursor.is-locked .tour__cursor-ring { border-color: rgba(243, 239, 231, 0.35); }

/* frosted label so the word stays legible over any render */
.tour__cursor-label {
  position: absolute;
  left: 28px;
  top: 0;
  translate: 0 -50%;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(14, 12, 8, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  backdrop-filter: blur(10px) saturate(1.1);
  box-shadow: 0 4px 18px rgba(14, 12, 8, 0.18);
}

.tour__cursor.is-back .tour__cursor-label { color: rgba(243, 239, 231, 0.85); }

.tour.has-cursor .tour__world { cursor: none; }
.tour.has-cursor .tour__spot { cursor: none; }

.tour__scene:focus-visible { outline: none; }

@media (pointer: coarse), (max-width: 900px) {
  .tour__cursor { display: none; }
  .tour.has-cursor .tour__world { cursor: default; }
}

@media (prefers-reduced-motion: reduce) {
  .tour__spot-halo { animation: none; opacity: 0.5; }
  .tour__world { transition: none; }
}

@media (max-width: 900px) {
  .tour { min-height: 100svh; }
  .tour__foot {
    bottom: 28px;
    max-width: calc(100% - var(--pad) * 2);
    padding-right: 0;
  }
  .tour__title { font-size: clamp(26px, 7.2vw, 32px); max-width: 16ch; }
  .tour__cap { font-size: 13px; max-width: 34ch; }
  .tour__room { margin-bottom: 12px; }
  .tour__ctrl { bottom: auto; top: 50%; right: 12px; translate: 0 -50%; flex-direction: column; gap: 6px; }
  .tour__go { font-size: 0; padding: 0; width: 40px; height: 40px; justify-content: center; border-radius: 50%; border: 1px solid rgba(243, 239, 231, 0.35); }
  .tour__go::after { display: none; }
  .tour__go svg { width: 16px; height: 16px; }
  .tour__back { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(243, 239, 231, 0.22); color: rgba(243, 239, 231, 0.6); }
  .tour__back svg { width: 16px; height: 16px; }
  .tour__where { gap: 12px; }
  .tour__spot { width: 48px; height: 48px; }
  .tour__spot-label { opacity: 1; }
  .tour__spot-label i { transform: scaleX(1); }
  .tour .featured__media .tour__scene img { object-position: var(--pos-m, var(--pos, 50% 50%)); }
}

/* ============================================================
   [07] p-col icons (replace numeric markers) + [06] living collage
   ============================================================ */

.p-col__icon {
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 auto 18px;
  color: var(--mute-2);
  transition: color 0.45s var(--ease-out);
}

.p-col__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.p-col__icon path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.1s var(--ease-soft) calc(var(--pi, 0) * 90ms + 0.25s), fill 0.5s var(--ease-out);
  fill: transparent;
}

.p-col__icon path:nth-child(2) { --pi: 1; }
.p-col__icon path:nth-child(3) { --pi: 2; }
.p-col__icon path:nth-child(4) { --pi: 3; }
.p-col__icon path:nth-child(5) { --pi: 4; }
.p-col__icon path:nth-child(6) { --pi: 5; }

.p-col.is-inview .p-col__icon path { stroke-dashoffset: 0; }
.p-col:hover .p-col__icon { color: var(--ink); }

/* the six-sector grid quietly takes the brand colours on hover */
.p-col:hover .p-col__icon--grid path:nth-child(1) { fill: var(--sq1); stroke: var(--sq1); }
.p-col:hover .p-col__icon--grid path:nth-child(2) { fill: var(--sq2); stroke: var(--sq2); }
.p-col:hover .p-col__icon--grid path:nth-child(3) { fill: var(--sq3); stroke: var(--sq3); }
.p-col:hover .p-col__icon--grid path:nth-child(4) { fill: var(--sq4); stroke: var(--sq4); }
.p-col:hover .p-col__icon--grid path:nth-child(5) { fill: var(--sq5); stroke: var(--sq5); }
.p-col:hover .p-col__icon--grid path:nth-child(6) { fill: var(--sq6); stroke: var(--sq6); }

/* collage figures become two-layer stages; the figure keeps its
   absolute slot, parallax and lightbox behaviour */
.c-img .slides__stage { position: absolute; inset: 0; }
.c-img .slides__stage img { transition: opacity 1.1s var(--ease-soft), scale 9s linear, transform 0.9s var(--ease-out); }
.c-img .slides__bar { display: none; }
.c-img .slides__bar::before { display: none; }

/* ============================================================
   [05] Feature sheet — a focused window per feature group:
   its own photos and its own list, on paper, not the gallery
   ============================================================ */

.fsheet {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  grid-template-columns: 58% 1fr;
  background: var(--paper);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-soft), visibility 0s 0.5s;
}

.fsheet.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s var(--ease-soft);
}

.fsheet__stage {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.9s var(--ease-expo);
}

.fsheet.is-open .fsheet__stage { clip-path: inset(0 0 0 0); transition-delay: 0.08s; }

.fsheet__stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  scale: 1.06;
  transition: opacity 1s var(--ease-soft), scale 8s linear;
}

.fsheet__stage img.is-active { opacity: 1; scale: 1; }

.fsheet__cap {
  position: absolute;
  left: clamp(20px, 2.5vw, 40px);
  bottom: clamp(20px, 2.5vw, 36px);
  display: flex;
  gap: 18px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(243, 239, 231, 0.85);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.fsheet__cap-n { color: rgba(243, 239, 231, 0.55); font-variant-numeric: tabular-nums; }

.fsheet__nav {
  position: absolute;
  right: clamp(20px, 2.5vw, 40px);
  bottom: clamp(20px, 2.5vw, 36px);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(243, 239, 231, 0.35);
  color: var(--bg);
  transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out), border-color 0.35s;
}

.fsheet__nav--prev { right: calc(clamp(20px, 2.5vw, 40px) + 50px); }
.fsheet__nav svg { width: 16px; height: 16px; }
.fsheet__nav:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.fsheet.is-single .fsheet__nav { display: none; }

.fsheet__body {
  padding: clamp(72px, 9vh, 120px) clamp(32px, 4.5vw, 80px) clamp(32px, 4vw, 60px);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.fsheet__num {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--mute);
}

.fsheet__title {
  margin-top: 18px;
  font-size: clamp(28px, 2.8vw, 42px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.fsheet__text {
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 44ch;
}

.fsheet__list {
  margin-top: clamp(28px, 3vw, 44px);
  border-top: 1px solid var(--line);
  max-width: 440px;
}

.fsheet__list div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.fsheet__list dt { color: var(--mute); }
.fsheet__list dd { font-weight: 500; text-align: right; }

.fsheet__note {
  margin-top: auto;
  padding-top: 32px;
  font-size: 12px;
  color: var(--mute);
}

.fsheet__body > * {
  opacity: 0;
  translate: 0 14px;
  transition: opacity 0.5s var(--ease-soft), translate 0.7s var(--ease-expo);
}

.fsheet.is-open .fsheet__body > * { opacity: 1; translate: 0 0; }
.fsheet.is-open .fsheet__num { transition-delay: 0.3s; }
.fsheet.is-open .fsheet__title { transition-delay: 0.38s; }
.fsheet.is-open .fsheet__text { transition-delay: 0.46s; }
.fsheet.is-open .fsheet__list { transition-delay: 0.54s; }
.fsheet.is-open .fsheet__note { transition-delay: 0.62s; }

.fsheet__close {
  position: absolute;
  top: clamp(20px, 2.5vw, 36px);
  right: clamp(20px, 2.5vw, 40px);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: background 0.35s var(--ease-out), border-color 0.35s;
}

.fsheet__close span {
  position: absolute;
  width: 16px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.5s var(--ease-expo);
}

.fsheet__close span:first-child { transform: rotate(45deg); }
.fsheet__close span:last-child { transform: rotate(-45deg); }
.fsheet__close:hover { background: var(--ink); border-color: var(--ink); }
.fsheet__close:hover span { background: var(--bg); }
.fsheet__close:hover span:first-child { transform: rotate(45deg) scaleX(0.7); }
.fsheet__close:hover span:last-child { transform: rotate(-45deg) scaleX(0.7); }

@media (max-width: 900px) {
  .fsheet { grid-template-columns: 1fr; grid-template-rows: 46vh 1fr; }
  .fsheet__stage { clip-path: inset(0 0 100% 0); }
  .fsheet.is-open .fsheet__stage { clip-path: inset(0 0 0 0); }
  .fsheet__body { padding: 28px 20px 32px; }
  .fsheet__close { top: 16px; right: 16px; background: rgba(251, 250, 247, 0.85); }
}

/* ============================================================
   Legal texts — one quiet modal, two documents that cross-fade
   ============================================================ */

.footer__legal button {
  font: inherit;
  color: inherit;
  padding: 0;
}

.legal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 40px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease-soft), visibility 0s 0.45s;
}

.legal.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s var(--ease-soft);
}

.legal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 18, 14, 0.42);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  backdrop-filter: blur(18px) saturate(1.1);
}

.legal__panel {
  position: relative;
  width: min(760px, 100%);
  max-height: min(84vh, 900px);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  border-radius: 18px;
  box-shadow: 0 40px 90px -30px rgba(14, 12, 8, 0.45), inset 0 0 0 1px rgba(31, 26, 21, 0.06);
  overflow: hidden;
  translate: 0 16px;
  scale: 0.985;
  transition: translate 0.7s var(--ease-expo), scale 0.7s var(--ease-expo);
}

.legal.is-open .legal__panel { translate: 0 0; scale: 1; }

.legal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(22px, 3vw, 40px) 0;
}

.legal__tabs { display: flex; gap: 22px; }

.legal__tab {
  position: relative;
  padding: 8px 0 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  transition: color 0.35s var(--ease-out);
}

.legal__tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-expo);
}

.legal__tab:hover { color: var(--ink); }
.legal__tab.is-active { color: var(--ink); }
.legal__tab.is-active::after { transform: scaleX(1); }

.legal__close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: background 0.35s var(--ease-out), border-color 0.35s;
  flex: none;
}

.legal__close span { position: absolute; width: 14px; height: 1px; background: var(--ink); transition: background 0.35s, transform 0.5s var(--ease-expo); }
.legal__close span:first-child { transform: rotate(45deg); }
.legal__close span:last-child { transform: rotate(-45deg); }
.legal__close:hover { background: var(--ink); border-color: var(--ink); }
.legal__close:hover span { background: var(--bg); }

.legal__body {
  position: relative;
  overflow-y: auto;
  padding: 8px clamp(22px, 3vw, 40px) clamp(28px, 3vw, 44px);
  border-top: 1px solid var(--line);
  display: grid;
  overscroll-behavior: contain;
}

.legal__doc {
  grid-area: 1 / 1;
  opacity: 0;
  translate: 0 8px;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-soft), translate 0.6s var(--ease-expo);
}

.legal__doc.is-active { opacity: 1; translate: 0 0; pointer-events: auto; transition-delay: 0.12s; }

.legal__doc h2 {
  margin-top: 22px;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.legal__meta {
  margin-top: 8px;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--mute);
}

.legal__doc h3 {
  margin-top: 26px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.legal__doc p {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 68ch;
}

.legal__doc p.legal__meta { color: var(--mute); }

@media (max-width: 640px) {
  .legal { padding: 0; align-items: end; }
  .legal__panel { width: 100%; max-height: 92vh; border-radius: 18px 18px 0 0; }
  .legal__tabs { gap: 16px; }
  .legal__tab { font-size: 11px; letter-spacing: 0.08em; }
}

/* ============================================================
   Dark chapter — the page turns over as [03] comes into view
   (tokens swap on <body>; self-coloured surfaces keep their own)
   ============================================================ */

body.theme-dark {
  --bg: #16120e;
  --bg-soft: #1d1813;
  --ink: #f3efe7;
  --ink-soft: rgba(243, 239, 231, 0.74);
  --mute: rgba(243, 239, 231, 0.52);
  --mute-2: rgba(243, 239, 231, 0.4);
  --line: rgba(243, 239, 231, 0.14);
  --paper: #1d1813;
}

/* surfaces that carry their own palette stay exactly as designed */
.tour, .footer, .menu, .lightbox, .fsheet, .legal, .preloader {
  --bg: #f3efe7;
  --bg-soft: #ebe5da;
  --ink: #1f1a15;
  --ink-soft: #4d4339;
  --mute: #9a8f82;
  --mute-2: #bfb5a8;
  --line: rgba(31, 26, 21, 0.14);
  --paper: #f9f6f0;
}

/* while the theme flips, colours glide instead of snapping */
body.theme-switching *:not(.tour *):not(.menu *):not(.lightbox *):not(.fsheet *):not(.legal *):not(.slides__stage img):not(.c-img img):not(.sb):not(.sb *):not(.grain) {
  transition: color 0.9s var(--ease-soft), background-color 0.9s var(--ease-soft), border-color 0.9s var(--ease-soft), stroke 0.9s var(--ease-soft), fill 0.9s var(--ease-soft) !important;
}

/* header: dark glass over the dark chapter */
body.theme-dark .site-header.is-solid {
  background: rgba(22, 18, 14, 0.78);
  color: var(--ink);
}

body.theme-dark .site-header.is-solid::after { opacity: 0.1; }

/* the map card lifts off the dark ground */
body.theme-dark .konum__mapwrap {
  box-shadow: inset 0 0 0 1px rgba(243, 239, 231, 0.1), 0 40px 90px -40px rgba(0, 0, 0, 0.7);
}

/* the map card is a light surface of its own: markers and labels keep the light palette */
.konum__mapwrap {
  --bg: #f3efe7;
  --ink: #1f1a15;
  --ink-soft: #4d4339;
  --mute: #9a8f82;
  --mute-2: #bfb5a8;
  --line: rgba(31, 26, 21, 0.14);
  --paper: #f9f6f0;
}

/* ============================================================
   Footer — brand + three columns
   ============================================================ */

.footer__brand { display: flex; flex-direction: column; align-items: flex-start; }

.logo--footer { color: var(--bg); }
.logo--footer .logo__word { color: var(--bg); }

.footer__tagline {
  margin-top: 26px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(243, 239, 231, 0.9);
}

.footer__since {
  margin-top: 10px;
  font-size: 12.5px;
  color: rgba(243, 239, 231, 0.5);
}

.footer__col h3 {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(243, 239, 231, 0.45);
  margin-bottom: 18px;
}

.footer__col p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(243, 239, 231, 0.72);
}

.footer__col p + p { margin-top: 10px; }

.footer__links { display: flex; flex-direction: column; gap: 6px; }

.footer__links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.7;
  color: rgba(243, 239, 231, 0.72);
  width: fit-content;
  position: relative;
  transition: color 0.3s;
}

.footer__links a::after { bottom: 2px; }
.footer__links a:hover { color: #fff; }

.footer__contacts { display: flex; flex-direction: column; gap: 4px; }

.footer__contacts a,
.footer__inline {
  position: relative;
  width: fit-content;
  color: rgba(243, 239, 231, 0.86);
  transition: color 0.3s;
}

.footer__contacts a::after,
.footer__inline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-expo);
}

.footer__contacts a:hover,
.footer__inline:hover { color: #fff; }
.footer__contacts a:hover::after,
.footer__inline:hover::after { transform: scaleX(1); transform-origin: left; }

.footer__inline {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
}

.footer__inline svg { width: 12px; height: 12px; }

.footer__col .footer__social { margin-top: 18px; }

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   Sound — a quiet control in the header: five hairline bars that
   rise when the music starts and settle when it stops
   ============================================================ */

.sound {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: inherit;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.sound:hover { opacity: 1; }
.sound:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; border-radius: 4px; }

.sound__bars {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
}

.sound__bars i {
  display: block;
  width: 1.5px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  opacity: 0.45;
  transform-origin: bottom;
  transition: height 0.9s var(--ease-expo), opacity 0.6s var(--ease-soft);
}

.sound.is-on .sound__bars i {
  opacity: 0.95;
  animation: sound-bar 1.6s ease-in-out infinite;
}

.sound.is-on .sound__bars i:nth-child(1) { height: 7px; animation-duration: 1.7s; animation-delay: -0.2s; }
.sound.is-on .sound__bars i:nth-child(2) { height: 12px; animation-duration: 1.3s; animation-delay: -0.6s; }
.sound.is-on .sound__bars i:nth-child(3) { height: 9px; animation-duration: 1.9s; animation-delay: -1.1s; }
.sound.is-on .sound__bars i:nth-child(4) { height: 14px; animation-duration: 1.5s; animation-delay: -0.4s; }
.sound.is-on .sound__bars i:nth-child(5) { height: 10px; animation-duration: 2.1s; animation-delay: -0.9s; }
.sound.is-on .sound__bars i:nth-child(6) { height: 6px; animation-duration: 1.4s; animation-delay: -0.7s; }

@keyframes sound-bar {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

/* while fading out, bars keep their motion frozen and glide down to rest */
.sound.is-fading .sound__bars i { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .sound.is-on .sound__bars i { animation: none; transform: none; }
}

.footer__index { display: block; margin-bottom: 18px; color: rgba(243, 239, 231, 0.4); }
.menu__num { font-variant-numeric: tabular-nums; }

/* captions over collage photos stay light on any ground */
.c-img figcaption { color: #f3efe7; }

/* index marks retired: sections keep their top rhythm without them */
.menu__row { gap: 0; }
.tour__top { gap: 0; }

/* ============================================================
   Cookie notice — a small card in the corner, once
   ============================================================ */

.cookie {
  position: fixed;
  left: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: 110;
  width: min(360px, calc(100vw - 32px));
  padding: 18px 20px 16px;
  border-radius: 14px;
  background: rgba(22, 18, 14, 0.72);
  color: #f3efe7;
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  backdrop-filter: blur(18px) saturate(1.1);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(243, 239, 231, 0.12);
  opacity: 0;
  translate: 0 14px;
  visibility: hidden;
  transition: opacity 0.6s var(--ease-soft), translate 0.8s var(--ease-expo), visibility 0s 0.6s;
}

.cookie.is-show {
  opacity: 1;
  translate: 0 0;
  visibility: visible;
  transition: opacity 0.6s var(--ease-soft), translate 0.8s var(--ease-expo);
}

.cookie__text {
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(243, 239, 231, 0.82);
}

.cookie__row {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cookie__link {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: rgba(243, 239, 231, 0.6);
  position: relative;
  transition: color 0.3s;
}

.cookie__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.cookie__link:hover { color: #fff; }

.cookie__ok {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-radius: 999px;
  background: #f3efe7;
  color: #1f1a15;
  transition: background 0.3s, transform 0.4s var(--ease-expo);
}

.cookie__ok:hover { background: #fff; transform: translateY(-1px); }

body.nav-open .cookie,
body.is-locked .cookie { opacity: 0; translate: 0 14px; visibility: hidden; }

@media (max-width: 640px) {
  .cookie { left: 12px; right: 12px; bottom: 12px; width: auto; }
}

/* ============================================================
   Mobile pass — map, tour controls, feature rows, footer
   ============================================================ */

@media (max-width: 640px) {
  /* Konum: a taller, closer portrait frame of the same map; labels scaled up */
  .konum__mapwrap { aspect-ratio: 5 / 6; }
  .konum__mapwrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
  .konum__map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
  .konum__map text { font-size: 34px; stroke-width: 16px; }
  .map-place--minor text { font-size: 27px; }
  .map-place circle { r: 12px; stroke-width: 3px; }
  .map-place--minor circle { r: 8px; }
  .map-time { font-size: 27px; }

  /* Tour: one frosted pill at the bottom right — back | next — text keeps clear of it */
  .tour__ctrl {
    top: auto;
    bottom: 26px;
    right: 14px;
    translate: 0 0;
    transform: none;
    display: inline-flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    height: 46px;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(243, 239, 231, 0.5);
    background: rgba(22, 18, 14, 0.42);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
  /* Pil: ‹ | "Salona geç" → — hedef odanın adı düğmenin İÇİNDE okunur
     (masaüstünde bunu imleç etiketi söylüyordu; dokunmatikte imleç yok).
     Alt yazı pilin ÜSTÜNE alındı: ikisi yan yana sıkışmıyor. */
  .tour__ctrl .tour__go,
  .tour__ctrl .tour__back {
    flex: none;
    height: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #f3efe7;
    transform: none;
    translate: 0 0;
    transition: background 0.25s;
  }
  .tour__ctrl .tour__back {
    order: -1;
    width: 48px;
    padding: 0;
    display: grid;
    place-items: center;
    color: rgba(243, 239, 231, 0.85);
  }
  .tour__ctrl .tour__go {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px 0 14px;
    border-left: 1px solid rgba(243, 239, 231, 0.18);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1;
    white-space: nowrap;
  }
  .tour__ctrl .tour__go:active,
  .tour__ctrl .tour__back:active { background: rgba(243, 239, 231, 0.12); }
  .tour__ctrl .tour__go::after { display: none; }
  .tour__ctrl .tour__go svg,
  .tour__ctrl .tour__back svg { width: 16px; height: 16px; translate: 0 0; transition: none; }
  .tour__foot { bottom: 92px; max-width: 100%; }
  .tour__cap { max-width: 30ch; }

  /* Özellikler: rows stack; text first, photo below */
  .service__head { gap: 14px; padding: 16px 4px; }
  .service__num { min-width: 36px; font-size: 12px; }
  .service__name { font-size: 21px; }
  .service__name sup { font-size: 11px; }
  .service__detail { grid-template-columns: 1fr; gap: 18px; padding: 2px 4px 24px; padding-left: 4px; }
  .service__detail figure { aspect-ratio: 16 / 10; order: 2; }
  .service__scope { gap: 6px; }
  .service__link { white-space: nowrap; }

  /* Footer: centred and calm */
  .footer__grid { grid-template-columns: 1fr; gap: 36px; text-align: center; justify-items: center; }
  .footer__brand { align-items: center; }
  .footer__links { align-items: center; }
  .footer__contacts { align-items: center; }
  .footer__inline { margin-left: auto; margin-right: auto; }
  .footer__col .footer__social { justify-content: center; }
  .footer__col h3 { margin-bottom: 14px; }
  .footer__legal { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
  .footer__legal > div { justify-content: center; flex-wrap: wrap; }
}

/* ============================================================
   Presentation pass — accessibility, touch and small screens
   ============================================================ */

.site-header:focus-within { transform: none !important; }
.menu__inner, .fsheet__body, .legal__body { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.lightbox { touch-action: none; }
.preloader__count { color: rgba(243, 239, 231, 0.55); }
.lightbox__count { color: rgba(243, 239, 231, 0.5); }
.lightbox__disclaimer { margin-left: 18px; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(243, 239, 231, 0.45); }

/* comfortable hit areas without changing the layout */
.burger { padding: 11px 0; margin: -11px 0; }
.header__tel { padding: 10px 0; margin: -10px 0; }
.sound { width: 44px; height: 44px; margin: -5px; }
.service__link::before, .collection__more::before, .offer__ask::before, .footer__inline::before, .menu__route::before { content: ""; position: absolute; inset: -10px -6px; }
.footer__links { gap: 10px; }
.footer__links a, .footer__contacts a { padding: 2px 0; }

/* door label flips to the left for doors near the right edge */
.tour__spot.is-left .tour__spot-label { left: auto; right: calc(50% + 18px); flex-direction: row-reverse; }

/* the cookie card steps aside while the visitor is inside the tour */
body.tour-focus .cookie { opacity: 0; translate: 0 14px; visibility: hidden; }

@media (pointer: coarse) {
  .tour__glyph { scale: 1.6; transform-origin: top right; margin-top: -2px; }
  .tour__glyph-line::before, .tour__glyph-ground::before { content: ""; position: absolute; inset: -3px 0; }
}

@media (max-width: 640px) {
  .konum__mapwrap img { object-position: 70% 50%; }
  .map-place[data-place="tirilye"] text { text-anchor: start; }
  .legal__panel { max-height: 92vh; max-height: 92svh; }
  .legal__body, .fsheet__body { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  /* collage: no photo under the title, nothing past the edge */
  .c-img--1 { left: 0; width: 44%; }
  .c-img--2 { left: 12%; top: 41%; width: 40%; }
  .c-img--3 { right: 0; width: 46%; }
  .c-img--4 { right: 6%; top: 45%; width: 36%; }
  .c-img--5 { left: 24%; top: 64%; width: 32%; }
  .collection__title { top: 28%; font-size: 24px; }
  .collection__note--right { display: none; }
}

@media (max-width: 640px) {
  .collection__note--bl, .collection__note--br { display: none; }
  .collection__more { left: 50%; translate: -50% 0; right: auto; }
}
