/* ==========================================================================
   Popplypickindex: French Grand Touring Luxury
   Aesthetic: Editorial | Card style: Glass overlay
   Spacing scale: 4, 8, 16, 24, 40, 64px
   ========================================================================== */

:root {
  --plum-900: #1f0e1e;
  --plum-800: #2a1329;
  --plum-700: #3b1f3a;
  --plum-500: #6b3f68;
  --champagne: #e8d5a8;
  --champagne-200: #f3e8cc;
  --ivory: #faf6ee;
  --orange: #d98a5b;
  --orange-deep: #a4532a;
  --ink: #24121f;
  --muted: #5a4657;
  --error: #9b1c1c;

  --s1: 4px;
  --s2: 8px;
  --s3: 16px;
  --s4: 24px;
  --s5: 40px;
  --s6: 64px;

  --serif: "Didot", "Bodoni 72", "Bodoni MT", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --rule: 1px solid rgba(59, 31, 58, 0.22);
  --rule-light: 1px solid rgba(232, 213, 168, 0.32);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  margin: 0 0 var(--s3);
  overflow-wrap: anywhere;
}

p {
  margin: 0 0 var(--s3);
}

a {
  color: var(--plum-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--orange-deep);
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--orange-deep);
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  left: var(--s3);
  top: var(--s3);
  z-index: 100;
  padding: var(--s2) var(--s3);
  background: var(--plum-800);
  color: var(--ivory);
  transform: translateY(-200%);
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--s4);
}

.container--narrow {
  max-width: 860px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px var(--s4);
  font-family: var(--sans);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid currentColor;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn--solid {
  background: var(--champagne);
  color: var(--plum-900);
  border-color: var(--champagne);
}

.btn--solid:hover {
  background: var(--ivory);
  color: var(--plum-900);
  border-color: var(--ivory);
}

.btn--ghost {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(232, 213, 168, 0.6);
}

.btn--ghost:hover {
  background: rgba(232, 213, 168, 0.16);
  color: var(--ivory);
  border-color: var(--champagne);
}

.btn--plum {
  background: var(--plum-800);
  color: var(--ivory);
  border-color: var(--plum-800);
}

.btn--plum:hover {
  background: var(--plum-700);
  color: var(--ivory);
  border-color: var(--plum-700);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
}

.btn-row > * {
  min-width: 0;
}

/* ---------- Header ---------- */

.site-header {
  position: relative;
  z-index: 60;
  background: var(--ivory);
  color: var(--ink);
  border-bottom: var(--rule);
}

.site-header__inner {
  min-height: 60px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--s4);
}

.site-header__inner > * {
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.1;
  color: var(--plum-800);
  text-decoration: none;
  overflow-wrap: anywhere;
  min-width: 0;
}

.brand:hover {
  color: var(--plum-700);
}

.brand__mark {
  width: 28px;
  height: 28px;
  flex: none;
}

.brand__name {
  min-width: 0;
  overflow-wrap: anywhere;
}

.site-nav {
  justify-self: center;
  min-width: 0;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: var(--s4);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__list li {
  min-width: 0;
}

.site-nav a {
  display: inline-block;
  padding: var(--s1) 0;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--plum-700);
  border-bottom-color: var(--orange-deep);
}

.site-nav__close {
  display: none;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: var(--s2) var(--s3);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
  color: var(--plum-800);
  border: 1px solid var(--plum-700);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.header-cta:hover {
  background: var(--plum-800);
  color: var(--ivory);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  flex: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  color: var(--plum-800);
  border: 1px solid rgba(59, 31, 58, 0.35);
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-toggle:hover {
  background: var(--plum-800);
  color: var(--ivory);
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 20px;
  height: 14px;
  border-top: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
}

.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
  background: currentColor;
  transform: translateY(-50%);
}

@keyframes navIn {
  0% { opacity: 0; transform: translateY(-12px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ---------- Hero (Luxury Lens Transition) ---------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(540px, 88vh, 880px);
  display: grid;
  align-items: end;
  background: var(--plum-900);
  color: var(--ivory);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  margin: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: lensFocus 3.4s cubic-bezier(0.2, 0.7, 0.1, 1) both;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(217, 138, 91, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(31, 14, 30, 0.45) 0%, rgba(31, 14, 30, 0.7) 45%, rgba(31, 14, 30, 0.95) 100%);
}

.hero__outline {
  position: absolute;
  right: 0;
  bottom: 18%;
  z-index: -1;
  width: min(62%, 760px);
  color: var(--champagne);
  opacity: 0.55;
  animation: lensFocus 3.4s cubic-bezier(0.2, 0.7, 0.1, 1) both;
}

.hero__lens {
  position: absolute;
  top: var(--s5);
  right: var(--s5);
  z-index: -1;
  width: clamp(120px, 18vw, 240px);
  aspect-ratio: 1;
  border: 1px solid rgba(232, 213, 168, 0.45);
  border-radius: 50%;
  animation: lensRing 3.4s cubic-bezier(0.2, 0.7, 0.1, 1) both;
}

.hero__lens::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(217, 138, 91, 0.55);
  border-radius: 50%;
}

.hero__content {
  padding-block: var(--s6);
  min-width: 0;
}

.hero__kicker {
  font-size: 0.8125rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: var(--s4);
  animation: titleSlide 1.4s 0.6s cubic-bezier(0.2, 0.7, 0.1, 1) both;
}

.hero__title {
  font-size: clamp(2.75rem, 9vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: var(--s4);
  color: var(--ivory);
}

.hero__title-line {
  display: block;
  animation: titleSlide 1.6s cubic-bezier(0.2, 0.7, 0.1, 1) both;
}

.hero__title-line:nth-child(1) { animation-delay: 1s; }
.hero__title-line:nth-child(2) { animation-delay: 1.2s; }
.hero__title-line:nth-child(3) { animation-delay: 1.4s; }

.hero__title em {
  font-style: italic;
  color: var(--champagne);
}

.hero__lede {
  max-width: 60ch;
  font-size: 1.125rem;
  color: rgba(250, 246, 238, 0.92);
  margin-bottom: var(--s5);
  animation: titleSlide 1.4s 1.6s cubic-bezier(0.2, 0.7, 0.1, 1) both;
}

.hero .btn-row {
  animation: titleSlide 1.4s 1.8s cubic-bezier(0.2, 0.7, 0.1, 1) both;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s4);
  margin: var(--s6) 0 0;
  padding-top: var(--s4);
  border-top: var(--rule-light);
}

.hero__meta > div {
  min-width: 0;
}

.hero__meta dt {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  color: var(--ivory);
  overflow-wrap: anywhere;
}

.hero__meta dd {
  margin: 12px 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--champagne);
}

.hero :focus-visible,
.page-hero :focus-visible,
.section--plum :focus-visible,
.card :focus-visible,
.site-footer :focus-visible,
.cookie-banner :focus-visible,
.form-success :focus-visible {
  outline-color: var(--champagne);
}

@keyframes lensFocus {
  0% { filter: blur(28px) saturate(0.6) brightness(0.7); transform: scale(1.12); }
  55% { filter: blur(6px) saturate(0.9) brightness(0.9); transform: scale(1.03); }
  100% { filter: blur(0) saturate(1) brightness(1); transform: scale(1); }
}

@keyframes lensRing {
  0% { opacity: 0; transform: scale(1.6); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes titleSlide {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ---------- Sections ---------- */

.section {
  padding-block: var(--s6);
}

.section--plum {
  background: var(--plum-800);
  color: var(--ivory);
}

.section--plum h2,
.section--plum h3 {
  color: var(--ivory);
}

.section--plum a {
  color: var(--champagne);
}

.section--plum a:hover {
  color: var(--ivory);
}

.section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--s4);
  align-items: end;
  padding-bottom: var(--s4);
  margin-bottom: var(--s5);
  border-bottom: var(--rule);
}

.section--plum .section-head {
  border-bottom: var(--rule-light);
}

.section-head__num {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.8;
  color: var(--orange-deep);
}

.section--plum .section-head__num {
  color: var(--orange);
}

.section-head__title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  margin: 0;
}

.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: var(--s3);
}

.section--plum .eyebrow,
.page-hero .eyebrow {
  color: var(--champagne);
}

.intro-text {
  max-width: 68ch;
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: var(--s5);
}

.section--plum .intro-text {
  color: rgba(250, 246, 238, 0.88);
}

/* ---------- Glass overlay cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--s4);
}

.card-grid > .card {
  grid-column: span 2;
}

.card-grid > .card:nth-child(-n+2) {
  grid-column: span 3;
}

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

.card-grid--two > .card,
.card-grid--two > .card:nth-child(-n+2) {
  grid-column: span 1;
  min-height: 400px;
}

.card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 500px;
  min-width: 0;
  overflow: hidden;
  background: var(--plum-800);
  color: var(--ivory);
}

.card__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  margin: 0;
}

.card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.1, 1);
}

.card:hover .card__img {
  transform: scale(1.05);
}

.card__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  margin: var(--s3);
  padding: var(--s4);
  background: rgba(31, 14, 30, 0.8);
  color: var(--ivory);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border: var(--rule-light);
  transition: border-color 0.4s ease;
  min-width: 0;
}

.card:hover .card__panel,
.card:focus-within .card__panel {
  border-color: var(--champagne);
}

.card__tag {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--champagne);
  overflow-wrap: anywhere;
}

.card__title {
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  margin: 0;
}

.card__title a {
  color: var(--ivory);
  text-decoration: none;
}

.card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.card__title a:hover {
  color: var(--champagne);
}

.card__excerpt {
  margin: 0;
  color: rgba(250, 246, 238, 0.9);
}

.card__cta {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--champagne);
  border-bottom: 1px solid var(--orange);
  align-self: flex-start;
  padding-bottom: var(--s1);
}

.card__link-out {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--champagne);
  border-bottom: 1px solid var(--orange);
  text-decoration: none;
  padding-bottom: var(--s1);
}

.card__link-out:hover {
  color: var(--ivory);
}

.card--info {
  min-height: 0;
  padding-top: 200px;
}

.card--info .card__panel a:not(.card__link-out) {
  color: var(--champagne);
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr));
  gap: var(--s4);
  margin: 0;
}

.facts__item {
  min-width: 0;
  border-top: var(--rule-light);
  padding-top: var(--s2);
}

.facts dt {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--champagne);
}

.facts dd {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.3;
  color: var(--ivory);
  overflow-wrap: anywhere;
}

/* ---------- Data tables (stack on mobile) ---------- */

.table-wrap {
  overflow-x: auto;
  margin: var(--s4) 0 var(--s5);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.data-table caption {
  text-align: left;
  font-family: var(--serif);
  font-size: 1.25rem;
  padding-bottom: var(--s3);
}

.data-table th {
  text-align: left;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: var(--s3);
  background: var(--plum-800);
  color: var(--ivory);
}

.data-table td {
  padding: var(--s3);
  vertical-align: top;
  border-bottom: var(--rule);
}

.data-table td:first-child {
  font-family: var(--serif);
  font-size: 1.0625rem;
}

.data-table--dark th {
  background: var(--plum-900);
  color: var(--champagne);
}

.data-table--dark td {
  border-bottom: var(--rule-light);
  color: var(--ivory);
}

/* ---------- Page hero (sub-pages) ---------- */

.page-hero {
  background: var(--plum-800);
  color: var(--ivory);
  padding-block: var(--s6);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: var(--s5);
  align-items: end;
}

.page-hero__grid > * {
  min-width: 0;
}

.page-hero__title {
  font-size: clamp(2.5rem, 7vw, 6rem);
  line-height: 0.98;
  color: var(--ivory);
  margin-bottom: var(--s4);
  animation: titleSlide 1.3s 0.2s cubic-bezier(0.2, 0.7, 0.1, 1) both;
}

.page-hero__lede {
  max-width: 56ch;
  font-size: 1.125rem;
  color: rgba(250, 246, 238, 0.9);
  margin: 0;
}

.mask-arch {
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 4px 4px;
  overflow: hidden;
  border: var(--rule-light);
}

.mask-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: lensFocus 2.8s cubic-bezier(0.2, 0.7, 0.1, 1) both;
}

.page-hero--compact .page-hero__title {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
}

.page-hero--compact .page-hero__lede {
  max-width: 64ch;
}

/* ---------- Article layout ---------- */

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  grid-template-areas: "article aside";
  gap: var(--s5);
  align-items: start;
}

.article-layout > * {
  min-width: 0;
}

.article-aside {
  grid-area: aside;
  position: sticky;
  top: var(--s4);
}

.prose {
  grid-area: article;
  min-width: 0;
}

.prose > p,
.prose li {
  max-width: 68ch;
}

.prose h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-top: var(--s5);
  padding-top: var(--s4);
  border-top: var(--rule);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.375rem;
  margin-top: var(--s4);
}

.prose ul,
.prose ol {
  padding-left: var(--s4);
  margin: 0 0 var(--s4);
}

.prose li {
  margin-bottom: var(--s2);
}

.prose li::marker {
  color: var(--orange-deep);
}

.dropcap::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 4.25rem;
  line-height: 0.85;
  padding: var(--s1) var(--s2) 0 0;
  color: var(--plum-700);
}

.pull-quote {
  margin: var(--s5) 0;
  padding: var(--s2) 0 var(--s2) var(--s4);
  border-left: 2px solid var(--orange-deep);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.2;
  color: var(--plum-700);
  overflow-wrap: anywhere;
}

.pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s4);
  margin: var(--s4) 0 var(--s5);
}

.pros-cons__col {
  min-width: 0;
  border-top: 2px solid var(--plum-700);
  padding-top: var(--s3);
}

.pros-cons__col--cons {
  border-top-color: var(--orange-deep);
}

.pros-cons__col h3 {
  margin-top: 0;
  font-size: 1.25rem;
}

.pros-cons__col ul {
  list-style: none;
  padding: 0;
}

.pros-cons__col li {
  position: relative;
  padding-left: var(--s4);
}

.pros-cons__col li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--plum-700);
  font-weight: 700;
}

.pros-cons__col--cons li::before {
  content: "\2013";
  color: var(--orange-deep);
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s4);
  margin-top: var(--s5);
}

.notes-grid > * {
  min-width: 0;
  border-top: var(--rule-light);
  padding-top: var(--s3);
}

.notes-grid h3 {
  font-size: 1.375rem;
}

.notes-grid p {
  color: rgba(250, 246, 238, 0.88);
  margin: 0;
}

.disclaimer-note {
  margin-top: var(--s5);
  padding: var(--s4);
  border-top: var(--rule);
  border-bottom: var(--rule);
  font-size: 0.9375rem;
  color: var(--muted);
}

/* ---------- Legal ---------- */

.legal .prose h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.legal-meta {
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-top: var(--s4);
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: var(--s5);
  align-items: start;
}

.contact-grid > * {
  min-width: 0;
}

.contact-form {
  min-width: 0;
}

.form-field {
  display: grid;
  gap: var(--s2);
  margin-bottom: var(--s4);
  min-width: 0;
}

.form-field label {
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--plum-700);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-width: 0;
  padding: 12px var(--s3);
  font: inherit;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid rgba(59, 31, 58, 0.45);
  border-radius: 0;
}

.form-field textarea {
  min-height: 160px;
  resize: vertical;
}

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  outline: 2px solid var(--orange-deep);
  outline-offset: 2px;
  border-color: var(--plum-700);
}

.form-field--check {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: var(--s3);
}

.form-field--check input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  padding: 0;
}

.form-field--check label {
  font-size: 0.9375rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

.form-field--check .field-error {
  grid-column: 1 / -1;
}

.form-field.is-invalid input,
.form-field.is-invalid select,
.form-field.is-invalid textarea {
  border-color: var(--error);
  box-shadow: 0 0 0 1px var(--error);
}

.field-error {
  margin: 0;
  font-size: 0.875rem;
  color: var(--error);
}

.form-success {
  margin-top: var(--s4);
  padding: var(--s4);
  background: var(--plum-800);
  color: var(--ivory);
  border-left: 3px solid var(--orange);
}

.form-success a {
  color: var(--champagne);
}

.form-success a:hover {
  color: var(--ivory);
}

.map {
  position: relative;
  isolation: isolate;
  margin: var(--s5) 0 0;
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(0deg, rgba(232, 213, 168, 0.07) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(232, 213, 168, 0.07) 0 1px, transparent 1px 40px),
    linear-gradient(135deg, var(--plum-700), var(--plum-900));
  color: var(--ivory);
  border: 1px solid rgba(59, 31, 58, 0.4);
  overflow: hidden;
}

.map__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.map__label {
  position: absolute;
  left: var(--s3);
  right: var(--s3);
  bottom: var(--s3);
  padding: var(--s3);
  background: rgba(31, 14, 30, 0.85);
  color: var(--ivory);
  border: var(--rule-light);
  font-size: 0.875rem;
}

.map__label strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.125rem;
  margin-bottom: var(--s1);
}

.map__label a {
  color: var(--champagne);
}

.map__label a:hover {
  color: var(--ivory);
}

.map :focus-visible {
  outline-color: var(--champagne);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--plum-900);
  color: var(--ivory);
  padding-block: var(--s6) var(--s5);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: var(--s5);
}

.site-footer__grid > * {
  min-width: 0;
}

.site-footer .brand {
  color: var(--ivory);
  margin-bottom: var(--s3);
}

.site-footer .brand:hover {
  color: var(--champagne);
}

.site-footer__blurb {
  color: rgba(250, 246, 238, 0.8);
  font-size: 0.9375rem;
  max-width: 40ch;
}

.site-footer__heading {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: var(--s3);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: var(--s2);
}

.site-footer a {
  color: var(--ivory);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer a:hover {
  color: var(--champagne);
  text-decoration: underline;
}

.site-footer address {
  font-style: normal;
  font-size: 0.9375rem;
  margin-bottom: var(--s3);
  color: rgba(250, 246, 238, 0.85);
}

.site-footer__small {
  font-size: 0.9375rem;
  color: rgba(250, 246, 238, 0.85);
  overflow-wrap: anywhere;
}

.site-footer__legal {
  margin: var(--s5) 0 0;
  padding-top: var(--s4);
  border-top: var(--rule-light);
  font-size: 0.8125rem;
  color: rgba(250, 246, 238, 0.75);
  overflow-wrap: anywhere;
}

/* ---------- Cookie banner ---------- */

.cookie-banner {
  position: fixed;
  left: var(--s3);
  right: var(--s3);
  bottom: var(--s3);
  z-index: 70;
  max-width: 980px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s4);
  align-items: center;
  padding: var(--s4);
  background: rgba(42, 19, 41, 0.97);
  color: var(--ivory);
  border: var(--rule-light);
  box-shadow: 0 16px 40px rgba(31, 14, 30, 0.35);
}

.cookie-banner > * {
  min-width: 0;
}

.cookie-banner__title {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin: 0 0 var(--s2);
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(250, 246, 238, 0.9);
}

.cookie-banner a {
  color: var(--champagne);
}

.cookie-banner a:hover {
  color: var(--ivory);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  justify-content: flex-end;
}

.cookie-panel {
  grid-column: 1 / -1;
  display: grid;
  gap: var(--s3);
  padding-top: var(--s4);
  border-top: var(--rule-light);
}

.cookie-option {
  display: flex;
  gap: var(--s3);
  align-items: flex-start;
  font-size: 0.9375rem;
}

.cookie-option input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: none;
}

.cookie-panel .btn {
  justify-self: start;
}

/* ---------- Responsive ---------- */

@media (max-width: 1199px) {
  .site-header__inner {
    gap: var(--s3);
  }

  .site-nav__list {
    gap: var(--s3);
  }

  .site-nav a {
    letter-spacing: 0.1em;
  }

  .brand {
    font-size: 1.125rem;
  }
}

/* Collapsed (hamburger) navigation for tablets and phones */
@media (max-width: 1023px) {
  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: var(--s3);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    flex-direction: column;
    gap: var(--s5);
    width: 100%;
    height: 100%;
    height: 100dvh;
    padding: var(--s4);
    padding-bottom: calc(var(--s5) + env(safe-area-inset-bottom, 0px));
    background: var(--plum-800);
    color: var(--ivory);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav.is-open {
    display: flex;
    animation: navIn 0.35s cubic-bezier(0.2, 0.7, 0.1, 1) both;
  }

  .site-nav__close {
    display: inline-flex;
    align-self: flex-end;
    align-items: center;
    flex: none;
    min-height: 44px;
    padding: var(--s2) var(--s3);
    font: inherit;
    font-size: 0.8125rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: transparent;
    color: var(--ivory);
    border: 1px solid rgba(232, 213, 168, 0.6);
    cursor: pointer;
  }

  .site-nav__close:hover {
    background: rgba(232, 213, 168, 0.16);
    color: var(--ivory);
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: 640px;
    margin-inline: auto;
  }

  .site-nav__list li {
    border-bottom: var(--rule-light);
  }

  .site-nav__list li:first-child {
    border-top: var(--rule-light);
  }

  .site-nav a {
    display: block;
    padding: var(--s3) 0;
    font-family: var(--serif);
    font-size: clamp(1.5rem, 6vw, 2.25rem);
    line-height: 1.15;
    letter-spacing: 0;
    text-transform: none;
    white-space: normal;
    overflow-wrap: anywhere;
    color: var(--ivory);
    border-bottom: 0;
  }

  .site-nav a:hover,
  .site-nav a[aria-current="page"] {
    color: var(--champagne);
    border-bottom: 0;
  }

  .site-nav a[aria-current="page"]::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 1px;
    margin-right: var(--s2);
    vertical-align: middle;
    background: var(--orange);
  }

  .site-nav :focus-visible {
    outline-color: var(--champagne);
  }

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

  .card-grid > .card,
  .card-grid > .card:nth-child(-n+2) {
    grid-column: span 1;
  }

  .card-grid > .card:first-child {
    grid-column: span 2;
  }

  .card-grid--two > .card:first-child {
    grid-column: span 1;
  }

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

@media (max-width: 767px) {
  .site-header__inner {
    min-height: 56px;
    gap: var(--s2);
  }

  .brand {
    font-size: 1rem;
  }

  .brand__mark {
    width: 24px;
    height: 24px;
  }

  .header-cta {
    padding: var(--s2) 12px;
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
  }

  .site-nav {
    padding: var(--s3);
    gap: var(--s4);
  }

  .hero__lens {
    top: var(--s4);
    right: var(--s4);
  }

  .hero__outline {
    width: 90%;
    bottom: 40%;
  }

  .hero__meta {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s3);
  }

  .card-grid,
  .card-grid--two {
    grid-template-columns: minmax(0, 1fr);
  }

  .card-grid > .card,
  .card-grid > .card:nth-child(-n+2),
  .card-grid > .card:first-child {
    grid-column: span 1;
  }

  .card {
    min-height: 460px;
  }

  .page-hero__grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .mask-arch {
    max-width: 420px;
    aspect-ratio: 1 / 1;
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "aside" "article";
  }

  .article-aside {
    position: static;
  }

  .pros-cons,
  .notes-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cookie-banner {
    grid-template-columns: minmax(0, 1fr);
  }

  .cookie-banner__actions {
    justify-content: flex-start;
  }

  .data-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table tr {
    padding: var(--s3) 0;
    border-bottom: var(--rule);
  }

  .data-table--dark tr {
    border-bottom: var(--rule-light);
  }

  .data-table td {
    border-bottom: 0;
    padding: var(--s2) var(--s3);
  }

  .data-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: var(--s1);
    font-family: var(--sans);
    font-size: 0.6875rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--orange-deep);
  }

  .data-table--dark td::before {
    color: var(--champagne);
  }
}

@media (max-width: 599px) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 399px) {
  body {
    font-size: 1rem;
  }

  .container {
    padding-inline: var(--s3);
  }

  .site-header__inner {
    min-height: 52px;
    gap: 6px;
  }

  .brand {
    font-size: 0.9375rem;
    gap: var(--s1);
  }

  .brand__mark {
    width: 22px;
    height: 22px;
  }

  .header-cta {
    min-height: 36px;
    padding: 6px var(--s2);
    font-size: 0.625rem;
    letter-spacing: 0.04em;
  }

  .nav-toggle {
    width: 40px;
    height: 36px;
  }

  .card__panel {
    margin: var(--s2);
    padding: var(--s3);
  }

  .card--info {
    padding-top: 140px;
  }

  .section-head {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s3);
  }

  .cookie-banner {
    left: var(--s2);
    right: var(--s2);
    bottom: var(--s2);
    padding: var(--s3);
  }

  .cookie-banner__actions .btn {
    width: 100%;
  }

  .dropcap::first-letter {
    font-size: 3.25rem;
  }
}

/* Very small phones: keep brand + menu only (Contact stays in the menu) */
@media (max-width: 359px) {
  .header-cta {
    display: none;
  }

  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .container {
    padding-inline: 12px;
  }
}

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