:root {
  --paper: #fff;
  --ink: #151515;
  --muted: #6d6d68;
  --line: rgba(21, 21, 21, .18);
  --olive: #70764b;
  --wrap: min(1440px, calc(100% - 80px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Karla", sans-serif;
  letter-spacing: -.06em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--olive); color: #fff; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.wrap { width: var(--wrap); margin-inline: auto; }
.nav { position: fixed; z-index: 100; top: 0; left: 0; width: 100%; height: 132px; padding-inline: max(40px, calc((100vw - 1440px)/2)); display: flex; align-items: center; justify-content: space-between; background-color: rgba(0,0,0,0); color: var(--ink); box-shadow: 0 0 0 rgba(21,21,21,0); transition: height .45s cubic-bezier(.22,1,.36,1), background-color .45s cubic-bezier(.22,1,.36,1), color .3s ease, box-shadow .45s ease; will-change: height, background-color; }
.nav.is-scrolled { height: 88px; background-color: #000; color: #fff; box-shadow: 0 8px 28px rgba(21,21,21,.12); }
.mark { font-size: clamp(28px, 3.2vw, 52px); font-weight: 700; line-height: .9; }
.mark,
.hero h1,
.subhead h2,
.echoen-copy h2,
.web-project-copy h2,
.capability h3,
strong,
b { letter-spacing: -.06em; }
.nav nav { display: flex; gap: 46px; font-size: 20px; }
.nav nav a { position: relative; transition: color .25s ease; }
.nav nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.35em; height: 2px; background: var(--olive); transform: scaleX(0); transform-origin: right; transition: transform .3s cubic-bezier(.22,1,.36,1); }
.nav nav a:hover { color: inherit; }
.nav nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; }

.label { margin: 0; font-size: 16px; line-height: 1.2; }
.hero { min-height: 100svh; padding-top: 190px; padding-bottom: 60px; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-title { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: clamp(30px, 5vw, 90px); margin: 3vh 0 9vh; }
.hero h1 { margin: 0; font-size: clamp(76px, 11.5vw, 176px); line-height: .84; font-weight: 700; }
.hero h1 em { font-family: "Cormorant Garamond", serif; font-size: 1.5em; font-weight: 500; letter-spacing: -.04em; }
.type-cursor { display: inline-block; width: .045em; height: .72em; margin-left: .035em; background: currentColor; vertical-align: -.02em; animation: cursor-blink .8s steps(1, end) infinite; }
.scroll-arrow { display: inline-flex; align-items: center; justify-content: center; padding: .12em; font-size: clamp(64px, 7vw, 110px); line-height: 1; transition: color .25s ease; animation: arrow-float 1.8s ease-in-out infinite; }
.scroll-arrow:hover { color: var(--olive); }
@keyframes arrow-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
@keyframes cursor-blink { 0%,48% { opacity: 1; } 49%,100% { opacity: 0; } }

.work { padding-block: 150px; }
#arbeiten,
#leistungen,
#kontakt { scroll-margin-top: 112px; }
.subhead { margin: 180px 0 42px; display: flex; align-items: end; justify-content: space-between; }
.subhead h2 { margin: 0; font-size: clamp(48px, 7vw, 100px); line-height: .85; }
.echoen-head { margin-top: 0; }
.release figure { margin: 0; overflow: hidden; background: #ddd; aspect-ratio: 1; }
.release img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: contain; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s; }
.release:hover img { transform: scale(1.012); filter: saturate(.8); }

.echoen { background: var(--ink); color: var(--paper); padding: clamp(24px, 4vw, 64px); }
.echoen > a,
.web-project > a { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(35px, 7vw, 120px); align-items: center; }
.echoen-copy,
.web-project-copy { position: relative; }
.echoen-copy h2,
.web-project-copy h2 { margin: 22px 0 44px; font-size: clamp(42px, 5.4vw, 84px); line-height: .87; }
.project-roles { margin: 0; font-size: clamp(18px, 1.6vw, 25px); line-height: 1.45; }
.arrow { position: absolute; right: 0; bottom: 0; font-size: 36px; }

.web-project { margin-top: 80px; background: #e9e5df; padding: clamp(24px, 4vw, 64px); }
.site-preview { width: 100%; background: #fff; box-shadow: 0 18px 55px rgba(21,21,21,.12); }
.site-preview img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.web-project-copy h2 { overflow-wrap: anywhere; }

.capabilities { margin-top: 190px; }
.capability + .capability { margin-top: 170px; }
.capability h3 { margin: 0; padding: 54px 0; font-size: clamp(42px, 6vw, 88px); line-height: .95; font-weight: 600; }
.capability ul { list-style: none; margin: 0; padding: 0; }
.capability li { padding: 24px 0; border-bottom: 2pt solid var(--ink); font-size: clamp(26px, 3.2vw, 46px); line-height: 1.05; }

.contact { min-height: 90svh; background: var(--olive); color: #fff; width: 100%; max-width: none; padding: 80px max(40px, calc((100vw - 1440px)/2)); display: flex; flex-direction: column; justify-content: space-between; }
.contact-main h2 { font-size: clamp(76px, 12vw, 180px); line-height: .82; margin: 8vh 0; letter-spacing: -.06em; }
.contact-main h2 em { font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 500; letter-spacing: -.04em; }
.contact-main a { font-size: clamp(20px, 2.7vw, 40px); border-bottom: 1px solid; display: flex; justify-content: space-between; padding-bottom: 12px; }
.contact footer { display: flex; justify-content: space-between; font-size: 16px; text-transform: none; }

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

@media (max-width: 760px) {
  :root { --wrap: calc(100% - 36px); }
  .nav { height: 82px; }
  .nav nav { gap: 16px; }
  .hero { padding-top: 125px; min-height: 92svh; }
  .hero h1 { font-size: clamp(65px, 22vw, 110px); }
  .hero-title { gap: 12px; }
  .scroll-arrow { font-size: clamp(50px, 16vw, 78px); }
  .work { padding-block: 100px; }
  .subhead { margin-top: 0; }
  .echoen > a,
  .web-project > a { grid-template-columns: 1fr; }
  .echoen-copy { padding-bottom: 30px; }
  .web-project { margin-top: 28px; }
  .web-project-copy { padding-bottom: 30px; }
  .capabilities { margin-top: 110px; }
  .capability + .capability { margin-top: 110px; }
  .capability h3 { padding: 36px 0; }
  .capability li { padding: 18px 0; font-size: clamp(26px, 8vw, 40px); }
  .contact { padding: 60px 18px; min-height: 80svh; }
  .contact footer { display: grid; gap: 10px; }
  .contact-main h2 { font-size: 21vw; }
}

@media (max-width: 1024px) {
  html { scroll-padding-top: 96px; }
  #arbeiten,
  #leistungen,
  #kontakt { scroll-margin-top: 96px; }
  body.menu-open { overflow: hidden; }
  .nav { height: 96px; padding-inline: 18px; }
  .nav.is-scrolled { height: 76px; }
  .mark { position: relative; z-index: 12; font-size: clamp(27px, 5vw, 42px); }
  .menu-toggle { position: relative; z-index: 12; display: grid; width: 52px; height: 52px; padding: 14px 8px; border: 0; background: transparent; cursor: pointer; align-content: center; gap: 9px; color: var(--ink); }
  .menu-toggle span { display: block; width: 100%; height: 2px; background: currentColor; transition: transform .3s ease; }
  .menu-toggle[aria-expanded="true"] { color: #fff; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(5.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-5.5px) rotate(-45deg); }
  .nav:has(.menu-toggle[aria-expanded="true"]) .mark { color: #fff; }
  .nav nav { position: fixed; z-index: 11; top: 0; left: 0; width: 100vw; height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(38px, 7vh, 74px); padding: 120px 24px 60px; background: #000; color: #fff; font-size: clamp(52px, 11vw, 104px); line-height: 1; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-12px); transition: opacity .3s ease, transform .3s ease, visibility .3s; }
  .nav nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .nav nav a:hover { color: #fff; opacity: 1; }
  .nav nav a::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .release img { transition: none; }
  .scroll-arrow { animation: none; }
  .type-cursor { display: none; }
  .nav nav,
  .menu-toggle span { transition: none; }
}
