:root {
  --ink: #050505;
  --paper: #fbf4e7;
  --paper-deep: #f2e3ca;
  --orange: #ff5a12;
  --orange-deep: #ec4304;
  --muted: #2e2a25;
  --line: 4px solid var(--ink);
  --shadow: 10px 10px 0 var(--ink);
  --header-height: clamp(82px, 10svh, 106px);
  --display: Impact, Haettenschweiler, "Arial Black", sans-serif;
  --mono: "Courier New", Courier, monospace;
  --sans: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  width: min(100%, 1500px);
  margin: 0 auto;
  overflow: visible;
  background: var(--paper);
  border-left: var(--line);
  border-right: var(--line);
}

.section-block {
  position: relative;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: stretch;
  height: var(--header-height);
  min-height: 0;
  background: var(--paper);
  border-top: var(--line);
  border-bottom: var(--line);
  font-family: var(--display);
  text-transform: uppercase;
}

.brand,
.header-menu,
.main-nav,
.header-actions,
.nav-cta {
  display: flex;
  align-items: center;
}

.brand {
  gap: 18px;
  padding: 12px clamp(28px, 3.6vw, 54px);
  font-size: clamp(2.25rem, 3vw, 2.85rem);
  line-height: 1;
  text-transform: none;
}

.brand-mark {
  width: clamp(46px, 4.8svh, 58px);
  height: clamp(46px, 4.8svh, 58px);
  object-fit: contain;
}

.header-menu {
  align-items: stretch;
  justify-content: flex-end;
  min-width: 0;
}

.burger-toggle {
  display: none;
  border: 0;
  border-left: var(--line);
  background: var(--paper);
  cursor: pointer;
}

.burger-toggle span {
  display: block;
  width: 30px;
  height: 4px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.main-nav {
  border-left: var(--line);
}

.main-nav a {
  display: grid;
  min-width: clamp(122px, 9.4vw, 145px);
  height: 100%;
  place-items: center;
  padding: 0 clamp(18px, 1.6vw, 24px);
  border-right: var(--line);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
}

.main-nav a:hover,
.main-nav a.is-active {
  background: var(--orange);
}

.nav-cta {
  align-self: center;
  gap: 14px;
  margin: 0;
  padding: 0 clamp(26px, 2.5vw, 36px);
  height: calc(var(--header-height) - clamp(20px, 2.6svh, 28px));
  color: var(--paper);
  background: var(--ink);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
}

.header-actions {
  gap: 12px;
  padding: clamp(10px, 1.3svh, 14px);
}

.lang-toggle {
  align-self: center;
  display: grid;
  place-items: center;
  width: clamp(58px, 4.5vw, 72px);
  height: calc(var(--header-height) - clamp(20px, 2.6svh, 28px));
  border: var(--line);
  color: var(--ink);
  background: var(--paper);
  font-family: var(--display);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.lang-toggle:hover,
.lang-toggle:focus-visible {
  background: var(--orange);
}

.hero {
  height: calc(100svh - var(--header-height));
  min-height: 0;
  overflow: hidden;
  background: var(--paper);
  border-bottom: var(--line);
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: min(56vw, 815px);
  padding: clamp(30px, 5.2svh, 62px) 0 0 clamp(36px, 5vw, 76px);
}

.label {
  display: inline-block;
  margin: 0;
  padding: clamp(7px, 1svh, 10px) clamp(13px, 1.2vw, 18px) clamp(6px, 0.9svh, 9px);
  font-family: var(--mono);
  font-weight: 900;
  font-size: clamp(1.03rem, 1.5vw, 1.32rem);
  line-height: 1;
  text-transform: uppercase;
}

.label-dark {
  color: var(--paper);
  background: var(--ink);
}

.hero h1 {
  max-width: 780px;
  margin: clamp(18px, 2.7svh, 28px) 0 clamp(14px, 1.9svh, 20px);
  font-family: var(--display);
  font-size: clamp(4.75rem, 6.15vw, 6.4rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.hero h1 span {
  display: inline-block;
  padding: 0 18px 5px;
  background: var(--orange);
}

.hero-subtitle {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(1.15rem, 1.75vw, 1.48rem);
  font-weight: 700;
  line-height: 1.24;
}

.hero-actions {
  display: flex;
  gap: 32px;
  margin-top: clamp(18px, 3.1svh, 30px);
}

.button,
.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: var(--line);
  font-family: var(--display);
  text-transform: uppercase;
  line-height: 1;
}

.button {
  min-height: clamp(62px, 8svh, 78px);
  padding: 0 clamp(34px, 3.5vw, 52px);
  font-size: clamp(1.08rem, 1.55vw, 1.38rem);
  box-shadow: 8px 8px 0 var(--ink);
}

.button-primary {
  background: var(--orange);
}

.button-secondary {
  background: var(--paper);
}

.button-dark {
  color: var(--paper);
  background: var(--ink);
  box-shadow: none;
}

.round-stamp {
  position: absolute;
  top: clamp(34px, 5.4svh, 58px);
  right: clamp(34px, 3.5vw, 53px);
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(150px, 16svh, 190px);
  height: clamp(150px, 16svh, 190px);
  padding-top: 10px;
  border: var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--orange);
  font-family: var(--mono);
  font-size: clamp(1.02rem, 1.45vw, 1.28rem);
  font-weight: 900;
  line-height: 1.12;
  text-transform: uppercase;
  transform: rotate(-12deg);
  box-shadow: -7px 8px 0 var(--paper);
}

.round-stamp span {
  display: block;
}

.round-stamp::after {
  content: "";
  width: clamp(66px, 7vw, 88px);
  height: 5px;
  margin-top: 6px;
  background: var(--ink);
}

.cross-mark {
  position: absolute;
  top: clamp(250px, 35svh, 310px);
  right: clamp(132px, 10vw, 174px);
  z-index: 2;
  font-family: var(--display);
  font-size: clamp(3.3rem, 5.8svh, 4.45rem);
  line-height: 1;
  transform: rotate(44deg);
}

.dot-grid {
  background-image: radial-gradient(var(--ink) 2px, transparent 2px);
  background-size: 22px 22px;
}

.hero-dots {
  position: absolute;
  top: clamp(330px, 46svh, 415px);
  right: 25px;
  z-index: 2;
  width: 128px;
  height: 180px;
}

.zigzag {
  position: absolute;
  left: 38px;
  bottom: 32px;
  z-index: 2;
  width: 136px;
  height: 34px;
  background:
    linear-gradient(135deg, transparent 0 40%, var(--ink) 41% 59%, transparent 60%) 0 0 / 34px 34px repeat-x;
}

.projects {
  padding: 34px 56px 52px;
  color: var(--paper);
  background: var(--ink);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-head h2,
.capabilities h2,
.cta h2 {
  margin: 0;
  font-family: var(--display);
  text-transform: uppercase;
}

.section-head h2,
.capabilities h2 {
  font-size: 2.55rem;
  line-height: 1;
}

.mini-button {
  min-height: 56px;
  padding: 0 20px;
  border-width: 3px;
  color: var(--ink);
  background: var(--paper);
  font-size: 1.1rem;
  box-shadow: 5px 5px 0 var(--paper-deep);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px;
}

.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--ink);
  background: var(--paper);
  border: var(--line);
  box-shadow: 10px 10px 0 var(--paper-deep);
}

.project-image-frame {
  display: grid;
  place-items: center;
  width: 100%;
  height: 220px;
  padding: 22px;
  overflow: hidden;
  background:
    radial-gradient(var(--ink) 1.5px, transparent 1.5px) 14px 14px / 22px 22px,
    var(--orange);
  border-bottom: var(--line);
  flex-shrink: 0;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(7px 7px 0 rgba(5, 5, 5, 0.22));
}

.project-placeholder {
  color: var(--paper);
  background:
    linear-gradient(135deg, var(--ink) 0 48%, transparent 49%),
    var(--orange);
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  text-transform: uppercase;
}

.project-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-height: 202px;
  padding: 24px 24px 20px;
}

.project-body h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
}

.project-body p {
  min-height: 58px;
  margin: 0;
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.38;
}

.project-meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 22px;
}

.project-meta span {
  display: inline-block;
  padding: 8px 12px;
  background: var(--paper-deep);
  font-family: var(--display);
  font-size: 0.95rem;
  text-transform: uppercase;
}

.project-meta a {
  font-family: var(--display);
  font-size: 2.2rem;
  line-height: 1;
}

.capabilities {
  padding: 42px 56px 34px;
  background: var(--paper);
  border-bottom: var(--line);
}

.projects-page-hero {
  min-height: 460px;
  padding: clamp(54px, 9vw, 94px) 76px 70px;
  overflow: hidden;
  background: var(--paper);
  border-bottom: var(--line);
}

.projects-page-hero h1 {
  max-width: 980px;
  margin: 28px 0 22px;
  font-family: var(--display);
  font-size: clamp(4.5rem, 8.2vw, 8.5rem);
  line-height: 0.88;
  text-transform: uppercase;
}

.projects-page-hero h1 span {
  display: inline-block;
  padding: 0 18px 6px;
  background: var(--orange);
}

.projects-page-hero p:not(.label) {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 700;
  line-height: 1.32;
}

.projects-page-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.projects-page-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--ink);
  font-family: var(--display);
  text-transform: uppercase;
}

.projects-page-stats span:first-child {
  background: var(--orange);
}

.projects-page-dots {
  position: absolute;
  right: 64px;
  bottom: 42px;
  width: 220px;
  height: 154px;
  opacity: 0.55;
}

.all-projects {
  padding: 48px 56px 64px;
  color: var(--paper);
  background: var(--ink);
}

.all-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 46px;
}

.catalog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--ink);
  background: var(--paper);
  border: var(--line);
  box-shadow: 10px 10px 0 var(--paper-deep);
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.catalog-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 54px;
  padding: 10px 20px;
  border-bottom: var(--line);
  font-family: var(--display);
  font-size: 1.28rem;
  text-transform: uppercase;
}

.catalog-version {
  padding: 6px 10px;
  background: var(--orange);
  font-size: 0.9rem;
}

.project-image-frame-catalog {
  height: 220px;
  padding: 28px;
  flex-shrink: 0;
}

.catalog-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 28px;
}

.catalog-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.catalog-title-row h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 0.95;
}

.catalog-title-row span {
  flex: 0 0 auto;
  max-width: 180px;
  padding: 8px 10px;
  background: var(--orange);
  border: 3px solid var(--ink);
  font-family: var(--display);
  font-size: 0.88rem;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.catalog-category,
.catalog-description,
.catalog-detail-grid p,
.catalog-detail-grid li {
  font-family: var(--mono);
  font-weight: 700;
}

.catalog-category {
  display: inline-block;
  margin: 0 0 18px;
  padding: 8px 12px;
  background: var(--paper-deep);
  font-family: var(--display);
  text-transform: uppercase;
}

.catalog-description {
  min-height: 86px;
  margin: 0 0 24px;
  font-size: 1rem;
  line-height: 1.42;
}

.catalog-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  padding-top: 22px;
  border-top: 3px solid var(--ink);
}

.catalog-detail-grid h4 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 1.05rem;
  text-transform: uppercase;
}

.catalog-detail-grid ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.catalog-detail-grid li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  line-height: 1.28;
}

.catalog-detail-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border: 2px solid var(--ink);
}

.catalog-detail-grid p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.36;
}

.catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: auto;
  padding-top: 26px;
}

.project-action-primary,
.project-action-secondary,
.project-disabled-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 3px solid var(--ink);
  font-family: var(--display);
  text-transform: uppercase;
}

.project-action-primary {
  background: var(--orange);
  box-shadow: 5px 5px 0 var(--ink);
}

.project-action-secondary,
.project-disabled-action {
  background: var(--paper);
}

.project-disabled-action {
  color: var(--muted);
  opacity: 0.72;
}

.capability-note {
  position: absolute;
  top: -28px;
  right: 58px;
  z-index: 2;
  padding: 14px 26px;
  color: var(--paper);
  background: var(--ink);
  border: 3px solid var(--paper);
  font-family: var(--mono);
  font-size: 1.32rem;
  font-weight: 900;
  line-height: 1.12;
  text-transform: uppercase;
  transform: rotate(6deg);
  box-shadow: 5px 5px 0 var(--ink);
}

.capabilities h2 {
  margin-bottom: 28px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: var(--line);
}

.capability-card {
  display: grid;
  grid-template-rows: 86px auto 1fr;
  justify-items: center;
  min-height: 276px;
  padding: 26px 20px 24px;
  text-align: center;
  border-right: var(--line);
}

.capability-card:last-child {
  border-right: 0;
}

.capability-card h3 {
  margin: 8px 0 7px;
  font-family: var(--display);
  font-size: 1.18rem;
  text-transform: uppercase;
}

.capability-card p {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.28;
}

.cap-icon {
  position: relative;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  color: var(--ink);
  font-family: var(--display);
  font-size: 3.5rem;
  line-height: 1;
}

.cap-code {
  font-family: var(--mono);
  font-weight: 900;
}

.cap-architecture span {
  position: absolute;
  width: 28px;
  height: 28px;
  background: var(--ink);
  transform: rotate(30deg) skewY(-30deg);
}

.cap-architecture span:nth-child(1) {
  top: 5px;
  left: 24px;
  background: var(--orange);
}

.cap-architecture span:nth-child(2) {
  bottom: 12px;
  left: 8px;
}

.cap-architecture span:nth-child(3) {
  bottom: 12px;
  right: 8px;
}

.cap-bolt {
  clip-path: polygon(56% 0, 16% 50%, 43% 50%, 32% 100%, 84% 37%, 56% 38%);
  background: var(--orange);
  border: 3px solid var(--ink);
}

.cap-lock::before {
  content: "";
  position: absolute;
  top: 4px;
  width: 42px;
  height: 38px;
  border: 7px solid var(--ink);
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
}

.cap-lock::after {
  content: "";
  position: absolute;
  bottom: 6px;
  width: 56px;
  height: 46px;
  background: var(--ink);
}

.cap-lock span {
  position: relative;
  z-index: 1;
  width: 11px;
  height: 24px;
  margin-top: 34px;
  background: var(--orange);
  border-radius: 8px;
}

.cap-lock span::before {
  content: "";
  position: absolute;
  top: -7px;
  left: -5px;
  width: 21px;
  height: 21px;
  background: var(--orange);
  border-radius: 50%;
}

.cap-smile {
  width: 82px;
  height: 82px;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: var(--orange);
  font-family: var(--mono);
  font-size: 2.7rem;
  font-weight: 900;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.84fr) minmax(480px, 1.16fr);
  gap: 44px;
  align-items: center;
  min-height: calc(100svh - var(--header-height));
  padding: clamp(44px, 6vw, 80px);
  background: var(--paper);
  border-bottom: var(--line);
}

.about-copy {
  position: relative;
  z-index: 2;
}

.about-hero h1 {
  max-width: 820px;
  margin: 26px 0 24px;
  font-family: var(--display);
  font-size: clamp(4.35rem, 7.8vw, 8.35rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.about-hero h1 span {
  display: inline-block;
  padding: 0 12px 8px;
  background: var(--orange);
}

.about-lead {
  max-width: 680px;
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(1.15rem, 1.6vw, 1.55rem);
  font-weight: 700;
  line-height: 1.35;
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.about-stats span,
.stack-tags span {
  display: inline-grid;
  min-height: 48px;
  place-items: center;
  padding: 0 18px;
  background: var(--paper);
  border: var(--line);
  font-family: var(--display);
  font-size: 1.05rem;
  text-transform: uppercase;
}

.about-stats span:nth-child(2n) {
  background: var(--orange);
}

.about-art-card {
  position: relative;
  margin: 0;
  border: var(--line);
  box-shadow: var(--shadow);
  background: var(--paper-deep);
}

.about-art {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.about-art-card figcaption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  margin: 0;
  padding: 10px 16px;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.about-work {
  padding: 58px 58px 70px;
  background: var(--ink);
  color: var(--paper);
  border-bottom: var(--line);
}

.about-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.about-card {
  min-height: 260px;
  padding: 30px;
  color: var(--ink);
  background: var(--paper);
  border: var(--line);
  box-shadow: 8px 8px 0 rgba(251, 244, 231, 0.18);
}

.about-card h3 {
  margin: 0 0 22px;
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.about-card p {
  margin: 0;
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.42;
}

.about-stack {
  display: grid;
  grid-template-columns: minmax(300px, 0.64fr) minmax(420px, 1fr);
  gap: 42px;
  align-items: center;
  padding: 56px 58px;
  background: var(--paper);
  border-bottom: var(--line);
}

.about-stack h2 {
  margin: 22px 0 0;
  font-family: var(--display);
  font-size: clamp(3rem, 5vw, 5.7rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.stack-tags span:nth-child(3n) {
  background: var(--orange);
}

.about-contact {
  position: relative;
  min-height: 320px;
  padding: 56px 58px 64px;
  overflow: hidden;
  background: var(--orange);
  border-bottom: var(--line);
}

.about-contact h2 {
  position: relative;
  z-index: 2;
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(3.4rem, 7vw, 7rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.about-contact p {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 0 30px;
  font-family: var(--mono);
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  font-weight: 700;
  line-height: 1.35;
}

.about-contact .button {
  position: relative;
  z-index: 2;
}

.about-contact-dots {
  position: absolute;
  right: 30px;
  bottom: 28px;
  width: 200px;
  height: 132px;
}

.cta {
  display: grid;
  grid-template-columns: minmax(380px, 1fr) 220px minmax(360px, 610px);
  align-items: center;
  gap: 28px;
  min-height: 350px;
  padding: 54px 78px 46px;
  overflow: visible;
  background: var(--orange);
  border-bottom: var(--line);
}

.cta-copy {
  position: relative;
  z-index: 2;
}

.cta h2 {
  margin-top: 18px;
  font-size: 5.2rem;
  line-height: 0.95;
}

.cta-arrow {
  position: relative;
  width: 170px;
  height: 76px;
  border: 0;
  transform: rotate(-20deg);
}

.cta-arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 36px;
  width: 148px;
  height: 8px;
  background: var(--ink);
  transform: skewY(-10deg);
}

.cta-arrow::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 19px;
  width: 38px;
  height: 38px;
  border-top: 8px solid var(--ink);
  border-right: 8px solid var(--ink);
  transform: rotate(45deg);
}

.contact-card {
  position: relative;
  padding: 52px 58px 36px;
  background: var(--paper);
  border: var(--line);
  box-shadow: var(--shadow);
}

.contact-card p {
  margin: 0 0 30px;
  font-family: var(--mono);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.35;
}

.contact-card .button {
  width: 100%;
  min-height: 78px;
}

.contact-sticker {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 156px;
  height: 156px;
  object-fit: contain;
  transform: rotate(10deg);
}

.cta-dots {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 148px;
  height: 118px;
  opacity: 0.85;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
  gap: 30px;
  min-height: 118px;
  padding: 26px 62px;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 700;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.footer-brand,
.footer-links {
  display: flex;
  align-items: center;
}

.footer-brand {
  gap: 22px;
}

.footer-mark {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.footer-links {
  justify-content: center;
  gap: 58px;
  text-transform: uppercase;
}

.footer-note {
  margin: 0;
  padding: 16px 24px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--display);
  font-size: 1.18rem;
  line-height: 1.12;
  text-transform: uppercase;
}

.footer-note span {
  color: var(--orange);
}

@media (max-width: 1180px) {
  .section-block,
  .catalog-card,
  .site-footer {
    scroll-margin-top: calc(var(--header-height) + 12px);
  }

  .site-header {
    grid-template-columns: minmax(220px, 1fr) auto;
    height: var(--header-height);
  }

  .brand {
    justify-content: flex-start;
    padding: 12px 28px;
    border-bottom: 0;
  }

  .main-nav {
    border-left: var(--line);
  }

  .main-nav a {
    flex: 0 0 auto;
    min-width: 0;
    min-height: 0;
  }

  .nav-cta {
    justify-content: center;
    height: calc(var(--header-height) - clamp(20px, 2.6svh, 28px));
    min-height: 0;
    margin: 0;
    border-top: 0;
  }

  .header-actions {
    display: flex;
    gap: 12px;
    padding: clamp(10px, 1.3svh, 14px);
    border-top: 0;
  }

  .lang-toggle {
    width: clamp(58px, 4.5vw, 72px);
    height: calc(var(--header-height) - clamp(20px, 2.6svh, 28px));
    min-height: 0;
    border-width: 4px;
  }

  .header-actions .nav-cta {
    border-top: 0;
  }

  .hero {
    height: calc(100svh - var(--header-height));
    min-height: 0;
  }

  .hero-copy {
    max-width: 720px;
    padding-left: 44px;
  }

  .hero h1 {
    font-size: 5.45rem;
  }

  .round-stamp {
    width: 168px;
    height: 168px;
    font-size: 1.1rem;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .projects-page-hero {
    padding: 54px 44px 58px;
  }

  .all-projects {
    padding: 44px;
  }

  .all-projects-grid {
    grid-template-columns: 1fr;
  }

  .about-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 52px 44px;
  }

  .about-art-card {
    max-width: 880px;
  }

  .about-card-grid,
  .about-stack {
    grid-template-columns: 1fr;
  }

  .stack-tags {
    justify-content: flex-start;
  }

  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-card {
    border-bottom: var(--line);
  }

  .capability-card:nth-child(2n) {
    border-right: 0;
  }

  .capability-card:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .cta {
    grid-template-columns: 1fr;
    padding: 52px 44px;
  }

  .cta-arrow {
    display: none;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .site-shell {
    border-left-width: 3px;
    border-right-width: 3px;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) 78px;
    height: auto;
    min-height: 76px;
  }

  .brand {
    font-size: 2.2rem;
    justify-content: flex-start;
    min-height: 76px;
    padding: 12px 18px;
    border-right: var(--line);
  }

  .brand-mark {
    width: 50px;
    height: 50px;
  }

  .burger-toggle {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 7px;
    min-height: 76px;
    border-left: 0;
  }

  .menu-open .burger-toggle span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
  }

  .menu-open .burger-toggle span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .burger-toggle span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
  }

  .header-menu {
    display: none;
    grid-column: 1 / -1;
    border-top: var(--line);
  }

  .menu-open .header-menu {
    display: block;
  }

  .main-nav {
    display: grid;
    grid-template-columns: 1fr;
    border-left: 0;
  }

  .main-nav a {
    min-height: 62px;
    height: auto;
    border-right: 0;
    border-bottom: var(--line);
    font-size: 1rem;
  }

  .main-nav a:nth-child(2n) {
    border-right: 0;
  }

  .nav-cta {
    min-height: 64px;
    height: auto;
    padding: 22px 26px;
  }

  .header-actions {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 0;
    padding: 0;
  }

  .lang-toggle {
    width: 100%;
    min-height: 64px;
    height: auto;
    border-width: 0 4px 0 0;
  }

  .hero {
    height: calc(100svh - 84px);
    min-height: 0;
  }

  .hero-art {
    object-position: 58% center;
    opacity: 0.48;
  }

  .hero-copy {
    padding: 42px 24px 0;
  }

  .label {
    font-size: 1rem;
  }

  .hero h1 {
    margin-top: 28px;
    font-size: 3.45rem;
    line-height: 1.02;
  }

  .hero h1 span {
    padding: 0 9px 4px;
  }

  .hero-subtitle {
    font-size: 1.18rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 18px;
    max-width: 320px;
  }

  .button {
    min-height: 72px;
    padding: 0 24px;
    font-size: 1.12rem;
  }

  .round-stamp,
  .cross-mark,
  .hero-dots,
  .zigzag,
  .capability-note {
    display: none;
  }

  .projects,
  .capabilities {
    padding-left: 24px;
    padding-right: 24px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-head h2,
  .capabilities h2 {
    font-size: 2rem;
  }

  .project-grid {
    gap: 28px;
  }

  .project-image-frame {
    padding: 18px;
  }

  .project-body {
    min-height: auto;
  }

  .project-body h3 {
    font-size: 1.65rem;
  }

  .project-meta {
    align-items: flex-start;
  }

  .project-meta span {
    max-width: 220px;
    line-height: 1.1;
  }

  .projects-page-hero {
    min-height: auto;
    padding: 40px 24px 46px;
  }

  .projects-page-hero h1 {
    margin-top: 24px;
    font-size: 3.45rem;
    line-height: 0.94;
  }

  .projects-page-hero h1 span {
    padding: 0 9px 4px;
  }

  .projects-page-hero p:not(.label) {
    font-size: 1rem;
  }

  .projects-page-stats {
    gap: 10px;
  }

  .projects-page-stats span {
    min-height: 42px;
    padding: 0 12px;
    font-size: 0.95rem;
  }

  .projects-page-dots {
    display: none;
  }

  .all-projects {
    padding: 36px 24px 46px;
  }

  .all-projects-grid {
    gap: 30px;
  }

  .about-hero {
    padding: 40px 24px 46px;
  }

  .about-hero h1 {
    font-size: 3.45rem;
    line-height: 0.94;
  }

  .about-hero h1 span {
    padding: 0 9px 5px;
  }

  .about-lead {
    font-size: 1rem;
  }

  .about-stats span,
  .stack-tags span {
    min-height: 42px;
    padding: 0 12px;
    font-size: 0.95rem;
  }

  .about-art {
    aspect-ratio: 4 / 3;
  }

  .about-art-card figcaption {
    left: 14px;
    bottom: 14px;
    font-size: 0.85rem;
  }

  .about-art-card {
    box-shadow: none;
  }

  .about-work,
  .about-stack,
  .about-contact {
    padding-left: 24px;
    padding-right: 24px;
  }

  .about-card-grid {
    gap: 24px;
  }

  .about-card {
    min-height: auto;
    padding: 24px;
  }

  .about-stack h2,
  .about-contact h2 {
    font-size: 3.45rem;
  }

  .about-stack > *,
  .stack-tags {
    min-width: 0;
  }

  .about-stack h2 {
    font-size: 2.75rem;
    overflow-wrap: anywhere;
  }

  .stack-tags {
    gap: 10px;
  }

  .about-contact-dots {
    display: none;
  }

  .catalog-card-topline {
    min-height: 48px;
    padding: 8px 16px;
  }

  .project-image-frame-catalog {
    aspect-ratio: 4 / 2.6;
    padding: 18px;
  }

  .catalog-card-body {
    padding: 22px;
  }

  .catalog-title-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .catalog-title-row h3 {
    font-size: 2.2rem;
  }

  .catalog-description {
    min-height: 0;
  }

  .catalog-detail-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capability-card,
  .capability-card:nth-child(2n) {
    border-right: 0;
  }

  .capability-card:last-child {
    border-bottom: 0;
  }

  .cta {
    min-height: auto;
    padding: 42px 24px;
  }

  .cta h2 {
    font-size: 3.45rem;
  }

  .contact-card {
    padding: 46px 24px 26px;
  }

  .contact-card p {
    font-size: 1.16rem;
  }

  .contact-sticker {
    top: -50px;
    right: -18px;
    width: 104px;
    height: 104px;
  }

  .footer-links {
    flex-direction: column;
    gap: 18px;
  }

  .site-footer {
    padding: 32px 22px;
  }
}
