/* Atölye Plus tanıtım sitesi. Koyu, sıcak, editoryal; animasyonlar site.js'te (GSAP).
   JS yüklenmezse her şey görünür kalır: gizli başlangıç durumlarını sadece JS verir. */
:root {
  --bg: #100f0e;
  --bg2: #171513;
  --cream: #f2ebdf;
  --ink: #1a1714;
  --line: rgba(245, 239, 230, 0.14);
  --text: #f5efe6;
  --text2: #cbc2b6;
  --accent: #f7931e;
  --accent-ink: #c2560c;
  --display: 'Fraunces', Georgia, serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad: max(20px, calc((100vw - 1280px) / 2));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 500 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* İnce film greni */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

figure {
  margin: 0;
}

.wrap {
  width: min(1280px, 100% - 40px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--accent);
  color: #000;
}

.eyebrow,
.chapter-num {
  display: block;
  margin: 0 0 18px;
  font: 800 12px/1.2 var(--body);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-variation-settings: 'opsz' 144;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(42px, 6.4vw, 96px);
  line-height: 0.98;
}

em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.muted {
  color: var(--text2);
}

/* Satır maskesi: harf kuyrukları (y, ç, ğ) kesilmesin diye altta pay bırakılır */
.line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.2em;
  margin-bottom: -0.2em;
}

.line > span {
  display: inline-block;
}

/* Düğmeler */
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: var(--accent);
  color: #000;
}

.btn.ghost {
  border: 1px solid var(--line);
}

.btn.ghost:hover {
  background: rgba(245, 239, 230, 0.06);
}

/* Üst çubuk */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px var(--pad);
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.4s ease,
    border-color 0.4s ease,
    transform 0.4s ease;
}

.topbar.solid {
  background: rgba(16, 15, 14, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.topbar.hide {
  transform: translateY(-100%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font: 800 13px var(--body);
  letter-spacing: 0.3em;
}

.brand b {
  color: var(--accent);
}

.topbar nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
}

.topbar nav a {
  position: relative;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  color: var(--text2);
  transition: color 0.2s ease;
}

.topbar nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}

.topbar nav a:hover {
  color: var(--text);
}

.topbar nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.call {
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #000;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
}

/* 1. Açılış */
.intro {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
}

.intro-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0% 0% 0% 0% round 0px);
}

.intro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 78%;
}

.intro-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 15, 14, 0.55) 0%, rgba(16, 15, 14, 0) 28%),
    linear-gradient(0deg, rgba(16, 15, 14, 0.9) 0%, rgba(16, 15, 14, 0.25) 45%, rgba(16, 15, 14, 0) 70%);
}

.intro-content {
  position: absolute;
  inset: auto var(--pad) 40px;
  z-index: 2;
}

.intro-eyebrow {
  display: flex;
  gap: 22px;
  margin: 0 0 8px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text2);
}

.intro-eyebrow span + span::before {
  content: '·';
  margin-right: 22px;
  color: var(--accent);
}

.intro-title {
  font-size: clamp(84px, 17.5vw, 300px);
  line-height: 0.84;
  letter-spacing: -0.05em;
  font-weight: 600;
}

.intro-title .line:last-child {
  margin-top: -0.04em;
  padding-left: 0.6em;
}

.intro-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.intro-meta p {
  margin: 0;
  font-weight: 700;
  color: var(--text2);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #46a758;
  box-shadow: 0 0 0 4px rgba(70, 167, 88, 0.22);
}

.status.closed .dot {
  background: #e5484d;
  box-shadow: 0 0 0 4px rgba(229, 72, 77, 0.22);
}

/* 2. Manifesto */
.manifesto {
  padding: clamp(120px, 18vw, 220px) 0;
}

.manifesto-text {
  max-width: 22ch;
  margin: 0;
  font: 400 clamp(34px, 5vw, 76px) / 1.12 var(--display);
  font-variation-settings: 'opsz' 144;
  letter-spacing: -0.02em;
}

.manifesto-text .w {
  display: inline-block;
}

/* 3. Mutfak */
.feature {
  position: relative;
}

.feature-media {
  height: 92svh;
  min-height: 520px;
  overflow: hidden;
}

.feature-media img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
}

.feature-media {
  position: relative;
}

.feature-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--bg) 0%, rgba(16, 15, 14, 0.55) 30%, rgba(16, 15, 14, 0) 60%);
}

.feature-caption {
  position: relative;
  z-index: 2;
  margin-top: -18vh;
  padding-bottom: 40px;
}

.feature-caption h2 {
  max-width: 11ch;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}

/* Yatay kayan yemekler */
.dishes {
  position: relative;
}

.dishes-pin {
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 100px 0 80px;
  overflow: hidden;
}

/* Başlık ve kartlar birlikte yana kayar */
.dishes-row {
  flex: none;
  display: flex;
  align-items: center;
  gap: 6vw;
  padding: 0 var(--pad);
  will-change: transform;
}

.dishes-head {
  flex: none;
  width: min(380px, 30vw);
}

.dishes-head h2 {
  font-size: clamp(42px, 5vw, 76px);
}

.dishes-head .muted {
  margin: 24px 0 0;
  max-width: 30ch;
}

.dish-track {
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dish {
  flex: none;
  width: clamp(260px, 26vw, 400px);
}

.dish img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
  background: var(--bg2);
}

.dish div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0 14px;
  border-bottom: 1px solid var(--line);
}

.dish h3 {
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.price {
  flex: none;
  font-weight: 800;
  color: var(--accent);
}

/* 4. Dönen kup */
.spin {
  position: relative;
  background: var(--cream);
  color: var(--ink);
  overflow: hidden;
}

.spin-inner {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: grid;
  place-items: center;
}

.spin-bowl {
  position: relative;
  z-index: 2;
  width: min(52vw, 640px);
  height: auto;
  filter: drop-shadow(0 50px 50px rgba(60, 35, 10, 0.35));
}

.spin-word {
  position: absolute;
  top: 50%;
  margin: 0;
  font: 600 clamp(80px, 15vw, 260px) / 1 var(--display);
  font-variation-settings: 'opsz' 144;
  letter-spacing: -0.05em;
  transform: translateY(-50%);
  white-space: nowrap;
}

.spin-word em {
  color: var(--accent-ink);
}

.spin-left {
  left: -0.04em;
}

.spin-right {
  right: -0.02em;
}

.spin-note {
  position: absolute;
  left: 50%;
  bottom: 48px;
  max-width: 44ch;
  margin: 0;
  transform: translateX(-50%);
  text-align: center;
  font-weight: 700;
  color: #5e5650;
}

/* Kayan yazı bandı */
.marquee {
  overflow: hidden;
  padding: 30px 0;
  border-block: 1px solid var(--line);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 45s linear infinite;
}

.marquee span {
  padding-right: 60px;
  font: italic 400 clamp(44px, 6.4vw, 96px) / 1 var(--display);
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 239, 230, 0.4);
  white-space: nowrap;
}

.marquee span:nth-child(3n + 2) {
  color: var(--accent);
  -webkit-text-stroke: 0;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* 5. Sahne */
.stage {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
}

.stage-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

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

.stage-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 15, 14, 0.85) 0%, rgba(16, 15, 14, 0.2) 55%, rgba(16, 15, 14, 0) 100%);
}

.stage-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12vh;
  z-index: 2;
}

.stage-caption h2 {
  max-width: 9ch;
}

.stage-caption p {
  max-width: 36ch;
  margin: 24px 0 0;
  color: var(--text2);
}

/* 6. Mekan */
.venue {
  padding: clamp(110px, 14vw, 180px) 0;
}

.venue-head {
  margin-bottom: 64px;
}

.venue-head h2 {
  max-width: 14ch;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 7vw;
  gap: 18px;
}

.mosaic figure {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg2);
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.mosaic figure:hover img {
  transform: scale(1.04);
}

.mosaic figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}

.m1 {
  grid-column: 1 / 8;
  grid-row: span 6;
}

.m2 {
  grid-column: 8 / 13;
  grid-row: span 6;
}

.m3 {
  grid-column: 3 / 7;
  grid-row: span 5;
}

.m4 {
  grid-column: 8 / 11;
  grid-row: span 4;
}

/* 7. Bizi bul */
.visit {
  padding: 0 0 clamp(110px, 14vw, 180px);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 7vw;
  align-items: center;
}

.facts {
  margin: 44px 0;
}

.facts div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.facts div:last-child {
  border-bottom: 1px solid var(--line);
}

.facts dt {
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text2);
  padding-top: 4px;
}

.facts dd {
  margin: 0;
  font-weight: 700;
  font-size: 19px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.visit-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
}

.visit-media img {
  width: 100%;
  height: 120%;
  object-fit: cover;
}

/* Alt bilgi */
.footer {
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.footer-word {
  margin: 0;
  padding: 4vw var(--pad) 0;
  font: 600 clamp(64px, 15.5vw, 260px) / 0.9 var(--display);
  font-variation-settings: 'opsz' 144;
  letter-spacing: -0.05em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(245, 239, 230, 0.42);
}

.footer-word em {
  -webkit-text-stroke: 0;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 36px 0 48px;
  color: var(--text2);
  font-size: 14px;
}

.footer-row p {
  margin: 0;
  flex: 1;
}

.footer-row nav {
  display: flex;
  gap: 24px;
}

/* Gizlilik sayfası */
.doc {
  padding: 140px 0 80px;
  max-width: 760px;
}

.doc h1 {
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.05;
  margin-bottom: 8px;
}

.doc h2 {
  font-size: 26px;
  line-height: 1.2;
  margin: 40px 0 10px;
}

.doc p,
.doc li {
  color: var(--text2);
}

.doc strong {
  color: var(--text);
}

.doc .updated {
  font-size: 14px;
}

.doc em {
  color: inherit;
  font-style: normal;
}

.lang-switch {
  display: inline-flex;
  gap: 16px;
  margin: 16px 0 0;
  font-weight: 800;
}

.footer.wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 36px 0 48px;
  color: var(--text2);
  font-size: 14px;
}

.footer.wrap p {
  margin: 0;
  flex: 1;
}

/* Telefon */
@media (max-width: 820px) {
  .topbar nav,
  .brand span {
    display: none;
  }

  .call {
    margin-left: auto;
  }

  .intro-title .line:last-child {
    padding-left: 0.35em;
  }

  .intro-eyebrow {
    gap: 14px;
  }

  .intro-eyebrow span + span::before {
    margin-right: 14px;
  }

  .feature-media {
    height: 70svh;
  }

  .feature-caption {
    margin-top: -14vh;
  }

  .dishes-pin {
    display: block;
    min-height: 0;
    padding: 90px 0 70px;
  }

  .dishes-row {
    display: block;
    padding: 0;
  }

  .dishes-head {
    width: auto;
    padding: 0 20px 36px;
  }

  .dish-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    padding: 0 20px;
    scrollbar-width: none;
  }

  .dish-track::-webkit-scrollbar {
    display: none;
  }

  .dish {
    width: 72vw;
    scroll-snap-align: start;
  }

  .spin-bowl {
    width: 78vw;
  }

  .spin-word {
    font-size: 26vw;
  }

  .spin-left {
    top: 24%;
  }

  .spin-right {
    top: 76%;
  }

  .spin-note {
    bottom: 28px;
    width: calc(100% - 40px);
  }

  .stage-media::after {
    background: linear-gradient(0deg, rgba(16, 15, 14, 0.9) 0%, rgba(16, 15, 14, 0.2) 60%, rgba(16, 15, 14, 0) 100%);
  }

  .mosaic {
    grid-auto-rows: 22vw;
    gap: 10px;
  }

  .m1 {
    grid-column: 1 / -1;
    grid-row: span 3;
  }

  .m2 {
    grid-column: 1 / 7;
    grid-row: span 4;
  }

  .m3 {
    grid-column: 7 / 13;
    grid-row: span 2;
  }

  .m4 {
    grid-column: 7 / 13;
    grid-row: span 2;
  }

  .visit-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }

  .btn,
  .mosaic img {
    transition: none;
  }
}

/* Menü sayfası: düz, okunaklı liste */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.menu-main {
  padding: 130px 0 80px;
}

.menu-head h1 {
  font-size: clamp(64px, 10vw, 140px);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.menu-head .muted {
  max-width: 52ch;
  margin: 20px 0 28px;
}

.menu-search input {
  width: min(520px, 100%);
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg2);
  color: var(--text);
  font: 600 16px var(--body);
}

.menu-search input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.menu-cats {
  position: sticky;
  top: 76px;
  z-index: 20;
  display: flex;
  gap: 8px;
  margin: 36px 0 12px;
  padding: 12px 0;
  overflow-x: auto;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

.menu-cats::-webkit-scrollbar {
  display: none;
}

.menu-cats a {
  flex: none;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--text2);
  white-space: nowrap;
}

.menu-cats a.active,
.menu-cats a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

.menu-state {
  padding: 60px 0;
  color: var(--text2);
}

.cat {
  padding-top: 56px;
  scroll-margin-top: 150px;
}

.cat h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.05;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.cat ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 56px;
}

.item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.item img {
  flex: none;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--bg2);
}

.item-body {
  flex: 1;
  min-width: 0;
}

.item-top {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.item h3 {
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.item-dots {
  flex: 1;
  min-width: 16px;
  border-bottom: 1px dotted rgba(245, 239, 230, 0.25);
  transform: translateY(-4px);
}

.item-price {
  flex: none;
  font-weight: 800;
  color: var(--accent);
}

.item p {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text2);
}

.item .item-note {
  font-size: 13px;
  font-weight: 700;
  color: var(--text2);
}

.item.is-out {
  opacity: 0.5;
}

.dishes-more {
  display: inline-flex;
  margin-top: 28px;
}

@media (max-width: 820px) {
  .menu-main {
    padding-top: 110px;
  }

  .menu-cats {
    top: 72px;
    margin-inline: -20px;
    padding-inline: 20px;
  }

  .cat ul {
    grid-template-columns: 1fr;
  }

  .item img {
    width: 64px;
    height: 64px;
  }
}
