/* ShearHold: salon modern design system.
   Bone white ground, deep aubergine ink, rose chrome bezels.
   Marcellus display over Poppins, mirror framed imagery, sheen sweep motion. */

:root {
  /* Core palette from the brand brief */
  --bone: #FAF7F8;
  --surface: #FFFFFF;
  --ink: #1E1620;
  --primary: #4A2340;
  --accent: #E0A2A8;
  --muted: #6F636C;

  /* Derived aubergine ladder */
  --primary-900: #24101F;
  --primary-800: #33172C;
  --primary-700: #3D1D35;
  --primary-600: #4A2340;
  --primary-500: #5E3153;
  --primary-300: #8A6480;
  --primary-100: #E7DCE4;
  --primary-050: #F3ECF1;

  /* Rose chrome ladder */
  --rose-700: #A8757F;
  --rose-600: #C88C95;
  --rose-500: #E0A2A8;
  --rose-300: #EEC6CA;
  --rose-100: #F8E6E8;
  --rose-050: #FDF4F5;

  /* Neutral support */
  --bone-2: #F4EFF2;
  --bone-3: #EBE3E8;
  --line: #E3D8DF;
  --line-strong: #CFBFC9;
  --ink-soft: #40323C;

  /* Chrome gradients: the bezel language of the whole site */
  --chrome: linear-gradient(145deg, #FBEEF0 0%, var(--rose-500) 28%, #C08792 52%, #F6DFE2 74%, var(--rose-600) 100%);
  --chrome-line: linear-gradient(90deg, rgba(224,162,168,0) 0%, var(--rose-500) 22%, #FFFFFF 50%, var(--rose-500) 78%, rgba(224,162,168,0) 100%);
  --sheen: linear-gradient(112deg, rgba(255,255,255,0) 24%, rgba(255,255,255,0.62) 46%, rgba(255,255,255,0.16) 58%, rgba(255,255,255,0) 74%);
  --glass: linear-gradient(160deg, rgba(255,255,255,0.94) 0%, rgba(253,244,245,0.86) 100%);

  /* Type scale, elegant and wide */
  --fs-xs: 0.775rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 1.95rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3.25rem;
  --fs-5xl: 4rem;

  /* Spacing scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 2.75rem;
  --s-8: 3.5rem;
  --s-9: 5rem;
  --s-10: 7rem;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --arch: 48% 48% 14px 14px / 32% 32% 3% 3%;

  --shadow-1: 0 1px 2px rgba(30,22,32,0.05), 0 6px 18px rgba(74,35,64,0.06);
  --shadow-2: 0 2px 6px rgba(30,22,32,0.06), 0 18px 44px rgba(74,35,64,0.10);
  --shadow-3: 0 30px 70px rgba(42,18,37,0.18);

  --wrap: 1180px;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--bone);
  background-image:
    radial-gradient(1100px 520px at 78% -6%, rgba(224,162,168,0.20), transparent 62%),
    radial-gradient(760px 420px at 4% 8%, rgba(74,35,64,0.07), transparent 60%);
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: "Poppins", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--fs-md);
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display, .wordmark-name, .numeral, .price-figure {
  font-family: "Marcellus", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0.004em;
  color: var(--primary-800);
  line-height: 1.16;
}

h1 { font-size: clamp(2.15rem, 5.1vw, var(--fs-5xl)); margin: 0 0 var(--s-5); }
h2 { font-size: clamp(1.8rem, 3.5vw, var(--fs-3xl)); margin: 0 0 var(--s-4); }
h3 { font-size: var(--fs-lg); margin: 0 0 var(--s-2); }
h4 { font-size: var(--fs-base); margin: 0 0 var(--s-2); letter-spacing: 0.04em; }
p { margin: 0 0 var(--s-4); }
a { color: var(--primary-600); text-decoration-color: var(--rose-500); text-underline-offset: 3px; }
a:hover { color: var(--primary-500); }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
ul, ol { margin: 0 0 var(--s-4); padding-left: 1.15rem; }
li { margin-bottom: var(--s-2); }
strong { font-weight: 600; color: var(--primary-700); }
hr { border: 0; height: 1px; background-image: var(--chrome-line); margin: var(--s-7) 0; }

/* Accessibility scaffolding */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: var(--s-4); top: -100px;
  z-index: 999;
  background: var(--primary-600);
  color: #FFFFFF;
  padding: var(--s-3) var(--s-5);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: var(--s-4); color: #FFFFFF; }

:focus-visible {
  outline: 2px solid var(--primary-600);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--primary-600);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(224,162,168,0.42);
}

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, 820px); margin-inline: auto; }

section { padding-block: var(--s-9); position: relative; }
.section-tight { padding-block: var(--s-8); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose-700);
  margin: 0 0 var(--s-4);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background-image: var(--chrome-line);
}
.eyebrow.centered { justify-content: center; }
.lede { font-size: var(--fs-lg); color: var(--ink-soft); line-height: 1.62; }
.muted { color: var(--muted); }
.center { text-align: center; }
.section-head { max-width: 720px; margin-bottom: var(--s-7); }
.section-head.center { margin-inline: auto; }

/* Buttons: aubergine body, chrome edge, sheen sweep on hover */
.btn {
  --btn-bg: var(--primary-600);
  --btn-fg: #FFFFFF;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 0.95rem 1.7rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.35s var(--ease);
  box-shadow: 0 10px 26px rgba(74,35,64,0.22);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -140%;
  width: 120%;
  background: var(--sheen);
  transform: skewX(-16deg);
  transition: left 0.75s var(--ease);
  z-index: -1;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px) scale(1.012); color: var(--btn-fg); }
.btn:hover::after, .btn:focus-visible::after { left: 120%; }
.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--primary-700);
  border-color: var(--line-strong);
  box-shadow: none;
  background-image: var(--glass);
}
.btn-ghost:hover { border-color: var(--rose-500); }
.btn-rose { --btn-bg: var(--rose-500); --btn-fg: var(--primary-900); box-shadow: 0 10px 26px rgba(200,140,149,0.35); }
.btn-block { width: 100%; }
.btn-sm { padding: 0.7rem 1.2rem; font-size: var(--fs-xs); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250,247,248,0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background-image: var(--chrome-line);
  opacity: 0.55;
}
.site-header.is-stuck {
  background: rgba(250,247,248,0.96);
  box-shadow: 0 10px 34px rgba(42,18,37,0.10);
}
.site-header.is-stuck::after { opacity: 1; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  padding-block: 0.85rem;
}
.wordmark { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.wordmark svg { width: 34px; height: 34px; flex: none; }
.wordmark-name {
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  color: var(--primary-800);
  text-transform: uppercase;
}
.wordmark-name span { color: var(--rose-700); }

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.9rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  position: relative;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  text-decoration: none;
  padding-block: 0.4rem;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 50%; right: 50%; bottom: 0;
  height: 1px;
  background: var(--rose-500);
  transition: left 0.35s var(--ease), right 0.35s var(--ease);
}
.nav-list a:hover::after, .nav-list a:focus-visible::after { left: 0; right: 0; }
.header-cta { display: flex; align-items: center; gap: var(--s-3); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* Hero: asymmetric column with a mirror framed photograph */
.hero { padding-top: var(--s-8); padding-bottom: var(--s-9); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.86fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 { text-wrap: balance; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--rose-700) 0%, var(--rose-500) 42%, var(--primary-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lede { max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-6); }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3) var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.trust-strip li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--muted);
  letter-spacing: 0.02em;
}
.trust-strip li::before {
  content: "";
  width: 9px; height: 9px;
  flex: none;
  transform: rotate(45deg);
  background: var(--chrome);
  border-radius: 2px;
}

/* Mirror frame: the signature motif, a chrome bezel around an arched glass */
.mirror {
  position: relative;
  padding: 12px;
  border-radius: var(--arch);
  background: var(--chrome);
  box-shadow: var(--shadow-3);
  isolation: isolate;
  /* the sheen pseudo element sweeps to translateX(75%), so it must be clipped
     here or it widens the document every time the animation passes */
  overflow: hidden;
}
.mirror::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.75);
  z-index: 2;
  pointer-events: none;
}
.mirror::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: inherit;
  background: var(--sheen);
  transform: translateX(-60%) skewX(-12deg);
  opacity: 0.7;
  z-index: 3;
  pointer-events: none;
  animation: sheen-drift 9s var(--ease) infinite;
}
.mirror img {
  border-radius: inherit;
  width: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
}
.mirror-oval { --arch: 46% 46% 46% 46% / 40% 40% 40% 40%; }
.mirror-soft { --arch: 30% 30% 16px 16px / 20% 20% 4% 4%; box-shadow: var(--shadow-2); }

@keyframes sheen-drift {
  0% { transform: translateX(-75%) skewX(-12deg); opacity: 0; }
  22% { opacity: 0.65; }
  55% { transform: translateX(75%) skewX(-12deg); opacity: 0; }
  100% { transform: translateX(75%) skewX(-12deg); opacity: 0; }
}

.hero-figure { position: relative; }
.hero-figure .mirror img { aspect-ratio: 4 / 5; }
.figure-caption {
  position: absolute;
  left: 50%;
  bottom: -26px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  font-size: var(--fs-xs);
  letter-spacing: 0.05em;
  color: var(--primary-700);
  white-space: nowrap;
}
.figure-caption b { font-weight: 600; color: var(--rose-700); }

/* Panels and cards with a sheen sweep on hover */
.panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.panel::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -120%;
  width: 90%;
  background: var(--sheen);
  transform: skewX(-14deg);
  transition: left 0.85s var(--ease);
  z-index: -1;
}
.panel:hover, .panel:focus-within {
  transform: translateY(-4px) scale(1.008);
  box-shadow: var(--shadow-2);
  border-color: var(--rose-300);
}
.panel:hover::after, .panel:focus-within::after { left: 130%; }

.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Cost of the empty chair */
.cost { background: linear-gradient(180deg, transparent 0%, var(--bone-2) 38%, var(--bone-2) 100%); }
.cost-card { padding: var(--s-6) var(--s-5); }
.cost-figure {
  display: block;
  font-family: "Marcellus", Georgia, serif;
  font-size: var(--fs-2xl);
  color: var(--primary-600);
  margin-bottom: var(--s-2);
}
.cost-card p:last-child { margin-bottom: 0; }
.cost-note {
  margin-top: var(--s-6);
  padding: var(--s-5) var(--s-6);
  border-left: 3px solid var(--rose-500);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-1);
}

/* How it works: numbered steps against the section photograph */
.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: var(--s-4);
  padding-bottom: var(--s-6);
  margin: 0;
}
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 33px; top: 62px; bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--rose-500), rgba(224,162,168,0.05));
}
.numeral {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px; height: 68px;
  border-radius: 50%;
  font-size: 1.6rem;
  color: var(--primary-700);
  background: var(--surface);
  border: 1px solid var(--rose-300);
  box-shadow: inset 0 0 0 5px var(--rose-050), var(--shadow-1);
}
.step h3 { margin-top: 0.85rem; }
.step p { margin-bottom: 0; }
.how-figure .mirror img { aspect-ratio: 5 / 4; }

/* Features */
.feature-card { display: flex; flex-direction: column; gap: var(--s-3); }
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: 50% 50% 50% 50% / 46% 46% 54% 54%;
  background: linear-gradient(150deg, var(--rose-050), var(--rose-100));
  border: 1px solid var(--rose-300);
  color: var(--primary-600);
}
.icon-badge svg { width: 26px; height: 26px; }
.feature-card h3 { margin-bottom: 0; }
.feature-card p { margin-bottom: 0; color: var(--ink-soft); font-size: var(--fs-base); }

/* Outcomes */
.outcomes { background: var(--primary-900); color: #F1E7EE; }
.outcomes h2, .outcomes h3 { color: #FFFFFF; }
.outcomes .eyebrow { color: var(--rose-300); }
.outcomes .lede { color: #DDCBD7; }
.outcome {
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(224,162,168,0.28);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}
.outcome::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -120%;
  width: 80%;
  background: linear-gradient(112deg, rgba(255,255,255,0) 26%, rgba(255,255,255,0.18) 48%, rgba(255,255,255,0) 72%);
  transform: skewX(-14deg);
  transition: left 0.85s var(--ease);
  z-index: -1;
}
.outcome:hover { transform: translateY(-4px) scale(1.01); border-color: var(--rose-500); }
.outcome:hover::after { left: 130%; }
.outcome-figure {
  display: block;
  font-family: "Marcellus", Georgia, serif;
  font-size: clamp(2.4rem, 4.4vw, 3.1rem);
  line-height: 1;
  margin-bottom: var(--s-3);
  background: linear-gradient(120deg, #FFFFFF 0%, var(--rose-300) 46%, var(--rose-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.outcome p { color: #D8C7D2; margin-bottom: 0; font-size: var(--fs-base); }

/* Testimonials in mirror framed cards */
.testimonial {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  margin: 0;
  padding: var(--s-7) var(--s-6) var(--s-6);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px 26px var(--radius-lg) var(--radius-lg) / 18px 18px var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.testimonial::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: var(--chrome);
}
.testimonial::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -120%;
  width: 85%;
  background: var(--sheen);
  transform: skewX(-14deg);
  transition: left 0.85s var(--ease);
  z-index: -1;
}
.testimonial:hover { transform: translateY(-4px) scale(1.008); box-shadow: var(--shadow-2); }
.testimonial:hover::after { left: 130%; }
.testimonial p { font-size: var(--fs-base); color: var(--ink-soft); margin: 0; }
.testimonial footer {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  border-top: 1px solid var(--line);
  padding-top: var(--s-4);
  margin-top: auto;
}
.avatar-mark {
  width: 44px; height: 44px;
  flex: none;
  border-radius: 50% 50% 46% 46% / 44% 44% 56% 56%;
  background: var(--chrome);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Marcellus", Georgia, serif;
  font-size: 1rem;
  color: var(--primary-800);
}
.testimonial cite { display: block; font-style: normal; font-weight: 600; color: var(--primary-700); }
.testimonial .role { display: block; font-size: var(--fs-sm); color: var(--muted); line-height: 1.45; }

.results-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-5);
  margin-top: var(--s-7);
  padding: var(--s-6);
  background: var(--glass);
  border: 1px solid var(--rose-300);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}
.result { text-align: center; }
.result b {
  display: block;
  font-family: "Marcellus", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  color: var(--primary-600);
  line-height: 1.05;
}
.result span { font-size: var(--fs-sm); color: var(--muted); }

/* Pricing */
.pricing { background: linear-gradient(180deg, var(--bone-2) 0%, transparent 60%); }
.tier {
  display: flex;
  flex-direction: column;
  padding: var(--s-7) var(--s-6) var(--s-6);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.tier::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -120%;
  width: 85%;
  background: var(--sheen);
  transform: skewX(-14deg);
  transition: left 0.85s var(--ease);
  z-index: -1;
}
.tier:hover { transform: translateY(-5px) scale(1.01); box-shadow: var(--shadow-2); border-color: var(--rose-300); }
.tier:hover::after { left: 130%; }
.tier-featured {
  border-color: var(--primary-600);
  box-shadow: 0 26px 60px rgba(74,35,64,0.20);
}
.tier-featured::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 5px;
  background: var(--chrome);
}
.tier-flag {
  position: absolute;
  top: var(--s-5);
  right: var(--s-5);
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-800);
  background: linear-gradient(150deg, var(--rose-300), var(--rose-500));
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
}
.tier h3 { font-size: var(--fs-xl); margin-bottom: var(--s-1); }
.tier-for { font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--s-4); }
.price-figure {
  font-size: clamp(2.5rem, 4.6vw, 3.4rem);
  color: var(--primary-700);
  line-height: 1;
}
.price-figure span {
  font-family: "Poppins", Arial, sans-serif;
  font-size: var(--fs-sm);
  color: var(--muted);
  letter-spacing: 0.04em;
}
.tier-list { list-style: none; margin: var(--s-5) 0 var(--s-6); padding: 0; }
.tier-list li {
  position: relative;
  padding-left: 1.7rem;
  font-size: var(--fs-base);
  color: var(--ink-soft);
}
.tier-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 10px; height: 10px;
  background: var(--chrome);
  transform: rotate(45deg);
  border-radius: 2px;
}
.tier .btn { margin-top: auto; }
.billing-note {
  margin-top: var(--s-6);
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--muted);
}

/* FAQ accordion */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-5) var(--s-2);
  background: none;
  border: 0;
  font-family: "Marcellus", Georgia, serif;
  font-size: var(--fs-lg);
  line-height: 1.35;
  color: var(--primary-800);
  text-align: left;
  cursor: pointer;
  transition: color 0.3s var(--ease);
}
.faq-q:hover { color: var(--rose-700); }
.faq-icon {
  position: relative;
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--rose-300);
  background: var(--rose-050);
  transition: transform 0.4s var(--ease), background-color 0.3s var(--ease);
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 1.5px;
  background: var(--primary-600);
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon { background: var(--rose-300); transform: rotate(180deg); }
.faq-q[aria-expanded="true"] .faq-icon::after { opacity: 0; }
.faq-a { padding: 0 var(--s-2) var(--s-5); max-width: 76ch; }
.faq-a p { margin-bottom: 0; color: var(--ink-soft); font-size: var(--fs-base); }
.faq-a[hidden] { display: none; }

/* Contact form */
.contact { background: linear-gradient(180deg, transparent, var(--primary-050) 45%); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-aside .panel { padding: var(--s-6); }
.contact-aside ul { list-style: none; padding: 0; margin: 0; }
.contact-aside li { display: flex; gap: var(--s-3); font-size: var(--fs-base); color: var(--ink-soft); }
.contact-aside li svg { width: 20px; height: 20px; flex: none; color: var(--rose-700); margin-top: 4px; }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, var(--s-7));
  box-shadow: var(--shadow-2);
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: var(--chrome);
}
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: var(--s-4); }
.field label { font-size: var(--fs-sm); font-weight: 500; color: var(--primary-700); letter-spacing: 0.02em; }
.field .hint { font-size: var(--fs-xs); color: var(--muted); font-weight: 400; }
input[type="text"], input[type="email"], select, textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  font-family: inherit;
  font-size: var(--fs-base);
  color: var(--ink);
  background: var(--bone);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}
input:hover, select:hover, textarea:hover { border-color: var(--rose-500); }
input:focus, select:focus, textarea:focus { background: var(--surface); }
textarea { min-height: 132px; resize: vertical; }
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--primary-600) 50%), linear-gradient(135deg, var(--primary-600) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.6rem;
}
[aria-invalid="true"] { border-color: #A3253C; box-shadow: 0 0 0 3px rgba(163,37,60,0.12); }
.error-text {
  display: none;
  font-size: var(--fs-xs);
  color: #8E2036;
  font-weight: 500;
}
.error-text.is-visible { display: block; }
.consent { display: flex; align-items: flex-start; gap: 0.7rem; margin-bottom: var(--s-5); }
.consent input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--primary-600); flex: none; }
.consent label { font-size: var(--fs-sm); color: var(--ink-soft); font-weight: 400; }
.form-reassure { margin-top: var(--s-4); font-size: var(--fs-sm); color: var(--muted); }

/* Author byline */
.byline {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-5) var(--s-6);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--rose-500);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  font-size: var(--fs-sm);
  color: var(--muted);
}
.byline .avatar-mark { width: 46px; height: 46px; }

/* Footer */
.site-footer {
  background: var(--primary-900);
  color: #D9C9D4;
  padding-top: var(--s-9);
  margin-top: var(--s-9);
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: var(--chrome);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.25fr;
  gap: var(--s-6);
  padding-bottom: var(--s-8);
}
.site-footer h2, .site-footer h3 { color: #FFFFFF; }
.site-footer h3 {
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 600;
  color: var(--rose-300);
  margin-bottom: var(--s-4);
}
.site-footer .wordmark-name { color: #FFFFFF; }
.site-footer .wordmark-name span { color: var(--rose-300); }
.footer-note { font-size: var(--fs-sm); color: #C4B2BF; max-width: 34ch; margin-top: var(--s-4); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
  color: #D9C9D4;
  font-size: var(--fs-sm);
  text-decoration: none;
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.footer-links a:hover, .footer-links a:focus-visible { color: #FFFFFF; padding-left: 4px; }
.social-row { display: flex; gap: 0.6rem; margin-top: var(--s-5); }
.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(224,162,168,0.4);
  color: #EBD9E1;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease), color 0.3s var(--ease);
}
.social-row a:hover { background: var(--rose-500); color: var(--primary-900); transform: translateY(-2px) scale(1.05); }
.social-row svg { width: 18px; height: 18px; }
.footer-base {
  border-top: 1px solid rgba(224,162,168,0.22);
  padding-block: var(--s-5);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-3);
  font-size: var(--fs-sm);
  color: #B7A4B2;
}
.footer-base a { color: var(--rose-300); }

/* Interior pages */
.page-hero {
  padding-top: var(--s-8);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(224,162,168,0.14), transparent);
}
.breadcrumbs { font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--s-4); }
.breadcrumbs a { text-decoration: none; }
.prose { max-width: 74ch; }
.prose h2 { margin-top: var(--s-7); }
.prose h3 { margin-top: var(--s-5); }
.prose ul { padding-left: 1.3rem; }
.doc-meta {
  display: inline-block;
  font-size: var(--fs-sm);
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-pill);
  padding: 0.35rem 1rem;
  margin-bottom: var(--s-5);
}
.author-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.author-portrait .mirror img { aspect-ratio: 3 / 4; }
.fact-list { list-style: none; padding: 0; margin: 0; }
.fact-list li { display: flex; flex-wrap: wrap; gap: 0.5rem; border-bottom: 1px dashed var(--line); padding-bottom: 0.6rem; }
.fact-list b { min-width: 190px; color: var(--primary-700); font-weight: 600; }
.map-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
.map-card ul { list-style: none; padding: 0; margin: 0; }
.map-card li { border-bottom: 1px solid var(--line); padding-bottom: 0.7rem; }
.map-card li:last-child { border-bottom: 0; padding-bottom: 0; }
.map-card a { font-weight: 500; text-decoration: none; }
.map-card span { display: block; font-size: var(--fs-sm); color: var(--muted); line-height: 1.5; }
.status-mark {
  font-family: "Marcellus", Georgia, serif;
  font-size: clamp(4rem, 12vw, 7rem);
  line-height: 1;
  background: linear-gradient(120deg, var(--primary-600), var(--rose-500) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: var(--s-4);
}

/* Mirrored reveal: content opens outward from its own center line.
   Scoped to .js so the page reads normally when scripting is off. */
.js .reveal {
  opacity: 0;
  clip-path: inset(0 46% 0 46%);
  transform: translateY(18px);
  transition: opacity 0.85s var(--ease), clip-path 0.95s var(--ease), transform 0.85s var(--ease);
}
.reveal.is-visible { opacity: 1; clip-path: inset(0 0 0 0); transform: none; }
.reveal-2 { transition-delay: 0.09s; }
.reveal-3 { transition-delay: 0.18s; }
.reveal-4 { transition-delay: 0.27s; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .how-grid, .contact-grid, .author-layout { grid-template-columns: minmax(0, 1fr); }
  .how-figure { order: -1; max-width: 560px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-figure { max-width: 480px; margin-inline: auto; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-2);
    padding: var(--s-5) var(--s-5) var(--s-6);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: var(--s-4); }
  .nav-list a { font-size: var(--fs-md); }
  .header-cta .btn { display: none; }
  section { padding-block: var(--s-8); }
  .grid-3, .grid-2, .grid-4, .map-grid, .results-strip { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 520px) {
  body { font-size: var(--fs-base); }
  .wrap, .wrap-narrow { width: min(100% - 1.6rem, var(--wrap)); }
  .panel, .tier, .testimonial { padding: var(--s-5); }
  .step { grid-template-columns: 54px minmax(0, 1fr); }
  .numeral { width: 54px; height: 54px; font-size: 1.25rem; }
  .step:not(:last-child)::before { left: 26px; top: 50px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .figure-caption { white-space: normal; text-align: center; width: 88%; }
  .fact-list b { min-width: 100%; }
}

@media print {
  .site-header, .site-footer, .btn, .nav-toggle { display: none; }
  body { background: #FFFFFF; color: #000000; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; clip-path: none; transform: none; }
  .mirror::after { animation: none; opacity: 0.25; transform: none; }
  .panel:hover, .tier:hover, .testimonial:hover, .outcome:hover, .btn:hover { transform: none; }
}

/* ============================================================
   The Rented Chair: the magazine layer.
   Built only from the tokens above. Chrome bezels, sheen sweep,
   Marcellus headlines over Poppins text, no new colors.
   ============================================================ */

/* --- Magazine index hero --- */
.mag-index-hero {
  background: linear-gradient(180deg, rgba(224,162,168,0.17), transparent 82%);
  padding-bottom: var(--s-8);
}
.mag-index-hero h1 { max-width: 15ch; text-wrap: balance; }
.mag-standfirst { max-width: 62ch; color: var(--ink-soft); }
.mag-index-facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-6);
  list-style: none;
  margin: var(--s-6) 0 0;
  padding: var(--s-5) 0 0;
  border-top: 1px solid var(--line);
}
.mag-index-facts li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--muted);
  letter-spacing: 0.02em;
}
.mag-index-facts li::before {
  content: "";
  width: 9px; height: 9px;
  flex: none;
  transform: rotate(45deg);
  background: var(--chrome);
  border-radius: 2px;
}

/* --- The card grid --- */
.mag-index { padding-top: var(--s-8); }
.mag-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-6) var(--s-5);
  align-items: start;
}

.mag-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.mag-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--chrome);
  z-index: 4;
}
.mag-card::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -120%;
  width: 88%;
  background: var(--sheen);
  transform: skewX(-14deg);
  transition: left 0.85s var(--ease);
  z-index: -1;
}
.mag-card:hover, .mag-card:focus-within {
  transform: translateY(-4px) scale(1.008);
  box-shadow: var(--shadow-2);
  border-color: var(--rose-300);
}
.mag-card:hover::after, .mag-card:focus-within::after { left: 130%; }

.mag-card-media { margin: 0; overflow: hidden; background: var(--bone-3); }
.mag-card-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
  transition: transform 0.7s var(--ease);
}
.mag-card:hover .mag-card-media img { transform: scale(1.035); }

.mag-card-body {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-5) var(--s-5) var(--s-6);
}
.mag-card-kicker {
  margin: 0;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose-700);
}
.mag-card-title {
  margin: 0;
  font-size: var(--fs-xl);
  line-height: 1.24;
}
.mag-card-title a { color: var(--primary-800); text-decoration: none; }
.mag-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.mag-card:hover .mag-card-title a, .mag-card-title a:focus-visible { color: var(--rose-700); }
.mag-card-dek { margin: 0; font-size: var(--fs-base); color: var(--ink-soft); line-height: 1.62; }
.mag-card-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: var(--s-2) 0 0;
  font-size: var(--fs-xs);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}
.mag-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--rose-500); flex: none; }

/* The first article of the issue runs across the full measure */
.mag-card.lead {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: stretch;
}
.mag-card.lead .mag-card-media { height: 100%; }
.mag-card.lead .mag-card-media img { height: 100%; aspect-ratio: 16 / 10; }
.mag-card.lead .mag-card-body {
  justify-content: center;
  gap: var(--s-3);
  padding: var(--s-7) var(--s-7) var(--s-7) var(--s-6);
}
.mag-card.lead .mag-card-title { font-size: clamp(1.7rem, 3.1vw, var(--fs-3xl)); line-height: 1.16; }
.mag-card.lead .mag-card-dek { font-size: var(--fs-lg); line-height: 1.6; }

/* --- Article header --- */
.mag-article-head {
  padding-top: var(--s-7);
  padding-bottom: var(--s-6);
  background: linear-gradient(180deg, rgba(224,162,168,0.16), transparent);
}
.mag-crumbs { display: block; margin-bottom: var(--s-4); }
.mag-crumbs span { color: var(--primary-700); }
.mag-angle { margin-bottom: var(--s-3); }
.mag-title {
  font-size: clamp(2rem, 4.2vw, var(--fs-4xl));
  max-width: 21ch;
  text-wrap: balance;
  margin-bottom: var(--s-4);
}
.mag-article-head .mag-standfirst { max-width: 58ch; font-size: var(--fs-lg); }

.mag-byline {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}
.mag-byline .avatar-mark { width: 46px; height: 46px; flex: none; }
.mag-byline-text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.75rem;
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.mag-byline-text a {
  color: var(--primary-700);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--rose-300);
}
.mag-byline-text a:hover { color: var(--rose-700); border-bottom-color: var(--rose-500); }
.mag-byline-sep { display: inline-block; width: 1px; height: 13px; background: var(--line-strong); }
.mag-read { color: var(--rose-700); font-weight: 500; }

/* --- Featured photograph, framed like every other image on the site --- */
.mag-figure-wrap { margin-top: var(--s-6); }
.mag-figure { --arch: 13% 13% 16px 16px / 9% 9% 3% 3%; margin: 0; }
.mag-figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* --- Article body: a readable measure and a clear vertical rhythm --- */
.mag-shell { position: relative; }
.mag-body {
  max-width: 68ch;
  margin-inline: auto;
  padding-top: var(--s-7);
  font-size: var(--fs-md);
  line-height: 1.76;
  color: var(--ink-soft);
}
.mag-body > h2 {
  position: relative;
  font-size: clamp(1.55rem, 2.9vw, var(--fs-2xl));
  line-height: 1.22;
  margin: var(--s-8) 0 var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}
.mag-body > h2::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 64px; height: 2px;
  background: var(--chrome);
}
.mag-body > h2:first-child { margin-top: 0; }
.mag-body h3 { font-size: var(--fs-lg); color: var(--primary-700); margin: var(--s-6) 0 var(--s-3); }
.mag-body p { margin: 0 0 var(--s-5); }
.mag-body ul, .mag-body ol { margin: 0 0 var(--s-5); padding-left: 1.35rem; }
.mag-body li { margin-bottom: var(--s-3); }
.mag-body li::marker { color: var(--rose-700); }
.mag-body strong { color: var(--primary-700); font-weight: 600; }
.mag-body a {
  color: var(--primary-600);
  text-decoration: underline;
  text-decoration-color: var(--rose-500);
  text-underline-offset: 3px;
}
.mag-body a:hover { color: var(--rose-700); }
.mag-body blockquote {
  margin: var(--s-6) 0;
  padding: var(--s-5) var(--s-6);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--rose-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-1);
  font-family: "Marcellus", "Cormorant Garamond", Georgia, serif;
  font-size: var(--fs-lg);
  line-height: 1.5;
  color: var(--primary-800);
}
.mag-body blockquote p:last-child { margin-bottom: 0; }
.mag-body table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--s-6) 0;
  font-size: var(--fs-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.mag-body caption { caption-side: bottom; padding-top: var(--s-3); font-size: var(--fs-xs); color: var(--muted); text-align: left; }
.mag-body th, .mag-body td { padding: 0.72rem 0.95rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.mag-body thead th {
  background: var(--primary-050);
  color: var(--primary-800);
  font-family: "Marcellus", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.03em;
}
.mag-body tbody tr:nth-child(even) { background: var(--bone-2); }
.mag-body tbody tr:last-child td { border-bottom: 0; }

/* --- The contextual read on link dropped between sections --- */
.inline-read {
  position: relative;
  margin: var(--s-6) 0;
  padding: var(--s-4) var(--s-5) var(--s-4) var(--s-6);
  background: var(--glass);
  border: 1px solid var(--rose-300);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
  color: var(--primary-700);
  overflow: hidden;
}
.inline-read::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--chrome);
}
.inline-read a { font-weight: 500; color: var(--primary-600); }
.inline-read a:hover { color: var(--rose-700); }

/* --- Call to action at the foot of every article --- */
.mag-cta {
  position: relative;
  margin: var(--s-8) 0 0;
  padding: var(--s-7) var(--s-6);
  background: linear-gradient(158deg, var(--primary-800) 0%, var(--primary-900) 100%);
  color: #EBDCE5;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  overflow: hidden;
  isolation: isolate;
}
.mag-cta::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--chrome);
}
.mag-cta::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -120%;
  width: 82%;
  background: linear-gradient(112deg, rgba(255,255,255,0) 26%, rgba(255,255,255,0.16) 48%, rgba(255,255,255,0) 72%);
  transform: skewX(-14deg);
  transition: left 0.85s var(--ease);
  z-index: -1;
}
.mag-cta:hover::after { left: 130%; }
.mag-cta .eyebrow { color: var(--rose-300); }
.mag-cta h2 {
  color: #FFFFFF;
  font-size: clamp(1.5rem, 2.7vw, var(--fs-2xl));
  line-height: 1.2;
  max-width: 24ch;
  margin: 0 0 var(--s-4);
}
.mag-cta p { color: #D8C7D2; max-width: 58ch; font-size: var(--fs-base); }
.mag-cta .btn {
  --btn-bg: var(--rose-500);
  --btn-fg: var(--primary-900);
  margin-top: var(--s-2);
  box-shadow: 0 10px 26px rgba(20,8,17,0.34);
}
.mag-cta .btn, .mag-cta .btn:hover, .mag-cta .btn:focus-visible {
  color: var(--primary-900);
  text-decoration: none;
}
.mag-cta-index { margin-top: var(--s-8); }

/* --- Author box --- */
.author-box {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: var(--s-5) var(--s-6);
  align-items: start;
  margin-top: var(--s-7);
  padding: var(--s-6);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}
.author-box-portrait {
  padding: 7px;
  border-radius: 46% 46% 46% 46% / 40% 40% 40% 40%;
  background: var(--chrome);
  box-shadow: var(--shadow-1);
}
.author-box-portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: inherit;
}
.author-box .eyebrow { margin-bottom: var(--s-2); }
.author-box h2 { font-size: var(--fs-xl); margin: 0 0 var(--s-3); }
.author-box p { font-size: var(--fs-base); color: var(--ink-soft); margin-bottom: var(--s-3); }
.author-box-link { margin-bottom: 0; font-size: var(--fs-sm); }

/* --- Read also --- */
.mag-related {
  margin-top: var(--s-7);
  padding-block: var(--s-8);
  background: linear-gradient(180deg, transparent, var(--bone-2) 32%);
}
.mag-related-head { margin-bottom: var(--s-6); }
.rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.rel-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.rel-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--chrome);
  z-index: 4;
}
.rel-card::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -120%;
  width: 88%;
  background: var(--sheen);
  transform: skewX(-14deg);
  transition: left 0.85s var(--ease);
  z-index: -1;
}
.rel-card:hover, .rel-card:focus-within {
  transform: translateY(-4px) scale(1.008);
  box-shadow: var(--shadow-2);
  border-color: var(--rose-300);
}
.rel-card:hover::after, .rel-card:focus-within::after { left: 130%; }
.rel-card-media { margin: 0; overflow: hidden; background: var(--bone-3); }
.rel-card-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(1.04);
  transition: transform 0.7s var(--ease);
}
.rel-card:hover .rel-card-media img { transform: scale(1.04); }
.rel-card-body { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-5); }
.rel-card-title { font-size: var(--fs-lg); line-height: 1.28; margin: 0; }
.rel-card-title a { color: var(--primary-800); text-decoration: none; }
.rel-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.rel-card:hover .rel-card-title a, .rel-card-title a:focus-visible { color: var(--rose-700); }
.rel-card-dek {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rel-card-meta {
  margin: 0;
  font-size: var(--fs-xs);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--rose-700);
}
.mag-related-all { margin: var(--s-6) 0 0; text-align: center; font-size: var(--fs-sm); }

/* --- Magazine strip on the home page --- */
.magazine { background: linear-gradient(180deg, transparent 0%, var(--bone-2) 42%, var(--bone-2) 100%); }
.magazine-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-4); max-width: none; }
.magazine-head .section-head { margin-bottom: 0; }
.magazine-more { margin: var(--s-6) 0 0; text-align: center; }

/* --- Article list on the author page --- */
.mag-list { list-style: none; margin: var(--s-5) 0 0; padding: 0; border-top: 1px solid var(--line); }
.mag-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem var(--s-4);
  margin: 0;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.mag-list a { font-weight: 500; color: var(--primary-700); text-decoration: none; }
.mag-list a:hover { color: var(--rose-700); text-decoration: underline; text-decoration-color: var(--rose-500); }
.mag-list time { font-size: var(--fs-sm); color: var(--muted); white-space: nowrap; }

/* --- Magazine responsive behavior, down to a 360 pixel viewport --- */
@media (max-width: 1024px) {
  .mag-grid, .rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mag-card.lead { grid-template-columns: minmax(0, 1fr); }
  .mag-card.lead .mag-card-media img { height: auto; aspect-ratio: 3 / 2; }
  .mag-card.lead .mag-card-body { padding: var(--s-6) var(--s-5) var(--s-7); }
  .author-box { grid-template-columns: 112px minmax(0, 1fr); }
}

@media (max-width: 860px) {
  .mag-grid, .rel-grid { grid-template-columns: minmax(0, 1fr); }
  .mag-body { padding-top: var(--s-6); }
  .mag-title { max-width: none; }
  .mag-related { margin-top: var(--s-7); }
}

@media (max-width: 520px) {
  .mag-card-body, .rel-card-body { padding: var(--s-5) var(--s-4) var(--s-5); }
  .mag-card.lead .mag-card-body { padding: var(--s-5) var(--s-4) var(--s-6); }
  .mag-card-title { font-size: var(--fs-lg); }
  .mag-card.lead .mag-card-dek { font-size: var(--fs-base); }
  .mag-cta { padding: var(--s-6) var(--s-5); border-radius: var(--radius); }
  .mag-cta .btn { width: 100%; }
  .author-box { grid-template-columns: minmax(0, 1fr); padding: var(--s-5); }
  .author-box-portrait { width: 124px; }
  .mag-body { font-size: var(--fs-base); }
  .mag-body > h2 { margin-top: var(--s-7); }
  .mag-body table { display: block; overflow-x: auto; }
  .mag-body blockquote { padding: var(--s-4) var(--s-5); font-size: var(--fs-md); }
  .mag-byline { align-items: flex-start; }
  .mag-byline-sep { display: none; }
  .mag-index-facts { flex-direction: column; gap: var(--s-2); }
  .mag-figure { --arch: 8% 8% 12px 12px / 6% 6% 3% 3%; padding: 8px; }
  .inline-read { padding: var(--s-4) var(--s-4) var(--s-4) var(--s-5); }
  .magazine-head { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .mag-card:hover, .rel-card:hover { transform: none; }
  .mag-card:hover .mag-card-media img, .rel-card:hover .rel-card-media img { transform: none; }
}



/* Network strip: five sibling products, rotated so every site is linked the same
   number of times. Spans the full footer grid rather than adding a fifth column,
   because each footer declares a fixed column count and a fifth item would wrap. */
.site-network { grid-column: 1 / -1; flex-basis: 100%; width: 100%;
  margin-top: 1.6rem; padding-top: 1.2rem;
  border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent); }
/* Heading and links carry their own footer ink. Without an explicit colour the
   links fell back to the global a { color: var(--primary-600) }, which is the same
   dark aubergine family as the --primary-900 footer ground, so they read as unlit.
   Rose ladder tones, full opacity and a little extra weight instead. */
.site-network h2 { font: inherit; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase; margin: 0 0 0.7rem;
  color: var(--rose-300); }
/* One row, always. Five brand names on a single line; when the footer column is
   too narrow for them the row scrolls sideways instead of wrapping. */
.site-network ul { list-style: none; margin: 0; padding: 0 0 0.35rem;
  display: flex; flex-wrap: nowrap; align-items: center; gap: 1.5rem;
  overflow-x: auto; overflow-y: hidden;
  -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.site-network li { margin: 0; flex: 0 0 auto; }
.site-network a { color: var(--rose-100); font-size: 0.86rem; font-weight: 500;
  text-decoration: none; white-space: nowrap;
  border-bottom: 1px solid transparent; }
.site-network a:hover, .site-network a:focus-visible { color: var(--surface); border-bottom-color: currentColor; }
@media (max-width: 620px) { .site-network ul { gap: 1.1rem; } }


/* Decorative bleed guard. Several sections intentionally hang a rotated or offset
   pseudo element past the viewport edge. overflow-x: clip contains them without
   creating a scroll container, so position: sticky keeps working, unlike overflow
   hidden. Genuine content overflow is still reported by the element level check in
   the browser pass. */
html { overflow-x: clip; }
body { overflow-x: clip; }


/* Wide content on phones. Class names for the prose wrapper differ from site to site,
   so this targets tables and pre blocks directly: they scroll inside their own box
   rather than pushing cells past the right edge, per the build contract. */
@media (max-width: 700px) {
  table { display: block; width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  th, td { overflow-wrap: anywhere; }
  pre { overflow-x: auto; max-width: 100%; }
}
