@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&display=swap");

:root {
  --ink: #080808;
  --ink-soft: #11110f;
  --paper: #f0eee8;
  --paper-soft: #d0cdc5;
  --muted: #85827b;
  --line: rgba(240, 238, 232, 0.16);
  --acid: #d9d51f;
  --red: #d31319;
  --shell: min(1380px, calc(100vw - 72px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; overflow-x: hidden; background: var(--ink); color: var(--paper); font-family: "Oswald", "Arial Narrow", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: var(--acid); color: var(--ink); }

.skip-link { position: fixed; z-index: 999; top: -100px; left: 16px; padding: 10px 14px; background: var(--paper); color: var(--ink); }
.skip-link:focus { top: 16px; }
.section-shell { width: var(--shell); margin: 0 auto; }
.section { padding: 128px 0; }
.section-label { margin: 0; color: var(--muted); font-size: 10px; font-weight: 650; letter-spacing: 0.22em; text-transform: uppercase; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 50px; }
.section-heading h2 { margin: 18px 0 0; font-size: clamp(48px, 6vw, 90px); line-height: 0.88; letter-spacing: -0.055em; }
.text-link { border-bottom: 1px solid rgba(240,238,232,.35); padding-bottom: 6px; font-size: 11px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.text-link span { margin-left: 8px; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

.site-header { position: fixed; z-index: 100; top: 0; left: 0; width: 100%; height: 96px; display: flex; align-items: center; justify-content: space-between; padding: 0 36px; transition: background .35s ease, height .35s ease, border-color .35s ease; }
.site-header.scrolled, .site-header.solid { height: 76px; background: rgba(8,8,8,.91); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.brand { position: relative; z-index: 102; width: 108px; line-height: 0; mix-blend-mode: difference; }
.brand img { width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a { position: relative; padding: 8px 0; font-size: 10px; font-weight: 650; letter-spacing: .17em; text-transform: uppercase; }
.site-nav a::after { content: ""; position: absolute; right: 0; bottom: 1px; left: 0; height: 1px; background: var(--paper); transform: scaleX(0); transform-origin: right; transition: transform .3s ease; }
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; }

.hero { position: relative; height: 100svh; min-height: 600px; overflow: hidden; background: #000; }
.hero-poster, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-video { z-index: 1; opacity: 0; transition: opacity 1.2s ease; }
.hero-video.ready { opacity: 1; }
.hero-shade { position: absolute; z-index: 2; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.46), rgba(0,0,0,.03) 35%, rgba(0,0,0,.15) 62%, rgba(0,0,0,.78)); }
.film-grain { position: absolute; z-index: 3; inset: 0; pointer-events: none; opacity: .13; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }
.hero-copy { position: absolute; z-index: 4; bottom: 13.5vh; left: 50%; width: min(92vw, 900px); transform: translateX(-50%); text-align: center; }
.hero-copy h1 { margin: 0; color: var(--acid); font-size: clamp(20px, 2vw, 30px); font-weight: 650; line-height: 1.2; letter-spacing: .12em; }
.hero-copy h1 em { font-family: inherit; font-weight: 300; }
.scroll-cue { position: absolute; z-index: 5; right: 36px; bottom: 30px; display: flex; flex-direction: column; align-items: center; gap: 9px; color: rgba(255,255,255,.78); font-size: 9px; letter-spacing: .22em; text-transform: uppercase; }
.scroll-cue i { width: 1px; height: 36px; background: linear-gradient(var(--paper), transparent); }

.about-section { position: relative; isolation: isolate; min-height: 70svh; display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); background: #111 url("assets/about-background.webp") center center / cover no-repeat; }
.about-section::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(4,7,7,.46) 0%, rgba(4,7,7,.68) 43%, rgba(4,7,7,.86) 100%); }
.about-section::after { content: ""; position: absolute; z-index: -1; inset: 0; box-shadow: inset 0 0 190px rgba(0,0,0,.62); pointer-events: none; }
.about-section .section-shell { position: relative; z-index: 1; }
.about-section .section-label { color: rgba(240,238,232,.72); text-shadow: 0 2px 18px rgba(0,0,0,.85); }
.about-grid { display: grid; grid-template-columns: minmax(180px, .42fr) minmax(0, 1.58fr); gap: 7vw; }
.about-lead { max-width: 900px; margin: 0; color: #f3f1eb; font-size: clamp(22px, 2.25vw, 34px); font-weight: 600; line-height: 1.24; letter-spacing: -.025em; text-shadow: 0 3px 28px rgba(0,0,0,.95); }
.about-lead em { font-family: inherit; font-weight: 300; }

.team-section { background: var(--paper); color: var(--ink); }
.team-section .section-label { color: #77746d; }
.team-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.team-card img { width: 100%; aspect-ratio: 1 / 1.18; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(.94); background: #e5e3de; }
.team-photo-alper { object-position: 50% 50%; }
.team-photo-barlas { object-position: 50% 43%; }
.team-photo-erdinc { object-position: left center; }
.team-photo-emre { object-position: 50% 34%; }
.team-photo-ozlem { object-position: 27% 50%; }
.team-card > div { padding: 18px 0 0; border-top: 1px solid rgba(8,8,8,.18); }
.team-card h3 { margin: 0; font-size: clamp(17px, 1.45vw, 22px); letter-spacing: -.025em; }
.team-card p { min-height: 2.6em; margin: 7px 0 0; color: #74716a; font-size: 10px; font-weight: 650; line-height: 1.35; letter-spacing: .09em; text-transform: uppercase; }

.projects-section { background: var(--ink); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 54px 22px; }
.project-grid-home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-art { position: relative; aspect-ratio: 4 / 5; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #171715; }
.project-art::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.08); pointer-events: none; }
.project-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .7s ease; }
.project-card:hover .project-art img { transform: scale(1.025); filter: saturate(.78); }
.project-index { position: absolute; z-index: 2; top: 16px; left: 16px; color: rgba(255,255,255,.72); font-size: 9px; letter-spacing: .18em; }
.project-art strong { position: relative; z-index: 1; font-size: clamp(35px, 4vw, 64px); letter-spacing: -.055em; }
.project-art small { position: absolute; z-index: 1; bottom: 24px; font-size: 9px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; }
.project-art-qarin-image { isolation: isolate; background: #020806; }
.project-art-qarin-image::before { content: ""; position: absolute; z-index: 0; inset: -8%; background: url("assets/qarin-poster.webp") center / cover no-repeat; filter: blur(18px) brightness(.42); transform: scale(1.08); }
.project-art-qarin-image img { position: relative; z-index: 1; object-fit: contain; }
.project-art-qarin-image .project-index { z-index: 3; text-shadow: 0 1px 8px rgba(0,0,0,.9); }
.project-info { padding-top: 18px; display: grid; grid-template-columns: 1fr auto; gap: 10px 24px; }
.project-info h3, .project-info h2 { margin: 0; font-size: 25px; line-height: 1; letter-spacing: -.035em; }
.project-info p { margin: 2px 0 0; color: var(--muted); font-size: 9px; font-weight: 650; letter-spacing: .13em; text-align: right; text-transform: uppercase; }
.project-info .director { grid-column: 1 / -1; padding-top: 10px; border-top: 1px solid var(--line); text-align: left; }

.contact-cta { position: relative; isolation: isolate; min-height: 68svh; display: flex; align-items: center; overflow: hidden; border-top: 0; background: #071315 url("assets/contact-background.webp") center center / cover no-repeat; }
.contact-cta::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(2,7,8,.86) 0%, rgba(2,7,8,.65) 48%, rgba(2,7,8,.44) 100%); box-shadow: inset 0 0 180px rgba(0,0,0,.55); }
.contact-cta .section-shell { position: relative; z-index: 1; }
.contact-cta .section-label { color: rgba(240,238,232,.72); text-shadow: 0 2px 18px rgba(0,0,0,.85); }
.contact-cta a { margin-top: 32px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.contact-cta a span { font-size: clamp(48px, 7vw, 110px); font-weight: 650; line-height: .88; letter-spacing: -.06em; }
.contact-cta a i { padding-bottom: 7px; font-size: clamp(42px, 5vw, 76px); font-style: normal; transition: transform .3s ease; }
.contact-cta a:hover i { transform: translate(8px, -8px); }
.site-footer { padding: 27px 0; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer .section-shell { display: flex; justify-content: space-between; gap: 24px; }
.site-footer p { margin: 0; font-size: 9px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }

.inner-page { padding-top: 76px; }
.inner-page.contact-page { padding-top: 0; }
.contact-page .site-header.solid, .contact-page .site-header.scrolled { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.page-hero { min-height: 54vh; display: flex; align-items: flex-end; padding: 100px 0 76px; border-bottom: 1px solid var(--line); }
.page-hero h1 { margin: 24px 0 20px; font-size: clamp(72px, 11vw, 170px); line-height: .78; letter-spacing: -.075em; }
.page-hero > .section-shell > p:last-child { max-width: 500px; margin: 0 0 0 auto; color: var(--muted); font-size: 14px; line-height: 1.55; }
.archive-section { min-height: 65vh; padding-top: 76px; }
.filter-bar { display: grid; grid-template-columns: repeat(2, 1fr); margin-bottom: 60px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filter-button { padding: 20px 0; border: 0; border-right: 1px solid var(--line); background: none; color: var(--muted); cursor: pointer; font-size: 11px; font-weight: 650; letter-spacing: .12em; text-align: left; text-transform: uppercase; transition: color .2s ease; }
.filter-button + .filter-button { padding-left: 22px; }
.filter-button:last-child { border-right: 0; }
.filter-button span { float: right; margin-right: 22px; color: #5f5d58; font-size: 9px; }
.filter-button.active, .filter-button:hover { color: var(--acid); }
.archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.contact-main { position: relative; min-height: calc(100svh - 132px); display: flex; align-items: center; overflow: hidden; background: #071315 url("assets/contact-background.webp") center center / cover no-repeat; }
.contact-main::before { content: ""; position: absolute; z-index: 2; inset: 0; background: linear-gradient(90deg, rgba(2,7,8,.86) 0%, rgba(2,7,8,.62) 52%, rgba(2,7,8,.45) 100%); box-shadow: inset 0 0 190px rgba(0,0,0,.62); }
.contact-layout { position: relative; z-index: 4; display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 8vw; padding: 100px 0; }
.contact-layout h1 { margin: 26px 0 0; font-size: clamp(64px, 9vw, 140px); line-height: .79; letter-spacing: -.07em; text-transform: uppercase; }
.contact-layout h1 em { font-family: inherit; font-weight: 300; text-transform: lowercase; }
.social-list { border-top: 1px solid var(--line); }
.social-list a { display: grid; grid-template-columns: 1fr auto 22px; align-items: center; gap: 18px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.social-list span { font-size: 20px; font-weight: 650; letter-spacing: -.025em; }
.social-list small { color: var(--muted); font-size: 9px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.social-list i { font-size: 18px; font-style: normal; transition: transform .25s ease; }
.social-list a:hover i { transform: translate(4px, -4px); }

@media (max-width: 1050px) {
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 18px; }
  .project-grid, .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-art strong { font-size: clamp(38px, 6vw, 70px); }
}

@media (max-width: 900px) {
  .site-header, .site-header.scrolled, .site-header.solid { height: 92px; align-items: flex-start; padding: calc(19px + env(safe-area-inset-top)) 18px 0; }
  .menu-open .site-header { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .brand { width: 82px; }
  .menu-toggle { position: relative; z-index: 102; width: 42px; height: 42px; display: block; padding: 0; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span { position: absolute; left: 8px; width: 26px; height: 1px; background: var(--paper); transition: transform .3s ease, top .3s ease; }
  .menu-toggle span:first-child { top: 16px; }
  .menu-toggle span:last-child { top: 25px; }
  .menu-open .menu-toggle span:first-child { top: 21px; transform: rotate(45deg); }
  .menu-open .menu-toggle span:last-child { top: 21px; transform: rotate(-45deg); }
  .site-nav { position: fixed; z-index: 101; top: 0; left: 0; width: 100vw; height: 100vh; height: 100dvh; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0; overflow-y: auto; overscroll-behavior: contain; padding: calc(118px + env(safe-area-inset-top)) 18px 40px; background: var(--ink); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s ease, visibility .3s ease, transform .3s ease; }
  .menu-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .site-nav a { flex: 0 0 auto; width: 100%; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: clamp(29px, 8vw, 44px); font-weight: 650; line-height: 1; letter-spacing: -.045em; text-transform: none; }
  .site-nav a::after { display: none; }
  .inner-page { padding-top: 92px; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100vw - 36px); }
  .section { padding: 82px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 26px; margin-bottom: 34px; }
  .section-heading h2 { font-size: clamp(47px, 15vw, 70px); }
  .hero { min-height: 560px; }
  .hero-copy { top: auto; bottom: 12vh; left: 50%; width: calc(100% - 36px); }
  .hero-copy h1 { font-size: clamp(17px, 5.4vw, 23px); line-height: 1.25; letter-spacing: .08em; }
  .scroll-cue { right: 18px; bottom: 21px; }
  .about-section { min-height: 0; display: block; padding: 0 0 72px; background: var(--ink); }
  .about-section::before { inset: 0 0 auto; height: 62svh; min-height: 470px; background: linear-gradient(180deg, rgba(3,6,6,.06) 0%, rgba(3,6,6,.08) 67%, var(--ink) 100%), url("assets/about-background-mobile.webp") center 58% / cover no-repeat; }
  .about-section::after { inset: 0 0 auto; height: 62svh; min-height: 470px; box-shadow: inset 0 0 80px rgba(0,0,0,.28); }
  .about-section .section-shell { padding-top: calc(max(62svh, 470px) + 22px); }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-lead { max-width: 560px; font-size: clamp(17px, 4.8vw, 22px); font-weight: 400; line-height: 1.42; letter-spacing: 0; text-shadow: none; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 12px; }
  .team-card:last-child { grid-column: 1 / -1; width: calc(50% - 6px); }
  .team-card > div { padding-top: 13px; }
  .team-card h3 { font-size: 16px; }
  .team-card p { font-size: 8px; }
  .projects-heading .text-link { margin-top: 0; }
  .project-grid, .archive-grid { grid-template-columns: 1fr; gap: 43px; }
  .project-art { aspect-ratio: 4 / 4.85; }
  .project-info h3, .project-info h2 { font-size: 23px; }
  .contact-cta a { align-items: flex-start; }
  .contact-cta a span { font-size: clamp(45px, 14vw, 66px); }
  .contact-cta a i { font-size: 38px; }
  .contact-cta { min-height: 58svh; background-position: 52% center; }
  .contact-cta::before { background: linear-gradient(180deg, rgba(2,7,8,.44) 0%, rgba(2,7,8,.78) 100%); box-shadow: inset 0 0 100px rgba(0,0,0,.55); }
  .site-footer .section-shell { flex-direction: column; }
  .page-hero { min-height: 45vh; padding: 74px 0 46px; }
  .page-hero h1 { font-size: clamp(70px, 23vw, 104px); }
  .page-hero > .section-shell > p:last-child { margin-left: 0; }
  .archive-section { padding-top: 46px; }
  .filter-bar { grid-template-columns: 1fr; margin-bottom: 40px; }
  .filter-button, .filter-button + .filter-button { padding: 17px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .filter-button:last-child { border-bottom: 0; }
  .filter-button span { margin-right: 0; }
  .contact-main { min-height: calc(100svh - 126px); }
  .contact-main { background-position: 52% center; }
  .contact-main::before { background: linear-gradient(180deg, rgba(2,7,8,.42) 0%, rgba(2,7,8,.8) 100%); box-shadow: inset 0 0 110px rgba(0,0,0,.6); }
  .contact-layout { grid-template-columns: 1fr; gap: 70px; padding: 74px 0; }
  .contact-layout h1 { font-size: clamp(58px, 18vw, 92px); }
  .social-list a { grid-template-columns: 1fr 20px; }
  .social-list small { grid-column: 1 / 2; grid-row: 2; }
  .social-list i { grid-column: 2; grid-row: 1 / 3; }
}

@media (max-width: 390px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-card:last-child { grid-column: auto; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
