/* Ecren Işık — modern atelier art direction */
:root {
  --atelier-paper: #eee8dc;
  --atelier-ink: #11100f;
  --atelier-aubergine: #29172e;
  --atelier-teal: #0d4545;
  --atelier-vermilion: #b64832;
  --atelier-gold: #c8a66a;
  --atelier-violet: #8c72ff;
}

body { background: var(--atelier-paper); }

.hero {
  isolation: isolate;
  background: #0d0d0d;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8,8,8,.98) 0%, rgba(8,8,8,.89) 37%, rgba(8,8,8,.42) 69%, rgba(8,8,8,.18) 100%),
    linear-gradient(180deg, transparent 62%, rgba(8,8,8,.85)),
    url('assets/atelier-dream.jpg') 58% center / cover no-repeat;
  transform: scale(1.025);
  animation: atelierDrift 22s ease-in-out infinite alternate;
}

.hero::after {
  height: 100%;
  z-index: -1;
  background:
    repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), rgba(255,255,255,.055) 25%),
    linear-gradient(180deg, transparent 78%, #0d0d0d);
}

@keyframes atelierDrift {
  from { transform: scale(1.025) translate3d(0,0,0); }
  to { transform: scale(1.075) translate3d(-1.2%, -.7%, 0); }
}

.hero-copy::before {
  content: 'ART / EMOTION / MEMORY';
  position: absolute;
  left: -2px;
  top: -68px;
  color: rgba(255,255,255,.36);
  font: 6px var(--mono);
  letter-spacing: .24em;
}

.hero h1 { text-wrap: balance; text-shadow: 0 10px 45px rgba(0,0,0,.32); }
.hero h1 em { color: #e3c587; }
.hero .kicker span { background: #e3c587; }
.hero-lead { color: rgba(255,255,255,.7); }

.stage-card {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(16,16,16,.86);
  backdrop-filter: blur(12px);
}

.hero-feature-art { isolation: isolate; }
.hero-feature-art img,
.back-card img { width: 100%; height: 100%; display: block; object-fit: cover; }
.hero-feature-art img { animation: artworkBreath 14s ease-in-out infinite alternate; }
.hero-feature-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(7,7,7,.56));
  pointer-events: none;
}
.hero-art-index {
  position: absolute;
  left: 16px;
  bottom: 15px;
  z-index: 2;
  color: rgba(255,255,255,.82);
  font: 6px var(--mono);
  letter-spacing: .16em;
}
.back-card .mini-art { width: 100%; height: 100%; overflow: hidden; }
.back-card img { filter: saturate(.68) contrast(1.08); }

@keyframes artworkBreath {
  from { transform: scale(1.01); }
  to { transform: scale(1.075); }
}

.art-interlude {
  min-height: 780px;
  padding: clamp(40px, 6vw, 92px);
  color: #fff;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr minmax(360px, .78fr);
  align-items: end;
  isolation: isolate;
  background: #181512;
}

.art-interlude::before {
  content: '';
  position: absolute;
  inset: -5%;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(13,12,10,.18), rgba(13,12,10,.2) 50%, rgba(13,12,10,.74)),
    linear-gradient(0deg, rgba(13,12,10,.8), transparent 50%),
    url('assets/atelier-dream.jpg') center / cover no-repeat;
  animation: interludePan 24s ease-in-out infinite alternate;
}

.art-interlude::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255,255,255,.085) 1px, transparent 1px) 0 0 / 25% 100%;
}

@keyframes interludePan {
  from { transform: scale(1.04) translateX(0); }
  to { transform: scale(1.1) translateX(-1.4%); }
}

.art-interlude-frame {
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(255,255,255,.34);
  pointer-events: none;
}
.art-interlude-frame::before,
.art-interlude-frame::after {
  content: '';
  position: absolute;
  width: 70px;
  height: 70px;
  border-color: #e2c68f;
}
.art-interlude-frame::before { left: -1px; top: -1px; border-left: 3px solid; border-top: 3px solid; }
.art-interlude-frame::after { right: -1px; bottom: -1px; border-right: 3px solid; border-bottom: 3px solid; }

.art-interlude-copy { max-width: 850px; position: relative; z-index: 1; }
.art-interlude-copy > span { color: #e2c68f; font: 7px var(--mono); letter-spacing: .2em; }
.art-interlude-copy p { margin: 24px 0; font: 600 clamp(46px, 6vw, 92px)/.94 var(--serif); letter-spacing: -.055em; }
.art-interlude-copy p em { color: #e2c68f; font-weight: 600; }
.art-interlude-copy small { display: block; max-width: 510px; color: rgba(255,255,255,.68); font: 11px/1.8 var(--sans); }
.art-interlude-plate { justify-self: end; display: flex; align-items: flex-end; gap: 14px; padding: 18px; border-left: 1px solid rgba(255,255,255,.38); }
.art-interlude-plate b { font: 600 58px/.8 var(--serif); color: #e2c68f; }
.art-interlude-plate span { color: rgba(255,255,255,.66); font: 6px/1.55 var(--mono); letter-spacing: .17em; }

.manifesto {
  background:
    radial-gradient(circle at 15% 20%, rgba(198,157,100,.25), transparent 26%),
    radial-gradient(circle at 86% 82%, rgba(140,114,255,.3), transparent 28%),
    #21142b;
}
.manifesto::before {
  content: '';
  position: absolute;
  width: min(45vw, 570px);
  aspect-ratio: 1;
  right: -8%;
  top: -28%;
  border: 1px solid rgba(226,198,143,.35);
  border-radius: 50% 50% 2% 50%;
  transform: rotate(18deg);
  animation: slowTurn 28s linear infinite;
}
@keyframes slowTurn { to { transform: rotate(378deg); } }

.stand,
.works,
.process,
.trust-section,
.about { position: relative; isolation: isolate; }
.stand::before,
.works::before,
.process::before,
.about::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .38;
  background:
    radial-gradient(circle at 10% 10%, rgba(182,72,50,.11), transparent 26%),
    radial-gradient(circle at 88% 76%, rgba(13,69,69,.12), transparent 28%),
    repeating-linear-gradient(0deg, transparent 0 59px, rgba(17,16,15,.035) 60px);
}

.stand-card,
.work-card { transition: transform .7s cubic-bezier(.16,1,.3,1); }
.stand-card:hover,
.work-card:hover { transform: translateY(-9px); }
.stand-art,
.work-art { box-shadow: 0 22px 70px rgba(30,21,15,.11); }

.ai-studio {
  isolation: isolate;
  background: #0c0d0d;
}
.ai-studio::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .3;
  background:
    linear-gradient(90deg, rgba(8,9,9,.2), rgba(8,9,9,.93) 63%),
    url('assets/atelier-dream.jpg') left center / cover no-repeat;
}
.ai-studio::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 22% 50%, rgba(140,114,255,.16), transparent 27%);
}
.ai-console { position: relative; z-index: 2; }
.ai-steps { display: grid; grid-template-columns: repeat(3,1fr); margin: 24px 0 18px; border: 1px solid rgba(255,255,255,.13); }
.ai-steps span { min-height: 44px; padding: 0 12px; display: flex; align-items: center; gap: 8px; color: #6f716f; font: 7px var(--mono); border-right: 1px solid rgba(255,255,255,.1); }
.ai-steps span:last-child { border: 0; }
.ai-steps b { color: #a6a8a5; }
.ai-steps .active { color: #fff; background: rgba(255,255,255,.06); }
.ai-steps .active b { color: var(--acid); }
.prompt-box { border-color: rgba(226,198,143,.34); background: rgba(255,255,255,.055); backdrop-filter: blur(12px); }
.brief-meter { margin: 10px 0 14px; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.brief-meter > span,
.brief-meter > b { font: 6px var(--mono); letter-spacing: .12em; color: #747672; }
.brief-meter > b { min-width: 58px; text-align: right; color: #b2b4af; }
.brief-meter > div { height: 2px; background: rgba(255,255,255,.12); overflow: hidden; }
.brief-meter i { display: block; width: 12%; height: 100%; background: linear-gradient(90deg, #e2c68f, var(--acid)); transition: width .45s cubic-bezier(.16,1,.3,1); }
.idea-starters { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.idea-starters > span { margin-right: 4px; color: #777; font: 6px var(--mono); letter-spacing: .12em; }
.idea-starters button { border: 1px solid rgba(255,255,255,.14); border-radius: 100px; background: rgba(255,255,255,.04); color: #c2c4c0; padding: 7px 10px; font: 7px var(--mono); cursor: pointer; transition: .25s; }
.idea-starters button:hover { color: #111; background: #e2c68f; border-color: #e2c68f; }

.result-card {
  border-color: rgba(226,198,143,.22);
  background: linear-gradient(145deg, rgba(38,34,31,.98), rgba(16,17,17,.98));
  box-shadow: 0 24px 70px rgba(0,0,0,.36);
}
.ai-result.show { max-height: 1900px; }
.result-summary { margin: 14px 0 18px; padding: 14px 0; display: grid; grid-template-columns: repeat(3,1fr); border-block: 1px solid rgba(255,255,255,.1); }
.result-summary div { padding-right: 12px; }
.result-summary span { display: block; color: #777; font: 6px var(--mono); letter-spacing: .08em; }
.result-summary b { display: block; margin-top: 6px; color: #e5e2da; font-size: 9px; font-weight: 600; }
.route-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 18px 0 8px; }
.route-card { min-width: 0; }
.route-visual { position: relative; aspect-ratio: 1.16; overflow: hidden; background: linear-gradient(145deg, var(--r1), var(--r2)); }
.route-visual::before { content: ''; position: absolute; width: 72%; height: 92%; left: -20%; top: -22%; background: var(--r3); border-radius: 50% 45% 4% 50%; mix-blend-mode: screen; opacity: .74; transform: rotate(22deg); }
.route-visual::after { content: ''; position: absolute; width: 42%; height: 78%; right: 8%; bottom: -22%; border: 10px solid var(--r4); border-radius: 80px 80px 2px 2px; transform: rotate(-13deg); opacity: .82; }
.route-card:nth-child(2) .route-visual::before { left: 18%; top: 24%; width: 68%; height: 40%; border-radius: 0; transform: rotate(-18deg); }
.route-card:nth-child(2) .route-visual::after { right: -10%; bottom: 10%; border-radius: 50%; }
.route-card:nth-child(3) .route-visual::before { left: 35%; top: -18%; width: 42%; height: 130%; border-radius: 0; transform: rotate(28deg); }
.route-card:nth-child(3) .route-visual::after { right: 38%; bottom: -34%; width: 62%; height: 82%; border-radius: 50%; }
.route-card span { display: block; margin-top: 7px; color: #8e918b; font: 6px var(--mono); letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.route-card b { display: block; color: #e9e5dc; font: 600 10px/1.3 var(--serif); margin-top: 3px; }
.route-card > p { margin: 5px 0 0; color: #777a75; font: 7px/1.45 var(--sans); }
.ai-insights { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.ai-insights article { padding: 13px; border: 1px solid rgba(255,255,255,.1); }
.ai-insights span { color: #e2c68f; font: 6px var(--mono); letter-spacing: .1em; }
.ai-insights p { margin: 7px 0 0; color: #aaa; font: 9px/1.6 var(--sans); }

.studio-story {
  min-height: 620px;
  grid-template-columns: 1.05fr .95fr;
  background: #eee9df;
  scroll-margin-top: 68px;
}
.story-visual {
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: clamp(34px, 4.5vw, 72px);
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(18,14,12,.16), rgba(18,14,12,.78)),
    url('assets/atelier-dream.jpg') 54% center / cover no-repeat;
}
.story-visual::after {
  width: min(56vw, 620px);
  height: min(56vw, 620px);
  left: 12%;
  top: 14%;
  border-color: rgba(226,198,143,.58);
  border-radius: 50%;
  transform: none;
  z-index: -1;
}
.story-visual::before {
  content: '';
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255,255,255,.24);
  pointer-events: none;
}
.story-visual-copy { position: relative; z-index: 3; max-width: 560px; color: #fff; }
.story-visual-copy > span { color: #e2c68f; font: 7px var(--mono); letter-spacing: .18em; }
.story-visual-copy h3 { margin: 18px 0 16px; font: 600 clamp(46px, 5.2vw, 82px)/.91 var(--serif); letter-spacing: -.05em; }
.story-visual-copy h3 em { color: #e2c68f; font-weight: 600; }
.story-visual-copy p { max-width: 430px; margin: 0; color: rgba(255,255,255,.74); font: 11px/1.75 var(--sans); }
.story-materials { position: absolute; z-index: 3; right: 34px; top: 34px; display: flex; border: 1px solid rgba(255,255,255,.28); background: rgba(12,12,12,.24); backdrop-filter: blur(12px); }
.story-materials span { min-width: 82px; padding: 11px 12px; color: rgba(255,255,255,.74); font: 6px var(--mono); letter-spacing: .1em; border-right: 1px solid rgba(255,255,255,.2); }
.story-materials span:last-child { border: 0; }
.story-materials b { color: #e2c68f; margin-right: 6px; }
.story-copy { padding: clamp(54px, 6vw, 96px); background: linear-gradient(145deg, #f4f0e7, #e9e1d4); }
.story-copy .index { color: #756f67; }
.story-copy h2 { max-width: 660px; margin: 16px 0 24px; font-size: clamp(48px, 4.6vw, 72px); line-height: .94; }
.story-copy h2 em { color: #735cce; }
.story-copy > p:not(.index) { max-width: 560px; color: #514c46; font-size: 13px; line-height: 1.85; }
.story-copy .studio-values { margin-top: 36px; border-color: rgba(43,38,33,.28); }
.story-copy .studio-values b { color: #171513; font-size: 34px; }
.story-copy .studio-values span { color: #655f58; }
.about .portrait-art { background: url('assets/memory-garden.jpg') center / cover no-repeat; }
.about .portrait-art span { color: #f1ddaa; mix-blend-mode: soft-light; text-shadow: 0 0 50px rgba(0,0,0,.6); }

.final-cta {
  background:
    linear-gradient(90deg, rgba(24,14,31,.94), rgba(24,14,31,.62)),
    url('assets/atelier-dream.jpg') center / cover no-repeat;
}
.final-cta::after {
  content: '';
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(226,198,143,.38);
}
.final-cta h2 em { color: #e2c68f; }

.studio-dialog {
  background:
    linear-gradient(90deg, rgba(9,9,9,.94), rgba(9,9,9,.42)),
    url('assets/atelier-dream.jpg') center / cover no-repeat;
}
.studio-film-art { max-width: 720px; }
.studio-film-art > span { color: #e2c68f !important; letter-spacing: .2em; }
.studio-film-art h2 { max-width: 700px; }
.studio-film-art p { max-width: 560px; color: rgba(255,255,255,.7) !important; }
.studio-film-art ol { list-style: none; padding: 0; margin: 32px 0 0; display: flex; gap: 8px; }
.studio-film-art li { min-width: 130px; padding: 14px; border: 1px solid rgba(255,255,255,.2); color: #fff; font: 9px var(--mono); }
.studio-film-art li b { color: #e2c68f; margin-right: 12px; }
.order-send { border: 1px solid rgba(17,17,17,.16); border-radius: 100px; padding: 9px 11px; color: #111; text-decoration: none; white-space: nowrap; font: 700 7px var(--mono); transition: .25s; }
.order-send:hover { background: #111; color: #fff; }

@media (max-width: 960px) {
  .hero::before { background-position: 63% center; opacity: .9; }
  .art-interlude { min-height: 620px; grid-template-columns: 1fr; }
  .art-interlude-plate { position: absolute; right: 55px; top: 55px; }
}

@media (max-width: 640px) {
  .hero { min-height: 100svh; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(8,8,8,.88) 0%, rgba(8,8,8,.58) 46%, rgba(8,8,8,.92) 100%),
      url('assets/atelier-dream.jpg') 65% center / cover no-repeat;
  }
  .hero-copy::before { display: none; }
  .hero h1 em { color: #e2c68f; }
  .hero-feature-art img { animation: none; }
  .art-interlude { min-height: 560px; padding: 72px 24px 34px; align-items: end; background-attachment: scroll; }
  .art-interlude::before { background-position: 68% center; }
  .art-interlude-frame { inset: 14px; }
  .art-interlude-copy p { font-size: clamp(44px, 13vw, 60px); }
  .art-interlude-copy small { font-size: 9px; }
  .art-interlude-plate { right: 28px; top: 30px; padding: 12px; }
  .art-interlude-plate b { font-size: 38px; }
  .art-interlude-plate span { font-size: 5px; }
  .ai-steps span { padding-inline: 8px; font-size: 5px; }
  .idea-starters { gap: 5px; }
  .idea-starters > span { width: 100%; margin-bottom: 4px; }
  .idea-starters button { min-height: 34px; padding-inline: 11px; }
  .result-summary { grid-template-columns: 1fr; gap: 11px; }
  .route-grid { grid-template-columns: 1fr; gap: 16px; }
  .route-visual { aspect-ratio: 1.8; }
  .route-card span { margin-top: 6px; }
  .ai-insights { grid-template-columns: 1fr; }
  .ai-result.show { max-height: 4200px; }
  .studio-story { display: block; min-height: 0; }
  .story-visual { min-height: 470px; padding: 34px 24px; background-position: 63% center; }
  .story-visual::before { inset: 12px; }
  .story-visual::after { width: 390px; height: 390px; left: 3%; top: 12%; }
  .story-visual-copy h3 { font-size: clamp(46px, 13.5vw, 62px); }
  .story-visual-copy p { font-size: 9px; max-width: 290px; }
  .story-materials { top: 24px; right: 24px; }
  .story-materials span { min-width: 0; padding: 9px; font-size: 5px; }
  .story-materials b { display: block; margin: 0 0 4px; }
  .story-copy { padding: 48px 22px; }
  .story-copy h2 { font-size: clamp(46px, 13vw, 58px); margin-bottom: 22px; }
  .story-copy > p:not(.index) { font-size: 11px; line-height: 1.75; }
  .story-copy .studio-values { margin-top: 28px; }
  .story-copy .studio-values b { font-size: 27px; }
  .final-cta::after { inset: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .art-interlude::before,
  .hero-feature-art img,
  .manifesto::before { animation: none !important; }
}
