:root {
  --ink: #17131b;
  --ink-soft: #241d29;
  --paper: #f5efe7;
  --paper-muted: #c9bfc7;
  --accent: #ff765f;
  --accent-soft: #f0a99d;
  --mint: #9ec6b1;
  --line: rgba(245, 239, 231, 0.16);
  --max: 1180px;
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 118, 95, 0.12), transparent 24rem),
    radial-gradient(circle at 5% 55%, rgba(158, 198, 177, 0.08), transparent 28rem),
    var(--ink);
  color: var(--paper);
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
  content: "";
  opacity: 0.14;
  pointer-events: none;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

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

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 50;
  padding: 0.7rem 1rem;
  translate: 0 -160%;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
}

.skip-link:focus {
  translate: 0;
}

.shell {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(23, 19, 27, 0.88);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand__mark {
  display: block;
  flex: 0 0 auto;
  width: 2.35rem;
  aspect-ratio: 1;
  background: url("/assets/logo.svg") center / contain no-repeat;
}

.brand__mark span {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 2rem);
}

.site-nav a {
  color: var(--paper-muted);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--paper);
}

main {
  overflow: clip;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  color: var(--accent-soft);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.9rem;
  height: 1px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.04;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 14ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3.4rem, 8.5vw, 7.8rem);
}

h2 {
  max-width: 16ch;
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 5vw, 4.7rem);
}

h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
}

.lead {
  max-width: 38rem;
  color: var(--paper-muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
  min-height: calc(100svh - 76px);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  padding-block: clamp(4rem, 9vw, 8rem);
}

.hero h1 em {
  color: var(--accent);
  font-weight: inherit;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.1rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border: 1px solid var(--paper);
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.button--solid {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
}

.button--ink {
  border-color: var(--ink);
}

.section-action {
  margin-top: 2rem;
}

.button:hover {
  translate: 0 -2px;
}

.hero__visual {
  position: relative;
  width: min(100%, 390px);
  aspect-ratio: 0.78;
  justify-self: end;
}

.hero__disc {
  position: absolute;
  inset: 7% 0 9% 8%;
  border-radius: 50%;
  background:
    linear-gradient(135deg, transparent 46%, rgba(23, 19, 27, 0.95) 46% 54%, transparent 54%),
    radial-gradient(circle at 38% 35%, #ffd9c2 0 6%, #ff765f 7% 31%, #8a344d 32% 58%, #241d29 59%);
  box-shadow: 0 2.5rem 7rem rgba(0, 0, 0, 0.34);
}

.hero__visual::before,
.hero__visual::after {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(245, 239, 231, 0.52);
  content: "";
}

.hero__visual::before {
  inset: 0 12% 15% 0;
}

.hero__visual::after {
  right: -2%;
  bottom: 0;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  border-color: var(--mint);
}

.hero__note {
  position: absolute;
  right: -1rem;
  bottom: 10%;
  z-index: 3;
  max-width: 13rem;
  padding: 1rem;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.45;
  rotate: -2deg;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
}

.marquee__inner {
  display: flex;
  width: max-content;
  gap: 2.2rem;
  padding-block: 1rem;
  color: var(--paper-muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.marquee__inner span::after {
  margin-left: 2.2rem;
  color: var(--accent);
  content: "✦";
}

.section {
  padding-block: clamp(5rem, 11vw, 9rem);
}

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

.section--soft {
  background: var(--ink-soft);
}

.section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section__head p {
  max-width: 30rem;
  margin-bottom: 0.5rem;
  color: var(--paper-muted);
}

.section--paper .section__head p,
.section--paper .eyebrow {
  color: #6d5e68;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.story-card {
  min-width: 0;
  background: var(--ink);
}

.story-card__art,
.feature-art {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  isolation: isolate;
}

.story-card__art::before,
.story-card__art::after,
.feature-art::before,
.feature-art::after {
  position: absolute;
  content: "";
}

.story-card__art--photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-card__art--photo::before {
  display: none;
}

.story-card__art--photo::after {
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(23, 19, 27, 0.72));
}

.art--coral {
  background: #e9604e;
}

.art--coral::before {
  inset: 12% 15% 20% 22%;
  border: 2px solid #ffd9ca;
  border-radius: 50% 50% 10% 50%;
  rotate: 16deg;
}

.art--coral::after {
  right: -12%;
  bottom: -8%;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #55283a;
}

.art--mint {
  background: #93bea8;
}

.art--mint::before {
  inset: 16% 8% 8% 25%;
  background: linear-gradient(155deg, #f5efe7 0 48%, #203d3d 49% 100%);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.art--mint::after {
  top: 12%;
  left: 12%;
  width: 31%;
  aspect-ratio: 1;
  border: 2px solid #203d3d;
  border-radius: 50%;
}

.art--violet {
  background: #513453;
}

.art--violet::before {
  top: 13%;
  right: 13%;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f2a98f;
  box-shadow: -5rem 9rem 0 -1.4rem #b8c99f;
}

.art--violet::after {
  inset: 20% 23% 15%;
  border: 2px solid #f5efe7;
  rotate: -8deg;
}

.art--blue {
  background: #37465f;
}

.art--blue::before {
  inset: 12% 14%;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at 50% 100%, transparent 0 16px, #d9a66f 17px 20px);
}

.art--blue::after {
  right: 16%;
  bottom: 16%;
  width: 28%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ff765f;
}

.art--gold {
  background: #d7a764;
}

.art--gold::before {
  inset: -10% 18% 18% -5%;
  border-radius: 0 0 60% 0;
  background: #663c48;
}

.art--gold::after {
  right: 9%;
  bottom: 12%;
  width: 48%;
  height: 58%;
  border: 2px solid #22202b;
  border-radius: 50% 50% 8% 8%;
}

.art--rose {
  background: #d498a9;
}

.art--rose::before {
  top: 14%;
  left: 15%;
  width: 70%;
  height: 72%;
  background: #241d29;
  clip-path: polygon(50% 0, 63% 34%, 100% 50%, 64% 64%, 50% 100%, 36% 65%, 0 50%, 36% 35%);
}

.art--rose::after {
  top: 37%;
  left: 38%;
  width: 24%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f5efe7;
}

.art-label {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  padding: 0.35rem 0.55rem;
  border: 1px solid currentColor;
  color: var(--paper);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-card__body {
  min-height: 14rem;
  padding: 1.6rem;
}

.story-card__meta,
.article-card__meta,
.catalog-card__meta {
  margin-bottom: 0.65rem;
  color: var(--accent-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.story-card p,
.article-card p,
.catalog-card p {
  color: var(--paper-muted);
}

.text-link {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link::after {
  content: "↗";
}

.mood-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(23, 19, 27, 0.2);
}

.mood {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  padding: 2rem 1rem 2rem 0;
  border-bottom: 1px solid rgba(23, 19, 27, 0.2);
}

.mood:nth-child(odd) {
  padding-right: 2rem;
  border-right: 1px solid rgba(23, 19, 27, 0.2);
}

.mood:nth-child(even) {
  padding-left: 2rem;
}

.mood__number {
  color: #6d5e68;
  font-family: Georgia, serif;
  font-size: 1.35rem;
}

.mood p {
  max-width: 28rem;
  margin: 0;
  color: #5e515a;
}

.feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2rem, 8vw, 7rem);
}

.feature-art {
  min-height: 510px;
}

.feature-copy p:not(.eyebrow) {
  max-width: 36rem;
  color: var(--paper-muted);
}

.section--paper .feature-copy p:not(.eyebrow) {
  color: #5e515a;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 1.5rem 0 2rem;
  list-style: none;
}

.tag-list li {
  padding: 0.38rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--paper-muted);
  font-size: 0.75rem;
}

.page-hero {
  padding-block: clamp(5rem, 10vw, 9rem) clamp(4rem, 8vw, 7rem);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 11ch;
  font-size: clamp(3.2rem, 8vw, 7rem);
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  color: var(--paper-muted);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.page-hero__meta a {
  text-decoration-color: var(--accent);
}

.section[id] {
  scroll-margin-top: 5rem;
}

.catalog-section {
  scroll-margin-top: 6rem;
  padding-block: 4rem;
  border-bottom: 1px solid var(--line);
}

.catalog-section__head {
  display: grid;
  grid-template-columns: 0.4fr 1.6fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.catalog-section__head p {
  max-width: 38rem;
  color: var(--paper-muted);
}

.catalog-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.catalog-card,
.article-card {
  display: flex;
  min-height: 18rem;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.catalog-card__country {
  display: inline-flex;
  width: 2.8rem;
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-weight: 900;
}

.catalog-card:nth-child(2n) .catalog-card__country {
  background: var(--mint);
}

.catalog-card:nth-child(3n) .catalog-card__country {
  background: var(--accent-soft);
}

.article-card {
  min-height: 24rem;
  text-decoration: none;
  transition: background 180ms ease, translate 180ms ease;
}

.article-card:hover {
  background: var(--ink-soft);
  translate: 0 -4px;
}

.article-card__number {
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 3.5rem;
  line-height: 1;
}

.article-card h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.article {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 8vw, 8rem);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.article-image {
  margin-top: clamp(2rem, 5vw, 4rem);
  margin-bottom: 0;
}

.article-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.article-image figcaption {
  padding-top: 0.65rem;
  color: var(--paper-muted);
  font-size: 0.72rem;
}

.article__aside {
  align-self: start;
  color: var(--paper-muted);
  font-size: 0.82rem;
}

.article__aside div {
  padding-block: 0.8rem;
  border-top: 1px solid var(--line);
}

.article__body {
  max-width: 47rem;
  font-size: 1.08rem;
}

.article__body > p:first-child {
  color: var(--paper);
  font-family: Georgia, serif;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.4;
}

.article__body h2 {
  max-width: none;
  margin-top: 3.5rem;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.article__body p,
.article__body li {
  color: var(--paper-muted);
}

.article__body strong {
  color: var(--paper);
}

.article__body blockquote {
  margin: 3rem 0;
  padding: 1.2rem 0 1.2rem 1.5rem;
  border-left: 3px solid var(--accent);
  color: var(--paper);
  font-family: Georgia, serif;
  font-size: 1.4rem;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.principle {
  min-height: 18rem;
  padding: 1.8rem;
  background: var(--ink-soft);
}

.principle span {
  display: block;
  margin-bottom: 3rem;
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 2.5rem;
}

.principle p {
  color: var(--paper-muted);
}

.cta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 6vw, 5rem);
  background: var(--accent);
  color: var(--ink);
}

.cta h2 {
  margin-bottom: 0;
}

.cta .button {
  flex: 0 0 auto;
  border-color: var(--ink);
}

.site-footer {
  padding-block: 3.5rem;
  border-top: 1px solid var(--line);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.6fr;
  gap: 2rem;
}

.site-footer__note {
  max-width: 34rem;
  color: var(--paper-muted);
  font-size: 0.78rem;
}

.site-footer h2 {
  margin-bottom: 0.8rem;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 0.4rem;
}

.site-footer a {
  color: var(--paper-muted);
  font-size: 0.82rem;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--paper);
}

.error-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 2rem;
  text-align: center;
}

.error-page h1 {
  max-width: none;
  margin: 0;
  color: var(--accent);
  font-size: clamp(7rem, 25vw, 18rem);
}

.error-page p {
  color: var(--paper-muted);
}

.archive-groups {
  padding-bottom: clamp(5rem, 10vw, 9rem);
}

.archive-group + .archive-group {
  margin-top: clamp(4rem, 8vw, 7rem);
}

.archive-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.archive-group__head h2 {
  margin: 0;
}

.archive-group__head span {
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 2rem;
}

.archive-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  margin: 1.5rem 0 0;
  background: var(--line);
  list-style: none;
}

.archive-directory li {
  background: var(--ink-soft);
}

.archive-directory a {
  display: flex;
  min-height: 8rem;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  color: var(--paper);
  text-decoration: none;
}

.archive-directory a:hover {
  background: var(--accent);
  color: var(--ink);
}

.archive-directory small {
  color: var(--paper-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-directory a:hover small {
  color: var(--ink);
}

@media (max-width: 840px) {
  .hero,
  .feature,
  .article {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    width: min(82vw, 390px);
    justify-self: center;
  }

  .story-grid,
  .catalog-grid,
  .article-grid,
  .principles,
  .archive-directory {
    grid-template-columns: 1fr 1fr;
  }

  .story-card:last-child,
  .principle:last-child {
    grid-column: 1 / -1;
  }

  .section__head,
  .cta {
    align-items: start;
    flex-direction: column;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .page-hero h1 {
    max-width: none;
    overflow-wrap: break-word;
    font-size: clamp(1.8rem, 9vw, 3.2rem);
  }

  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.6rem;
    padding-block: 0.8rem;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 0.6rem;
  }

  .site-nav a {
    font-size: 0.7rem;
  }

  .hero {
    min-height: auto;
  }

  .hero__note {
    right: 0;
  }

  .article-image img {
    aspect-ratio: 4 / 3;
  }

  .story-grid,
  .catalog-grid,
  .article-grid,
  .principles,
  .mood-grid,
  .archive-directory,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .story-card:last-child,
  .principle:last-child,
  .site-footer__brand {
    grid-column: auto;
  }

  .mood:nth-child(n) {
    padding-inline: 0;
    border-right: 0;
  }

  .catalog-section__head {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .feature-art {
    min-height: 400px;
  }
}

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

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