:root {
  --ink: #07111f;
  --paper: #f2f0eb;
  --white: #ffffff;
  --accent: #f05a2a;
  --accent-bright: #ff7a30;
  --line: rgba(7, 17, 31, 0.16);
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", "Yu Gothic", "Hiragino Kaku Gothic ProN",
    sans-serif;
  line-height: 1.8;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  align-items: center;
  background: rgba(7, 17, 31, 0.94);
  color: var(--white);
  display: flex;
  height: 82px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(22px, 4vw, 64px);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
}

.brand-mark {
  align-items: center;
  background: var(--accent);
  clip-path: polygon(50% 0, 100% 25%, 90% 100%, 10% 100%, 0 25%);
  display: flex;
  font-size: 20px;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 36px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand strong {
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 22px;
  letter-spacing: 0.11em;
}

.brand small {
  font-size: 8px;
  letter-spacing: 0.24em;
  margin-top: 6px;
  text-transform: uppercase;
}

.global-nav {
  align-items: center;
  display: flex;
  font-size: 11px;
  font-weight: 700;
  gap: clamp(22px, 3vw, 46px);
  letter-spacing: 0.18em;
}

.global-nav a {
  transition: color 180ms ease;
}

.global-nav a:hover {
  color: var(--accent-bright);
}

.global-nav .nav-x {
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 10px 16px;
}

.hero {
  background: var(--ink);
  color: var(--white);
  min-height: min(920px, 100svh);
  overflow: hidden;
  position: relative;
}

.hero > img {
  height: 100%;
  object-fit: contain;
  object-position: right center;
  position: absolute;
  right: 0;
  top: 0;
  width: 78%;
}

.hero-shade {
  background:
    linear-gradient(
      90deg,
      rgba(7, 17, 31, 0.88) 0%,
      rgba(7, 17, 31, 0.38) 43%,
      rgba(7, 17, 31, 0.08) 70%
    ),
    linear-gradient(0deg, rgba(7, 17, 31, 0.72), transparent 48%);
  inset: 0;
  position: absolute;
}

.hero-copy {
  left: clamp(24px, 8vw, 130px);
  max-width: 590px;
  position: absolute;
  top: 54%;
  transform: translateY(-50%);
  z-index: 2;
}

.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.26em;
  margin: 0 0 20px;
}

.hero .eyebrow {
  color: #ffb28a;
}

.hero h1 {
  font-family: "Arial Black", "Yu Gothic", sans-serif;
  font-size: clamp(55px, 7.8vw, 110px);
  letter-spacing: -0.07em;
  line-height: 0.95;
  margin: 0 0 34px;
}

.hero h1 span {
  color: var(--accent-bright);
}

.hero-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(14px, 1.4vw, 18px);
  letter-spacing: 0.08em;
  margin: 0 0 38px;
}

.hero-button,
.contact-button {
  align-items: center;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  justify-content: space-between;
  letter-spacing: 0.22em;
}

.hero-button {
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  gap: 70px;
  padding: 10px 0;
}

.hero-side {
  bottom: 44px;
  font-size: 9px;
  letter-spacing: 0.25em;
  margin: 0;
  position: absolute;
  right: 35px;
  transform: rotate(-90deg) translateX(100%);
  transform-origin: right bottom;
  z-index: 2;
}

.section {
  margin: 0 auto;
  max-width: var(--max);
  padding: 130px 54px;
}

.section-heading {
  align-items: flex-start;
  display: grid;
  grid-template-columns: 110px 1fr;
}

.section-number {
  color: var(--accent);
  font-family: Impact, sans-serif;
  font-size: 56px;
  line-height: 1;
  margin: 7px 0 0;
}

.section h2 {
  font-family: "Arial Black", "Yu Gothic", sans-serif;
  font-size: clamp(38px, 5.4vw, 72px);
  letter-spacing: -0.055em;
  line-height: 1.14;
  margin: 0;
}

.intro-grid {
  display: grid;
  gap: 80px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  margin: 90px 0 0 110px;
}

.intro-lead {
  font-size: 17px;
  line-height: 2.1;
}

.intro-lead p:first-child {
  font-size: 20px;
  font-weight: 700;
  line-height: 2;
  margin-top: 0;
}

.profile-item {
  border-top: 1px solid var(--line);
  padding: 28px 0 34px;
}

.profile-item:last-child {
  border-bottom: 1px solid var(--line);
}

.profile-item .eyebrow {
  color: var(--accent);
  margin-bottom: 8px;
}

.profile-item h3 {
  font-size: 25px;
  margin: 0 0 12px;
}

.profile-item > p:last-child {
  color: #3f4853;
  font-size: 14px;
  margin: 0;
}

.works {
  max-width: none;
  padding-left: max(54px, calc((100% - var(--max)) / 2 + 54px));
  padding-right: max(54px, calc((100% - var(--max)) / 2 + 54px));
  position: relative;
}

.works::before {
  background: var(--ink);
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.section-heading-light {
  color: var(--white);
}

.section-heading-light .eyebrow {
  color: #ffb28a;
}

.works-grid {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 80px);
  grid-template-columns: minmax(260px, 0.72fr) minmax(360px, 1.28fr);
  margin: 90px 0 0 110px;
}

.work {
  margin: 0;
}

.image-frame {
  background: #0d1725;
  overflow: hidden;
  position: relative;
}

.image-frame::after {
  border: 1px solid rgba(255, 255, 255, 0.22);
  content: "";
  inset: 14px;
  pointer-events: none;
  position: absolute;
}

.work img {
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
  width: 100%;
}

.work:hover img {
  transform: scale(1.025);
}

.work-portrait .image-frame {
  aspect-ratio: 3 / 4;
}

.work-portrait img {
  object-position: center 30%;
}

.work-landscape .image-frame {
  aspect-ratio: 16 / 10;
}

.work figcaption {
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  font-size: 10px;
  justify-content: space-between;
  letter-spacing: 0.18em;
  padding-top: 14px;
  text-transform: uppercase;
}

.tools-section .section-heading {
  margin-bottom: 80px;
}

.tool-grid {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-left: 110px;
}

.tool-card {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  min-height: 245px;
  padding: 26px 24px;
}

.tool-card:first-child {
  border-left: 1px solid var(--line);
}

.tool-card > span {
  color: var(--accent);
  font-family: Impact, sans-serif;
  font-size: 22px;
}

.tool-card h3 {
  font-size: 18px;
  line-height: 1.45;
  margin: 48px 0 12px;
}

.tool-card p {
  color: #505966;
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}

.activity {
  background: #dfe4e8;
  display: grid;
  gap: 90px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  max-width: none;
  padding-left: max(54px, calc((100% - var(--max)) / 2 + 54px));
  padding-right: max(54px, calc((100% - var(--max)) / 2 + 54px));
}

.activity-copy .eyebrow {
  color: var(--accent);
}

.activity-copy h2 {
  font-size: clamp(50px, 6vw, 84px);
  white-space: nowrap;
}

.activity-copy > p:last-child {
  font-size: 15px;
  margin-top: 36px;
}

.activity-list {
  border-top: 1px solid rgba(7, 17, 31, 0.25);
}

.activity-list div {
  align-items: center;
  border-bottom: 1px solid rgba(7, 17, 31, 0.25);
  display: grid;
  gap: 24px;
  grid-template-columns: 110px 1fr;
  padding: 25px 0;
}

.activity-list span {
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.activity-list strong {
  font-family: "Arial Narrow", sans-serif;
  font-size: 19px;
  letter-spacing: 0.08em;
}

.contact {
  text-align: center;
}

.contact .eyebrow {
  color: var(--accent);
}

.contact h2 {
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(54px, 10vw, 130px);
  letter-spacing: 0.01em;
  line-height: 0.9;
}

.contact h2 span {
  color: var(--accent);
  display: block;
}

.contact-text {
  font-size: 15px;
  margin: 45px auto 36px;
}

.contact-button {
  background: var(--ink);
  color: var(--white);
  gap: 80px;
  min-width: 310px;
  padding: 20px 24px;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.contact-button:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

footer {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  padding: 42px max(24px, calc((100% - var(--max)) / 2 + 54px));
}

footer p,
footer > a:last-child {
  font-size: 9px;
  letter-spacing: 0.16em;
}

@media (max-width: 900px) {
  .section {
    padding: 100px 30px;
  }

  .global-nav a:not(.nav-x) {
    display: none;
  }

  .hero-copy {
    left: 34px;
  }

  .intro-grid,
  .works-grid {
    gap: 52px;
    margin-left: 0;
  }

  .tool-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-left: 0;
  }

  .activity {
    gap: 58px;
    grid-template-columns: 1fr;
    padding-left: 30px;
    padding-right: 30px;
  }
}

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

  .brand-mark {
    height: 36px;
    width: 31px;
  }

  .brand strong {
    font-size: 18px;
  }

  .global-nav {
    gap: 0;
  }

  .global-nav .nav-x {
    font-size: 9px;
    padding: 8px 10px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-top: 68px;
  }

  .hero > img {
    height: auto;
    object-fit: contain;
    object-position: center;
    order: 1;
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
  }

  .hero-shade {
    display: none;
  }

  .hero-copy {
    bottom: auto;
    left: auto;
    order: 2;
    padding: 44px 24px 64px;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
  }

  .hero h1 {
    font-size: clamp(54px, 17vw, 72px);
  }

  .hero-side {
    display: none;
  }

  .section {
    padding: 84px 22px;
  }

  .section-heading {
    gap: 4px;
    grid-template-columns: 54px 1fr;
  }

  .section-number {
    font-size: 34px;
  }

  .section h2 {
    font-size: clamp(33px, 10.5vw, 47px);
  }

  .intro-grid {
    grid-template-columns: 1fr;
    margin-top: 58px;
  }

  .intro-lead p:first-child {
    font-size: 17px;
  }

  .works-grid {
    grid-template-columns: 1fr;
    margin-top: 58px;
  }

  .work-portrait {
    margin-right: 16%;
  }

  .work-landscape {
    margin-left: 8%;
  }

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

  .tool-card,
  .tool-card:first-child {
    border-left: 1px solid var(--line);
  }

  .tool-card {
    min-height: 190px;
  }

  .tool-card h3 {
    margin-top: 28px;
  }

  .activity-copy h2 {
    font-size: 48px;
  }

  .activity-list div {
    gap: 10px;
    grid-template-columns: 82px 1fr;
  }

  .activity-list strong {
    font-size: 14px;
  }

  .contact h2 {
    font-size: clamp(52px, 17vw, 76px);
  }

  .contact-text br {
    display: none;
  }

  .contact-button {
    gap: 36px;
    min-width: 0;
    width: 100%;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
    padding: 36px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .work img,
  .contact-button {
    transition: none;
  }
}
