:root {
  --bg: #f6f1e8;
  --text: #0a0a0a;
  --red: #ff4d36;
  --yellow: #ffd84d;
  --line: #0a0a0a;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
}

a { color: inherit; }

.ticker {
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 4px solid var(--line);
  font-size: .9rem;
  padding: 10px 0;
}
.ticker span {
  display: inline-block;
  padding-left: 100%;
  animation: ticker 16s linear infinite;
  font-weight: 700;
}

.header,
.hero,
.manifesto,
.work,
.offer,
.contact {
  width: min(1280px, calc(100% - 32px));
  margin-inline: auto;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 4px solid var(--line);
}
.logo-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.logo-box svg {
  width: 60px;
  height: 60px;
  stroke: currentColor;
  fill: none;
  stroke-width: 8;
}
.logo-box strong {
  font-family: "Archivo Black", sans-serif;
  display: block;
  font-size: 1.1rem;
}
.logo-box p {
  margin: 4px 0 0;
  max-width: 30ch;
}
nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
nav a {
  font-weight: 700;
  text-decoration: none;
  border: 3px solid var(--line);
  padding: 10px 14px;
}

.hero {
  padding: 40px 0 24px;
}
.tag {
  font-size: .84rem;
  font-weight: 700;
}
.hero h1 {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(3.2rem, 11vw, 9rem);
  line-height: .9;
  margin: 18px 0;
  max-width: 8ch;
}
.hero h1 span {
  background: var(--yellow);
  display: inline-block;
  padding: 0 .18em;
}
.intro {
  font-size: 1.1rem;
  max-width: 48rem;
  border-left: 6px solid var(--line);
  padding-left: 18px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.btn {
  text-decoration: none;
  display: inline-block;
  padding: 16px 20px;
  border: 3px solid var(--line);
  font-weight: 700;
}
.btn.black {
  background: var(--text);
  color: var(--bg);
}
.btn.outline {
  background: transparent;
}

.slashes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 4px solid var(--line);
  border-bottom: 4px solid var(--line);
  margin-top: 30px;
}
.slashes div {
  padding: 34px 10px;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2rem, 8vw, 5rem);
  text-align: center;
  border-right: 4px solid var(--line);
}
.slashes div:last-child { border-right: 0; }

.manifesto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 40px 0;
  border-bottom: 4px solid var(--line);
}
.manifesto h2,
.offer h2,
.contact h2 {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2rem, 6vw, 5rem);
  line-height: .95;
  margin: 0;
}
.manifesto-right p {
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  border-bottom: 3px solid var(--line);
  padding-bottom: 12px;
  margin: 0 0 12px;
}

.work {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.case {
  min-height: 340px;
  padding: 24px;
  border-right: 4px solid var(--line);
  border-bottom: 4px solid var(--line);
}
.case:last-child { border-right: 0; }
.case span {
  font-family: "Archivo Black", sans-serif;
  font-size: 4rem;
  display: block;
}
.case h3 {
  font-family: "Archivo Black", sans-serif;
  font-size: 2rem;
  line-height: .95;
  margin: 10px 0;
}
.case.red { background: var(--red); }
.case.yellow { background: var(--yellow); }
.case.white { background: #ffffff; }

.offer {
  padding: 40px 0;
}
.offer-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 4px solid var(--line);
}
.offer-grid div {
  padding: 26px 18px;
  border-right: 4px solid var(--line);
  border-bottom: 4px solid var(--line);
  font-family: "Archivo Black", sans-serif;
  font-size: 1.3rem;
}
.offer-grid div:nth-child(3n) { border-right: 0; }

.contact {
  padding: 50px 0 70px;
}
.contact a {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.4rem, 4vw, 3rem);
  text-decoration: none;
  display: inline-block;
  margin-top: 16px;
  background: var(--red);
  padding: 8px 12px;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@media (max-width: 900px) {
  .header,
  .manifesto,
  .work,
  .offer-grid,
  .slashes {
    grid-template-columns: 1fr;
    display: grid;
  }
  .header { display: block; }
  nav { margin-top: 18px; }
  .case,
  .slashes div,
  .offer-grid div {
    border-right: 0;
  }
}