@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap");

:root {
  color-scheme: light;
  --ink: #252722;
  --ink-soft: #5e6059;
  --paper: #f5f3ee;
  --paper-deep: #ebe8df;
  --white: #fffefa;
  --dark: #171916;
  --dark-soft: #22251f;
  --gold: #c5a16b;
  --gold-light: #dfc69b;
  --line: rgba(37, 39, 34, 0.14);
  --line-light: rgba(255, 255, 255, 0.18);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page-width: 1240px;
  --article-width: 1190px;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea,
select {
  font-family: var(--sans);
}

body:has(.preferences-panel:not([hidden])) {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

::selection {
  background: var(--gold-light);
  color: var(--dark);
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--dark);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  min-height: 5.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem var(--gutter);
  background: var(--dark);
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 2.1rem;
  flex: 0 0 2.1rem;
  color: var(--gold-light);
}

.menu-toggle {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 1.15rem;
  transition: background 180ms ease, border-color 180ms ease;
}

.menu-toggle:hover {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
}

.primary-nav {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  flex-direction: column;
  gap: 0;
  padding: 0.75rem var(--gutter) 1.25rem;
  background: var(--dark);
  box-shadow: 0 1rem 1.5rem rgba(0, 0, 0, 0.2);
}

.primary-nav[data-open],
.primary-nav.is-open,
.primary-nav.open {
  display: flex;
}

.primary-nav a {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line-light);
  color: rgba(255, 254, 250, 0.78);
  font-size: 0.86rem;
  text-decoration: none;
  transition: color 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--gold-light);
}

.primary-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  align-self: flex-start;
  margin-top: 0.9rem;
  padding: 0.72rem 1rem;
  border: 1px solid var(--gold);
  color: var(--gold-light);
}

.hero,
.page-hero,
.closing-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--dark);
  color: var(--white);
}

.hero {
  display: flex;
  min-height: min(47rem, calc(100svh - 5.25rem));
  align-items: center;
}

.hero-image,
.page-hero > img,
.closing-cta > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.hero-shade,
.page-hero-shade,
.closing-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(15, 17, 15, 0.84) 0%, rgba(15, 17, 15, 0.62) 44%, rgba(15, 17, 15, 0.12) 100%),
    linear-gradient(0deg, rgba(15, 17, 15, 0.34), transparent 48%);
}

.hero-content {
  width: min(100%, 850px);
  padding: clamp(4rem, 11vw, 9rem) var(--gutter) 7rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: #a17f4e;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow,
.closing-cta .eyebrow {
  color: var(--gold-light);
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

h1 em,
h2 em {
  color: var(--gold-light);
  font-weight: 500;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 1.3rem;
  font-size: clamp(3rem, 9vw, 6.8rem);
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 1.75rem;
  color: rgba(255, 254, 250, 0.83);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.8;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms var(--ease), background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-gold {
  border-color: var(--gold);
  background: var(--gold);
  color: #201d17;
}

.button-gold:hover {
  border-color: var(--gold-light);
  background: var(--gold-light);
}

.button-glass {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.button-glass:hover {
  border-color: var(--gold-light);
  background: rgba(255, 255, 255, 0.14);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.35rem;
  margin-top: 2.2rem;
  color: rgba(255, 254, 250, 0.78);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.hero-notes span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-notes span::before {
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.hero-caption {
  position: absolute;
  right: var(--gutter);
  bottom: 1.5rem;
  color: rgba(255, 254, 250, 0.72);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-align: right;
}

.section-wrap {
  width: min(100% - (var(--gutter) * 2), var(--page-width));
  margin-inline: auto;
}

.intro-grid {
  display: grid;
  gap: 1.5rem;
  padding-block: clamp(4rem, 9vw, 7.5rem);
}

.intro-grid h2,
.section-heading h2,
.editorial-copy h2,
.practical-top h2,
.comparison-section h2,
.related-band h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4.5vw, 3.65rem);
}

.intro-grid h2 em,
.section-heading h2 em,
.editorial-copy h2 em,
.practical-top h2 em,
.comparison-section h2 em,
.related-band h2 em {
  color: #92734b;
}

.intro-copy {
  max-width: 600px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.9;
}

#guides {
  padding-bottom: clamp(4rem, 8vw, 7rem);
  scroll-margin-top: 2rem;
}

.section-heading {
  display: grid;
  gap: 1rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading > p {
  max-width: 400px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.guide-list {
  display: grid;
  gap: 1rem;
}

.split-card {
  display: grid;
  overflow: hidden;
  background: var(--white);
}

.split-card > img {
  width: 100%;
  height: clamp(14rem, 54vw, 24rem);
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.split-card:hover > img {
  transform: scale(1.025);
}

.card-copy {
  padding: clamp(1.4rem, 4vw, 2.4rem);
}

.card-copy .eyebrow {
  margin-bottom: 0.55rem;
}

.card-copy h3 {
  margin-bottom: 0.65rem;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.card-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 1.15rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.3rem;
}

.tags span,
.compare-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.65rem;
  letter-spacing: 0.025em;
  line-height: 1.4;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #81633d;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link span,
.related-links span {
  transition: transform 180ms ease;
}

.text-link:hover {
  color: #4e3b23;
}

.text-link:hover span,
.related-links a:hover span {
  transform: translate(3px, -3px);
}

.editorial-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 7rem);
  border-top: 1px solid var(--line);
}

.editorial-image {
  position: relative;
  min-height: 20rem;
  overflow: hidden;
  background: var(--paper-deep);
}

.editorial-image img {
  width: 100%;
  height: 100%;
  min-height: 20rem;
  object-fit: cover;
}

.image-label {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 0.65rem 0.85rem;
  background: rgba(23, 25, 22, 0.82);
  color: var(--white);
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.editorial-copy h2 {
  margin-bottom: 1.2rem;
}

.editorial-copy > p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.editorial-copy .text-link {
  margin-top: 0.4rem;
}

.practical-panel {
  padding: clamp(2rem, 5vw, 4rem);
  background: #e9e6dc;
}

.practical-top {
  display: grid;
  gap: 1.1rem;
  align-items: end;
}

.practical-top > p {
  max-width: 430px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.practical-points {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.6rem;
}

.practical-points > div {
  padding-top: 1.1rem;
  border-top: 1px solid rgba(37, 39, 34, 0.2);
}

.practical-points > div > span {
  color: #94764e;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.practical-points h3 {
  margin: 0.45rem 0;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
}

.practical-points p,
.small-note {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.small-note {
  margin-top: 2rem;
  font-size: 0.75rem;
}

.comparison-section {
  padding-block: clamp(4rem, 9vw, 7rem);
}

.comparison-list {
  margin-block: 2rem 1.5rem;
  border-top: 1px solid var(--line);
}

.comparison-row {
  display: grid;
  gap: 0.35rem;
  align-items: center;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.comparison-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
}

.comparison-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.83rem;
}

.compare-tag {
  justify-self: start;
  margin-top: 0.25rem;
  color: #806342;
  white-space: nowrap;
}

.closing-cta {
  display: flex;
  min-height: 32rem;
  align-items: center;
}

.closing-cta > img {
  object-position: center 55%;
}

.closing-shade {
  background: linear-gradient(90deg, rgba(15, 17, 15, 0.84), rgba(15, 17, 15, 0.48) 58%, rgba(15, 17, 15, 0.12));
}

.closing-copy {
  width: min(100%, 780px);
  padding: 5rem var(--gutter);
}

.closing-copy h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
}

.closing-copy > p:not(.eyebrow) {
  max-width: 500px;
  color: rgba(255, 254, 250, 0.8);
}

.page-hero {
  display: flex;
  min-height: clamp(33rem, 61vw, 46rem);
  align-items: end;
}

.page-hero > img {
  object-position: center 55%;
}

.page-hero-shade {
  background:
    linear-gradient(90deg, rgba(14, 16, 14, 0.82), rgba(14, 16, 14, 0.42) 70%, rgba(14, 16, 14, 0.16)),
    linear-gradient(0deg, rgba(14, 16, 14, 0.6), transparent 68%);
}

.page-hero-copy {
  width: min(100%, 920px);
  padding: clamp(5rem, 11vw, 8rem) var(--gutter) clamp(3.5rem, 8vw, 6rem);
}

.page-hero h1 {
  max-width: 800px;
  margin-bottom: 1rem;
  font-size: clamp(3rem, 8vw, 6.4rem);
}

.page-hero-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 1.5rem;
  color: rgba(255, 254, 250, 0.84);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
}

.article-layout {
  display: grid;
  gap: 3rem;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.article-content {
  min-width: 0;
  max-width: 760px;
}

.article-content > .eyebrow {
  margin-bottom: 0.75rem;
}

.article-content h2 {
  margin-bottom: 1.15rem;
  font-size: clamp(2.2rem, 5vw, 3.55rem);
}

.article-content h2 em {
  color: #92734b;
}

.article-content h3 {
  margin: 2.4rem 0 0.7rem;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.article-content p {
  margin-bottom: 1rem;
  color: #555850;
  font-size: 0.96rem;
  line-height: 1.9;
}

.article-content a:not(.button) {
  color: #765a36;
  font-weight: 600;
  text-decoration-color: rgba(118, 90, 54, 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.article-content a:not(.button):hover {
  color: #392b1a;
  text-decoration-color: currentColor;
}

.client-info-fields {
  min-width: 0;
  margin: 1.5rem 0 2rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--line);
  background: rgba(255, 254, 250, 0.55);
}

.client-info-fields legend {
  padding-inline: 0.45rem;
  color: #806342;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.client-info-grid {
  display: grid;
  gap: 1rem;
}

.client-info-grid label {
  display: grid;
  gap: 0.35rem;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.client-info-grid label span {
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 400;
}

.client-info-grid input,
.client-info-grid textarea {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid rgba(37, 39, 34, 0.25);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
}

.client-info-grid textarea {
  min-height: 8rem;
  resize: vertical;
}

.client-info-grid input:focus,
.client-info-grid textarea:focus {
  border-color: #9b784b;
  outline: 3px solid rgba(197, 161, 107, 0.3);
  outline-offset: 1px;
}

.check-list {
  display: grid;
  gap: 0;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 0.75rem 0 0.75rem 1.75rem;
  border-bottom: 1px solid var(--line);
  color: #555850;
  font-size: 0.9rem;
}

.check-list li::before {
  position: absolute;
  top: 0.77rem;
  left: 0;
  color: #9a794c;
  content: "✳";
  font-size: 0.75rem;
}

.article-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-self: start;
}

.article-aside > img {
  width: 100%;
  max-height: 38rem;
  object-fit: cover;
}

.aside-note {
  padding: 1.5rem;
  background: #e9e6dc;
}

.aside-note .eyebrow {
  margin-bottom: 0.65rem;
}

.aside-note p:last-child {
  margin: 0;
  color: #555850;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.55;
}

.related-band {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line);
}

.related-band h2 {
  max-width: 700px;
  margin-bottom: 1.5rem;
}

.related-links {
  display: grid;
  border-top: 1px solid var(--line);
}

.related-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.12rem;
  text-decoration: none;
  transition: color 180ms ease;
}

.related-links a span {
  color: #8b6b43;
  font-family: var(--sans);
  font-size: 0.9rem;
}

.related-links a:hover {
  color: #8b6b43;
}

.site-footer {
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) 0;
  background: var(--dark);
  color: var(--white);
}

.footer-main,
.footer-bottom {
  width: min(100%, var(--page-width));
  margin-inline: auto;
}

.footer-main {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand {
  max-width: 390px;
}

.footer-brand .brand {
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 254, 250, 0.65);
  font-size: 0.83rem;
}

.footer-brand .company-note {
  margin-top: 1.25rem;
  font-size: 0.73rem;
  line-height: 1.8;
}

.company-note strong {
  color: rgba(255, 254, 250, 0.9);
  font-weight: 600;
}

.footer-brand > a:last-child {
  color: var(--gold-light);
  font-size: 0.82rem;
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.footer-links h2 {
  margin-bottom: 0.6rem;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-links a,
.footer-preferences {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 254, 250, 0.72);
  cursor: pointer;
  font-size: 0.82rem;
  text-align: left;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-links a:hover,
.footer-preferences:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-block: 1.1rem;
  border-top: 1px solid var(--line-light);
  color: rgba(255, 254, 250, 0.48);
  font-size: 0.68rem;
}

.cookie-banner {
  position: fixed;
  z-index: 100;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  gap: 1.2rem;
  max-width: 920px;
  margin-inline: auto;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #20221e;
  color: var(--white);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.32);
}

.cookie-message .eyebrow {
  margin-bottom: 0.45rem;
}

.cookie-message p:not(.eyebrow) {
  margin-bottom: 0.45rem;
  color: rgba(255, 254, 250, 0.78);
  font-size: 0.82rem;
}

.cookie-message > a {
  color: var(--gold-light);
  font-size: 0.75rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.cookie-actions .button {
  min-height: 2.65rem;
  padding: 0.6rem 0.8rem;
  font-size: 0.7rem;
}

.cookie-actions .button-glass {
  border-color: rgba(255, 255, 255, 0.4);
}

.text-button {
  padding: 0.5rem;
  border: 0;
  background: none;
  color: var(--gold-light);
  cursor: pointer;
  font-size: 0.76rem;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.preferences-panel {
  position: fixed;
  z-index: 110;
  inset: 0;
  display: flex;
  width: min(100%, 32rem);
  height: 100%;
  margin-left: auto;
  flex-direction: column;
  overflow-y: auto;
  padding: clamp(1.5rem, 5vw, 2.5rem);
  background: var(--white);
  color: var(--ink);
  box-shadow: -1rem 0 3rem rgba(0, 0, 0, 0.25);
}

.preferences-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.preferences-heading h2 {
  margin: 0;
  font-size: 1.8rem;
}

.preferences-panel > p {
  margin-block: 1rem 1.5rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.close-button {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.preference-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.preference-line span {
  display: grid;
  gap: 0.15rem;
}

.preference-line strong {
  font-size: 0.9rem;
}

.preference-line small {
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.preference-line input {
  width: 1.2rem;
  height: 1.2rem;
  accent-color: #9b784b;
}

.save-preferences {
  align-self: flex-start;
  margin-top: 1.25rem;
}

.form-notice {
  position: fixed;
  z-index: 120;
  right: 1rem;
  bottom: 1rem;
  max-width: min(30rem, calc(100% - 2rem));
  padding: 1rem 1.25rem;
  background: var(--dark);
  color: var(--white);
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.25);
}

@media (min-width: 640px) {
  .intro-grid {
    grid-template-columns: 1fr 0.85fr;
    gap: 3rem;
    align-items: end;
  }

  .section-heading,
  .practical-top {
    grid-template-columns: 1fr 0.75fr;
    gap: 2rem;
  }

  .split-card {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: stretch;
  }

  .split-card:nth-child(even) {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .split-card:nth-child(even) > img {
    order: 2;
  }

  .split-card > img {
    height: 100%;
    min-height: 23rem;
  }

  .card-copy {
    align-self: center;
  }

  .practical-points {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .comparison-row {
    grid-template-columns: minmax(10rem, 0.72fr) 2fr auto;
    gap: 1.5rem;
    padding: 1.2rem 0;
  }

  .compare-tag {
    justify-self: end;
    margin-top: 0;
  }

  .related-links {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    border-top: 0;
  }

  .related-links a {
    min-height: 4.5rem;
    border-top: 1px solid var(--line);
    font-size: 1rem;
  }

  .footer-main {
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .cookie-banner {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 1.5rem;
  }

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

  .client-info-grid .client-message {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .site-header {
    min-height: 5.5rem;
    padding-inline: var(--gutter);
  }

  .menu-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(0.75rem, 1.55vw, 1.65rem);
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .primary-nav a {
    padding: 0.55rem 0;
    border: 0;
    font-size: 0.77rem;
    white-space: nowrap;
  }

  .primary-nav .nav-cta {
    align-self: auto;
    margin: 0 0 0 0.25rem;
    padding: 0.68rem 0.8rem;
    border: 1px solid rgba(197, 161, 107, 0.8);
  }

  .brand {
    font-size: 0.86rem;
  }

  .brand-mark {
    width: 2.35rem;
    flex-basis: 2.35rem;
  }

  .editorial-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(3rem, 7vw, 7rem);
  }

  .editorial-image,
  .editorial-image img {
    min-height: 35rem;
  }

  .article-layout {
    grid-template-columns: minmax(0, 2fr) minmax(250px, 0.82fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
  }

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

  .article-aside > img {
    aspect-ratio: 0.78;
  }
}

@media (min-width: 1200px) {
  .guide-list {
    gap: 1.25rem;
  }

  .split-card > img {
    min-height: 25rem;
  }

  .card-copy {
    padding: 3rem;
  }

  .page-hero-copy {
    padding-left: max(var(--gutter), calc((100vw - var(--page-width)) / 2));
  }
}

@media (max-width: 420px) {
  .brand {
    gap: 0.45rem;
    font-size: 0.72rem;
  }

  .brand-mark {
    width: 1.8rem;
    flex-basis: 1.8rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.65rem, 14vw, 3.5rem);
  }

  .button-row {
    align-items: stretch;
  }

  .button-row .button {
    width: 100%;
  }

  .hero-caption {
    right: var(--gutter);
    left: var(--gutter);
    text-align: left;
  }

  .cookie-actions {
    align-items: stretch;
  }

  .cookie-actions .button {
    flex: 1 1 auto;
  }
}

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

@media (prefers-reduced-transparency: reduce) {
  .hero-shade,
  .page-hero-shade,
  .closing-shade {
    background-color: rgba(15, 17, 15, 0.72);
  }
}