:root {
  --paper: #f1ede3;
  --paper-deep: #e4dece;
  --ink: #171713;
  --muted: #69665d;
  --red: #ff4f2e;
  --line: rgba(23, 23, 19, 0.82);
  --display: "Bodoni 72", Didot, "Iowan Old Style", Georgia, serif;
  --sans: "Avenir Next", Avenir, "Century Gothic", Futura, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(23, 23, 19, 0.035) 50%, transparent 50.2%),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.paper-noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.15'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.shell {
  width: min(1440px, calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--paper);
  font: 700 12px/1 var(--mono);
  text-transform: uppercase;
}

.skip-link:focus {
  transform: translateY(0);
}

.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 92px;
  border-bottom: 2px solid var(--ink);
  animation: rule-in 700ms cubic-bezier(.2,.7,.2,1) both;
}

.wordmark {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 800 17px/1 var(--sans);
  letter-spacing: 0.12em;
}

.wordmark i {
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  background: var(--red);
}

.edition {
  margin: 0;
  font: 600 10px/1.3 var(--mono);
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.edition span {
  color: var(--red);
}

.masthead nav {
  display: flex;
  justify-content: flex-end;
  gap: 26px;
}

.masthead nav a,
.footer a {
  text-underline-offset: 5px;
  font: 700 11px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.masthead nav a:hover,
.masthead nav a:focus-visible,
.footer a:hover,
.footer a:focus-visible {
  color: var(--red);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(220px, .55fr);
  gap: 64px;
  min-height: 750px;
  padding: 86px 0 48px;
  border-bottom: 2px solid var(--ink);
}

.section-kicker {
  margin: 0 0 28px;
  font: 700 11px/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 3px;
  margin-right: 10px;
  vertical-align: 3px;
  background: var(--red);
}

.hero h1 {
  max-width: 1050px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(76px, 9.8vw, 158px);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.77;
  animation: rise 850ms 100ms cubic-bezier(.18,.75,.2,1) both;
}

.hero h1 em {
  position: relative;
  display: inline-block;
  margin-left: 0.32em;
  color: var(--red);
  font-weight: 400;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  right: -0.03em;
  bottom: -0.12em;
  left: -0.08em;
  height: 0.055em;
  transform: rotate(-1.5deg);
  background: currentColor;
}

.hero-intro {
  max-width: 720px;
  margin: 62px 0 0 auto;
  font-family: var(--display);
  font-size: clamp(23px, 2.1vw, 34px);
  line-height: 1.25;
  animation: rise 750ms 280ms cubic-bezier(.18,.75,.2,1) both;
}

.studio-seal {
  position: relative;
  align-self: start;
  display: grid;
  width: 215px;
  aspect-ratio: 1;
  margin-top: 62px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 8px 8px 0 var(--red);
  animation: rise 800ms 420ms cubic-bezier(.18,.75,.2,1) both;
}

.studio-seal::before,
.studio-seal::after {
  content: "";
  position: absolute;
  background: var(--ink);
}

.studio-seal::before {
  width: 1px;
  height: 74%;
}

.studio-seal::after {
  width: 74%;
  height: 1px;
}

.studio-seal strong {
  z-index: 1;
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  font: 400 66px/.9 var(--display);
}

.studio-seal small {
  position: absolute;
  bottom: 28px;
  z-index: 2;
  padding: 2px 5px;
  background: var(--paper);
  font: 800 9px/1 var(--mono);
  letter-spacing: .16em;
}

.seal-orbit {
  position: absolute;
  inset: 11px;
  border: 1px dashed var(--ink);
  border-radius: 50%;
  overflow: hidden;
  color: transparent;
  animation: spin 22s linear infinite;
}

.hero-ledger {
  position: absolute;
  right: 0;
  bottom: 48px;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.hero-ledger div {
  display: flex;
  min-height: 65px;
  align-items: center;
  gap: 13px;
  padding: 0 18px;
  border-right: 1px solid var(--ink);
}

.hero-ledger div:last-child {
  border-right: 0;
}

.hero-ledger span {
  color: var(--red);
  font: 800 10px/1 var(--mono);
}

.hero-ledger p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.product-index {
  padding: 104px 0 120px;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.45fr 1.2fr 0.55fr;
  gap: 42px;
  align-items: end;
  margin-bottom: 58px;
}

.section-heading .section-kicker {
  margin: 0;
}

.section-heading h2,
.contact h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(44px, 5vw, 78px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.product-card {
  position: relative;
  display: grid;
  min-height: 430px;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  padding: 28px;
  border: 2px solid var(--ink);
  background: color-mix(in srgb, var(--accent) 20%, var(--paper));
  box-shadow: 7px 7px 0 var(--ink);
  animation: card-in 650ms var(--delay) cubic-bezier(.18,.75,.2,1) both;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.product-card:hover,
.product-card:focus-within {
  z-index: 2;
  transform: translate(-4px, -4px) rotate(-0.35deg);
  background: color-mix(in srgb, var(--accent) 43%, var(--paper));
  box-shadow: 13px 13px 0 var(--ink);
}

.product-card--wide {
  grid-column: span 2;
  grid-template-columns: minmax(180px, .7fr) 1.3fr;
  column-gap: 36px;
}

.product-card--wide .card-number {
  grid-column: 1 / -1;
}

.product-card--wide img {
  align-self: center;
}

.product-card--tall {
  grid-row: span 2;
}

.card-number {
  align-self: start;
  font: 800 10px/1 var(--mono);
  letter-spacing: .12em;
}

.product-card img {
  width: min(150px, 52%);
  height: auto;
  margin: 38px 0 30px;
  border: 1px solid rgba(23, 23, 19, .22);
  border-radius: 23%;
  box-shadow: 0 16px 28px rgba(23, 23, 19, .12);
  object-fit: cover;
}

.card-copy {
  align-self: end;
}

.platform {
  margin: 0 0 9px;
  font: 700 10px/1.2 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.card-copy h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(36px, 3vw, 53px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .95;
}

.card-copy h3 a {
  text-decoration: none;
}

.card-copy > p:not(.platform) {
  max-width: 470px;
  margin: 20px 0 25px;
  font-size: 14px;
  line-height: 1.55;
}

.card-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font: 800 10px/1 var(--mono);
  letter-spacing: .08em;
  text-underline-offset: 5px;
  text-transform: uppercase;
}

.card-link span,
.contact > a span {
  color: var(--red);
  font-size: 1.35em;
}

.principles {
  position: relative;
  width: 100%;
  max-width: none;
  padding: 110px max(32px, calc((100vw - 1440px) / 2));
  background: var(--ink);
  color: var(--paper);
}

.section-heading--inverse {
  grid-template-columns: .45fr 1.75fr;
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(241, 237, 227, .5);
}

.principle-list article {
  min-height: 310px;
  padding: 34px 34px 0 0;
  border-right: 1px solid rgba(241, 237, 227, .5);
}

.principle-list article + article {
  padding-left: 34px;
}

.principle-list article:last-child {
  border-right: 0;
}

.principle-list span {
  color: var(--red);
  font: 700 11px/1 var(--mono);
}

.principle-list h3 {
  margin: 85px 0 16px;
  font: 400 clamp(32px, 3vw, 50px)/1 var(--display);
  letter-spacing: -.04em;
}

.principle-list p {
  max-width: 350px;
  margin: 0;
  color: rgba(241, 237, 227, .7);
  font-size: 14px;
  line-height: 1.6;
}

.contact {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 60px;
  align-items: end;
  padding: 110px 0;
  border-bottom: 2px solid var(--ink);
}

.contact .section-kicker {
  margin-bottom: 22px;
}

.contact > a {
  justify-self: end;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
  font: 700 clamp(16px, 1.8vw, 25px)/1.2 var(--mono);
  text-decoration: none;
}

.contact > a:hover,
.contact > a:focus-visible {
  color: var(--red);
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
  min-height: 100px;
  color: var(--muted);
  font: 700 10px/1.4 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer p:nth-child(2) {
  text-align: center;
}

.footer div {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rule-in {
  from { opacity: 0; transform: scaleX(.8); }
  to { opacity: 1; transform: scaleX(1); }
}

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

@media (max-width: 980px) {
  .shell {
    width: min(100% - 36px, 760px);
  }

  .masthead {
    grid-template-columns: 1fr auto;
  }

  .edition {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: 850px;
    padding-top: 68px;
  }

  .studio-seal {
    position: absolute;
    right: 0;
    bottom: 165px;
    width: 165px;
  }

  .hero-intro {
    max-width: calc(100% - 185px);
    margin: 55px 0 0;
  }

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

  .hero-ledger div:nth-child(2) {
    border-right: 0;
  }

  .hero-ledger div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--ink);
  }

  .section-heading,
  .section-heading--inverse {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .product-card--wide {
    grid-column: span 2;
  }

  .product-card--tall {
    grid-row: auto;
  }

  .principles {
    padding-inline: 28px;
  }

  .contact {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact > a {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 28px, 520px);
  }

  .masthead {
    min-height: 78px;
  }

  .masthead nav {
    gap: 13px;
  }

  .masthead nav a:nth-child(2) {
    display: none;
  }

  .hero {
    min-height: 790px;
    padding-top: 54px;
  }

  .hero h1 {
    font-size: clamp(62px, 21vw, 95px);
    line-height: .82;
  }

  .hero h1 em {
    margin-left: .08em;
  }

  .hero-intro {
    max-width: 100%;
    margin-top: 44px;
    padding-right: 0;
    font-size: 22px;
  }

  .studio-seal {
    right: 8px;
    bottom: 172px;
    width: 112px;
    box-shadow: 5px 5px 0 var(--red);
  }

  .studio-seal strong {
    width: 55px;
    height: 55px;
    font-size: 42px;
  }

  .studio-seal small {
    bottom: 14px;
    font-size: 7px;
  }

  .hero-ledger {
    font-size: 11px;
  }

  .hero-ledger div {
    min-height: 58px;
    padding-inline: 9px;
  }

  .hero-ledger p {
    font-size: 11px;
  }

  .product-index {
    padding: 80px 0 90px;
  }

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

  .product-card,
  .product-card--wide {
    grid-column: auto;
    grid-template-columns: 1fr;
    min-height: 405px;
    padding: 23px;
  }

  .product-card--wide .card-number {
    grid-column: auto;
  }

  .product-card img {
    width: 112px;
    margin: 32px 0 28px;
  }

  .principles {
    padding: 84px 20px;
  }

  .principle-list {
    grid-template-columns: 1fr;
  }

  .principle-list article,
  .principle-list article + article {
    min-height: auto;
    padding: 28px 0 34px;
    border-right: 0;
    border-bottom: 1px solid rgba(241, 237, 227, .5);
  }

  .principle-list article:last-child {
    border-bottom: 0;
  }

  .principle-list h3 {
    margin-top: 42px;
  }

  .contact {
    padding: 82px 0;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px 0;
  }

  .footer p,
  .footer p:nth-child(2) {
    margin: 0;
    text-align: left;
  }

  .footer div {
    justify-content: flex-start;
    margin-top: 8px;
  }
}

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