@font-face {
  font-family: "Atlas Display";
  src: url("/atlas-title.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.header { background: #171615; }
.demo-ribbon { background: #241b1e; color: #dbc3b5; }
.header .brand { font-size: 23px; font-weight: 600; }
.header .brand img, .footer-brand img { object-fit: cover; object-position: 52% 56%; }
.header nav a, .cover-stories {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 6px;
  transition: color .24s, text-decoration-color .24s;
}
.header nav a:hover, .cover-stories:hover { color: #efd3a1; text-decoration-color: #b29974; }
@media (any-pointer: coarse), (max-width: 850px) {
  .header nav a, .footer-bottom a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }
  .footer-bottom { align-items: center; padding-block: 8px; }
}
@media (min-width: 851px) {
  .header nav, .header-phone { font-size: 14px; }
}

.atlas-cover {
  isolation: isolate;
  min-height: 0;
  background: radial-gradient(ellipse at 37% 86%, #332026, transparent 59%), #191617;
}
.cover-photo {
  position: absolute;
  inset: 0 0 0 40%;
  z-index: -1;
  overflow: hidden;
  background: #271910 url("/atlas-sculpture.webp") 70% center / cover no-repeat;
  mask-image: linear-gradient(to right, transparent, #000 22%);
}
/* Keep the sculpture aligned with the centred masthead once the hero reaches its maximum height. */
@media (min-width: 1921px) {
  .cover-photo {
    left: calc(50% - 192px);
    right: auto;
    width: 1152px;
    mask-image: linear-gradient(to right, transparent, #000 22%, #000 calc(100% - min(9%, (100vw - 1920px) / 2)), transparent);
  }
}
.cover-motion-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 1536px;
  height: 1024px;
  transform-origin: 0 0;
  pointer-events: none;
}
.wall-correction, .wall-shadow {
  position: absolute;
  left: 900px;
  top: 136px;
  width: 520px;
  height: 704px;
}
.wall-shadow { transform-origin: 50% 678px; }
.cover-glint { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover-motion-toggle {
  position: absolute;
  z-index: 1;
  bottom: clamp(10px, 1.4vw, 20px);
  right: max(12px, calc((100% - 1360px) / 2));
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #faebcf;
  background: radial-gradient(circle, #201910b8 0 54%, transparent 56%);
  border: 0;
  border-radius: 50%;
}
.cover-motion-toggle:hover { color: #fff; }
.cover-motion-toggle .motion-play-icon,
.cover-motion-toggle[aria-pressed="true"] .motion-pause-icon { display: none; }
.cover-motion-toggle[aria-pressed="true"] .motion-play-icon { display: inline; }
.cover-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 46%) 1fr;
  align-items: center;
  min-height: clamp(510px, 44vw, 710px);
  padding-block: clamp(42px, 5vw, 85px);
}
.cover-copy { min-width: 0; container-type: inline-size; }
.atlas-cover h1 {
  margin: 0;
  color: #f4dcb7;
  font: 400 clamp(54px, 9.2vw, 140px)/1.04 "Atlas Display", var(--serif);
  font-size: min(23cqi, 140px);
  font-kerning: normal;
  letter-spacing: .004em;
  text-shadow: none;
  animation: none;
}
.cover-title-line {
  display: block;
  width: max-content;
  padding-inline: .045em;
  margin-inline-start: -.045em;
  --title-face: linear-gradient(167deg, #fff0d4 13%, #efd8b5 39%, #ceaa7e 53%, #ebd0a7 72%, #fae4c2 95%);
}
.cover-title-subject {
  margin-block-start: .08em;
  color: #e4c096;
  font-size: .59em;
  letter-spacing: .048em;
  --title-face: linear-gradient(167deg, #f6dbb3 10%, #dcb183 42%, #c49668 54%, #eed0a6 82%);
}
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .cover-title-line {
    background-image: linear-gradient(106deg, transparent 41%, #fff4d815 45%, #fff8ddab 49%, #ffefd86e 51%, transparent 57%), var(--title-face);
    background-size: 275% 100%, 100% 100%;
    background-position: 100% 50%, center;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 1px .2px #8b6546) drop-shadow(.5px 1.2px .4px #563820) drop-shadow(0 3px 3px #0c08066b);
  }
}
.cover-deck {
  max-width: 34ch;
  margin: 28px 0;
  color: #e2d5c9;
  font: 400 clamp(15px, 1.15vw, 18px)/1.55 var(--sans);
  text-wrap: pretty;
}
.cover-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; }
.cover-actions .hero-link {
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 10px 20px;
  gap: 22px;
  color: #211914;
  border-color: #e3ccaa;
  background: linear-gradient(108deg, #d6bc95, #f1dfc2 52%, #d5ba91);
  font: 600 14px/1.25 var(--sans);
  animation: none;
}
.cover-actions .hero-link:hover { box-shadow: 0 3px 23px #c5a16c40; }
.cover-actions .hero-link:before { background: linear-gradient(110deg,transparent 35%,#fff9eb77,transparent 65%); }
.cover-stories {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #e5d6c2;
  font-size: 14px;
}
.cover-stories span { color: #bda078; }

.atlas-index { padding-block: clamp(54px, 6.5vw, 108px); }
.atlas-index h2 {
  margin: 0 0 clamp(22px, 3vw, 40px);
  color: #f1eadd;
  font: 500 clamp(43px, 5.25vw, 84px)/.98 var(--serif);
  letter-spacing: -.045em;
}
.atlas-index h2 em { color: #c9b396; font-weight: 400; }
.index-spread {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(30px, 4.5vw, 76px);
}
.index-plate {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: 315px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #595047;
  background: #352a29;
}
.index-plate img {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.index-plate figcaption {
  padding: 50px clamp(20px, 2.7vw, 45px) 22px;
  color: #fff6e7;
  background: linear-gradient(transparent, #191317bc 68%);
  font: italic 500 clamp(29px, 3.2vw, 54px)/1 var(--serif);
  text-shadow: 0 1px 8px #0d0a09;
}
.chapter-links { display: grid; align-content: center; }
.chapter-link {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 53px;
  padding-block: 6px;
  border-bottom: 1px solid #4a423a;
  color: #e9dfd1;
}
.chapter-link:first-child { border-top: 1px solid #4a423a; }
.chapter-name { font: 500 clamp(26px, 2.1vw, 35px)/1 var(--serif); }
.chapter-title { color: #bdafa2; font-size: 12px; line-height: 1.35; }
.chapter-arrow { margin-right: 2px; color: #baa388; transition: transform .24s ease; }
.chapter-link:is(:hover,:focus-visible) { color: #ffddb0; background: #e9cba109; }
.chapter-link:is(:hover,:focus-visible) .chapter-arrow { transform: translateX(2px); }
@media (min-width: 701px) {
  .chapter-link.is-previewed .chapter-name { color: #edc895; }
  .chapter-link.is-previewed .chapter-arrow { color: #edc895; }
}
.chapter-thumb { display: none; }
.catalog-heading h2 { margin-top: 0; }
.catalog-heading .eyebrow:not([hidden]) { margin-bottom: 14px; }
.contact-band { background: radial-gradient(ellipse at 66% 110%, #462c32, transparent 63%), #261d21; }
.contact-inner { align-items: center; }
.contact-band h2 { max-width: 13ch; }
.contact-inner p:not(.eyebrow) { max-width: 43ch; font-size: 15px; }
.contact-phone { font-weight: 500; }

@media (prefers-reduced-motion: no-preference) {
  .wall-shadow, .cover-light-pass {
    animation: wall-light-shift 10s ease-in-out infinite both;
    animation-play-state: paused;
  }
  .cover-light-pass { animation-name: sculpture-glint; }
  .is-running :is(.wall-shadow, .cover-light-pass) { animation-play-state: running; }
  .cover-title-line { animation: cover-title-lustre 10s ease-in-out infinite both paused; }
  .atlas-cover:has(.cover-motion-stage.is-running) .cover-title-line { animation-play-state: running; }
  .cover-copy > :is(h1,.cover-deck,.cover-actions) { animation: cover-arrival .85s cubic-bezier(.22,.61,.36,1) backwards; }
  .cover-copy .cover-deck { animation-delay: 150ms; }
  .cover-copy .cover-actions { animation-delay: 200ms; }
  @keyframes wall-light-shift {
    0%, 100% { transform: skewX(-.79deg); }
    50% { transform: skewX(.79deg); }
  }
  @keyframes sculpture-glint {
    0%, 100% { transform: translateX(-420px); }
    50% { transform: translateX(420px); }
  }
  @keyframes cover-title-lustre {
    0%, 12%, 100% { background-position: 100% 50%, center; }
    49%, 61% { background-position: 0% 50%, center; }
  }
  @keyframes cover-arrival {
    from { opacity: .15; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (forced-colors: active) {
  .cover-title-line {
    animation: none;
    background: none;
    color: CanvasText;
    filter: none;
  }
}

@media (min-width: 701px) and (max-width: 1024px) {
  .cover-photo {
    left: 35%;
    background-position: 76% center;
    mask-image: linear-gradient(to right, transparent, #000 16%);
  }
}
@media (max-width: 850px) {
  .cover-layout { grid-template-columns: minmax(0, 48%) 1fr; min-height: 470px; }
  .cover-actions { column-gap: 14px; }
  .contact-inner { gap: 24px; }
}
@media (min-width: 701px) and (max-width: 850px) {
  .atlas-cover h1 { font-size: 21cqi; }
}

@media (min-width: 701px) and (max-width: 740px) {
  .cover-actions { flex-direction: column; align-items: flex-start; gap: 0; }
}

@media (max-width: 700px) {
  .atlas-cover { display: flex; flex-direction: column; }
  .cover-layout { display: block; min-height: 0; padding-block: 32px 27px; }
  .atlas-cover h1 { font-size: min(24.5cqi, 110px); }
  .cover-deck { max-width: 38ch; margin-block: 14px 18px; }
  .cover-photo {
    position: relative;
    order: 2;
    inset: auto;
    z-index: 0;
    width: 100%;
    aspect-ratio: 1.45;
    background-image: url("/atlas-sculpture-mobile.webp");
    background-position: center;
    mask-image: none;
    border-top: 1px solid #9b805646;
  }
  .index-spread { display: block; }
  .index-plate { display: none; }
  .chapter-link { grid-template-columns: auto minmax(0,1fr) auto; grid-template-rows: auto auto; gap: 0 14px; padding: 7px 0; }
  .chapter-thumb { display: block; grid-column: 1; grid-row: 1 / 3; width: 68px; height: 46px; object-fit: cover; border: 1px solid #6d5e5188; }
  .chapter-name { align-self: end; }
  .chapter-title { grid-column: 2; align-self: start; }
  .chapter-arrow { grid-column: 3; grid-row: 1 / 3; }
}
@media (max-width: 560px) {
  .header .brand { font-size: 19px; }
  .cover-deck { font-size: 15px; }
  .cover-stories { font-size: 13px; }
  .cover-actions { column-gap: 12px; }
  .cover-actions .hero-link { padding-inline: 15px; gap: 12px; }
  .contact-band h2 { font-size: clamp(38px, 11vw, 53px); }
}
