@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;800&family=Share+Tech&display=swap");

:root {
  --ink: #0a0a0a;
  --paper: #f0eee8;
  --muted: #aaa9a4;
  --line: #353535;
  --orange: #ff5a1f;
  --blue: #4775ff;
  --sans: "Roboto", sans-serif;
  --mono: "Share Tech", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--paper); background: var(--ink); font-family: var(--sans); overflow-x: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: .5rem;
  left: .5rem;
  padding: .75rem 1rem;
  color: var(--ink);
  background: var(--paper);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.grid-shell {
  width: 100%;
  border-inline: 1px solid var(--line);
  background-image: linear-gradient(90deg,
    transparent calc(25% - 1px), var(--line) 25%, transparent calc(25% + 1px),
    transparent calc(50% - 1px), var(--line) 50%, transparent calc(50% + 1px),
    transparent calc(75% - 1px), var(--line) 75%, transparent calc(75% + 1px));
}

.site-head {
  min-height: 74px;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font: 11px/1.3 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.monogram {
  width: 32px;
  height: 36px;
  margin-left: 1.25rem;
  overflow: hidden;
  color: transparent;
  background: url('../favicon.svg') center / contain no-repeat;
  text-decoration: none;
}
.site-head p { margin: 0; padding-left: 1.25rem; }
.site-head nav { display: flex; justify-content: space-between; gap: 1rem; padding-inline: 1.25rem; }
.site-head nav a { text-underline-offset: 5px; }

.hero { position: relative; min-height: min(880px, calc(100svh - 74px)); overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__meta {
  min-height: 62px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font: 10px var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero__meta p { margin: 0; padding-left: 1.25rem; }
.hero__meta p:last-child { padding-left: calc(50% + 1.25rem); }
.hero__meta span { color: var(--orange); margin-right: .8rem; }
.status { display: flex; align-items: center; gap: .6rem; }
.status i { width: 7px; height: 7px; background: var(--orange); border-radius: 50%; box-shadow: 0 0 0 4px rgb(255 90 31 / 12%); animation: pulse 2.6s ease-in-out infinite; }

.hero__copy { position: relative; z-index: 3; padding: clamp(4rem, 9vh, 6.5rem) 1.25rem 8rem; }
.hero h1 {
  max-width: 1200px;
  margin: 0;
  font-size: clamp(4rem, 9.35vw, 8.9rem);
  font-weight: 800;
  line-height: .84;
  letter-spacing: -.065em;
}
.hero h1 em { color: var(--orange); font-style: normal; }
.hero__copy > p {
  width: min(430px, calc(42vw - 1.25rem));
  margin: 3rem 0 0 calc(50% + 1.25rem);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.55;
}
.hero__portrait { position: absolute; z-index: 2; right: -2%; bottom: 0; width: min(48vw, 660px); pointer-events: none; }
.hero__portrait img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 28%;
  filter: grayscale(1) contrast(1.3) brightness(.8);
  mix-blend-mode: luminosity;
  mask-image: radial-gradient(ellipse 54% 62% at 51% 44%, #000 43%, transparent 82%);
}
.portrait-signal {
  position: absolute;
  z-index: 2;
  right: 5%;
  top: 19%;
  padding: .5rem .7rem;
  color: var(--ink);
  background: var(--orange);
  font: 700 10px var(--mono);
  letter-spacing: .08em;
  transform: rotate(90deg) translateX(100%);
  transform-origin: right top;
}
.hero__foot {
  position: absolute;
  z-index: 4;
  inset: auto 0 0;
  min-height: 54px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 1.25rem;
  border-top: 1px solid var(--line);
  font: 10px var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgb(255 90 31 / 0%); } }

.work__head {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  min-height: 360px;
  border-bottom: 1px solid var(--line);
}
.work__head > * { margin: 0; padding: clamp(1.4rem, 3vw, 2.5rem) 1.25rem; }
.work__head > p:first-child { font: 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.work__head > p:first-child span { color: var(--orange); margin-right: .8rem; }
.work__head h2 { align-self: end; font-size: clamp(3rem, 6vw, 6rem); line-height: .82; letter-spacing: -.055em; }
.work__head > p:last-child { align-self: end; color: var(--muted); font-size: 1rem; line-height: 1.55; }

.project {
  min-height: 610px;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.project > * { min-width: 0; }
.project__number { padding: 1.5rem 1.25rem; font: 10px var(--mono); letter-spacing: .08em; }
.project__copy { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(2rem, 5vw, 4.5rem) 1.25rem; }
.project__label { margin: 0 0 auto; color: var(--orange); font: 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.project h3 { margin: 3rem 0 1.5rem; font-size: clamp(4rem, 8vw, 8rem); line-height: .76; letter-spacing: -.06em; }
.project__copy > p:not(.project__label) { max-width: 560px; margin: 0; color: var(--muted); font-size: 1.1rem; line-height: 1.55; }
.project__copy a { display: flex; justify-content: space-between; width: min(100%, 560px); margin-top: 2rem; padding-block: 1rem; border-top: 1px solid var(--line); font: 700 11px var(--mono); letter-spacing: .06em; text-underline-offset: 5px; text-transform: uppercase; }
.project__note { margin-top: 2rem; font: 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.project__visual { min-width: 0; overflow: hidden; border-left: 1px solid var(--line); }

.pyango-proof {
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: center;
  gap: 0 1rem;
  padding: 2rem;
  color: var(--ink);
  background: var(--orange);
}
.pyango-proof strong { font-size: clamp(4rem, 6vw, 6.5rem); line-height: .9; letter-spacing: -.06em; }
.pyango-proof span { align-self: center; font: 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.pyango-proof p { grid-column: 1 / -1; margin: 3rem 0 0; padding-top: 1rem; border-top: 1px solid rgb(10 10 10 / 45%); font: 700 1rem/1.25 var(--mono); }

.project--hearth { color: var(--ink); background-color: #e9dfc9; }
.project--hearth .project__label { color: #8b3f1f; }
.project--hearth .project__copy > p:not(.project__label) { color: #49453d; }
.project--hearth .project__visual { border-color: #9c9586; }
.word-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-content: center;
  gap: .55rem;
  padding: 1.4rem;
  background: #2f5d4e;
}
.word-board span {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: #251d13;
  background: #e5c98f;
  border-bottom: 5px solid #9e7d44;
  font: 800 clamp(1.5rem, 3vw, 3rem) var(--sans);
  box-shadow: 0 5px 12px rgb(0 0 0 / 18%);
}
.word-board .blank { visibility: hidden; }

.trading-proof { display: flex; flex-direction: column; justify-content: center; padding: 1.5rem; background: #0d111b; }
.chart-head { display: flex; justify-content: space-between; padding-bottom: 1rem; font: 10px var(--mono); letter-spacing: .08em; }
.chart-head strong { color: var(--blue); }
.trading-proof svg { width: 100%; overflow: visible; }
.chart-grid { fill: none; stroke: #252c3d; stroke-width: 1; }
.chart-line { fill: none; stroke: var(--blue); stroke-width: 5; vector-effect: non-scaling-stroke; }
.trading-proof > p { display: flex; justify-content: space-between; gap: .4rem; margin: 1rem 0 0; color: #778099; font: 8px var(--mono); }

.site-foot { min-height: 150px; display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; padding: 2rem 1.25rem; font: 10px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.site-foot p { margin: 0; }
.site-foot a { text-underline-offset: 5px; }

@media (max-width: 900px) {
  .site-head { grid-template-columns: 1fr 1fr; }
  .site-head > p { display: none; }
  .hero { min-height: 820px; }
  .hero h1 { font-size: clamp(4rem, 12vw, 7rem); }
  .hero__portrait { width: min(60vw, 580px); right: -8%; }
  .work__head, .project { grid-template-columns: 1fr 3fr; }
  .work__head > p:last-child { grid-column: 2; }
  .project__visual { grid-column: 1 / -1; min-height: 400px; border-top: 1px solid var(--line); border-left: 0; }
  .project { min-height: 0; }
  .pyango-proof { grid-template-columns: auto 1fr auto 1fr auto 1fr; }
  .pyango-proof p { margin-top: 2rem; }
  .word-board { grid-template-columns: repeat(10, 1fr); }
  .word-board span { font-size: clamp(1.2rem, 4vw, 2.4rem); }
}

@media (max-width: 620px) {
  .grid-shell { background-image: linear-gradient(90deg, transparent calc(50% - 1px), var(--line) 50%, transparent calc(50% + 1px)); }
  .site-head { min-height: 62px; }
  .site-head nav { justify-content: flex-end; }
  .site-head nav a:first-child { display: none; }
  .hero { min-height: 760px; }
  .hero__meta { display: block; min-height: 52px; padding-block: 1rem; }
  .hero__meta p { padding-inline: .75rem; }
  .hero__meta p:last-child { display: none; }
  .hero__copy { padding: 2.2rem .75rem 5rem; }
  .hero h1 { font-size: clamp(3.7rem, 17vw, 6rem); line-height: .86; }
  html[lang="de"] .hero h1 { font-size: clamp(3rem, 13.5vw, 5.2rem); }
  .hero__copy > p { width: min(76%, 330px); margin: 2rem 0 0; }
  .hero__portrait { width: min(96vw, 540px); right: -27%; bottom: 1.5rem; opacity: .78; }
  .portrait-signal { display: none; }
  .hero__foot { padding-inline: .75rem; }
  .hero__foot span:last-child { display: none; }
  .work__head { min-height: 400px; grid-template-columns: 1fr; }
  .work__head > * { padding: 1.5rem .75rem; }
  .work__head h2 { align-self: end; font-size: clamp(3.5rem, 14vw, 5.4rem); }
  .work__head > p:last-child { grid-column: auto; padding-top: 0; }
  .project { grid-template-columns: 1fr; }
  .project__number { padding: 1.25rem .75rem 0; }
  .project__copy { min-height: 500px; padding: 2rem .75rem; }
  .project h3 { font-size: clamp(4rem, 20vw, 6.8rem); }
  html[lang="de"] .project h3 { font-size: clamp(3rem, 17vw, 6rem); }
  .project__visual { min-height: 340px; }
  .pyango-proof { grid-template-columns: auto 1fr; }
  .word-board { grid-template-columns: repeat(4, 1fr); }
  .site-foot { min-height: 180px; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding-inline: .75rem; }
}

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