:root {
  --red: #df001b;
  --black: #050505;
  --yellow: #fff100;
  --blue: #009ed8;
  --orange: #f08b12;
  --white: #fffdf7;
  --muted: rgba(255, 253, 247, 0.78);
  --line: rgba(5, 5, 5, 0.24);
  --gold: var(--yellow);
  --bg: var(--red);
  --paper: var(--white);
  font-family: "Arial Black", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: calc(112px + env(safe-area-inset-bottom));
  overflow-x: hidden;
  background:
    linear-gradient(135deg, transparent 0 63%, var(--orange) 63.1% 81%, transparent 81.1%),
    var(--red);
  color: var(--black);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.skip-link,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: var(--black);
  background: var(--yellow);
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 5px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 28px;
  color: var(--white);
  background: var(--black);
}

.logo {
  color: var(--white);
  font-size: clamp(20px, 2.3vw, 30px);
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 2vw, 24px);
}

.site-header a:not(.logo) {
  color: rgba(255, 255, 255, 0.42);
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.site-header a:not(.logo):hover,
.site-header a:not(.logo):focus-visible,
.site-header a[aria-current="page"] {
  color: var(--white);
}

.site-header .back-link {
  padding: 8px 10px;
  color: var(--yellow) !important;
  border: 1px solid rgba(255, 241, 0, 0.34);
}

.section-block {
  position: relative;
  width: min(1280px, calc(100% - 44px));
  margin: auto;
}

.section-kicker {
  margin: 0 0 16px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.home-hero {
  position: relative;
  display: grid;
  min-height: min(760px, calc(100svh - 58px));
  grid-template-columns: minmax(210px, 30vw) 1fr;
  align-items: start;
  width: 100%;
}

.vertical-brand {
  z-index: 2;
  align-self: start;
  padding: clamp(20px, 4vw, 54px) 0 0 clamp(18px, 4vw, 54px);
  color: var(--black);
  font-size: clamp(72px, 13.2vw, 184px);
  font-weight: 950;
  line-height: 0.72;
  text-orientation: mixed;
  transform-origin: left top;
  writing-mode: vertical-rl;
}

.hero-stage {
  position: relative;
  min-height: min(700px, calc(100svh - 58px));
  overflow: hidden;
  background: var(--white);
  border-bottom: 10px solid var(--black);
}

.hero-stage::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44%;
  height: 10px;
  background: var(--blue);
  content: "";
}

.hero-stage img {
  width: 100%;
  height: min(700px, calc(100svh - 58px));
  filter: saturate(1.36) contrast(1.08);
  transition: opacity 260ms ease, transform 360ms ease;
}

.hero-stage img.is-switching {
  opacity: 0.18;
  transform: translateX(18px) scale(1.02);
}

.hero-labels {
  position: absolute;
  left: clamp(18px, 6vw, 96px);
  bottom: clamp(26px, 6vw, 72px);
  display: grid;
  justify-items: start;
  gap: 7px;
}

.hero-labels h1 {
  margin: 0;
  padding: 2px 16px 8px;
  color: var(--white);
  background: rgba(0, 158, 216, 0.94);
  font-size: clamp(42px, 7.2vw, 82px);
  font-weight: 500;
  line-height: 0.95;
  mix-blend-mode: normal;
}

.label {
  margin: 0;
  padding: 5px 13px 6px;
  color: var(--white);
  font-size: clamp(13px, 1.8vw, 18px);
  font-weight: 950;
  line-height: 1;
}

.label-blue {
  background: rgba(0, 158, 216, 0.96);
}

.label-yellow {
  color: var(--black);
  background: rgba(255, 241, 0, 0.96);
}

.round-control {
  position: absolute;
  left: clamp(34px, 6vw, 72px);
  top: min(58vh, 610px);
  z-index: 4;
  display: inline-grid;
  width: 82px;
  height: 82px;
  place-items: center;
  color: var(--black);
  background: var(--yellow);
  border: 0;
  border-radius: 50%;
  font-size: 34px;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.round-control:hover,
.round-control:focus-visible {
  background: var(--white);
  transform: rotate(-8deg) scale(1.04);
}

.information-section {
  min-height: 690px;
  padding: 130px 0 70px;
}

.info-list {
  position: relative;
  z-index: 2;
  display: grid;
  max-width: 900px;
  gap: 22px;
}

.info-item {
  display: grid;
  grid-template-columns: minmax(160px, 230px) 1fr;
  align-items: end;
  gap: 0;
}

.info-item time {
  color: var(--white);
  font-size: clamp(32px, 4.6vw, 44px);
  font-weight: 950;
  line-height: 0.8;
}

.info-item a {
  position: relative;
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
  padding: 0 28px 0 36px;
  color: var(--white);
  background: var(--black);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.7;
  text-decoration: none;
}

.info-item a::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: var(--blue);
  content: "";
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 300ms ease;
}

.info-item a:hover::before,
.info-item a:focus-visible::before {
  transform: scaleY(1);
}

.info-item b {
  color: var(--white);
  font-size: 28px;
}

.side-title {
  position: absolute;
  z-index: 1;
  color: var(--black);
  font-size: clamp(80px, 13vw, 174px);
  font-weight: 950;
  line-height: 0.74;
  opacity: 0.96;
  pointer-events: none;
  text-orientation: mixed;
  writing-mode: vertical-rl;
}

.side-title.right {
  top: 76px;
  right: -10px;
}

.side-title.left {
  left: -16px;
  bottom: 120px;
}

.more-link {
  position: relative;
  z-index: 4;
  display: block;
  width: fit-content;
  margin: 34px clamp(420px, 28vw, 620px) 0 auto;
  color: var(--black);
  font-size: 26px;
  font-weight: 950;
  text-decoration: none;
}

.about-section {
  display: grid;
  min-height: 660px;
  grid-template-columns: minmax(260px, 0.76fr) minmax(360px, 1.24fr);
  align-items: center;
  gap: clamp(34px, 7vw, 90px);
  padding: 86px 0 130px;
}

.diagonal-band {
  position: absolute;
  inset: 16% -12vw auto 10vw;
  z-index: 0;
  height: 360px;
  background: var(--orange);
  border-radius: 0 0 0 38px;
  transform: skewX(-44deg) rotate(-1deg);
  transform-origin: center;
}

.about-image {
  position: relative;
  z-index: 2;
  justify-self: end;
  width: min(360px, 72vw);
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--yellow);
  border: 18px solid var(--yellow);
  border-radius: 50%;
}

.about-image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  filter: saturate(1.22) contrast(1.04);
}

.about-copy {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.about-copy h2 {
  margin: 0 0 24px;
  color: var(--yellow);
  font-size: clamp(48px, 7vw, 78px);
  font-weight: 950;
  line-height: 0.9;
}

.about-copy p:not(.section-kicker) {
  max-width: 620px;
  margin: 0;
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
  line-height: 2;
}

.text-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}

.text-links a {
  color: transparent;
  -webkit-text-stroke: 1px var(--white);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 950;
  text-decoration: none;
}

.portfolio-preview {
  padding: 70px 0 110px;
}

.portfolio-preview h2 {
  margin: 0 0 26px;
  color: var(--white);
  font-size: clamp(52px, 9vw, 126px);
  font-weight: 950;
  line-height: 0.85;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.7fr;
  gap: 18px;
  align-items: stretch;
}

.work-tile {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
  text-decoration: none;
}

.work-tile.tall {
  min-height: 520px;
}

.work-tile img {
  width: 100%;
  height: 100%;
  transition: transform 360ms ease;
}

.work-tile span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 7px 12px;
  color: var(--black);
  background: var(--yellow);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.work-tile:hover img,
.work-tile:focus-visible img,
.archive-card:hover img,
.archive-card:focus-within img {
  transform: scale(1.045);
}

.black-tile {
  display: grid;
  align-content: end;
  gap: 20px;
  padding: 24px;
  background: var(--black);
}

.black-tile strong {
  color: var(--yellow);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 950;
  line-height: 0.92;
}

.black-tile span {
  position: static;
  width: fit-content;
  font-size: 28px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  color: var(--black);
  background: var(--yellow);
  border: 3px solid var(--black);
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--white);
  transform: translateY(-3px);
}

.final-cta {
  position: relative;
  z-index: 4;
  display: flex;
  width: min(1100px, calc(100% - 44px));
  min-height: 138px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto 86px;
  padding: 26px 28px;
  color: var(--white);
  background: var(--black);
}

.final-cta p {
  margin: 0;
  font-size: clamp(21px, 3.6vw, 42px);
  font-weight: 950;
  line-height: 1.15;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 44px));
  margin: auto;
  padding: 26px 0 34px;
  color: var(--black);
  font-size: 13px;
  font-weight: 950;
}

footer a {
  text-decoration: none;
}

.contact-fixed {
  position: fixed;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  width: min(720px, calc(100% - 28px));
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 12px 12px 18px;
  color: var(--white);
  background: rgba(5, 5, 5, 0.94);
  border: 2px solid rgba(255, 241, 0, 0.4);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  transform: translateX(-50%);
}

.contact-fixed > div > span {
  display: block;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.contact-fixed > div > p {
  margin: 3px 0 0;
  color: var(--white);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.35;
}

.contact-fixed > a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: var(--black);
  background: var(--yellow);
  border: 2px solid var(--yellow);
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.contact-fixed > a:hover,
.contact-fixed > a:focus-visible {
  background: var(--white);
  transform: translateY(-2px);
}

.portfolio-page {
  background:
    linear-gradient(132deg, transparent 0 46%, var(--orange) 46.1% 56%, transparent 56.1%),
    var(--red);
}

.portfolio-hero {
  position: relative;
  display: grid;
  min-height: min(620px, calc(100svh - 58px));
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  padding: clamp(78px, 8vw, 118px) 0 110px;
}

.portfolio-hero h1 {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--white);
  font-size: clamp(66px, 12vw, 156px);
  font-weight: 950;
  line-height: 0.76;
}

.portfolio-lead {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.9;
}

.portfolio-mark {
  position: absolute;
  top: clamp(42px, 8vw, 86px);
  right: 0;
  z-index: 1;
  color: var(--black);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: clamp(6px, 1vw, 16px);
  font-size: clamp(76px, 9.4vw, 146px);
  font-weight: 950;
  line-height: 0.72;
  opacity: 0.92;
  pointer-events: none;
  text-transform: uppercase;
}

.portfolio-mark > span {
  display: block;
  text-orientation: mixed;
  writing-mode: vertical-rl;
}

.work-archive {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 62px) clamp(22px, 4vw, 46px);
  padding: 44px 0 118px;
}

.archive-card {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
  box-shadow: 16px 16px 0 rgba(255, 241, 0, 0.92);
}

.archive-card:nth-child(2n) {
  margin-top: 76px;
  box-shadow: -16px 16px 0 rgba(0, 158, 216, 0.92);
}

.archive-card.tilt-left {
  transform: rotate(-1.5deg);
}

.archive-card.tilt-right {
  transform: rotate(1.5deg);
}

.archive-card img {
  width: 100%;
  height: 390px;
  transition: transform 360ms ease;
}

.work-number {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  min-width: 74px;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  color: var(--black);
  background: var(--yellow);
  font-size: 30px;
  font-weight: 950;
}

.archive-card div {
  padding: 22px 24px 28px;
}

.archive-card p {
  margin: 0 0 10px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.archive-card h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 950;
  line-height: 0.92;
}

.archive-card span:not(.work-number) {
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.7;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(32px) rotate(0.001deg);
  transition: opacity 680ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 820ms cubic-bezier(0.18, 0.9, 0.2, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.split-word,
.split-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(1.2em) rotate(7deg);
  transition: opacity 460ms ease, transform 720ms cubic-bezier(0.15, 0.92, 0.22, 1);
  transition-delay: calc(var(--split-index, 0) * 24ms + var(--reveal-delay, 0ms));
  will-change: transform, opacity;
}

.split-space {
  display: inline;
}

.is-visible .split-word,
.is-visible .split-char,
.split-ready.is-visible .split-word,
.split-ready.is-visible .split-char {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

[data-split].split-ready {
  opacity: 1;
}

.hero-labels h1,
.label,
.section-kicker,
.info-item a,
.final-cta,
.black-tile {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 680ms cubic-bezier(0.18, 0.9, 0.2, 1), opacity 680ms ease, transform 820ms cubic-bezier(0.18, 0.9, 0.2, 1);
}

.is-visible .hero-labels h1,
.hero-labels h1.is-visible,
.is-visible .label,
.label.is-visible,
.section-kicker.is-visible,
.is-visible .section-kicker,
.info-item.is-visible a,
.final-cta.is-visible,
.black-tile.is-visible {
  clip-path: inset(0 0 0 0);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 18px;
  }

  .site-header nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

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

  .vertical-brand {
    position: absolute;
    top: 0;
    left: 0;
    max-height: 560px;
    opacity: 0.42;
    font-size: clamp(70px, 20vw, 160px);
  }

  .hero-stage {
    min-height: 560px;
    margin-left: 16vw;
  }

  .hero-stage img {
    height: 560px;
  }

  .round-control {
    left: 24px;
    top: 470px;
  }

  .information-section {
    padding-top: 86px;
  }

  .info-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .side-title.right {
    right: -38px;
    opacity: 0.22;
  }

  .more-link {
    margin-right: 0;
  }

  .about-section,
  .portfolio-hero {
    grid-template-columns: 1fr;
  }

  .about-image {
    justify-self: center;
  }

  .preview-grid,
  .work-archive {
    grid-template-columns: 1fr;
  }

  .archive-card:nth-child(2n) {
    margin-top: 0;
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: calc(154px + env(safe-area-inset-bottom));
  }

  .site-header a:not(.logo) {
    font-size: 12px;
  }

  .hero-stage {
    margin-left: 0;
    min-height: 520px;
  }

  .hero-stage img {
    height: 520px;
  }

  .hero-labels {
    left: 18px;
    right: 18px;
  }

  .hero-labels h1 {
    font-size: clamp(40px, 13vw, 62px);
  }

  .round-control {
    top: 444px;
    width: 68px;
    height: 68px;
    font-size: 28px;
  }

  .section-block {
    width: min(100% - 28px, 1280px);
  }

  .information-section {
    min-height: auto;
    padding-bottom: 56px;
  }

  .info-list {
    gap: 20px;
  }

  .info-item a {
    min-height: 96px;
    padding: 0 18px;
    font-size: 14px;
  }

  .side-title {
    display: none;
  }

  .about-section {
    padding: 54px 0 80px;
  }

  .diagonal-band {
    inset: 24% -40vw auto 16vw;
    height: 290px;
  }

  .text-links a {
    -webkit-text-stroke-width: 0.8px;
  }

  .work-tile,
  .work-tile.tall {
    min-height: 330px;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 62px;
  }

  .contact-fixed {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
  }

  .contact-fixed > a {
    width: 100%;
  }

  .contact-fixed > div > p {
    font-size: 14px;
  }

  .portfolio-hero {
    min-height: 330px;
    padding-top: 50px;
  }

  .portfolio-mark {
    display: none;
  }

  .archive-card,
  .archive-card.tilt-left,
  .archive-card.tilt-right {
    min-height: auto;
    box-shadow: 10px 10px 0 rgba(255, 241, 0, 0.92);
    transform: none;
  }

  .archive-card:nth-child(2n) {
    box-shadow: -10px 10px 0 rgba(0, 158, 216, 0.92);
  }

  .archive-card img {
    height: 300px;
  }

  footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  [data-reveal],
  .split-word,
  .split-char {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-labels h1,
  .label,
  .section-kicker,
  .info-item a,
  .final-cta,
  .black-tile {
    clip-path: inset(0 0 0 0) !important;
  }
}
