:root {
  --charcoal: #232c33;
  --brick: #c34b2d;
  --ivory: #f2ece2;
  --paper: #fcfaf6;
  --line: rgba(35, 44, 51, 0.2);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Baskerville,
    "Times New Roman", serif;
  --sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

button,
a {
  color: inherit;
}

button {
  font: inherit;
}

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

.site-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin: 0 2rem;
  min-height: 5.75rem;
}

.wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.wordmark span:first-child {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0.18em;
}

.wordmark span:last-child {
  color: var(--brick);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  margin-top: 0.45rem;
}

.header-link {
  align-items: center;
  display: flex;
  font-size: 0.72rem;
  font-weight: 650;
  gap: 0.65rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.header-link span {
  color: var(--brick);
  font-size: 1rem;
  transition: transform 180ms ease;
}

.header-link:hover span {
  transform: translateY(0.2rem);
}

.hero {
  display: grid;
  grid-template-columns: minmax(8rem, 0.4fr) minmax(28rem, 1.6fr) minmax(
      12rem,
      0.55fr
    );
  min-height: 27rem;
  overflow: hidden;
  padding: 3.25rem 2rem 3.75rem;
  position: relative;
}

.hero-kicker {
  display: flex;
  flex-direction: column;
  font-size: 0.63rem;
  font-weight: 700;
  gap: 0.4rem;
  letter-spacing: 0.14em;
  padding-top: 0.65rem;
  text-transform: uppercase;
}

.hero-kicker span:last-child {
  color: rgba(35, 44, 51, 0.48);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(4.5rem, 7.8vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.84;
  margin: 0;
  text-wrap: balance;
}

.hero-copy > p {
  font-size: clamp(0.95rem, 1.2vw, 1.12rem);
  line-height: 1.55;
  margin: 2.25rem 0 0 0.4rem;
  max-width: 31rem;
}

.hero-orbit {
  align-self: center;
  aspect-ratio: 1;
  justify-self: center;
  position: relative;
  transform: translateX(6%);
  width: min(18vw, 14rem);
}

.orbit-line,
.orbit-dot {
  border-radius: 44% 56% 53% 47% / 55% 42% 58% 45%;
  position: absolute;
  transform: rotate(22deg);
}

.orbit-line {
  border: 1px solid rgba(35, 44, 51, 0.28);
  inset: 0;
}

.orbit-line-inner {
  inset: 18%;
}

.orbit-dot {
  background: var(--brick);
  height: 0.8rem;
  left: 11%;
  top: 28%;
  width: 0.8rem;
}

.palette-section,
.concepts-section {
  padding: 7rem 2rem;
}

.palette-section {
  background: var(--charcoal);
  color: var(--paper);
}

.section-intro {
  align-items: start;
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(3rem, 0.15fr) minmax(20rem, 1fr) minmax(
      17rem,
      0.55fr
    );
  margin-bottom: 4rem;
}

.section-number,
.eyebrow {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin: 0;
  text-transform: uppercase;
}

.palette-section .section-number,
.palette-section .eyebrow {
  color: rgba(252, 250, 246, 0.52);
}

.concepts-section .section-number,
.concepts-section .eyebrow {
  color: rgba(35, 44, 51, 0.48);
}

.section-intro h2 {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 6.2vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.052em;
  line-height: 0.94;
  margin: 1rem 0 0;
}

.section-note {
  align-self: end;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  max-width: 25rem;
}

.palette-section .section-note {
  color: rgba(252, 250, 246, 0.66);
}

.palette-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
}

.swatch {
  background: var(--paper);
  border: 1px solid rgba(252, 250, 246, 0.14);
  color: var(--charcoal);
}

.swatch-color {
  height: clamp(14rem, 24vw, 28rem);
}

.swatch.charcoal .swatch-color {
  background: #232c33;
}

.swatch.brick .swatch-color {
  background: #c34b2d;
}

.swatch.ivory .swatch-color {
  background: #f2ece2;
}

.swatch.paper .swatch-color {
  background: #fcfaf6;
}

.swatch-meta {
  align-items: center;
  border-top: 1px solid rgba(35, 44, 51, 0.14);
  display: flex;
  font-size: 0.62rem;
  font-weight: 650;
  justify-content: space-between;
  letter-spacing: 0.08em;
  min-height: 3.4rem;
  padding: 0 1rem;
  text-transform: uppercase;
}

.swatch-meta span:last-child {
  font-weight: 500;
  opacity: 0.55;
}

.concepts-section {
  background: var(--ivory);
  padding-bottom: 5rem;
  padding-top: 4rem;
}

.concept-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(12, 1fr);
}

.featured-concept {
  background: var(--paper);
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(20rem, 0.55fr);
  margin-bottom: 3.5rem;
}

.featured-concept .concept-image-button {
  aspect-ratio: 16 / 9;
  padding: 0;
}

.featured-concept .concept-image-button img {
  max-height: 88%;
  width: 30%;
}

.featured-copy {
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 4.5rem);
}

.featured-copy .eyebrow {
  color: rgba(35, 44, 51, 0.48);
}

.featured-heading {
  align-items: baseline;
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.featured-heading h3 {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 5vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.9;
  margin: 0;
}

.featured-summary {
  font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  line-height: 1.65;
  margin: 2rem 0 0;
  max-width: 30rem;
}

.direction-cues {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
}

.direction-cues li {
  border: 1px solid var(--line);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  padding: 0.7rem 0.8rem;
  text-transform: uppercase;
}

.concept-card {
  border-top: 0;
  grid-column: span 4;
  padding: 0 0 2.75rem;
}

.concept-image-button {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: var(--concept-bg, var(--paper));
  border: 0;
  cursor: zoom-in;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}

.concept-image-button::after {
  background: linear-gradient(
    to bottom,
    transparent 65%,
    rgba(35, 44, 51, 0.11)
  );
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 240ms ease;
}

.concept-image-button img {
  height: auto;
  object-fit: contain;
  object-position: center;
  transition: transform 500ms cubic-bezier(0.2, 0.72, 0.2, 1);
  max-height: 86%;
  width: 42%;
}

.view-prompt {
  align-items: center;
  bottom: 1rem;
  color: var(--paper);
  display: flex;
  font-size: 0.61rem;
  font-weight: 700;
  justify-content: space-between;
  left: 1.25rem;
  letter-spacing: 0.12em;
  opacity: 0;
  position: absolute;
  right: 1.25rem;
  text-transform: uppercase;
  transform: translateY(0.5rem);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
  z-index: 1;
}

.concept-image-button:hover::after,
.concept-image-button:focus-visible::after {
  opacity: 1;
}

.concept-image-button:hover img,
.concept-image-button:focus-visible img {
  transform: scale(1.015);
}

.concept-image-button:hover .view-prompt,
.concept-image-button:focus-visible .view-prompt {
  opacity: 1;
  transform: translateY(0);
}

.concept-image-button:focus-visible {
  outline: 3px solid var(--brick);
  outline-offset: 3px;
}

.concept-meta {
  align-items: start;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  padding: 1rem 0 0;
}

.concept-meta > div {
  align-items: baseline;
  display: flex;
  gap: 0.8rem;
}

.concept-number {
  color: var(--brick);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.concept-meta h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin: 0;
}

.concept-meta p {
  color: rgba(35, 44, 51, 0.68);
  font-size: 0.78rem;
  line-height: 1.55;
  margin: 0;
  max-width: 20rem;
}

footer {
  align-items: center;
  background: var(--brick);
  color: var(--paper);
  display: grid;
  font-size: 0.64rem;
  font-weight: 700;
  grid-template-columns: 1fr 1fr 1fr;
  letter-spacing: 0.12em;
  min-height: 8rem;
  padding: 0 2rem;
  text-transform: uppercase;
}

footer p {
  margin: 0;
}

footer p:nth-child(2) {
  justify-self: center;
}

footer a {
  justify-self: end;
  text-decoration: none;
}

.concept-dialog {
  background: transparent;
  border: 0;
  height: 100dvh;
  max-height: none;
  max-width: none;
  padding: 1rem;
  width: 100vw;
}

.concept-dialog::backdrop {
  background: rgba(20, 25, 29, 0.92);
  backdrop-filter: blur(10px);
}

.dialog-shell {
  background: var(--paper);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: calc(100dvh - 2rem);
  margin: auto;
  max-width: 96rem;
  overflow: hidden;
}

.dialog-topbar,
.dialog-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 4.5rem;
  padding: 0 1.5rem;
}

.dialog-topbar {
  border-bottom: 1px solid var(--line);
}

.dialog-topbar > div {
  align-items: baseline;
  display: flex;
  gap: 0.85rem;
}

.dialog-topbar span,
.dialog-controls > span {
  color: var(--brick);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.dialog-topbar strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
}

.dialog-topbar button {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  font-size: 0.62rem;
  font-weight: 700;
  gap: 0.65rem;
  letter-spacing: 0.12em;
  padding: 0.75rem 0;
  text-transform: uppercase;
}

.dialog-topbar button span {
  color: var(--charcoal);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 0.7;
}

.dialog-artwork {
  align-items: center;
  background: var(--concept-bg, #f6f2eb);
  display: flex;
  justify-content: center;
  min-height: 0;
  overflow: auto;
  padding: 2rem;
}

.concept-background-1 {
  --concept-bg: #f9f7f4;
}

.concept-background-2 {
  --concept-bg: #fdf9f6;
}

.concept-background-3 {
  --concept-bg: #fbf9f9;
}

.concept-background-4 {
  --concept-bg: #fefcf9;
}

.concept-background-5 {
  --concept-bg: #fdfaf8;
}

.concept-background-6 {
  --concept-bg: #fcfaf7;
}

.concept-background-7 {
  --concept-bg: #f8f5f4;
}

.dialog-artwork img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.dialog-footer {
  border-top: 1px solid var(--line);
}

.dialog-footer p {
  color: rgba(35, 44, 51, 0.68);
  font-size: 0.72rem;
  line-height: 1.5;
  margin: 0;
}

.dialog-controls {
  align-items: center;
  display: flex;
  gap: 0.35rem;
}

.dialog-controls > span {
  color: rgba(35, 44, 51, 0.48);
  margin-right: 0.7rem;
}

.dialog-controls button {
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 1.1rem;
  height: 2.5rem;
  transition:
    background 160ms ease,
    color 160ms ease;
  width: 2.5rem;
}

.dialog-controls button:hover,
.dialog-controls button:focus-visible {
  background: var(--charcoal);
  color: var(--paper);
  outline: 0;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 9rem 1fr;
    min-height: auto;
    padding-bottom: 3rem;
  }

  .hero-orbit {
    grid-column: 2;
    justify-self: end;
    margin-top: -5rem;
    width: 11rem;
  }

  .section-intro {
    grid-template-columns: 3rem 1fr;
  }

  .section-note {
    grid-column: 2;
    margin-top: -1.5rem;
  }

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

  .featured-concept {
    grid-template-columns: 1fr;
  }

  .featured-copy {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .concept-card,
  .concept-card-1,
  .concept-card-2,
  .concept-card-3,
  .concept-card-4,
  .concept-card-5,
  .concept-card-6,
  .concept-card-7 {
    grid-column: span 6;
    padding: 0 0.5rem 2.75rem;
  }

  .concept-card:nth-child(odd) {
    padding-left: 0;
  }

  .concept-card:nth-child(even) {
    padding-right: 0;
  }

  .concept-meta {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
}

@media (max-width: 680px) {
  .site-header {
    margin: 0 1rem;
    min-height: 5.5rem;
  }

  .header-link {
    font-size: 0;
    gap: 0;
  }

  .header-link span {
    font-size: 1.25rem;
  }

  .hero {
    display: block;
    padding: 2.5rem 1rem 3rem;
  }

  .hero-kicker {
    flex-direction: row;
    justify-content: space-between;
    padding: 0 0 2rem;
  }

  .hero h1 {
    font-size: clamp(3.65rem, 18vw, 5.75rem);
    line-height: 0.84;
  }

  .hero-copy > p {
    font-size: 0.96rem;
    margin: 1.75rem 0 0;
    max-width: 27rem;
  }

  .hero-orbit {
    display: none;
  }

  .palette-section,
  .concepts-section {
    padding: 5rem 1rem;
  }

  .concepts-section {
    padding-bottom: 3.5rem;
    padding-top: 3rem;
  }

  .section-intro {
    display: block;
    margin-bottom: 3rem;
  }

  .section-intro > div {
    margin-top: 2.5rem;
  }

  .section-intro h2 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  .section-note {
    margin: 2rem 0 0;
  }

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

  .swatch-color {
    height: 12rem;
  }

  .swatch-meta {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    line-height: 1.5;
    min-height: 4.25rem;
  }

  .concept-grid {
    display: block;
  }

  .featured-concept .concept-image-button {
    aspect-ratio: 4 / 3;
  }

  .featured-concept .concept-image-button img {
    width: 42%;
  }

  .featured-copy {
    padding: 2rem 1.5rem 2.5rem;
  }

  .concept-card,
  .concept-card-1,
  .concept-card-2,
  .concept-card-3,
  .concept-card-4,
  .concept-card-5,
  .concept-card-6,
  .concept-card-7 {
    padding: 0 0 2.75rem;
  }

  .concept-image-button img {
    width: 46%;
  }

  .concept-meta h3 {
    font-size: 1.7rem;
  }

  footer {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    min-height: 11rem;
    padding: 2rem 1rem;
  }

  footer p:nth-child(2),
  footer a {
    justify-self: auto;
  }

  .concept-dialog {
    padding: 0;
  }

  .dialog-shell {
    height: 100dvh;
  }

  .dialog-topbar,
  .dialog-footer {
    min-height: 4rem;
    padding: 0 1rem;
  }

  .dialog-footer p {
    display: none;
  }

  .dialog-artwork {
    padding: 1rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
