/* ==========================================================================
   Potch Trauma Recovery - Stylesheet
   Pure CSS, no frameworks. Palette taken from the logo (ink indigo + crimson)
   and the original web banner (marigold). The dotted path in the logo is the
   one recurring motif; everything else stays quiet.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  --ink: #1f1650;            /* logo indigo */
  --ink-deep: #150e3a;
  --crimson: #a3204a;        /* logo crimson */
  --crimson-deep: #861838;
  --marigold: #f5b700;       /* banner yellow, decorative only */
  --paper: #faf9fc;
  --mist: #eeebf5;
  --line: #dcd7e8;
  --text: #2b2742;
  --muted: #5f5a75;
  --white: #ffffff;
  --whatsapp: #1c8c4e;       /* darker than brand green so white text passes AA */

  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* Type scale (perfect fourth, 1.333) */
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.333rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 1.875rem);
  --step-3: clamp(1.875rem, 1.4rem + 2vw, 2.5rem);
  --step-4: clamp(2.375rem, 1.6rem + 3.4vw, 3.75rem);

  --gutter: clamp(16px, 4vw, 40px);
  --page: 1180px;
  --measure: 38rem;
  --radius: 6px;
  --header-h: 84px;
}

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

* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

main {
  flex: 1;
}

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

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--crimson);
}

:focus-visible {
  outline: 3px solid var(--crimson);
  outline-offset: 3px;
  border-radius: 2px;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.3; }

p {
  text-wrap: pretty;
}

ul {
  list-style: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.page-width {
  width: 100%;
  max-width: calc(var(--page) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(56px, 8vw, 104px);
}

.section--mist {
  background: var(--mist);
}

.section--ink {
  background: var(--ink);
  color: #dcd8f0;
}

.section--ink h2,
.section--ink h3 {
  color: var(--white);
}

.section-intro {
  max-width: var(--measure);
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-intro h2 {
  margin-bottom: 16px;
}

.section-intro p {
  color: var(--muted);
  font-size: 1.125rem;
}

/* Long-form writing in Haroldine's own voice is set in the serif */
.prose {
  max-width: var(--measure);
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  line-height: 1.7;
}

.prose p + p,
.prose p + ul,
.prose ul + p {
  margin-top: 1em;
}

.prose h2 {
  font-size: var(--step-2);
  margin: 1.8em 0 0.6em;
}

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

.prose ul li {
  position: relative;
  padding-left: 1.4em;
}

.prose ul li + li {
  margin-top: 0.35em;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0.2em;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--crimson);
}

.prose .lede {
  font-size: 1.375rem;
  line-height: 1.5;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

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

.button--primary:hover {
  background: var(--crimson-deep);
  color: var(--white);
}

.button--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.button--secondary:hover {
  background: var(--ink);
  color: var(--white);
}

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

.button--whatsapp:hover {
  background: #15703e;
  color: var(--white);
}

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

.section--ink .button--secondary:hover {
  background: var(--white);
  color: var(--ink);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.wa-icon {
  width: 20px;
  height: 20px;
  flex: none;
}

/* --------------------------------------------------------------------------
   Crisis bar & header
   -------------------------------------------------------------------------- */
.crisis-bar {
  background: var(--ink-deep);
  color: #cfcae6;
  font-size: var(--step--1);
  padding-block: 8px;
}

.crisis-bar p {
  text-align: center;
}

.crisis-bar a {
  color: var(--white);
  font-weight: 600;
  white-space: nowrap;
}

.crisis-bar a:hover {
  color: var(--marigold);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 252, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.site-logo img {
  width: 56px;
  height: 56px;
}

.site-logo-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.1;
}

.nav-desktop {
  display: none;
}

.nav-list {
  display: flex;
  gap: 4px;
}

.nav-item a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-item a:hover {
  color: var(--ink);
  background: var(--mist);
}

.nav-item a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--crimson);
  border-radius: 0;
}

.nav-desktop .button {
  min-height: 42px;
  padding: 8px 18px;
  font-size: 0.9375rem;
}

@media (min-width: 1080px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 20px;
  }
}

/* Mobile toggle & drawer */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
}

.nav-toggle-bars {
  display: grid;
  gap: 4px;
}

.nav-toggle-bars span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle.open .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 1080px) {
  .nav-toggle {
    display: none;
  }
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(21, 14, 58, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  width: min(360px, 88vw);
  padding: 24px;
  background: var(--paper);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0.3s ease;
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-nav-links {
  margin-top: 24px;
}

.mobile-nav-links a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.375rem;
  text-decoration: none;
}

.mobile-nav-links a[aria-current="page"] {
  color: var(--crimson);
}

.mobile-nav-drawer .button {
  margin-top: auto;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Home hero: headline beside an arch portrait, joined by the logo's
   rising dotted path. This is the page's one orchestrated moment.
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 112px);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero__copy h1 {
  max-width: 13ch;
  font-size: clamp(2.6rem, 1.6rem + 4.4vw, 4.75rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.hero__copy p {
  max-width: 34rem;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.1875rem;
}

.hero__copy .button-row {
  margin-top: 32px;
}

.hero__visual {
  position: relative;
  justify-self: center;
  width: min(100%, 420px);
}

.arch {
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  background: var(--mist);
}

.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__visual .arch {
  position: relative;
  z-index: 1;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 2px solid var(--marigold);
  border-radius: 999px 999px var(--radius) var(--radius);
}

.dot-path {
  position: absolute;
  left: -46%;
  bottom: -4%;
  z-index: 2;
  width: 70%;
  pointer-events: none;
}

.dot-path circle {
  transform-box: fill-box;
  transform-origin: center;
}

.dot-path .c { fill: var(--crimson); }
.dot-path .i { fill: var(--ink); }
.dot-path .m { fill: var(--marigold); }

@media (prefers-reduced-motion: no-preference) {
  .dot-path circle {
    opacity: 0;
    transform: scale(0.2);
    animation: dot-rise 0.5s cubic-bezier(0.3, 1.4, 0.5, 1) forwards;
    animation-delay: calc(0.35s + var(--i) * 0.09s);
  }
}

@keyframes dot-rise {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
  }

  .hero__visual {
    justify-self: end;
  }
}

@media (max-width: 899px) {
  .dot-path {
    left: -4%;
    bottom: -8%;
    width: 48%;
  }
}

/* --------------------------------------------------------------------------
   "You stay in control" band
   -------------------------------------------------------------------------- */
.control-band__lines {
  display: grid;
  gap: 8px 48px;
}

.control-band__lines p {
  font-family: var(--font-serif);
  font-size: var(--step-2);
  line-height: 1.25;
  color: var(--white);
}

.control-band__note {
  max-width: var(--measure);
  margin-top: 32px;
  color: #cfcae6;
}

.control-band__note a {
  color: var(--white);
}

@media (min-width: 900px) {
  .control-band__lines {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Offerings (image + text rows)
   -------------------------------------------------------------------------- */
.feature {
  display: grid;
  gap: 32px;
  align-items: center;
}

.feature + .feature {
  margin-top: clamp(56px, 8vw, 104px);
}

.feature__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.feature__media--square img {
  aspect-ratio: 1;
}

.feature__text {
  max-width: 32rem;
}

.feature__text h2 {
  margin-bottom: 16px;
}

.feature__text p {
  color: var(--muted);
  font-size: 1.125rem;
}

.feature__text .button-row {
  margin-top: 28px;
}

@media (min-width: 900px) {
  .feature {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }

  .feature--reverse .feature__media {
    order: 2;
  }
}

/* --------------------------------------------------------------------------
   Page header (inner pages)
   -------------------------------------------------------------------------- */
.page-header {
  padding-block: clamp(48px, 7vw, 88px) clamp(32px, 4vw, 48px);
}

.page-header h1 {
  max-width: 16ch;
}

.page-header p {
  max-width: 36rem;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.1875rem;
}

.split {
  display: grid;
  gap: 40px;
  align-items: start;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    gap: 80px;
  }

  .split--sticky > :last-child {
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }
}

.portrait {
  width: min(100%, 380px);
}

.caption {
  margin-top: 14px;
  color: var(--muted);
  font-size: var(--step--1);
}

/* --------------------------------------------------------------------------
   Work With Me: blocks and the "not" list
   -------------------------------------------------------------------------- */
.columns {
  display: grid;
  gap: 40px 64px;
}

@media (min-width: 900px) {
  .columns {
    grid-template-columns: 1fr 1fr;
  }
}

.columns .prose {
  font-size: 1.125rem;
}

.not-list {
  border-left: 3px solid var(--crimson);
  padding-left: 24px;
}

.not-list li {
  font-family: var(--font-serif);
  font-size: var(--step-1);
  color: var(--ink);
}

.not-list li + li {
  margin-top: 6px;
}

.callout {
  max-width: var(--measure);
  margin-top: 32px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.callout strong {
  color: var(--ink);
}

/* First meeting steps: a real sequence, so numbered */
.steps {
  counter-reset: step;
  max-width: var(--measure);
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 20px 52px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
}

.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 38px;
  bottom: 4px;
  border-left: 2px dotted var(--line);
}

/* --------------------------------------------------------------------------
   Books & Tools
   -------------------------------------------------------------------------- */
.book-feature {
  display: grid;
  gap: 40px;
  align-items: center;
}

.book-feature img {
  width: 100%;
  border-radius: var(--radius);
}

@media (min-width: 900px) {
  .book-feature {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 72px;
  }
}

.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-block: 24px;
}

.price strong {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--ink);
}

.price span {
  color: var(--muted);
  font-size: var(--step--1);
}

.format {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--ink);
  font-size: var(--step--1);
  font-weight: 600;
}

.bundle {
  display: grid;
  gap: 32px;
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.bundle img {
  width: 100%;
  max-width: 340px;
  border-radius: var(--radius);
}

.bundle h3 {
  font-size: var(--step-2);
  margin-bottom: 12px;
}

.bundle ul {
  margin-top: 16px;
  color: var(--muted);
}

.bundle ul li {
  padding-left: 22px;
  position: relative;
}

.bundle ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--crimson);
}

@media (min-width: 900px) {
  .bundle {
    grid-template-columns: 340px 1fr;
    gap: 56px;
  }
}

.reset-list {
  display: grid;
  gap: 48px 32px;
  margin-top: 56px;
}

@media (min-width: 760px) {
  .reset-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.reset {
  display: flex;
  flex-direction: column;
}

.reset img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.reset h3 {
  margin-top: 20px;
}

.reset .subtitle {
  margin-top: 6px;
  color: var(--crimson);
  font-size: var(--step--1);
  font-weight: 600;
}

.reset p.desc {
  margin-top: 12px;
  color: var(--muted);
}

.reset .price {
  margin-block: 20px 16px;
  margin-top: auto;
  padding-top: 20px;
}

.reset .price strong {
  font-size: 1.5rem;
}

.reset .button {
  align-self: flex-start;
}

/* --------------------------------------------------------------------------
   Speaking
   -------------------------------------------------------------------------- */
.stack-lines p {
  font-family: var(--font-serif);
  font-size: var(--step-1);
  line-height: 1.4;
  color: var(--ink);
}

.topic-grid {
  display: grid;
  gap: 48px;
}

@media (min-width: 900px) {
  .topic-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 56px;
  }
}

.topic-grid h3 {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}

.topic-grid li {
  padding-block: 8px;
  border-bottom: 1px solid var(--line);
}

.topic-grid .note {
  margin-top: 16px;
  color: var(--muted);
  font-size: var(--step--1);
}

.topic-grid .prose {
  font-size: 1.0625rem;
}

/* --------------------------------------------------------------------------
   Contact & forms
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: 48px;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
  }
}

.contact-direct h2 {
  font-size: var(--step-2);
  margin-bottom: 12px;
}

.contact-direct dl {
  margin-top: 32px;
  display: grid;
  gap: 20px;
}

.contact-direct dt {
  font-weight: 700;
  color: var(--ink);
}

.contact-direct dd {
  color: var(--muted);
}

.form {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form h2 {
  font-size: var(--step-2);
}

.form .hint {
  color: var(--muted);
  font-size: var(--step--1);
}

.field {
  display: grid;
  gap: 6px;
}

.field label,
.field legend {
  font-weight: 600;
  color: var(--ink);
}

.field .optional {
  font-weight: 400;
  color: var(--muted);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid #c9c3da;
  border-radius: var(--radius);
  background: var(--white);
}

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

.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible {
  outline: 3px solid var(--crimson);
  outline-offset: 0;
  border-color: var(--crimson);
}

.notify {
  display: grid;
  gap: 24px;
  align-items: center;
}

.notify h2 {
  font-size: var(--step-2);
}

.notify p {
  margin-top: 8px;
  color: #cfcae6;
}

@media (min-width: 900px) {
  .notify {
    grid-template-columns: 1fr auto;
    gap: 48px;
  }
}

/* --------------------------------------------------------------------------
   Status pages (thank you / cancelled)
   -------------------------------------------------------------------------- */
.status {
  max-width: 40rem;
}

.status .mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
}

.status .mark--soft {
  background: var(--mist);
  color: var(--ink);
}

.status h1 {
  font-size: var(--step-3);
}

.status > p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.125rem;
}

.status h2 {
  font-size: var(--step-1);
  margin: 40px 0 8px;
}

.status h2 + p {
  color: var(--text);
}

.status .button-row {
  margin-top: 40px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink-deep);
  color: #bdb7da;
  font-size: 0.9375rem;
  padding-block: 64px 32px;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

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

.footer-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 64px;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 52px;
  height: 52px;
  padding: 4px;
  border-radius: 50%;
  background: var(--white);
}

.footer-brand span {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--white);
}

.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--white);
}

.site-footer p + p {
  margin-top: 12px;
}

.footer-heading {
  margin-bottom: 14px;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--white);
}

.footer-links li + li {
  margin-top: 8px;
}

.hotlines li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--step--1);
}

/* --------------------------------------------------------------------------
   Motion
   Slow, breath-paced movement. Content only starts hidden when the "js" flag
   is set in the head, so nothing disappears if scripts fail.
   -------------------------------------------------------------------------- */
.site-header {
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(21, 14, 58, 0.08);
}

@media (prefers-reduced-motion: no-preference) {
  /* Hero: copy settles in line by line, the marigold frame slides out from
     behind the portrait, then the dot path rises */
  .hero__copy > * {
    animation: settle 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .hero__copy > :nth-child(2) { animation-delay: 0.12s; }
  .hero__copy > :nth-child(3) { animation-delay: 0.24s; }

  .hero__visual .arch {
    animation: fade-in 1.1s ease both;
  }

  .hero__visual::before {
    animation: frame-out 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s both;
  }

  /* The largest dot keeps breathing slowly: about six seconds per breath */
  .dot-path .m {
    animation:
      dot-rise 0.5s cubic-bezier(0.3, 1.4, 0.5, 1) calc(0.35s + var(--i) * 0.09s) forwards,
      breathe 6s ease-in-out 1.8s infinite;
  }

  /* Scroll reveals */
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 0.9s ease,
      transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: calc(var(--stagger, 0) * 110ms);
  }

  .js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }

  /* Photos ease out of a slight zoom as they arrive */
  .js [data-reveal] .feature__media img,
  .js [data-reveal].book-feature > img,
  .js [data-reveal] .reset-photo {
    transform: scale(1.06);
    transition: transform 1.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .js [data-reveal].is-visible .feature__media img,
  .js [data-reveal].is-visible.book-feature > img,
  .js [data-reveal].is-visible .reset-photo {
    transform: none;
  }

  .feature__media,
  .reset-frame {
    overflow: hidden;
    border-radius: var(--radius);
  }

  /* Small responses to the pointer */
  .button {
    transition:
      background-color 0.15s ease,
      color 0.15s ease,
      border-color 0.15s ease,
      transform 0.2s ease;
  }

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

  .button:active {
    transform: none;
  }

  .reset-frame img {
    transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .reset:hover .reset-frame img,
  .js .reset[data-reveal].is-visible:hover .reset-frame .reset-photo {
    transform: scale(1.04);
    transition-duration: 0.8s;
  }
}

@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@keyframes frame-out {
  from {
    inset: 0;
    opacity: 0;
  }
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.22); }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
