@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Work+Sans:wght@400;500;600&display=swap');

:root {
  color-scheme: dark;
  --forest: #101913;
  --sand: #e6d8c6;
  --muted: #c7b9a7;
  --line: #e6d8c633;
  --gold: #d4ad7e;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Work Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--forest); color: var(--sand); font: 400 1rem/1.65 var(--sans); }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
img { display: block; width: 100%; }
.guide-header, .guide-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; }
.guide-header { position: absolute; z-index: 2; inset: 0 0 auto; padding: 1.7rem max(5vw, calc((100vw - 74rem) / 2)); }
.guide-header nav, .guide-footer nav { display: flex; flex-wrap: wrap; gap: .6rem clamp(1rem, 3vw, 2.5rem); }
.guide-header nav a { font-size: .68rem; text-transform: uppercase; letter-spacing: .17em; }
.guide-header a, .guide-footer a { text-decoration: none; }
.guide-brand { font: 500 2rem/1 var(--serif); letter-spacing: .19em; }
.guide-hero { position: relative; display: grid; align-items: end; min-height: min(48rem, 82svh); overflow: hidden; }
.guide-hero > img, .guide-hero::after { position: absolute; inset: 0; height: 100%; width: 100%; }
.guide-hero > img { object-fit: cover; object-position: center 48%; }
.guide-hero::after { content: ""; background: linear-gradient(180deg, #0c140dd4, transparent 32%, #0e170e2b 48%, var(--forest) 100%), linear-gradient(90deg, #0c140db0, transparent 85%); }
.guide-hero-copy { position: relative; z-index: 1; width: min(90%, 74rem); margin-inline: auto; padding: 10rem 0 clamp(2.75rem, 8vw, 6.5rem); }
.guide-hero h1 { max-width: 13ch; margin: .2em 0 .22em; font: 500 clamp(3rem, 8vw, 7.2rem)/.9 var(--serif); letter-spacing: -.045em; text-wrap: balance; }
.guide-hero p { max-width: 37rem; margin: 0; color: var(--sand); text-wrap: pretty; }
.guide-crumb { margin-bottom: 1.2rem; color: var(--sand); font-size: .8rem; }
.guide-content, .guide-footer { width: min(90%, 74rem); margin-inline: auto; }
.guide-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.6rem); padding-block: 1rem 4rem; }
.guide-card { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(18rem, 31vw, 26rem); overflow: hidden; border-radius: 1.3rem; background: #253327; text-decoration: none; }
.guide-card img, .guide-card::after { position: absolute; z-index: -1; inset: 0; height: 100%; width: 100%; }
.guide-card img { object-fit: cover; transition: transform .65s ease; }
.guide-card::after { content: ""; background: linear-gradient(180deg, transparent 15%, #08110c35 35%, #09120ded 100%); }
.guide-card:hover img { transform: scale(1.045); }
.guide-card > div { padding: clamp(1.25rem, 3.4vw, 2.5rem); }
h2 { font: 500 clamp(2rem, 4.1vw, 3.45rem)/1 var(--serif); }
.guide-card h2 { max-width: 16ch; margin: 0 0 .45rem; }
.guide-card p { max-width: 38ch; margin: 0; font-size: .9rem; }
.guide-card span { display: inline-block; margin-top: 1rem; color: #eed0a4; font-size: .73rem; letter-spacing: .08em; }
.guide-article { max-width: 49rem; margin-inline: auto; padding-block: 1rem 4rem; }
.guide-toc, .guide-article aside { border: 1px solid var(--line); border-radius: 1rem; padding: 1.4rem; background: #19261e; }
.guide-toc ol { display: grid; gap: .4rem; margin: 0; padding-left: 1.5rem; }
.guide-toc a, .guide-links a, .guide-article aside a { color: var(--gold); }
.guide-article section { padding-block: 1.9rem; border-bottom: 1px solid var(--line); scroll-margin-top: 1rem; }
.guide-article section h2, .guide-article aside h2 { margin: 0 0 .75rem; }
.guide-article section p { max-width: 68ch; }
.guide-sources { color: var(--muted); font-size: .76rem; }
.guide-article aside { margin-top: 2rem; }
.guide-article aside p { margin-bottom: 0; }
.guide-cta { padding: clamp(3rem, 8vw, 6rem) 5%; border-top: 1px solid var(--line); text-align: center; background: #142017; }
.guide-cta h2 { margin: 0 0 1.2rem; }
.guide-cta a { display: inline-block; margin: .3rem; padding: .75rem 1.2rem; border: 1px solid var(--line); border-radius: 99rem; text-decoration: none; }
.guide-cta a:last-child { background: #c59f71; color: #101913; border-color: transparent; }
.guide-footer { padding-block: 2rem; color: var(--muted); font-size: .83rem; }
@media (max-width: 660px) {
  .guide-header { padding-block: 1rem; }
  .guide-header nav { width: 100%; gap: .65rem 1rem; }
  .guide-header nav a { font-size: .59rem; letter-spacing: .08em; }
  .guide-hero { min-height: 34rem; }
  .guide-cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .guide-card img { transition: none; } }
