:root {
  color-scheme: light;
  --black: #000000;
  --white: #ffffff;
  --line-width: 1px;
  --spacing-scale: 1;
  --rotation-duration: 120s;
}

@property --rotation-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--black);
  font-family: "Spectral", Georgia, serif;
  font-weight: 300;
}

strong,
b {
  font-weight: 600;
}

.effect-wall {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(120px, 12vw, 220px);
  grid-auto-flow: dense;
  gap: 0;
  min-height: 100svh;
}

.tile {
  position: relative;
  overflow: hidden;
  min-height: 0;
  background: var(--white);
  isolation: isolate;
}

.tile-with-logo {
  overflow: hidden;
  isolation: isolate;
  z-index: 2;
}

.tile::before,
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
}

.tile-number {
  position: absolute;
  z-index: 30;
  left: clamp(10px, 1.2vw, 18px);
  bottom: clamp(8px, 1vw, 16px);
  display: inline-grid;
  place-items: center;
  min-width: 2.1em;
  min-height: 1.55em;
  padding: 0 0.28em;
  background: #ffed00;
  color: var(--black);
  font: 700 clamp(10px, 0.9vw, 15px) / 1 Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  mix-blend-mode: normal;
  pointer-events: none;
}

.tile-title {
  position: absolute;
  z-index: 10;
  top: clamp(10px, 1.2vw, 18px);
  right: clamp(10px, 1.2vw, 18px);
  max-width: calc(100% - clamp(20px, 2.4vw, 36px));
  padding: 0.18em 0.34em 0.36em;
  background: var(--black);
  color: var(--white);
  font-family: "Noto Serif Display", Georgia, serif;
  font-size: clamp(11px, 1.6vw, 27px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0;
  text-align: right;
  pointer-events: none;
}

.tile-title--left {
  right: auto;
  left: clamp(10px, 1.2vw, 18px);
  text-align: left;
}

.tile-copy {
  --copy-edge: clamp(12px, 2vw, 30px);
  position: absolute;
  z-index: 5;
  top: 50%;
  right: var(--copy-edge);
  width: min(64%, 480px);
  color: var(--black);
  transform: translateY(-50%);
}

.tile-copy--compact {
  width: calc(100% - 2 * var(--copy-edge));
}

.tile-copy--left {
  right: auto;
  left: var(--copy-edge);
}

.tile-copy span {
  padding: 0 0.16em 0.04em;
  background: var(--white);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.effect-wall .tile[id] {
  scroll-margin-top: 120px;
}

.tile-copy h2,
.tile-copy p {
  margin: 0;
  font-family: "Spectral", Georgia, serif;
  letter-spacing: 0;
}

.tile-copy h2 {
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
}

.tile-copy p {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.9;
}

.tile-copy--compact h2 {
  font-size: 21px;
}

.tile-copy--compact p {
  font-size: 16px;
  line-height: 1.8;
}

.tile-copy a {
  color: inherit;
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

.tile-legal-links {
  position: absolute;
  z-index: 10;
  top: clamp(10px, 1.2vw, 18px);
  right: clamp(10px, 1.2vw, 18px);
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4em;
  max-width: calc(100% - clamp(20px, 2.4vw, 36px));
}

.tile-legal-links a {
  padding: 0.18em 0.34em 0.36em;
  background: var(--black);
  color: var(--white);
  font-family: "Noto Serif Display", Georgia, serif;
  font-size: clamp(11px, 1.6vw, 27px);
  font-weight: 700;
  line-height: 0.95;
  text-decoration: none;
}

.tile-legal-links a:hover,
.tile-legal-links a:focus-visible {
  text-decoration: underline;
}

.tile-brand-identity {
  position: absolute;
  z-index: 5;
  right: clamp(10px, 1.2vw, 18px);
  bottom: clamp(10px, 1.2vw, 18px);
  width: min(88%, 350px);
  height: min(76%, 260px);
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
}

.tile-prospect {
  position: absolute;
  z-index: 5;
  left: clamp(56px, 5vw, 76px);
  bottom: clamp(10px, 1.2vw, 18px);
  width: min(52%, 340px);
  height: min(72%, 250px);
  object-fit: contain;
  object-position: left bottom;
  pointer-events: none;
}

.tile-business-card {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 0;
  width: 86%;
  max-width: 420px;
  height: 58%;
  object-fit: contain;
  object-position: left center;
  transform: translateY(-50%);
  pointer-events: none;
}

.tile-centered-artwork {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  width: min(78%, 480px);
  height: 62%;
  object-fit: contain;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.tile-typography {
  right: 0;
  left: auto;
  object-position: right center;
  transform: translateY(-50%);
}

.tile-artwork-link {
  display: block;
  pointer-events: auto;
}

.tile-artwork-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tile-artwork-link:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 4px;
}

.tile-signage,
.tile-infographic {
  position: absolute;
  z-index: 5;
  top: 50%;
  height: 70%;
  object-fit: contain;
  transform: translateY(-50%);
  pointer-events: none;
}

.tile-signage {
  left: clamp(16px, 2vw, 32px);
  width: min(44%, 300px);
  object-position: left center;
}

.tile-infographic {
  right: clamp(16px, 2vw, 32px);
  width: min(42%, 380px);
  object-position: right center;
}

.tile-logo-preview {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  display: block;
  width: min(32.5%, 200px);
  height: auto;
  padding: clamp(4px, 0.5vw, 6px);
  transform: translate(-50%, -50%);
}

.tile-logo-preview img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 290.17002 / 168;
  object-fit: contain;
}

.tile-logo-preview:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 4px;
}

.fixed-brand {
  position: fixed;
  z-index: 1000;
  top: clamp(12px, 1.4vw, 22px);
  left: clamp(12px, 1.4vw, 22px);
  display: grid;
  grid-template-columns: minmax(180px, min(34vw, 420px)) minmax(120px, 1fr);
  align-items: start;
  column-gap: clamp(18px, 2.4vw, 42px);
  width: min(calc(75vw - clamp(24px, 2.8vw, 44px)), 760px);
}

.fixed-brand-logo,
.fixed-brand-logo:link,
.fixed-brand-logo:visited {
  display: block;
  width: max-content;
  max-width: 100%;
  padding: 0.08em 0.12em 0.18em;
  background: var(--white);
  color: var(--black);
  font-family: "Noto Serif Display", Georgia, serif;
  font-size: clamp(26px, 3.6vw, 56px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0;
  text-decoration: none;
}

.fixed-brand-logo:hover,
.fixed-brand-logo:focus {
  color: var(--black);
  text-decoration: none;
}

.fixed-brand-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.38em 0.42em;
}

.fixed-brand-menu a {
  display: inline-block;
  padding: 0.18em 0.34em 0.36em;
  background: var(--black);
  color: var(--white);
  font-family: "Noto Serif Display", Georgia, serif;
  font-size: clamp(11px, 1.3vw, 22px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0;
  text-decoration: none;
}

.tile-square {
  grid-column: span 3;
  grid-row: span 2;
}

.tile-wide {
  grid-column: span 6;
  grid-row: span 2;
}

.tile-tall {
  grid-column: span 3;
  grid-row: span 4;
}

.tile-large {
  grid-column: span 6;
  grid-row: span 4;
}

.tile-hero {
  grid-column: span 9;
  grid-row: span 4;
}

.effect-lines-spin::before {
  inset: -80%;
  background: repeating-linear-gradient(calc(112deg + var(--rotation-angle)), transparent 0 calc(3px * var(--spacing-scale)), var(--black) calc(3px * var(--spacing-scale)) calc(3px * var(--spacing-scale) + var(--line-width)), transparent calc(3px * var(--spacing-scale) + var(--line-width)) calc(7px * var(--spacing-scale)));
  animation: spin 48s linear infinite;
  backface-visibility: hidden;
  transform-origin: center;
  will-change: transform;
}

.effect-halftone-pulse::before {
  background-image: radial-gradient(var(--black) 18%, transparent 20%);
  background-size: 18px 18px;
  animation: halftone 8s ease-in-out infinite alternate;
}

.effect-checker-slide::before {
  inset: -25%;
  background:
    linear-gradient(45deg, var(--black) 25%, transparent 25% 75%, var(--black) 75%),
    linear-gradient(45deg, var(--black) 25%, transparent 25% 75%, var(--black) 75%);
  background-position: 0 0, 18px 18px;
  background-size: 36px 36px;
  animation: slide 8s linear infinite;
}

.effect-rings-drift::before {
  inset: -45%;
  background: repeating-radial-gradient(circle at 35% 50%, var(--black) 0 1px, transparent 1px 12px);
  animation: drift 14s ease-in-out infinite alternate;
}

.effect-wave-lines::before {
  inset: -35%;
  background:
    radial-gradient(ellipse at 50% 20%, transparent 0 28%, var(--black) 28.4% 29%, transparent 29.4%),
    repeating-linear-gradient(0deg, transparent 0 16px, var(--black) 16px 17px, transparent 17px 34px);
  background-size: 100% 80px, 100% 68px;
  animation: waves 12s linear infinite;
}

.effect-barcode-scan::before {
  inset: -30%;
  background: repeating-linear-gradient(90deg, var(--black) 0 3px, transparent 3px 7px, var(--black) 7px 9px, transparent 9px 18px);
  animation: barcode-drift 12s linear infinite;
}

.effect-barcode-scan::after {
  inset: -30%;
  width: 18%;
  background: var(--white);
  mix-blend-mode: difference;
  animation: scan 7s ease-in-out infinite alternate;
}

.effect-iris::before {
  inset: -10%;
  background: conic-gradient(from 0deg, var(--black) 0 9deg, var(--white) 9deg 18deg);
  animation: spin 32s linear infinite;
}

.effect-cross-grid::before {
  inset: -25%;
  background:
    repeating-linear-gradient(calc(90deg + var(--rotation-angle)), var(--black) 0 var(--line-width), transparent var(--line-width) calc(18px * var(--spacing-scale))),
    repeating-linear-gradient(var(--rotation-angle), var(--black) 0 var(--line-width), transparent var(--line-width) calc(18px * var(--spacing-scale)));
  animation: cross-grid 13s linear infinite;
}

.effect-zebra::before {
  inset: -35%;
  background: repeating-linear-gradient(22deg, var(--black) 0 20px, var(--white) 20px 34px);
  animation: slide 10s linear infinite;
}

.effect-noise::before {
  inset: -20%;
  background:
    radial-gradient(var(--black) 0 1px, transparent 1.2px) 0 0 / 10px 10px,
    radial-gradient(var(--black) 0 1px, transparent 1.2px) 5px 5px / 10px 10px;
  animation: jitter 6s steps(6, end) infinite;
}

.effect-moire::before,
.effect-moire::after {
  inset: -35%;
  background: repeating-radial-gradient(circle, transparent 0 11px, var(--black) 11px 12px, transparent 12px 22px);
}

.effect-moire::before {
  animation: spin 48s linear infinite;
}

.effect-moire::after {
  opacity: 0.78;
  transform: rotate(8deg);
  animation: spin 54s linear infinite reverse;
}

.effect-shutter::before {
  background: repeating-conic-gradient(from 0deg, var(--black) 0 8deg, var(--white) 8deg 16deg);
  animation: spin 30s linear infinite reverse;
}

.effect-target::before {
  inset: -50%;
  background: repeating-radial-gradient(circle, var(--black) 0 1px, var(--white) 1px 14px);
  animation: target 10s ease-in-out infinite alternate;
}

.effect-grid-warp::before {
  inset: -20%;
  background:
    repeating-linear-gradient(calc(90deg + var(--rotation-angle)), var(--black) 0 var(--line-width), transparent var(--line-width) calc(28px * var(--spacing-scale))),
    repeating-linear-gradient(var(--rotation-angle), var(--black) 0 var(--line-width), transparent var(--line-width) calc(28px * var(--spacing-scale)));
  animation: line-sway 20s ease-in-out infinite alternate;
}

.effect-dots-flow::before {
  inset: -20%;
  background: radial-gradient(var(--black) 24%, transparent 26%) 0 0 / 22px 22px;
  animation: dots-flow 8s linear infinite;
}

.effect-diagonal-bars::before {
  inset: -35%;
  background: repeating-linear-gradient(135deg, var(--black) 0 26px, var(--white) 26px 52px);
  animation: diagonal 8s linear infinite;
}

.effect-step-stripes::before {
  inset: -25%;
  background:
    linear-gradient(90deg, var(--black) 50%, transparent 50%) 0 0 / 36px 36px,
    linear-gradient(0deg, var(--black) 50%, transparent 50%) 18px 18px / 36px 36px;
  animation: step-stripes 12s steps(12, end) infinite;
}

.effect-venetian::before {
  background: repeating-linear-gradient(0deg, var(--black) 0 12px, var(--white) 12px 24px);
  animation: venetian 7s ease-in-out infinite alternate;
}

.effect-blackout::before {
  background:
    linear-gradient(90deg, var(--black) 50%, var(--white) 50%) 0 0 / 80px 100%,
    repeating-linear-gradient(112deg, transparent 0 3px, var(--black) 3px 4px, transparent 4px 7px);
  animation: blackout 9s steps(6, end) infinite;
}

.line-field::before,
.line-grid-field::before,
.line-radial-field::before,
.line-conic-field::before,
.line-cross-field::before {
  inset: 0;
  backface-visibility: hidden;
}

.line-field::before,
.line-cross-field::before {
  --scaled-gap: calc(var(--gap-size) * var(--spacing-scale));
  --scaled-step: calc(var(--step-size) * var(--spacing-scale));
}

.line-field::before {
  background: repeating-linear-gradient(
    calc(var(--angle) + var(--rotation-angle)),
    transparent 0 var(--scaled-gap),
    var(--black) var(--scaled-gap) calc(var(--scaled-gap) + var(--line-width)),
    transparent calc(var(--scaled-gap) + var(--line-width)) var(--scaled-step)
  );
}

.line-grid-field::before {
  background:
    repeating-linear-gradient(calc(90deg + var(--rotation-angle)), var(--black) 0 var(--line-width), transparent var(--line-width) calc(var(--grid-size) * var(--spacing-scale))),
    repeating-linear-gradient(var(--rotation-angle), var(--black) 0 var(--line-width), transparent var(--line-width) calc(var(--grid-size) * var(--spacing-scale)));
}

.line-radial-field::before {
  background: repeating-radial-gradient(
    circle at 50% 50%,
    transparent 0 var(--ring-size),
    var(--black) var(--ring-size) calc(var(--ring-size) + 1px),
    transparent calc(var(--ring-size) + 1px) calc(var(--ring-size) * 2)
  );
}

.line-conic-field::before {
  background: repeating-conic-gradient(
    from 0deg,
    var(--black) 0 1deg,
    transparent 1deg var(--slice)
  );
}

.line-cross-field::before {
  background:
    repeating-linear-gradient(
      calc(var(--angle) + var(--rotation-angle)),
      transparent 0 var(--scaled-gap),
      var(--black) var(--scaled-gap) calc(var(--scaled-gap) + var(--line-width)),
      transparent calc(var(--scaled-gap) + var(--line-width)) var(--scaled-step)
    ),
    repeating-linear-gradient(
      calc(var(--angle) + 90deg + var(--rotation-angle)),
      transparent 0 var(--scaled-gap),
      var(--black) var(--scaled-gap) calc(var(--scaled-gap) + var(--line-width)),
      transparent calc(var(--scaled-gap) + var(--line-width)) var(--scaled-step)
    );
}

.line-slide::before {
  animation: line-slide var(--duration) linear infinite alternate;
}

.line-spin::before {
  animation: spin var(--duration) linear infinite;
}

.line-breathe::before {
  animation: line-drift var(--duration) ease-in-out infinite alternate;
}

.line-skew::before {
  animation: line-sway var(--duration) ease-in-out infinite alternate;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes rotate-pattern {
  from {
    --rotation-angle: 0deg;
  }

  to {
    --rotation-angle: 360deg;
  }
}

@keyframes halftone {
  to {
    background-size: 9px 9px;
  }
}

@keyframes marquee {
  to {
    transform: translate(-34%, -50%);
  }
}

@keyframes slide {
  to {
    transform: translate(36px, 36px);
  }
}

@keyframes drift {
  to {
    transform: translate(12%, -8%) scale(1.12);
  }
}

@keyframes waves {
  to {
    transform: translateY(68px);
  }
}

@keyframes scan {
  to {
    transform: translateX(520%);
  }
}

@keyframes barcode-drift {
  to {
    transform: translateX(54px);
  }
}

@keyframes cross-grid {
  to {
    transform: translate(36px, 36px);
  }
}

@keyframes jitter {
  to {
    transform: translate(4px, -3px);
  }
}

@keyframes target {
  to {
    transform: scale(0.62);
  }
}

@keyframes grid-shift {
  50% {
    transform: skew(-8deg) scale(1.05);
  }
}

@keyframes dots-flow {
  to {
    transform: translate(22px, 22px);
  }
}

@keyframes diagonal {
  to {
    transform: translate(72px, 0);
  }
}

@keyframes step-stripes {
  to {
    transform: translate(72px, 72px);
  }
}

@keyframes venetian {
  to {
    background-size: 100% 14px;
  }
}

@keyframes blackout {
  to {
    background-position: 480px 0, 0 0;
  }
}

@keyframes line-slide {
  to {
    transform: translate(var(--move-x), var(--move-y));
  }
}

@keyframes line-drift {
  to {
    transform: translate(30px, 30px);
  }
}

@keyframes line-sway {
  to {
    transform: rotate(8deg);
  }
}

.effect-wall .tile::before {
  inset: 0;
  animation: rotate-pattern var(--rotation-duration) var(--rotation-easing, linear) infinite var(--rotation-direction, normal);
  animation-delay: var(--rotation-delay, 0s);
}

/* Each turn takes at most 180s (2deg/s); two groups slow down and reverse. */
.effect-wall .tile:nth-child(8n + 1) {
  --rotation-duration: 120s;
  --rotation-delay: -12s;
}

.effect-wall .tile:nth-child(8n + 2) {
  --rotation-duration: 165s;
  --rotation-direction: reverse;
  --rotation-delay: -53s;
}

.effect-wall .tile:nth-child(8n + 3) {
  --rotation-duration: 135s;
  --rotation-direction: alternate;
  --rotation-easing: ease-in-out;
  --rotation-delay: -48s;
}

.effect-wall .tile:nth-child(8n + 4) {
  --rotation-duration: 90s;
  --rotation-delay: -37s;
}

.effect-wall .tile:nth-child(8n + 5) {
  --rotation-duration: 180s;
  --rotation-direction: reverse;
  --rotation-delay: -84s;
}

.effect-wall .tile:nth-child(8n + 6) {
  --rotation-duration: 120s;
  --rotation-direction: alternate-reverse;
  --rotation-easing: ease-in-out;
  --rotation-delay: -95s;
}

.effect-wall .tile:nth-child(8n + 7) {
  --rotation-duration: 150s;
  --rotation-delay: -25s;
}

.effect-wall .tile:nth-child(8n + 8) {
  --rotation-duration: 105s;
  --rotation-direction: reverse;
  --rotation-delay: -70s;
}

@media (min-width: 901px) and (max-width: 1000px) {
  .tile-copy--compact h2 {
    margin-bottom: 8px;
    font-size: 19px;
  }

  .tile-copy--compact p {
    font-size: 15px;
    line-height: 1.7;
  }
}

@media (max-width: 900px) {
  .effect-wall {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: clamp(112px, 22vw, 190px);
  }

  .tile-hero,
  .tile-large,
  .tile-wide {
    grid-column: span 6;
  }

  .tile-square,
  .tile-tall {
    grid-column: span 3;
  }
}

@media (max-width: 560px) {
  .effect-wall {
    --spacing-scale: 0.78;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: clamp(40px, 12vw, 64px);
    grid-auto-flow: row;
  }

  .tile,
  .tile-hero,
  .tile-large,
  .tile-wide,
  .tile-square,
  .tile-tall {
    grid-column: span 12;
    grid-row: span var(--mobile-row-span, 4);
  }

  .effect-wall .tile:nth-child(6) {
    --mobile-row-span: 3;
  }

  .effect-wall .tile:is(
    :nth-child(1), :nth-child(4), :nth-child(9), :nth-child(10),
    :nth-child(13), :nth-child(18), :nth-child(22), :nth-child(25),
    :nth-child(28), :nth-child(29), :nth-child(34), :nth-child(35),
    :nth-child(41)
  ) {
    --mobile-row-span: 5;
  }

  .effect-wall .tile:is(
    :nth-child(3), :nth-child(5), :nth-child(7), :nth-child(12),
    :nth-child(14), :nth-child(17), :nth-child(19), :nth-child(21),
    :nth-child(23), :nth-child(24), :nth-child(26), :nth-child(27),
    :nth-child(30), :nth-child(33), :nth-child(36), :nth-child(39)
  ) {
    --mobile-row-span: 6;
  }

  /* Keep only pattern-only pairs side by side in mobile reading order. */
  .effect-wall .tile:is(
    :nth-child(9), :nth-child(10),
    :nth-child(28), :nth-child(29), :nth-child(31), :nth-child(32),
    :nth-child(34), :nth-child(35), :nth-child(37), :nth-child(38)
  ) {
    grid-column: span var(--mobile-span, 5);
  }

  .effect-wall .tile:is(:nth-child(31), :nth-child(37)) {
    --mobile-span: 7;
  }

  .effect-wall .tile:is(:nth-child(9), :nth-child(28), :nth-child(35)) {
    --mobile-span: 8;
  }

  .effect-wall .tile:is(:nth-child(10), :nth-child(29), :nth-child(34)) {
    --mobile-span: 4;
  }

  .tile-title,
  .tile-legal-links a {
    font-size: 20px;
  }

  .tile-copy {
    --copy-edge: 12px;
    width: 78%;
  }

  .tile-copy h2 {
    font-size: 22px;
  }

  .tile-copy p,
  .tile-copy--compact p {
    font-size: 15px;
    line-height: 1.9;
  }

  .fixed-brand {
    grid-template-columns: minmax(150px, 52vw) 1fr;
    width: calc(100vw - 24px);
  }

  .fixed-brand-menu a {
    font-size: 14px;
  }
}
