/* Kitbash keeps the previous page. These rules only apply there. */
body.bay {
  margin: 0;
  min-height: 100%;
  background: #0a0a0a;
  color: #f4f1ea;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}
body.bay a { color: inherit; }
body.bay .stamp {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 20;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.45);
  pointer-events: none;
}
body.bay .top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 24px;
  border-bottom: 1px solid #2a2a2a;
}
body.bay .back { text-decoration: none; letter-spacing: 0.2em; text-transform: uppercase; font-size: 13px; }
body.bay .tag { color: #e85d04; letter-spacing: 0.18em; text-transform: uppercase; font-size: 12px; }
body.bay main { max-width: 640px; padding: 48px 24px 80px; }
body.bay h1 { font-weight: 500; font-size: 42px; letter-spacing: 0.04em; margin: 0 0 8px; }
body.bay .lede { margin: 0 0 36px; color: #9a958c; }
body.bay .parts { list-style: none; margin: 0; padding: 0; }
body.bay .parts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid #2a2a2a;
  font-size: 20px;
}
body.bay .parts small { color: #9a958c; font-size: 13px; letter-spacing: 0.04em; }

/* Homepage, gallery, shop. */
:root {
  --ink: #1d1d1b;
  --shell: #eae4da;
  --mustard: #eac119;
  --lavender: #808bc5;
  --sky: #9ed6df;
  --tea: #245e55;
  --pink: #eaa7c7;
  --tangerine: #ed773c;
  --red: #c63f3e;
  --paper: #f7f4ee;
  --line: rgba(29, 29, 27, 0.16);
}

* { box-sizing: border-box; }
html { margin: 0; }
body.site {
  margin: 0;
  background: var(--ink);
  color: var(--shell);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
}
body.site.light { background: var(--paper); color: var(--ink); }
body.site a { color: inherit; text-decoration: none; }
body.site img { max-width: 100%; display: block; }
body.site h1, body.site h2, body.site .display {
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.84;
  margin: 0;
}

.topbar {
  display: grid;
  grid-template-columns: 140px 1fr 140px;
  align-items: end;
  gap: 16px;
  min-height: 74px;
  padding: 18px 28px 0;
  background: var(--shell);
  color: var(--ink);
}
.brand {
  width: 92px;
  height: 28px;
  margin-bottom: 10px;
  background: var(--red);
  -webkit-mask: url("/assets/maad-wordmark-black.svg") left center / contain no-repeat;
  mask: url("/assets/maad-wordmark-black.svg") left center / contain no-repeat;
  border-bottom: 2px solid var(--red);
}
.menu {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 0 8vw 14px;
  border-bottom: 1px solid transparent;
}
.menu a {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-bottom: 12px;
}
.menu a[aria-current="page"] {
  color: var(--red);
  box-shadow: inset 0 -2px 0 var(--red);
}
.burger { display: none; }

.stage {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  padding: 72px 40px 36px;
  background: var(--ink);
  color: var(--shell);
}
.display { font-size: clamp(84px, 11vw, 148px); }
body.site h1.statement {
  max-width: 18em;
  margin: 0;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-transform: none;
}
.meta { margin: 36px 0 0; }
.meta div + div { margin-top: 22px; }
.kicker {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(234, 228, 218, 0.62);
}
.meta p { margin: 0; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; }

.panel {
  background: #141413;
  padding: 28px 28px 0;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}
.panel h2 {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.3;
  margin: 0 0 28px;
}
.rows { margin-top: auto; }
.rows a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(234, 228, 218, 0.28);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin: 28px -28px 0;
  padding: 0 18px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.btn.light { background: #fff; color: var(--ink); }
.btn.ink { background: var(--ink); color: #fff; }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.midnav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 40px;
  border-top: 1px solid rgba(234, 228, 218, 0.35);
  background: var(--ink);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stack {
  position: relative;
  height: 520px;
  margin: 10px 8vw 0;
  background: var(--ink);
}
.plate {
  position: absolute;
  width: min(46vw, 520px);
  height: 340px;
  margin: 0;
  padding: 10px;
  box-sizing: border-box;
  background: var(--shell);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}
.plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.plate.a { left: 6%; top: 70px; transform: rotate(-7deg); }
.plate.a img { object-position: center 62%; }
.plate.b { left: 28%; top: 36px; transform: rotate(4deg); }
.plate.b img { object-position: center 72%; }
.plate.c { left: 48%; top: 96px; transform: rotate(-2deg); z-index: 2; }
.plate.c img { object-position: center 42%; }

.giant {
  display: block;
  width: 112%;
  margin: 24px 0 0 -4%;
  background: var(--ink);
}
.giant img { width: 100%; height: auto; }

.hero {
  position: relative;
  min-height: 78vh;
  margin: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(29, 29, 27, 0.84) 0%, rgba(29, 29, 27, 0.28) 52%, rgba(29, 29, 27, 0.5) 100%);
}
.hero .year, .hero h1, .hero .btn { position: relative; z-index: 2; }
.hero .year { margin: 0; font-size: clamp(42px, 5vw, 64px); font-weight: 500; }
.hero h1 { max-width: 14ch; font-size: clamp(64px, 8vw, 112px); }
.hero .btn {
  position: absolute;
  right: 28px;
  bottom: 28px;
  margin: 0;
  min-width: 150px;
  min-height: 44px;
}

.blocks {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.7fr;
  gap: 14px;
  padding: 0 18px 28px;
}
.card {
  background: #fff;
  color: var(--ink);
  min-height: 280px;
}
.card.quote { padding: 28px 24px 0; display: flex; flex-direction: column; }
.mark-red {
  width: 110px;
  height: 34px;
  background: var(--red);
  -webkit-mask: url("/assets/maad-wordmark-black.svg") left center / contain no-repeat;
  mask: url("/assets/maad-wordmark-black.svg") left center / contain no-repeat;
}
.card.quote p { margin: 22px 0 8px; font-size: 15px; line-height: 1.35; letter-spacing: 0.01em; }
.card.quote .label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a857c;
}
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: auto;
  border-top: 1px solid var(--line);
}
.stats div { padding: 18px 8px 20px; border-top: 1px solid var(--line); }
.stats div:nth-child(odd) { border-right: 1px solid var(--line); }
.stats strong {
  display: block;
  color: var(--red);
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-size: 64px;
  font-weight: 400;
  line-height: 0.8;
}
.stats span {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.card.photo {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--ink);
}
.card.photo img,
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card.photo img { position: absolute; inset: 0; }
.swatch { min-height: 320px; }
.swatch.mustard { background: var(--mustard); }
.swatch.lavender { background: var(--lavender); }
.swatch.sky { background: var(--sky); }
.swatch.tea { background: var(--tea); }
.swatch.pink { background: var(--pink); }
.swatch.tangerine { background: var(--tangerine); }
.swatch.shell { background: var(--shell); }
.swatch.red { background: var(--red); }
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 360px; }
.split .photo { position: relative; min-height: 240px; overflow: hidden; background: var(--ink); }
.split .photo img { position: absolute; inset: 0; }
.split .copy { padding: 28px 24px; }
.split .copy h3 {
  margin: 18px 0 0;
  color: var(--red);
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-size: 54px;
  font-weight: 400;
  line-height: 0.86;
}

.columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 18px;
}
.story {
  background: #fff;
  color: var(--ink);
  min-height: 460px;
  padding: 22px 22px 0;
}
.story .big {
  margin: 0;
  color: var(--red);
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-size: clamp(64px, 6vw, 92px);
  line-height: 0.8;
}
.story p { margin: 14px 0 18px; font-size: 13px; line-height: 1.45; letter-spacing: 0.04em; text-transform: uppercase; }
.story .photo { height: 300px; margin: 0 -22px; overflow: hidden; background: var(--ink); }
.story .photo img { object-position: center 40%; }

.jobs {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  padding: 0 18px 14px;
}
.job {
  background: #fff;
  color: var(--ink);
  padding: 22px 22px 0;
  border-top: 3px solid var(--red);
}
.job time { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.job h2 {
  margin: 14px 0;
  color: var(--red);
  font-size: clamp(40px, 4vw, 58px);
}
.job .body { margin: 0 0 22px; font-size: 14px; line-height: 1.45; max-width: 46ch; }
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.facts div { padding: 16px 12px 18px 0; }
.facts div + div { border-left: 1px solid var(--line); padding-left: 16px; }
.facts small {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.facts b {
  color: var(--red);
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.job .btn { margin: 8px -22px 0; }

.captions {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 14px;
  padding: 0 18px 28px;
}
.caption .photo { height: 420px; overflow: hidden; background: var(--ink); }
.caption time, .caption h3 {
  display: block;
  margin: 10px 0 0;
  color: var(--red);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.caption h3 {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
}

@media (max-width: 980px) {
  .stage, .blocks, .columns, .jobs, .captions, .split { grid-template-columns: 1fr; }
  .stack { height: 420px; }
  .plate { width: 68vw; height: 220px; }
  .hero { min-height: 70vh; }
  .hero .btn { position: static; margin-top: 28px; }
}

@media (max-width: 720px) {
  .topbar { grid-template-columns: 1fr auto; padding: 14px 16px 0; }
  .menu { display: none; }
  .burger { display: block; align-self: center; font-size: 22px; letter-spacing: 0.2em; }
  .topbar:focus-within .menu, .topbar.open .menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    z-index: 5;
    left: 0;
    right: 0;
    top: 64px;
    padding: 8px 16px 16px;
    background: var(--shell);
  }
  .stage { padding: 36px 16px 20px; }
  .display { font-size: 78px; }
  .midnav { flex-direction: column; gap: 14px; padding: 18px 16px; }
  .stack { height: 300px; margin-right: 0; margin-left: 0; }
  .plate { width: 74vw; height: 180px; }
  .giant { width: 130%; margin-left: -8%; }
  .blocks, .columns, .jobs, .captions { padding-left: 12px; padding-right: 12px; }
  .hero { margin: 12px; min-height: 78vh; }
}
