@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --paper: #f4f1eb;
  --paper-soft: #fbfaf7;
  --ink: #17191a;
  --muted: #67625a;
  --line: rgba(23, 25, 26, 0.14);
  --moss: #1f4f3d;
  --clay: #a85743;
  --steel: #8a9aa1;
  --blue: #dbe6ea;
  --shadow: 0 24px 80px rgba(22, 23, 22, 0.18);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Manrope", "Aptos", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  background: var(--ink);
  color: var(--paper-soft);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  align-items: center;
  background: rgba(244, 241, 235, 0.76);
  border-bottom: 1px solid transparent;
  display: flex;
  height: 76px;
  justify-content: center;
  left: 0;
  padding: 0 42px;
  position: fixed;
  right: 0;
  top: 0;
  transition: background 240ms ease, border-color 240ms ease, backdrop-filter 240ms ease;
  z-index: 30;
}

@media (min-width: 1100px) {
  .site-header {
    border: 1px solid rgba(23, 25, 26, 0.08);
    height: 68px;
    left: 28px;
    right: 28px;
    top: 18px;
  }

  .hero,
  .intro,
  .edit-strip,
  .journal,
  .wardrobe,
  .letter,
  .page-hero,
  .contact-section,
  .expanded-footer {
    margin-left: auto;
    margin-right: auto;
    max-width: 1504px;
    width: calc(100% - 56px);
  }

  .hero {
    margin-top: 18px;
    min-height: 76svh;
  }

  .hero-content {
    padding-left: 58px;
    padding-top: 16vh;
  }

  .hero h1 {
    font-size: clamp(4.2rem, 6.8vw, 7.6rem);
  }

  .section,
  .wardrobe,
  .letter,
  .contact-section {
    padding-left: 58px;
    padding-right: 58px;
  }

  .page-hero {
    min-height: 58svh;
    padding-left: 58px;
    padding-right: 58px;
  }
}

.site-header.scrolled {
  backdrop-filter: blur(18px);
  background: rgba(244, 241, 235, 0.9);
  border-color: var(--line);
}

.brand {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.92rem;
  font-weight: 700;
  gap: 0.7rem;
  left: 42px;
  position: absolute;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  color: var(--paper-soft);
  display: inline-flex;
  font-family: var(--serif);
  font-size: 1.2rem;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.nav {
  display: flex;
  gap: clamp(1.15rem, 2.2vw, 2rem);
  font-size: 0.82rem;
  font-weight: 700;
  justify-content: center;
  text-transform: uppercase;
}

.nav a {
  opacity: 0.76;
  transition: opacity 180ms ease;
}

.nav a:hover {
  opacity: 1;
}

.nav a.active {
  opacity: 1;
}

.menu-button {
  align-items: center;
  background: transparent;
  border: 0;
  display: none;
  flex-direction: column;
  gap: 6px;
  height: 44px;
  justify-content: center;
  margin-left: auto;
  position: absolute;
  right: 20px;
  width: 44px;
}

.menu-button span {
  background: var(--ink);
  display: block;
  height: 2px;
  width: 22px;
}

.mobile-panel {
  background: rgba(244, 241, 235, 0.98);
  display: none;
  inset: 76px 0 auto 0;
  padding: 1.5rem 2rem 2rem;
  position: fixed;
  z-index: 29;
}

.mobile-panel a {
  border-bottom: 1px solid var(--line);
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  padding: 0.85rem 0;
}

.hero {
  min-height: 84svh;
  overflow: hidden;
  position: relative;
}

.hero-image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(244, 241, 235, 0.96) 0%, rgba(244, 241, 235, 0.86) 31%, rgba(244, 241, 235, 0.22) 64%, rgba(244, 241, 235, 0.04) 100%),
    linear-gradient(0deg, rgba(23, 25, 26, 0.16), rgba(23, 25, 26, 0));
  inset: 0;
  position: absolute;
}

.hero-content {
  max-width: 760px;
  padding: 18vh 42px 10vh;
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(4.4rem, 8vw, 9.4rem);
  font-weight: 400;
  line-height: 0.86;
  margin: 1rem 0 1.4rem;
  max-width: 720px;
  text-wrap: balance;
}

.hero-copy {
  color: #37352f;
  font-size: clamp(1.04rem, 1.6vw, 1.28rem);
  margin: 0;
  max-width: 520px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.primary-link,
.secondary-link,
.letter-form button {
  align-items: center;
  border: 1px solid var(--ink);
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 800;
  min-height: 48px;
  padding: 0 1.3rem;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.primary-link,
.letter-form button {
  background: var(--ink);
  color: var(--paper-soft);
}

.secondary-link {
  background: rgba(244, 241, 235, 0.42);
}

.primary-link:hover,
.secondary-link:hover,
.letter-form button:hover {
  transform: translateY(-2px);
}

.hero-card {
  background: rgba(251, 250, 247, 0.88);
  bottom: 3rem;
  box-shadow: var(--shadow);
  max-width: 310px;
  padding: 1.25rem;
  position: absolute;
  right: 42px;
  z-index: 3;
}

.hero-card span {
  color: var(--clay);
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.hero-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1;
}

.hero-card p {
  color: var(--muted);
  margin: 0.7rem 0 0;
}

.hero-card a {
  border-bottom: 1px solid currentColor;
  color: var(--moss);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  margin-top: 1rem;
}

.section {
  padding: 104px 42px;
}

.intro {
  background: var(--paper-soft);
}

.intro-grid {
  display: grid;
  gap: 6vw;
  grid-template-columns: minmax(280px, 0.88fr) minmax(280px, 0.7fr);
  margin-top: 1rem;
}

.intro h2,
.section-heading h2,
.wardrobe h2,
.letter h2 {
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 5.8rem);
  font-weight: 400;
  line-height: 0.95;
  margin: 0;
}

.intro p,
.wardrobe-copy p,
.heading-note,
.visual-editorial p {
  color: var(--muted);
  font-size: 1.06rem;
  margin: 0;
  max-width: 600px;
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.text-link {
  border-bottom: 1px solid currentColor;
  color: var(--moss);
  font-size: 0.9rem;
  font-weight: 800;
}

.feature-board {
  background:
    radial-gradient(circle at 12% 18%, rgba(168, 87, 67, 0.12), transparent 28%),
    linear-gradient(180deg, #f7f2e9 0%, var(--paper-soft) 100%);
}

.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.feature-stack {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.visual-editorial {
  align-items: center;
  background: var(--paper-soft);
  display: grid;
  gap: 4rem;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 0.75fr);
}

.visual-editorial img {
  display: block;
  width: 100%;
}

.visual-editorial h2 {
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 5.6rem);
  font-weight: 400;
  line-height: 0.95;
  margin: 0.8rem 0 1rem;
}

.category-rail {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-rail a {
  background: rgba(251, 250, 247, 0.72);
  border: 1px solid var(--line);
  display: grid;
  gap: 1.6rem;
  min-height: 190px;
  padding: 1.15rem;
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.category-rail a:hover {
  background: var(--paper-soft);
  border-color: rgba(31, 79, 61, 0.36);
  transform: translateY(-3px);
}

.category-rail span {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 2.6vw, 3rem);
  line-height: 0.96;
}

.category-rail small {
  align-self: end;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

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

.edit-card {
  background: var(--paper-soft);
  min-height: 360px;
  padding: 1.5rem;
  transition: background 220ms ease, transform 220ms ease;
}

.edit-card:hover {
  background: var(--blue);
  transform: translateY(-4px);
}

.card-number {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
}

.edit-card h3,
.journal-item h3 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.2vw, 3.6rem);
  font-weight: 400;
  line-height: 0.96;
  margin: 7rem 0 1rem;
}

.edit-card p,
.journal-item p {
  color: var(--muted);
  margin: 0;
}

.wardrobe {
  background: var(--ink);
  color: var(--paper-soft);
  display: grid;
  gap: 4rem;
  grid-template-columns: minmax(280px, 0.8fr) minmax(280px, 0.6fr);
  padding: 112px 42px;
}

.wardrobe .section-kicker {
  color: #d49b86;
}

.wardrobe-copy p {
  color: rgba(251, 250, 247, 0.72);
  margin-top: 1.4rem;
}

.palette-board {
  align-content: end;
  display: grid;
  gap: 1rem;
}

.swatch {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(251, 250, 247, 0.22);
  color: var(--paper-soft);
  cursor: pointer;
  display: flex;
  font-weight: 800;
  gap: 1rem;
  min-height: 74px;
  padding: 0 1rem;
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease;
}

.swatch span {
  background: var(--swatch);
  display: block;
  height: 38px;
  width: 38px;
}

.swatch.active,
.swatch:hover {
  background: rgba(251, 250, 247, 0.08);
  border-color: rgba(251, 250, 247, 0.7);
}

.palette-note {
  border-top: 1px solid rgba(251, 250, 247, 0.18);
  color: rgba(251, 250, 247, 0.74);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.8vw, 3rem);
  line-height: 1;
  margin: 1.2rem 0 0;
  padding-top: 1.4rem;
}

.journal {
  background: var(--paper-soft);
}

.journal-list {
  border-top: 1px solid var(--line);
}

.journal-item {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 2rem;
  grid-template-columns: 170px minmax(280px, 1fr) minmax(220px, 0.48fr);
  padding: 2rem 0;
}

.journal-item span {
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.journal-item h3 {
  font-size: clamp(2rem, 3.1vw, 3.4rem);
  margin: 0;
}

.letter {
  align-items: end;
  background: #dbe6ea;
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(280px, 0.78fr) minmax(280px, 0.52fr);
  padding: 92px 42px;
}

.letter-form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
}

.input-row {
  display: flex;
}

.input-row input {
  background: rgba(251, 250, 247, 0.72);
  border: 1px solid rgba(23, 25, 26, 0.24);
  color: var(--ink);
  min-height: 52px;
  min-width: 0;
  padding: 0 1rem;
  width: 100%;
}

.input-row button {
  min-height: 52px;
  white-space: nowrap;
}

.site-footer {
  align-items: center;
  background: var(--ink);
  color: rgba(251, 250, 247, 0.74);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding: 28px 42px;
}

.expanded-footer {
  align-items: start;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(260px, 1.3fr) repeat(3, minmax(130px, 0.55fr)) minmax(260px, 1fr);
}

.footer-brand span {
  color: var(--paper-soft);
  display: block;
  font-family: var(--serif);
  font-size: 2.2rem;
  line-height: 1;
}

.footer-brand p,
.footer-letter p,
.footer-region {
  color: rgba(251, 250, 247, 0.68);
  margin: 0.8rem 0 0;
}

.footer-col,
.footer-letter {
  display: grid;
  gap: 0.72rem;
}

.footer-col strong,
.footer-letter strong {
  color: var(--paper-soft);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.footer-col a,
.footer-brand a {
  color: rgba(251, 250, 247, 0.72);
}

.footer-col a:hover,
.footer-brand a:hover {
  color: var(--paper-soft);
}

.footer-letter label {
  color: rgba(251, 250, 247, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mini-form {
  display: flex;
}

.mini-form input {
  background: rgba(251, 250, 247, 0.08);
  border: 1px solid rgba(251, 250, 247, 0.28);
  color: var(--paper-soft);
  min-height: 44px;
  min-width: 0;
  padding: 0 0.8rem;
  width: 100%;
}

.mini-form button {
  background: var(--paper-soft);
  border: 1px solid var(--paper-soft);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  padding: 0 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(251, 250, 247, 0.14);
  color: rgba(251, 250, 247, 0.56);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  grid-column: 1 / -1;
  justify-content: space-between;
  padding-top: 1.4rem;
}

.site-footer span:first-child {
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: 1.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.page-hero {
  align-items: end;
  background: linear-gradient(180deg, #fbfaf7 0%, #f4f1eb 100%);
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(280px, 0.92fr) minmax(300px, 0.58fr);
  min-height: 64svh;
  padding: 152px 42px 72px;
}

.visual-page-hero {
  align-items: center;
  grid-template-areas:
    "title visual"
    "copy visual";
}

.visual-page-hero > div {
  grid-area: title;
}

.visual-page-hero > p {
  grid-area: copy;
}

.page-visual {
  grid-area: visual;
  margin: 0;
}

.page-visual img {
  aspect-ratio: 1.08;
  display: block;
  object-fit: cover;
  width: 100%;
}

.page-hero h1,
.article-header h1,
.legal-page h1 {
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 8.4rem);
  font-weight: 400;
  line-height: 0.88;
  margin: 1rem 0 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.page-hero p,
.article-header p {
  color: var(--muted);
  font-size: 1.12rem;
  margin: 0;
  overflow-wrap: anywhere;
}

.split-copy {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
}

.split-copy p {
  color: #34312c;
  font-size: clamp(1.2rem, 2vw, 1.72rem);
  line-height: 1.4;
  margin: 0;
}

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

.article-card {
  background: var(--paper);
  display: grid;
  min-height: 100%;
  overflow: hidden;
  transition: transform 220ms ease, background 220ms ease;
}

.article-card:hover {
  background: var(--blue);
  transform: translateY(-4px);
}

.article-card img {
  aspect-ratio: 1.22;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.article-card span {
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 1rem 1rem 0;
  text-transform: uppercase;
}

.article-card h3 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 0.96;
  margin: 0.7rem 1rem 1rem;
}

.article-card p {
  color: var(--muted);
  margin: 0 1rem 1.2rem;
}

.article-card time {
  align-self: end;
  border-top: 1px solid var(--line);
  color: rgba(23, 25, 26, 0.58);
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  margin: 0 1rem;
  padding: 0.8rem 0 1rem;
  text-transform: uppercase;
}

.article-card.large h3 {
  font-size: clamp(3rem, 5vw, 5.4rem);
}

.article-card.large img {
  aspect-ratio: 1.38;
}

.article-shell {
  background: var(--paper-soft);
  padding-top: 120px;
}

.article-header {
  margin: 0 auto;
  max-width: 980px;
  padding: 40px 42px 46px;
}

.article-header h1 {
  font-size: clamp(3.8rem, 7vw, 7.6rem);
}

.article-header p {
  max-width: 680px;
}

.article-meta {
  color: rgba(23, 25, 26, 0.55);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 0.8rem;
  margin-top: 1.4rem;
  text-transform: uppercase;
}

.article-hero-image {
  aspect-ratio: 16 / 8;
  display: block;
  margin: 0 auto;
  max-width: calc(100% - 84px);
  object-fit: cover;
  width: 1320px;
}

.article-body {
  display: grid;
  gap: 3rem;
  margin: 0 auto;
  max-width: 820px;
  padding: 76px 42px 104px;
}

.article-body h2,
.legal-page h2,
.contact-section h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.2vw, 3.4rem);
  font-weight: 400;
  line-height: 0.98;
  margin: 0 0 0.8rem;
}

.article-body p,
.legal-page p,
.contact-section p {
  color: #34312c;
  font-size: 1.08rem;
  margin: 0;
}

.contact-section {
  background: var(--paper-soft);
  display: grid;
  gap: 4rem;
  grid-template-columns: minmax(300px, 0.8fr) minmax(260px, 0.45fr);
  padding: 96px 42px;
}

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

.contact-form label {
  color: var(--muted);
  display: grid;
  font-size: 0.8rem;
  font-weight: 800;
  gap: 0.5rem;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  min-height: 50px;
  padding: 0.9rem 1rem;
}

.contact-form button {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--paper-soft);
  cursor: pointer;
  font-weight: 800;
  min-height: 52px;
}

.contact-form button:disabled,
.mini-form button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.form-status {
  color: var(--muted);
  font-size: 0.9rem;
  min-height: 1.2rem;
}

.footer-letter .form-status {
  color: rgba(251, 250, 247, 0.68);
  margin: 0;
}

.editorial-proof {
  background:
    linear-gradient(135deg, rgba(31, 79, 61, 0.13), transparent 38%),
    var(--paper-soft);
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(280px, 0.82fr) minmax(280px, 1fr);
}

.editorial-proof h2 {
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 5.8rem);
  font-weight: 400;
  line-height: 0.95;
  margin: 0.8rem 0 0;
}

.proof-grid {
  display: grid;
  gap: 1rem;
}

.proof-grid p {
  border-top: 1px solid var(--line);
  color: #34312c;
  font-size: clamp(1.05rem, 1.5vw, 1.26rem);
  margin: 0;
  padding-top: 1rem;
}

.legal-page {
  background: var(--paper-soft);
  margin: 0 auto;
  max-width: 920px;
  padding: 152px 42px 104px;
}

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

.legal-page section {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding-top: 2rem;
}

.legal-updated {
  color: var(--muted);
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .site-header {
    padding: 0 20px;
  }

  .brand {
    left: 20px;
  }

  .nav {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .mobile-panel.open {
    display: block;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(244, 241, 235, 0.96) 0%, rgba(244, 241, 235, 0.88) 48%, rgba(244, 241, 235, 0.18) 100%),
      linear-gradient(0deg, rgba(23, 25, 26, 0.18), rgba(23, 25, 26, 0));
  }

  .hero-content {
    padding: 112px 20px 88px;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 13.2vw, 5.2rem);
    line-height: 0.9;
    max-width: 560px;
  }

  .hero-card {
    display: none;
  }

  .section,
  .wardrobe,
  .letter {
    padding-left: 20px;
    padding-right: 20px;
  }

  .intro-grid,
  .feature-grid,
  .feature-stack,
  .visual-editorial,
  .wardrobe,
  .letter,
  .journal-item,
  .page-hero,
  .split-copy,
  .contact-section,
  .editorial-proof {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

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

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

  .category-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .expanded-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand,
  .footer-letter,
  .footer-bottom {
    grid-column: 1 / -1;
  }

  .page-hero {
    grid-template-areas:
      "title"
      "visual"
      "copy";
    min-height: auto;
    padding: 124px 20px 64px;
  }

  .page-hero p {
    max-width: 320px;
    width: 100%;
  }

  .article-header,
  .article-body,
  .legal-page,
  .contact-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .article-hero-image {
    max-width: calc(100% - 40px);
  }

  .edit-card {
    min-height: 280px;
  }

  .edit-card h3 {
    margin-top: 4rem;
  }
}

@media (max-width: 560px) {
  .hero-actions,
  .input-row {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-link,
  .secondary-link,
  .letter-form button {
    justify-content: center;
    width: 100%;
  }

  .section {
    padding-bottom: 74px;
    padding-top: 74px;
  }

  .intro h2,
  .section-heading h2,
  .wardrobe h2,
  .letter h2,
  .page-hero h1,
  .article-header h1,
  .legal-page h1 {
    font-size: clamp(2.7rem, 14vw, 4.5rem);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;
  }

  .expanded-footer {
    display: grid;
  }

  .category-rail {
    grid-template-columns: 1fr;
  }

  .mini-form {
    flex-direction: column;
  }

  .mini-form button {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
