:root {
  --paper: #f4ead8;
  --paper-deep: #e4d1b4;
  --ink: #2b1b12;
  --muted: #725b45;
  --line: rgba(63, 38, 22, 0.22);
  --red: #9d3529;
  --brass: #b7833f;
  --green: #4d5a34;
  --brown: #3a2417;
  --shadow: rgba(43, 27, 18, 0.18);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(183, 131, 63, 0.13), transparent 34rem),
    linear-gradient(180deg, #f8efdf 0%, var(--paper) 48%, #ead8bd 100%);
  font-family: var(--serif);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: multiply;
  background-image:
    url("assets/images/warli-mural-pattern.svg"),
    linear-gradient(rgba(43, 27, 18, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 27, 18, 0.03) 1px, transparent 1px);
  background-position:
    top 2rem left 1rem,
    0 0,
    0 0;
  background-size:
    min(28rem, 88vw) auto,
    42px 42px,
    42px 42px;
  background-repeat:
    repeat,
    repeat,
    repeat;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.1;
  mix-blend-mode: multiply;
  background:
    url("assets/images/warli-mural-pattern.svg") right -6rem top 19rem / min(31rem, 92vw) auto repeat-y;
  transform: scaleX(-1);
}

.site-header,
main,
.site-footer {
  position: relative;
}

main,
.site-footer {
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem clamp(1.1rem, 4vw, 3.75rem);
  color: #fff8ea;
  background: linear-gradient(180deg, rgba(31, 19, 12, 0.74), rgba(31, 19, 12, 0.08));
}

.site-header.is-solid,
.inner-page .site-header {
  position: sticky;
  color: var(--ink);
  background: rgba(244, 234, 216, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  justify-self: start;
  font-size: 1.38rem;
  letter-spacing: 0.28rem;
  line-height: 1;
}

.brand-mark {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  border-radius: 50%;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.2rem);
  justify-self: center;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16rem;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  padding-block: 0.3rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  transition: transform 220ms ease;
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.issue {
  justify-self: end;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  padding: 9rem clamp(1.25rem, 5vw, 5rem) 5rem;
  color: #fff8ed;
  overflow: hidden;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--hero-image) center / cover no-repeat;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(27, 17, 11, 0.32), rgba(27, 17, 11, 0.24) 35%, rgba(27, 17, 11, 0.78)),
    linear-gradient(90deg, rgba(27, 17, 11, 0.7), transparent 55%);
}

.hero-content {
  width: min(58rem, 100%);
}

.kicker {
  margin: 0 0 1rem;
  color: var(--red);
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
}

.hero .kicker,
.page-hero .kicker {
  color: #e7c28a;
}

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

h1 {
  margin-bottom: 1.45rem;
  max-width: 13ch;
  font-size: clamp(4.5rem, 13vw, 12rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.86;
}

.hero-deck {
  max-width: 42rem;
  margin-bottom: 2.2rem;
  color: rgba(255, 248, 237, 0.9);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.text-link,
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.7rem;
  color: inherit;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.16rem;
  text-transform: uppercase;
}

.text-link::after,
.button::after {
  content: "";
  width: 3.7rem;
  height: 1px;
  background: currentColor;
  transition: width 220ms ease;
}

.text-link:hover::after,
.button:hover::after {
  width: 5.1rem;
}

main {
  overflow: hidden;
}

.section {
  position: relative;
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 5vw, 5rem);
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: multiply;
  background:
    url("assets/images/warli-mural-pattern.svg") left -2rem top 1rem / 27rem auto repeat,
    url("assets/images/warli-mural-pattern.svg") right -5rem top 12rem / 34rem auto repeat-y;
}

.section > * {
  position: relative;
  z-index: 1;
}

.mural-section {
  overflow: hidden;
}

.mural-accent {
  position: absolute;
  z-index: 0;
  width: min(34rem, 78vw);
  max-width: none;
  opacity: 0.13;
  mix-blend-mode: multiply;
  pointer-events: none;
  filter: sepia(0.2) saturate(0.9);
}

.mural-accent-left {
  left: -6rem;
  top: 1rem;
}

.mural-accent-right {
  right: -7rem;
  bottom: 0;
  transform: scaleX(-1);
}

.mural-accent-low {
  top: auto;
  bottom: -4rem;
  opacity: 0.11;
}

.section-narrow {
  width: min(70rem, 100%);
  margin-inline: auto;
}

.statement {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}

.statement-copy {
  max-width: 54rem;
  font-size: clamp(1.65rem, 4vw, 3.35rem);
  line-height: 1.14;
}

.statement-copy p {
  margin-bottom: 0;
}

.small-note {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.04rem;
  line-height: 1.85;
}

.founder-letter {
  padding-top: 0;
}

.founder-letter-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
  padding-block: clamp(2rem, 5vw, 4rem);
  border-block: 1px solid var(--line);
}

.founder-letter img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.founder-letter h2 {
  max-width: 11ch;
  margin-bottom: 1.1rem;
  color: var(--brown);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 400;
  line-height: 0.95;
}

.founder-letter p:not(.kicker) {
  max-width: 42rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
}

.founder-letter blockquote {
  max-width: 42rem;
  margin: clamp(1.8rem, 4vw, 3rem) 0;
  padding-left: clamp(1rem, 2vw, 1.5rem);
  border-left: 1px solid var(--brass);
  color: var(--brown);
  font-size: clamp(1.45rem, 2.7vw, 2.25rem);
  font-style: italic;
  line-height: 1.25;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.7rem);
}

.story-card {
  display: grid;
  gap: 1rem;
}

.story-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.93) contrast(1.03);
}

.story-card:nth-child(2) {
  margin-top: 3.5rem;
}

.story-card:nth-child(3) {
  margin-top: 1.3rem;
}

.meta {
  color: var(--green);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16rem;
  text-transform: uppercase;
}

.story-card h3,
.feature-row h2,
.journal-item h2 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  font-weight: 400;
  line-height: 1.04;
}

.story-card p,
.feature-row p,
.journal-item p,
.body-copy p {
  color: var(--muted);
}

.split-feature {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
  background: var(--brown);
  color: #fff2df;
}

.split-feature::before {
  opacity: 0.08;
  mix-blend-mode: screen;
}

.split-feature img {
  min-height: 34rem;
  object-fit: cover;
}

.split-feature .kicker,
.split-feature p {
  color: #dcbf91;
}

.split-feature h2 {
  max-width: 10ch;
  font-size: clamp(3rem, 7vw, 7.2rem);
  font-weight: 400;
  line-height: 0.95;
}

.image-band {
  min-height: 66vh;
  display: grid;
  align-items: end;
  padding: clamp(2rem, 6vw, 5rem);
  color: #fff5e7;
  background: linear-gradient(180deg, transparent, rgba(31, 19, 12, 0.82)), var(--band-image) center / cover no-repeat;
}

.image-band div {
  max-width: 42rem;
}

.image-band h2 {
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-weight: 400;
  line-height: 0.95;
}

.page-hero {
  position: relative;
  min-height: 62vh;
  display: grid;
  align-items: end;
  padding: 9rem clamp(1.25rem, 5vw, 5rem) 4rem;
  color: #fff8ed;
  overflow: hidden;
}

.article-hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: 9rem clamp(1.25rem, 5vw, 5rem) 5rem;
  color: #fff8ed;
  overflow: hidden;
}

.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--hero-image) center / cover no-repeat;
}

.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(27, 17, 11, 0.18), rgba(27, 17, 11, 0.38) 45%, rgba(27, 17, 11, 0.82)),
    linear-gradient(90deg, rgba(27, 17, 11, 0.62), transparent 58%);
}

.article-hero > div {
  width: min(58rem, 100%);
  text-align: center;
}

.article-hero h1 {
  max-width: 12ch;
  margin-inline: auto;
  font-size: clamp(3.2rem, 7vw, 7.2rem);
}

.article-hero p {
  max-width: 42rem;
  margin-inline: auto;
  color: rgba(255, 248, 237, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.42rem);
}

.page-hero h1 {
  font-size: clamp(4rem, 10vw, 9rem);
}

.page-hero p {
  max-width: 43rem;
  color: rgba(255, 248, 237, 0.88);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.two-column {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.portrait-image {
  aspect-ratio: 4 / 5.2;
  object-fit: cover;
}

.body-copy {
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
}

.body-copy h2 {
  color: var(--brown);
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 1;
}

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

.principle {
  min-height: 15rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: rgba(248, 239, 223, 0.82);
}

.principle h3 {
  font-size: 1.75rem;
  font-weight: 400;
}

.journal-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.journal-item,
.feature-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 0.55fr;
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.4rem, 4vw, 3rem) 0;
  background: var(--paper);
}

.journal-item img,
.feature-row img {
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.coming-soon {
  color: var(--green);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16rem;
  text-transform: uppercase;
}

.article-section {
  padding-top: clamp(4rem, 8vw, 7rem);
}

.article-layout {
  width: min(66rem, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.article-aside {
  position: static;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.04rem;
}

.article-body {
  max-width: 50rem;
  margin-inline: auto;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.72;
}

.article-body p {
  margin-bottom: 1.55rem;
}

.article-figure {
  margin: clamp(2.4rem, 5vw, 4rem) 0;
}

.article-figure img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.article-figure figcaption {
  margin-top: 0.85rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.article-body blockquote {
  margin: clamp(2.4rem, 5vw, 4rem) 0;
  padding: 0 0 0 clamp(1.2rem, 3vw, 2rem);
  border-left: 1px solid var(--brass);
  color: var(--brown);
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  font-style: italic;
  line-height: 1.24;
}

.article-body .dropcap::first-letter {
  float: left;
  margin: 0.12rem 0.7rem 0 0;
  color: var(--red);
  font-size: 4.4rem;
  line-height: 0.82;
}

.article-signature {
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--brown);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.45;
}

.feature-list {
  display: grid;
  gap: clamp(3rem, 7vw, 6rem);
}

.feature-row {
  grid-template-columns: 0.95fr 1fr;
  background: transparent;
}

.feature-row:nth-child(even) {
  grid-template-columns: 1fr 0.95fr;
}

.feature-row:nth-child(even) img {
  order: 2;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--sans);
}

.contact-list span {
  display: block;
  color: var(--green);
  font-size: 0.72rem;
  letter-spacing: 0.16rem;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.subscribe-form {
  align-self: center;
}

.contact-details-section {
  padding-top: 0;
}

.contact-details {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  padding-top: clamp(2rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
}

label {
  display: grid;
  gap: 0.5rem;
  color: var(--green);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16rem;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
  color: var(--ink);
  background: transparent;
  font: 1rem var(--serif);
}

textarea {
  min-height: 8.5rem;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 0;
  border-color: var(--red);
}

button {
  justify-self: start;
  border: 0;
  padding: 0;
  color: var(--red);
  background: transparent;
  cursor: pointer;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 5vw, 5rem);
  color: #e9d2af;
  background: var(--brown);
}

.footer-colophon {
  max-width: 48rem;
}

.footer-brand {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: 0.18rem;
}

.footer-colophon p {
  max-width: 42rem;
  color: #d8bd94;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
}

.footer-links {
  display: flex;
  align-items: end;
  gap: 1.5rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14rem;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 0.9rem 1.1rem;
  }

  .brand,
  .issue {
    justify-self: center;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.2rem;
  }

  .issue {
    display: none;
  }

  .hero {
    min-height: 92vh;
    padding-top: 10rem;
  }

  h1 {
    font-size: clamp(4rem, 20vw, 7rem);
  }

  .statement,
  .split-feature,
  .two-column,
  .contact-panel,
  .contact-details,
  .article-layout,
  .founder-letter-layout,
  .feature-row,
  .feature-row:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }

  .story-grid,
  .principles {
    grid-template-columns: 1fr;
  }

  .story-card:nth-child(2),
  .story-card:nth-child(3) {
    margin-top: 0;
  }

  .split-feature {
    padding: 0;
  }

  .split-feature > div {
    padding: 0 1.25rem 4rem;
  }

  .journal-item {
    grid-template-columns: 1fr;
  }

  .feature-row:nth-child(even) img {
    order: 0;
  }

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

  .footer-links {
    align-items: start;
    flex-wrap: wrap;
  }
}

@media (max-width: 540px) {
  .nav {
    gap: 0.8rem;
    font-size: 0.65rem;
  }

  .brand {
    font-size: 1.05rem;
  }

  .brand-mark {
    width: 2.25rem;
    height: 2.25rem;
  }

  .hero,
  .page-hero {
    padding-inline: 1rem;
  }

  .section {
    padding-inline: 1rem;
  }

  .statement-copy {
    font-size: 1.75rem;
  }
}
