:root {
  --paper: #f5f0e8;
  --ink: #1a1a1a;
  --red: #e63b2e;
  --blue: #0055ff;
  --yellow: #ffcc00;
  --soft: #e8e3da;
  --pale-blue: #a8c6ff;
  --border: 4px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --font-display: "Space Grotesk", "Arial Black", "Arial", sans-serif;
  --font-body: "WenQuanYi Zen Hei", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  background: var(--paper);
  border-bottom: var(--border);
  display: flex;
  height: 80px;
  justify-content: space-between;
  padding: 0 24px;
}

.brand {
  font-size: 24px;
  font-style: italic;
  font-weight: 700;
  line-height: 32px;
}

.header-button,
.button,
.contact-form button {
  align-items: center;
  border: var(--border);
  cursor: pointer;
  display: inline-flex;
  font: 700 16px/1 var(--font-body);
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.header-button {
  background: var(--ink);
  box-shadow: var(--shadow);
  color: #fff;
  min-height: 44px;
}

.button:focus-visible,
.header-button:focus-visible,
.contact-form button:focus-visible,
.contact-form input:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.button:hover,
.header-button:hover,
.contact-form button:hover {
  box-shadow: 3px 3px 0 var(--ink);
  transform: translate(3px, 3px);
}

.hero {
  border-bottom: 2px solid var(--ink);
  display: grid;
  grid-template-columns: minmax(0, 58.35%) minmax(360px, 41.65%);
  min-height: 2044px;
}

.hero-copy {
  align-items: center;
  background: var(--paper);
  border-right: var(--border);
  display: flex;
  min-width: 0;
  padding: 64px;
}

.hero-copy > div {
  margin-top: 114px;
  max-width: 576px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(72px, 10vw, 128px);
  letter-spacing: 0;
  line-height: 1;
  margin: 0 0 32px;
}

.hero h1 span {
  display: block;
}

.accent {
  color: var(--red);
}

.hero p {
  font-size: 24px;
  line-height: 1.34;
  margin: 0 0 48px;
  max-width: 575px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.button {
  box-shadow: var(--shadow);
  min-height: 76px;
}

.button-primary {
  background: var(--yellow);
}

.button-ghost {
  background: var(--paper);
}

.hero-art {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0 5%, rgba(0, 0, 0, 0.08) 5% 100%),
    var(--red);
  min-height: 2040px;
  overflow: hidden;
  position: relative;
}

.tech-word {
  color: rgba(245, 240, 232, 0.34);
  font: 800 clamp(140px, 20vw, 256px)/1.5 Inter, var(--font-display);
  left: -5px;
  position: absolute;
  top: 782px;
  white-space: nowrap;
  z-index: 4;
}

.art-building,
.art-circle,
.art-prism,
.art-bars {
  position: absolute;
}

.art-building {
  background: linear-gradient(90deg, #240907, #7a1914 55%, #140403);
  border-left: 6px solid #080101;
  border-right: 6px solid #080101;
  bottom: 190px;
}

.building-left {
  height: 1060px;
  left: 36px;
  width: 170px;
}

.building-mid {
  height: 960px;
  left: 250px;
  width: 98px;
}

.building-right {
  height: 1140px;
  right: 20px;
  width: 128px;
}

.art-circle {
  background: #65130e;
  border-radius: 50%;
  height: 450px;
  left: 2px;
  top: 322px;
  width: 450px;
  z-index: 3;
}

.art-prism {
  filter: drop-shadow(18px 18px 0 rgba(0, 0, 0, 0.22));
  height: 0;
  width: 0;
}

.prism-one {
  border-bottom: 290px solid transparent;
  border-left: 0 solid transparent;
  border-right: 330px solid #9f241d;
  border-top: 190px solid transparent;
  right: 24px;
  top: 370px;
}

.prism-two {
  border-bottom: 290px solid transparent;
  border-left: 270px solid #260807;
  border-top: 240px solid transparent;
  left: 0;
  top: 1110px;
}

.art-bars {
  bottom: 324px;
  display: grid;
  gap: 12px;
  left: 0;
  width: 230px;
  z-index: 5;
}

.art-bars span {
  background: #0f0302;
  border-top: 4px solid #8e211a;
  display: block;
  height: 18px;
}

.services {
  background: var(--paper);
  padding: 80px;
}

.service-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.65fr 0.8fr;
  margin: 0 auto;
  max-width: 1120px;
}

.service-card,
.pattern-panel {
  border: var(--border);
  box-shadow: var(--shadow);
  min-height: 300px;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
}

.service-card-blue {
  background: var(--blue);
  color: var(--paper);
}

.service-card-yellow {
  background: var(--yellow);
  color: var(--ink);
  grid-column: 1;
  max-width: 453px;
}

.card-top {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
}

.chevrons {
  font: 800 56px/0.7 var(--font-display);
}

.number {
  font: 800 36px/40px var(--font-display);
  opacity: 0.68;
}

.service-card h2 {
  font: 800 36px/40px var(--font-display);
  letter-spacing: 0;
  margin: 0 0 16px;
}

.service-card p {
  font-size: 18px;
  line-height: 28px;
  margin: 0;
  max-width: 520px;
}

.bulb {
  border: 4px solid var(--ink);
  border-radius: 50%;
  display: inline-block;
  height: 36px;
  position: relative;
  width: 36px;
}

.bulb::after {
  background: var(--ink);
  bottom: -14px;
  content: "";
  height: 12px;
  left: 10px;
  position: absolute;
  width: 10px;
}

.pattern-panel {
  background: #d8cab0;
  min-height: 300px;
  overflow: hidden;
  position: relative;
}

.pattern-shape {
  position: absolute;
}

.pattern-shape.square {
  height: 76px;
  left: 136px;
  top: 44px;
  transform: rotate(45deg);
  width: 76px;
}

.pattern-shape.circle {
  border-radius: 50%;
  height: 76px;
  right: 60px;
  top: 72px;
  width: 76px;
}

.pattern-shape.tri {
  border-bottom: 72px solid transparent;
  border-right: 72px solid #2e6170;
  border-top: 72px solid transparent;
  height: 0;
  left: 80px;
  top: 98px;
  width: 0;
}

.pattern-shape.bar {
  height: 150px;
  left: 164px;
  top: 74px;
  width: 34px;
}

.pattern-shape.dot {
  border-radius: 50%;
  height: 34px;
  left: 154px;
  top: 128px;
  width: 34px;
}

.pattern-shape.line {
  height: 180px;
  left: 220px;
  top: 56px;
  transform: rotate(45deg);
  width: 18px;
}

.pattern-shape.small {
  border-bottom: 54px solid transparent;
  border-left: 54px solid #1a1a1a;
  border-top: 54px solid transparent;
  height: 0;
  right: 124px;
  top: 132px;
  width: 0;
}

.pattern-shape.small-dot {
  background: #2e6170;
  border-radius: 50%;
  height: 52px;
  right: 72px;
  top: 170px;
  width: 52px;
}

.teal { background: #2e6170; }
.red { background: var(--red); }
.orange { background: #df7d28; }
.yellow { background: var(--yellow); }
.dark { background: var(--ink); }

.stats {
  background: var(--ink);
  border-bottom: var(--border);
  border-top: var(--border);
  color: var(--soft);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 208px;
}

.stat {
  align-items: center;
  border-right: var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 40px 24px;
  text-align: center;
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  color: var(--yellow);
  font: 800 clamp(48px, 6vw, 72px)/1 var(--font-display);
}

.stat span {
  font-size: 16px;
  line-height: 24px;
  margin-top: 8px;
}

.stat-red {
  background: var(--red);
}

.stat-red strong,
.stat-blue strong {
  color: var(--paper);
}

.stat:nth-child(3) strong {
  color: var(--pale-blue);
}

.stat-blue {
  background: var(--blue);
}

.cta {
  align-items: center;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: 88px 24px 76px;
  text-align: center;
}

.cta h2 {
  font: 900 clamp(46px, 6.4vw, 72px)/1 var(--font-body);
  letter-spacing: 0;
  margin: 0 0 32px;
  max-width: 960px;
}

.cta h2 span {
  display: inline-block;
}

.headline-top {
  display: block !important;
}

.headline-bottom {
  align-items: center;
  display: inline-flex !important;
  justify-content: center;
}

.highlight {
  background: var(--red);
  color: var(--paper);
  padding: 10px 16px;
}

.cta p {
  font-size: 20px;
  line-height: 28px;
  margin: 0 0 32px;
}

.contact-form {
  display: flex;
  gap: 24px;
  justify-content: center;
  max-width: 672px;
  padding-top: 16px;
  width: 100%;
}

.contact-form input {
  background: #fff;
  border: var(--border);
  color: var(--ink);
  flex: 1;
  font: 700 20px/1 var(--font-body);
  min-height: 76px;
  min-width: 0;
  padding: 0 32px;
}

.contact-form button {
  background: var(--ink);
  box-shadow: var(--shadow);
  color: #fff;
  min-height: 76px;
  white-space: nowrap;
}

.form-note {
  font-size: 16px;
  min-height: 24px;
}

.site-footer {
  align-items: center;
  background: var(--ink);
  border-top: var(--border);
  color: var(--soft);
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto auto;
  min-height: 144px;
  padding: 40px 48px;
}

.site-footer strong {
  color: var(--yellow);
  display: block;
  font-size: 24px;
  font-style: italic;
  line-height: 32px;
  margin-bottom: 8px;
}

.site-footer nav {
  display: flex;
  gap: 32px;
}

.site-footer a {
  font-size: 14px;
  line-height: 20px;
}

.footer-actions {
  display: flex;
  gap: 16px;
}

.footer-actions a {
  align-items: center;
  background: var(--paper);
  color: var(--ink);
  display: inline-flex;
  font-size: 20px;
  font-weight: 900;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

@media (max-width: 900px) {
  .site-header {
    height: 72px;
    padding: 0 18px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    border-bottom: var(--border);
    border-right: 0;
    min-height: 780px;
    padding: 48px 28px;
  }

  .hero-copy > div {
    margin-top: 0;
  }

  .hero p {
    font-size: 20px;
  }

  .hero-art {
    min-height: 760px;
  }

  .tech-word {
    top: 250px;
  }

  .art-circle {
    height: 300px;
    top: 130px;
    width: 300px;
  }

  .building-left,
  .building-mid,
  .building-right {
    bottom: 70px;
    height: 520px;
  }

  .services {
    padding: 48px 24px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card-yellow {
    max-width: none;
  }

  .pattern-panel {
    min-height: 260px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-bottom: var(--border);
  }

  .contact-form {
    flex-direction: column;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 36px 28px;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 20px;
  }

  .header-button {
    min-height: 40px;
    padding: 0 18px;
  }

  .hero-copy {
    min-height: 650px;
  }

  .button,
  .contact-form button,
  .contact-form input {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .service-card h2 {
    font-size: 30px;
    line-height: 36px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stat,
  .stat:nth-child(2) {
    border-bottom: var(--border);
    border-right: 0;
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .cta h2 span {
    display: block;
  }

  .headline-bottom {
    display: block !important;
  }

  .site-footer nav {
    flex-wrap: wrap;
    gap: 18px;
  }
}
