:root { --bg: #000000; --panel: #0E0E0E; --line: #262626; --white: #FFFFFF; --muted: #A3A3A3; --soft: #D4D4D4; --green: #8DB38F; --green-deep: #1C2A1E; --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif; --ease: cubic-bezier(.22,1,.36,1); }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; background: var(--bg); }
body { margin: 0; background: var(--bg); }
.site { font-family: var(--sans); color: var(--white); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
.site img { display: block; max-width: 100%; height: auto; }
.site :focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }

/* Language */
html[data-lang="tr"] [data-l="en"], html[data-lang="en"] [data-l="tr"] { display: none !important; }

.label { margin: 0; font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.label--green { color: var(--green); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 1.5rem; padding: 1.1rem clamp(1.25rem, 4vw, 3.5rem); background: linear-gradient(to bottom, rgba(0,0,0,.85), rgba(0,0,0,0)); }
.wordmark { display: flex; flex-direction: column; margin-right: auto; color: var(--white); text-decoration: none; line-height: 1; }
.wordmark__name { font-size: 1.15rem; font-weight: 500; }
.wordmark__role { margin-top: .35rem; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a { color: var(--white); text-decoration: none; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; padding: .6rem 0; opacity: .85; transition: opacity .3s; }
.site-nav a:hover { opacity: 1; }
.site-nav .nav-cta { padding: .75rem 1.4rem; border: 1px solid var(--white); opacity: 1; transition: background .3s, color .3s; }
.site-nav .nav-cta:hover { background: var(--white); color: var(--bg); }
.menu-toggle { display: none; min-height: 44px; padding: 0 1rem; border: 1px solid var(--white); background: none; color: var(--white); font: 500 .74rem var(--sans); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; }
.lang { display: inline-flex; border: 1px solid rgba(255,255,255,.35); }
.lang button { min-width: 44px; min-height: 40px; padding: 0 .7rem; border: 0; background: transparent; color: var(--muted); font: 600 .72rem var(--sans); letter-spacing: .16em; cursor: pointer; transition: background .3s, color .3s; }
html[data-lang="en"] .lang [data-set-lang="en"], html[data-lang="tr"] .lang [data-set-lang="tr"] { background: var(--green); color: var(--bg); }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; object-position: 65% center; animation: settle 2.4s var(--ease) both; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.1) 100%), linear-gradient(to top, #000 0%, rgba(0,0,0,0) 35%); }
.hero__text { position: relative; z-index: 1; padding: 0 clamp(1.25rem, 4vw, 3.5rem) clamp(4rem, 10vh, 7rem); max-width: 48rem; }
.hero__title { margin: 1.2rem 0 0; font-size: clamp(3rem, 7vw, 6.5rem); font-weight: 300; line-height: .98; letter-spacing: -.035em; }
.hero__lede { margin: 1.5rem 0 0; max-width: 40ch; font-size: 1.1rem; line-height: 1.6; color: var(--soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }
.hero__title, .hero__lede, .hero__actions { animation: rise 1.1s var(--ease) both; }
.hero__lede { animation-delay: .12s; } .hero__actions { animation-delay: .24s; }
.btn-solid, .btn-line { display: inline-flex; align-items: center; min-height: 52px; padding: 0 2rem; text-decoration: none; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; }
.btn-solid { background: var(--white); color: var(--bg); font-weight: 600; transition: background .3s; }
.btn-solid:hover { background: var(--green); }
.btn-line { border: 1px solid rgba(255,255,255,.5); color: var(--white); font-weight: 500; transition: border-color .3s; }
.btn-line:hover { border-color: var(--green); }

/* Facts */
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts li { display: flex; flex-direction: column; gap: .6rem; padding: 2rem clamp(1.25rem, 3vw, 2.5rem); border-right: 1px solid var(--line); line-height: 1.4; }
.facts li:last-child { border-right: 0; }

/* Sections */
.sec { padding: clamp(4.5rem, 10vw, 8rem) clamp(1.25rem, 4vw, 3.5rem); border-bottom: 1px solid var(--line); }
.sec__head { margin-bottom: 3rem; }
.sec__title { margin: .9rem 0 0; font-size: clamp(2.2rem, 4.5vw, 3.8rem); font-weight: 300; letter-spacing: -.03em; line-height: 1.05; }
.para { margin: 0; max-width: 62ch; font-size: 1.05rem; line-height: 1.7; color: var(--soft); }
.sub { margin: 2.5rem 0 .9rem; font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

.sec--principles { background: linear-gradient(180deg, var(--green-deep) 0%, var(--bg) 100%); }
.principles__intro { margin-top: 1.5rem; max-width: 58ch; }
.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1px; background: rgba(141,179,143,.25); border: 1px solid rgba(141,179,143,.25); }
.principles li { padding: 2rem 1.75rem 2.25rem; background: var(--bg); transition: background .4s; }
.principles li:hover { background: #050805; }
.principles li::before { content: ""; display: block; width: 2rem; height: 2px; margin-bottom: 1.5rem; background: var(--green); transition: width .5s var(--ease); }
.principles li:hover::before { width: 4rem; }
.principles__title { margin: 0; font-size: 1.25rem; font-weight: 500; line-height: 1.25; }
.principles__text { margin: .8rem 0 0; color: var(--soft); line-height: 1.65; font-size: .98rem; }

.resume { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.resume__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.cv { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cv li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.cv__when { font-size: .9rem; color: var(--green); }
.cv__what { display: flex; flex-direction: column; gap: .25rem; line-height: 1.5; }
.cv__what strong { font-size: 1.2rem; font-weight: 500; }
.cv__note { color: var(--muted); font-size: .95rem; }

/* Blog */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.filter { min-height: 44px; padding: 0 1.1rem; border: 1px solid var(--line); background: transparent; color: var(--muted); font: 500 .75rem var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: border-color .3s, color .3s, background .3s; }
.filter:hover { border-color: var(--green); color: var(--white); }
.filter[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--bg); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 2.5rem 1.75rem; }
.card { position: relative; display: flex; flex-direction: column; gap: .7rem; color: var(--white); text-decoration: none; padding-bottom: 1.25rem; }
.card[hidden] { display: none; }
.card::after, .card::before { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; }
.card::after { background: var(--line); }
.card::before { z-index: 1; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.card:hover::before, .card:focus-visible::before { transform: scaleX(1); }
.card__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--panel); margin-bottom: .6rem; }
.card__img img { width: 100%; height: 100% !important; object-fit: cover; filter: brightness(.85); transition: transform 1.2s var(--ease), filter .6s; }
.card:hover .card__img img { transform: scale(1.06); filter: brightness(1); }
.card__title { font-size: 1.35rem; font-weight: 400; line-height: 1.25; letter-spacing: -.01em; }
.card__dek { color: var(--muted); line-height: 1.55; font-size: .95rem; }
.card__more { margin-top: auto; padding-top: .5rem; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.card__more::after { content: "  →"; color: var(--green); display: inline-block; transition: transform .4s; }
.card:hover .card__more::after { transform: translateX(6px); }
.cases__empty { max-width: 54ch; font-size: 1.25rem; font-weight: 300; }

/* Contact */
.contact { padding: clamp(5rem, 12vw, 9rem) clamp(1.25rem, 4vw, 3.5rem); text-align: center; }
.contact .para { margin: 1.25rem auto 0; }
.contact__title { margin: .9rem 0 0; font-size: clamp(3rem, 8vw, 7rem); font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.contact-lines { display: flex; flex-direction: column; align-items: center; gap: .4rem; margin-top: 1.75rem; }
.contact-line { margin: 0; color: var(--white); text-decoration: none; font-size: 1.15rem; }
a.contact-line:hover { color: var(--green); }
.contact-link { display: inline-flex; align-items: center; min-height: 56px; margin-top: 2.5rem; padding: 0 2.25rem; background: var(--white); color: var(--bg); text-decoration: none; font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; transition: background .3s; }
.contact-link:hover { background: var(--green); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 2rem clamp(1.25rem, 4vw, 3.5rem); border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }

/* Article and case pages */
.progress { position: fixed; inset: 0 0 auto 0; z-index: 60; height: 2px; }
.progress__bar { height: 100%; background: var(--green); transform: scaleX(0); transform-origin: left; }
.article { padding: 8rem clamp(1.25rem, 4vw, 3.5rem) 4rem; }
.article__head { max-width: 52rem; margin: 0 auto; }
.article__back { display: inline-flex; min-height: 44px; align-items: center; margin-bottom: 2rem; color: var(--muted); text-decoration: none; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; transition: color .3s; }
.article__back:hover { color: var(--green); }
.article__title { margin: 1rem 0 0; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 300; line-height: 1.05; letter-spacing: -.03em; text-wrap: balance; }
.article__dek { margin: 1.25rem 0 0; font-size: 1.2rem; line-height: 1.55; color: var(--muted); max-width: 46ch; }
.article__fig { max-width: 70rem; margin: 3.5rem auto 0; aspect-ratio: 16 / 9; overflow: hidden; }
.article__fig img { width: 100%; height: 100% !important; object-fit: cover; animation: settle 2s var(--ease) both; }
.article__body { max-width: 40rem; margin: 3.5rem auto 0; }
.article__body p, .article__body li { font-size: 1.12rem; line-height: 1.8; color: #DADADA; }
.article__body p { margin: 0 0 1.5rem; }
.article__body h2, .article__body h3 { font-weight: 400; margin: 2.5rem 0 1rem; }
.article__body a { color: var(--green); }
.article__body > div > p:first-child::first-letter { float: left; margin: .35rem .6rem 0 0; font-size: 3.6rem; line-height: .8; font-weight: 300; color: var(--green); }
.case-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1rem; max-width: 70rem; margin: 3rem auto 0; }
.case-gallery img { width: 100%; }
.next { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .6rem 2rem; align-items: end; max-width: 52rem; margin: 5rem auto 0; padding: 2.25rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--white); text-decoration: none; }
.next .label { grid-column: 1 / -1; }
.next__title { font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 300; line-height: 1.15; }
.next__arrow { font-size: 2rem; color: var(--green); transition: transform .5s var(--ease); }
.next:hover .next__arrow { transform: translateX(10px); }

/* Motion */
@keyframes rise { from { transform: translateY(30px); } to { transform: none; } }
@keyframes settle { from { transform: scale(1.08); } to { transform: none; } }
.motion-ok [data-reveal] { transform: translateY(26px); transition: transform 1s var(--ease); }
.motion-ok [data-reveal].is-in { transform: none; }

/* Page transitions between pages: circular reveal from the click point */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .6s cubic-bezier(.7,0,.25,1) both; }
::view-transition-new(root) { animation: vt-in .8s cubic-bezier(.7,0,.25,1) both; }
@keyframes vt-in { from { clip-path: circle(0% at var(--vt-x, 50%) var(--vt-y, 50%)); } to { clip-path: circle(150% at var(--vt-x, 50%) var(--vt-y, 50%)); } }
@keyframes vt-out { to { transform: scale(.97); filter: brightness(.35); } }

/* Responsive */
@media (max-width: 900px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(2n) { border-right: 0; }
  .facts li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .resume { grid-template-columns: minmax(0, 1fr); }
  .resume__img { max-width: 28rem; }
}
@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .wordmark { margin-right: 0; }
  .lang { margin-left: auto; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; padding: 1rem 1.25rem 1.5rem; background: var(--bg); border-bottom: 1px solid var(--line); }
  .site-header[data-open="true"] { background: var(--bg); }
  .site-header[data-open="true"] .site-nav { display: flex; }
  .site-nav .nav-cta { margin-top: .75rem; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts li { border-right: 0; border-bottom: 1px solid var(--line); }
  .cv li { grid-template-columns: minmax(0, 1fr); gap: .3rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .hero__img, .hero__title, .hero__lede, .hero__actions, .article__fig img { animation: none; }
  .card__img img, .card::before { transition: none; }
}
