:root {
  --ink: #173a31;
  --forest: #244e42;
  --lime: #b9c9b1;
  --lime-soft: #dbe4d7;
  --stone: #c8bba8;
  --paper: #f1efe8;
  --paper-bright: #f8f7f2;
  --black: #111713;
  --line: rgba(23, 58, 49, 0.2);
  --mono: "DM Mono", monospace;
  --sans: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
button, a { color: inherit; }
button { font: inherit; }
a { text-decoration: none; }
::selection { background: var(--lime); color: var(--ink); }

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .035;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 15;
  height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(20px, 4.5vw, 72px);
  border-bottom: 1px solid rgba(241, 239, 232, .16);
  color: var(--paper-bright);
  transition: background .35s ease, color .35s ease, height .35s ease, border-color .35s ease;
}
.site-header.is-scrolled {
  height: 72px;
  color: var(--ink);
  background: rgba(241, 239, 232, .91);
  backdrop-filter: blur(14px);
  border-color: var(--line);
}
.brand { display: inline-flex; align-items: center; width: max-content; }
.brand-wordmark, .contact-wordmark { display: inline-flex; align-items: center; white-space: nowrap; font-family: var(--sans); line-height: 1; letter-spacing: .105em; }
.brand-wordmark { font-size: 18px; }
.brand-wordmark b, .contact-wordmark b { font-weight: 400; }
.brand-wordmark > span, .contact-wordmark > span { margin-left: 0; font-weight: 300; letter-spacing: inherit; }
.logo-a { display: inline-block; width: .77em; height: .92em; margin: 0 .035em 0 .01em; flex: 0 0 auto; background: currentColor; clip-path: polygon(46% 0, 54% 0, 100% 100%, 87% 100%, 50% 18%, 13% 100%, 0 100%); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.main-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 48px); font-size: 12px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.main-nav a { position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: currentColor; transition: right .25s ease; }
.main-nav a:hover::after { right: 0; }
.lang-switch { justify-self: end; display: flex; gap: 6px; align-items: center; font: 11px var(--mono); }
.lang-button { border: 0; background: none; padding: 8px 2px; opacity: .48; cursor: pointer; }
.lang-button.is-active { opacity: 1; font-weight: 500; }

.hero {
  min-height: 100svh;
  padding: 150px clamp(20px, 4.5vw, 72px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  grid-template-rows: 1fr auto;
  gap: 48px;
  background: var(--ink);
  color: var(--paper-bright);
  overflow: hidden;
}
.hero-copy { align-self: center; max-width: 810px; padding: 40px 0 72px; }
.eyebrow, .index { margin: 0 0 30px; font: 11px var(--mono); letter-spacing: .13em; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--lime-soft); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(185,201,177,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(185,201,177,0); } 100% { box-shadow: 0 0 0 0 rgba(185,201,177,0); } }
h1 { margin: 0; font-size: clamp(52px, 6.3vw, 108px); line-height: .94; letter-spacing: -.065em; font-weight: 500; }
h1 .outline { color: transparent; -webkit-text-stroke: 1px rgba(248,247,242,.62); }
.hero-intro { max-width: 665px; margin: 42px 0 0; color: rgba(248,247,242,.68); font-size: clamp(15px, 1.35vw, 19px); line-height: 1.72; }
.hero-actions { display: flex; align-items: center; gap: 34px; margin-top: 38px; }
.primary-button { display: flex; justify-content: space-between; align-items: center; min-width: 230px; padding: 16px 18px; background: var(--lime); color: var(--ink); font-size: 13px; font-weight: 700; transition: transform .25s ease, background .25s ease; }
.primary-button:hover { background: var(--paper-bright); transform: translateY(-2px); }
.text-button { border: 0; background: none; color: rgba(248,247,242,.75); padding: 12px 0; cursor: pointer; font: 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.text-button .line { display: block; width: 100%; height: 1px; margin-top: 7px; background: currentColor; transform-origin: left; transition: transform .25s ease; }
.text-button:hover .line { transform: scaleX(.35); }

.hero-visual { position: relative; min-height: 560px; display: grid; place-items: center; align-self: stretch; border-left: 1px solid rgba(248,247,242,.14); }
.matter-stage { position: relative; width: min(34vw, 480px); aspect-ratio: 1; perspective: 900px; transform-style: preserve-3d; }
.slab { position: absolute; left: 17%; width: 66%; height: 23%; border: 1px solid rgba(248,247,242,.7); transform-style: preserve-3d; }
.slab::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(248,247,242,.18); }
.slab-label { position: absolute; left: 14px; bottom: 10px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-family: var(--mono); letter-spacing: .1em; }
.slab-label span { font-size: clamp(9px, .72vw, 11px); font-weight: 400; line-height: 1; opacity: .58; }
html[lang="tr"] .slab-label .label-tr, html[lang="en"] .slab-label .label-en { order: -1; font-size: clamp(12px, 1vw, 14px); font-weight: 500; opacity: 1; }
.slab-a { top: 5%; background: rgba(39,77,67,.9); transform: rotateX(48deg) rotateZ(-26deg) translateZ(48px); }
.slab-b { top: 25%; background: rgba(127,154,142,.9); color: var(--paper-bright); transform: rotateX(60deg) rotateZ(-26deg) translateZ(16px); }
.slab-c { top: 43%; background: rgba(201,191,175,.94); color: var(--ink); transform: rotateX(60deg) rotateZ(-26deg) translateZ(-16px); }
.slab-d { top: 61%; background: rgba(185,201,177,.96); color: var(--ink); transform: rotateX(60deg) rotateZ(-26deg) translateZ(-48px); }
.stage-wordmark { position: absolute; left: 50%; bottom: -10%; transform: translateX(-50%); font-size: clamp(20px, 2.2vw, 32px); color: var(--paper-bright); }
.coordinate { position: absolute; font: 9px var(--mono); letter-spacing: .12em; color: rgba(248,247,242,.45); }
.coordinate.top { top: 28px; left: 28px; }
.coordinate.side { right: -5px; bottom: 105px; transform: rotate(-90deg); }
.hero-foot { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(248,247,242,.16); }
.hero-foot div { display: flex; align-items: baseline; gap: 13px; padding: 22px 0; }
.hero-foot div + div { border-left: 1px solid rgba(248,247,242,.16); padding-left: 28px; }
.hero-foot strong { font: 400 22px var(--mono); color: var(--lime); }
.hero-foot span { color: rgba(248,247,242,.52); font: 10px var(--mono); letter-spacing: .05em; text-transform: uppercase; }

.approach-services { padding: clamp(100px, 12vw, 180px) clamp(20px, 4.5vw, 72px); }
.section-heading { display: grid; grid-template-columns: .72fr 2fr; gap: 40px; align-items: start; margin-bottom: clamp(70px, 9vw, 130px); }
.index { color: #66766f; }
.section-heading h2, .contact h2 { margin: 0; font-size: clamp(44px, 6vw, 92px); line-height: 1.03; letter-spacing: -.06em; font-weight: 500; }
.approach-grid { display: grid; grid-template-columns: .72fr 2fr; gap: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle-tabs { display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.principle-tab { display: block; width: 100%; padding: 27px 28px 27px 0; background: none; border: 0; border-bottom: 1px solid var(--line); text-align: left; cursor: pointer; opacity: .4; transition: opacity .25s ease, padding-left .25s ease; }
.principle-tab:last-child { border-bottom: 0; }
.principle-tab.is-active { opacity: 1; padding-left: 12px; }
.principle-tab b { font: 500 clamp(15px, 1.4vw, 20px) var(--mono); letter-spacing: .05em; }
.principle-panel { min-height: 330px; padding: 42px 0 42px clamp(18px, 4vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.panel-kicker { margin: 0 0 30px; font: 11px var(--mono); color: #66766f; letter-spacing: .08em; }
.principle-panel h3 { max-width: 720px; margin: 0; font-size: clamp(28px, 3.4vw, 52px); line-height: 1.07; letter-spacing: -.045em; font-weight: 500; }
.principle-panel > p:not(.panel-kicker) { max-width: 690px; margin: 24px 0 0; font-size: 15px; line-height: 1.75; color: #576961; }
.principle-meter { display: flex; gap: 8px; margin-top: 34px; }
.principle-meter i { width: 40px; height: 4px; background: var(--ink); transition: width .35s ease, background .35s ease; }
.principle-meter i:nth-child(2) { width: 22px; background: var(--stone); }
.principle-meter i:nth-child(3) { width: 12px; background: var(--lime); }

.services { display: grid; grid-template-columns: .72fr 2fr; gap: 40px; margin-top: clamp(110px, 14vw, 200px); }
.services-intro { padding-right: 40px; }
.services-intro > p:last-child { max-width: 310px; color: #576961; line-height: 1.7; font-size: 14px; }
.service-list { border-top: 1px solid var(--ink); }
.service-item { border-bottom: 1px solid var(--line); }
.service-toggle { width: 100%; display: grid; grid-template-columns: 1fr 32px; align-items: center; gap: 16px; padding: 25px 0; border: 0; background: none; text-align: left; cursor: pointer; }
.service-name { font-size: clamp(18px, 2vw, 28px); letter-spacing: -.025em; }
.service-icon { justify-self: end; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font: 15px var(--mono); transition: background .25s ease, color .25s ease; }
.service-toggle:hover .service-icon, .service-item.is-open .service-icon { background: var(--ink); color: var(--paper); }
.service-detail { display: grid; grid-template-columns: 1fr auto; gap: 34px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s ease, opacity .3s ease, padding .45s ease; padding: 0; }
.service-item.is-open .service-detail { max-height: 240px; opacity: 1; padding-bottom: 30px; }
.service-detail p { max-width: 640px; margin: 0; color: #576961; font-size: 14px; line-height: 1.7; }
.tags { display: flex; flex-wrap: wrap; justify-content: flex-end; align-content: start; gap: 6px; }
.tags span { padding: 7px 9px; border: 1px solid var(--line); font: 9px var(--mono); text-transform: uppercase; letter-spacing: .05em; }

.experience { padding: clamp(100px, 12vw, 180px) clamp(20px, 4.5vw, 72px); background: var(--lime-soft); }
.experience-heading { display: grid; grid-template-columns: .72fr 2fr; gap: 40px; align-items: start; }
.experience-heading h2 { max-width: 1050px; margin: 0; font-size: clamp(40px, 5.2vw, 78px); line-height: 1.04; letter-spacing: -.055em; font-weight: 500; }
.experience-heading > div > p { max-width: 690px; margin: 32px 0 0; color: #52675e; font-size: 16px; line-height: 1.75; }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: clamp(72px, 9vw, 125px); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.project-card { position: relative; min-height: 390px; padding: clamp(26px, 3.5vw, 52px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; transition: background .3s ease, color .3s ease; }
.project-card:hover { background: var(--ink); color: var(--paper-bright); }
.project-meta { font: 10px var(--mono); letter-spacing: .08em; color: #6c7d75; }
.project-card:hover .project-meta, .project-card:hover > p { color: rgba(248,247,242,.62); }
.project-card h3 { margin: auto 0 8px; font-size: clamp(29px, 3vw, 46px); line-height: 1; letter-spacing: -.045em; font-weight: 500; }
.project-card > p { max-width: 590px; margin: 18px 0 0; color: #52675e; font-size: 14px; line-height: 1.7; transition: color .3s ease; }
.project-card .project-role { margin: 0; font: 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.project-type { align-self: flex-start; margin-top: 28px; padding: 7px 9px; border: 1px solid currentColor; font: 9px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.experience-foot { display: grid; grid-template-columns: 1.35fr .65fr; gap: 40px; align-items: start; margin-top: 32px; }
.experience-foot > p { max-width: 720px; margin: 0; color: #62736b; font: 11px/1.7 var(--mono); }
.profile-links { display: flex; justify-content: flex-end; gap: 28px; }
.profile-links a { padding-bottom: 6px; border-bottom: 1px solid var(--ink); font: 11px var(--mono); letter-spacing: .04em; text-transform: uppercase; }

.contact { position: relative; min-height: 95svh; padding: clamp(105px, 12vw, 170px) clamp(20px, 4.5vw, 72px) 30px; background: var(--forest); color: var(--paper-bright); display: grid; grid-template-columns: 1.35fr .65fr; grid-template-rows: 1fr auto; gap: 80px; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 520px; height: 520px; right: -190px; top: -180px; border: 1px solid rgba(248,247,242,.13); transform: rotate(28deg); }
.contact .index { color: var(--lime-soft); }
.contact-copy { align-self: center; }
.contact-copy > p:not(.index) { max-width: 650px; margin: 36px 0 0; color: rgba(248,247,242,.63); line-height: 1.7; font-size: 16px; }
.contact-link { display: flex; justify-content: space-between; align-items: center; width: min(100%, 500px); margin-top: 48px; padding: 18px 0; border-top: 1px solid rgba(248,247,242,.38); border-bottom: 1px solid rgba(248,247,242,.38); font: 500 clamp(18px, 2vw, 25px) var(--sans); transition: color .25s ease, padding .25s ease; }
.contact-link:hover { color: var(--lime); padding-left: 12px; padding-right: 12px; }
.contact-side { align-self: center; display: flex; flex-direction: column; justify-content: space-between; min-height: 390px; border-left: 1px solid rgba(248,247,242,.18); padding-left: clamp(25px, 4vw, 60px); }
.contact-wordmark { font-size: clamp(34px, 5.2vw, 76px); color: var(--paper-bright); }
.contact-details { display: grid; gap: 18px; }
.contact-details p { margin: 0; padding-top: 12px; border-top: 1px solid rgba(248,247,242,.14); }
.contact-details span, .contact-details b { display: block; }
.contact-details span { margin-bottom: 6px; font: 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(248,247,242,.46); }
.contact-details b { font-size: 13px; font-weight: 500; }
footer { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; padding-top: 24px; border-top: 1px solid rgba(248,247,242,.17); font: 9px var(--mono); letter-spacing: .08em; color: rgba(248,247,242,.45); }
footer p { margin: 0; }
footer p:last-child { justify-self: end; }
.footer-brand { color: var(--paper-bright); }
.footer-brand .brand-wordmark { font-size: 14px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 920px) {
  .site-header { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 120px; }
  .hero-copy { padding-bottom: 0; }
  .hero-visual { min-height: 440px; border-left: 0; border-top: 1px solid rgba(248,247,242,.14); }
  .matter-stage { width: min(78vw, 460px); }
  .hero-foot { gap: 0; }
  .hero-foot div { flex-direction: column; gap: 4px; }
  .section-heading, .approach-grid, .services, .experience-heading { grid-template-columns: 1fr; }
  .section-heading { gap: 10px; }
  .principle-tabs { border-right: 0; flex-direction: row; }
  .principle-tab { display: block; padding: 20px 12px; text-align: center; border-right: 1px solid var(--line); border-bottom: 0; }
  .principle-tab.is-active { padding-left: 12px; background: rgba(23,58,49,.05); }
  .principle-panel { padding-left: 0; }
  .services-intro > p:last-child { max-width: 600px; }
  .project-card { min-height: 350px; }
  .experience-foot { grid-template-columns: 1fr; }
  .profile-links { justify-content: flex-start; }
  .contact { grid-template-columns: 1fr; }
  .contact-side { min-height: 260px; border-left: 0; border-top: 1px solid rgba(248,247,242,.18); padding: 34px 0 0; }
}

@media (max-width: 620px) {
  .site-header { height: 72px; }
  .brand-wordmark { font-size: 16px; }
  .hero { gap: 22px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 10px; }
  .primary-button { min-width: 0; }
  .text-button { align-self: flex-start; }
  .hero-foot { grid-template-columns: 1fr; padding: 12px 0; }
  .hero-foot div { flex-direction: row; align-items: baseline; padding: 8px 0; }
  .hero-foot div + div { border-left: 0; padding-left: 0; }
  .principle-tab b { font-size: 10px; }
  .service-toggle { grid-template-columns: 1fr 28px; gap: 8px; }
  .service-detail { grid-template-columns: 1fr; }
  .service-item.is-open .service-detail { max-height: 330px; }
  .tags { justify-content: flex-start; padding-bottom: 4px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 330px; }
  .profile-links { flex-direction: column; align-items: flex-start; gap: 14px; }
  footer { grid-template-columns: 1fr; gap: 11px; }
  footer p:last-child { justify-self: start; }
}

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