:root {
  --clay: #B8674A;
  --gold: #C9A84C;
  --cream: #F9F5EE;
  --parchment: #EDE4D3;
  --ink: #231A10;
  --mist: #8C7B6A;
  --white: #FFFFFF;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  z-index: 10;
  top: -4rem;
  left: 1rem;
  padding: .7rem 1rem;
  border-radius: 0 0 10px 10px;
  background: var(--clay);
  color: var(--white);
  text-decoration: none;
}

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

.site-header {
  min-height: 76px;
  padding: .8rem clamp(1.2rem, 5vw, 5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(184, 103, 74, .14);
  background: rgba(249, 245, 238, .96);
}

.brand {
  color: var(--clay);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
}

.brand small {
  display: block;
  margin-top: .3rem;
  color: var(--mist);
  font-family: 'Outfit', sans-serif;
  font-size: .62rem;
  font-weight: 400;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.header-actions,
.end-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.back-link {
  color: #6B5A48;
  font-size: .8rem;
  text-decoration: none;
}

.back-link:hover,
.aside-link:hover {
  color: var(--clay);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem 1.15rem;
  border: 1px solid rgba(184, 103, 74, .35);
  border-radius: 40px;
  color: var(--clay);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}

.header-cta:hover {
  border-color: var(--clay);
  background: var(--clay);
  color: var(--white);
}

.article-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 10vw, 8.5rem) max(1.2rem, calc((100% - 1100px) / 2)) 4.5rem;
  background: var(--parchment);
}

.article-hero::after {
  position: absolute;
  right: -7rem;
  bottom: -12rem;
  width: 30rem;
  height: 30rem;
  border: 1px solid rgba(184, 103, 74, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 2.4rem rgba(184, 103, 74, .025), 0 0 0 5rem rgba(184, 103, 74, .02);
  content: '';
  pointer-events: none;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.2rem;
  color: var(--clay);
  font-size: .67rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.eyebrow-rule {
  width: 28px;
  height: 1px;
  background: currentColor;
}

.article-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7.5vw, 6.2rem);
  font-weight: 300;
  letter-spacing: -.025em;
  line-height: .98;
}

.article-hero h1 em,
.article-body h2 em,
.article-end h2 em {
  color: var(--clay);
  font-weight: 400;
}

.article-intro {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin: 1.6rem 0 0;
  color: #5D4B39;
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  line-height: 1.85;
}

.article-meta {
  display: flex;
  gap: .65rem;
  align-items: center;
  margin-top: 1.8rem;
  color: var(--mist);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(220px, 280px);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 5.5rem 1.2rem 6rem;
}

.article-body {
  min-width: 0;
}

.article-body p {
  margin: 0 0 1.2rem;
  color: #594938;
  font-size: .98rem;
  line-height: 1.9;
}

.article-body .lead {
  margin: 0 0 3.6rem;
  color: var(--ink);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.45rem, 2.7vw, 1.9rem);
  font-weight: 400;
  line-height: 1.45;
}

.article-body section {
  margin-top: 3.8rem;
}

.section-index {
  display: flex;
  gap: .9rem;
  align-items: center;
  margin: 0 0 .75rem !important;
  color: var(--clay) !important;
  font-size: .65rem !important;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.section-index span {
  color: var(--mist);
  font-weight: 400;
}

.article-body h2,
.article-end h2 {
  margin: 0 0 1.15rem;
  color: var(--ink);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.08;
}

.editorial-note {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: .9rem;
  align-items: start;
  margin: 2rem 0 0;
  padding: 1.4rem 1.5rem;
  border-left: 2px solid var(--gold);
  border-radius: 0 14px 14px 0;
  background: rgba(237, 228, 211, .62);
}

.editorial-note .note-mark {
  color: var(--clay);
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.4rem;
  line-height: .9;
}

.article-body .editorial-note p {
  margin: .1rem 0 0;
  color: #51402F;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.55;
}

.article-aside {
  position: sticky;
  top: 2rem;
  padding-top: .3rem;
}

.aside-card {
  padding: 1.8rem;
  border: 1px solid rgba(184, 103, 74, .18);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(35, 26, 16, .045);
}

.aside-kicker {
  margin: 0 0 .3rem;
  color: var(--clay);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.aside-card h2 {
  margin: 0 0 .8rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 500;
}

.aside-card p:not(.aside-kicker) {
  margin: 0;
  color: #675747;
  font-size: .83rem;
  line-height: 1.75;
}

.aside-divider {
  height: 1px;
  margin: 1.35rem 0;
  background: var(--parchment);
}

.aside-card .aside-small {
  color: var(--mist) !important;
  font-size: .75rem !important;
}

.aside-link {
  display: flex;
  justify-content: space-between;
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--parchment);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
}

.aside-caption {
  margin: 1rem .2rem 0;
  color: var(--mist);
  font-size: .7rem;
  line-height: 1.7;
}

.article-body .practical {
  margin-top: 4.5rem;
  padding: 1.8rem 2rem;
  border: 1px solid rgba(184, 103, 74, .16);
  border-radius: 18px;
  background: rgba(255, 255, 255, .55);
}

.practical ul {
  display: grid;
  gap: .75rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.practical li {
  position: relative;
  padding-left: 1.4rem;
  color: #594938;
  font-size: .9rem;
  line-height: 1.7;
}

.practical li::before {
  position: absolute;
  top: .7em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  content: '';
}

.article-end {
  margin: 0 auto 5rem;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
  max-width: 1100px;
  border-radius: 24px;
  background: #231A10;
  color: var(--white);
  text-align: center;
}

.article-end .eyebrow {
  justify-content: center;
  color: var(--gold);
}

.article-end h2 {
  max-width: 680px;
  margin: 0 auto 1rem;
  color: var(--white);
}

.article-end h2 em {
  color: var(--gold);
}

.article-end > p:not(.eyebrow) {
  max-width: 560px;
  margin: 0 auto;
  color: rgba(255, 255, 255, .67);
  font-size: .9rem;
  line-height: 1.8;
}

.end-actions {
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 40px;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}

.button-primary {
  background: var(--clay);
  color: var(--white);
}

.button-primary:hover {
  background: #9A5039;
  transform: translateY(-2px);
}

.button-secondary {
  border-color: rgba(255, 255, 255, .36);
  color: var(--white);
}

.button-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, .08);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1.2rem, 5vw, 5rem);
  color: rgba(255, 255, 255, .42);
  background: #160F07;
  font-size: .72rem;
}

.site-footer a {
  color: rgba(255, 255, 255, .7);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  text-decoration: none;
}

@media (max-width: 760px) {
  .site-header {
    min-height: 70px;
    align-items: flex-start;
  }

  .header-actions {
    align-items: flex-end;
    flex-direction: column-reverse;
    gap: .6rem;
  }

  .back-link {
    font-size: .7rem;
  }

  .header-cta {
    padding: .55rem .8rem;
    font-size: .65rem;
  }

  .article-hero {
    padding-top: 4.5rem;
    padding-bottom: 3.2rem;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 3.5rem;
    padding-bottom: 4rem;
  }

  .article-aside {
    position: static;
    grid-row: 1;
  }

  .aside-card {
    padding: 1.4rem;
  }

  .article-end {
    margin: 0 1.2rem 3rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 440px) {
  .brand {
    font-size: 1.12rem;
  }

  .brand small {
    max-width: 165px;
    font-size: .55rem;
    letter-spacing: .12em;
  }

  .header-cta {
    max-width: 180px;
    text-align: center;
  }

  .article-meta {
    flex-wrap: wrap;
    font-size: .65rem;
  }

  .article-body .practical {
    padding: 1.4rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
