:root {
  --rw-primary: #b0a171;
  --rw-primary-dark: #756b4b;
  --rw-secondary: #2c2c2b;
  --rw-accent: #ed1c24;
  --rw-bg: #ffffff;
  --rw-bg-warm: #e5dec9;
  --rw-bg-muted: #f6f5f5;
  --rw-text-muted: #5e5d5d;
  --rw-border: #aca9a9;
  --rw-font-heading: "Century Gothic", "Futura PT", "Trebuchet MS", sans-serif;
  --rw-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--rw-font-body);
  color: var(--rw-secondary);
}

h1,
h2,
h3,
h4,
.section-heading {
  font-family: var(--rw-font-heading);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* —— Header —— */
.site-header {
  --header-pad-x: clamp(1.25rem, 4vw, 4.5rem);
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: color-mix(in srgb, var(--rw-bg) 72%, transparent);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.site-header.is-stuck {
  background-color: color-mix(in srgb, var(--rw-bg) 96%, transparent);
  border-bottom-color: color-mix(in srgb, var(--rw-primary) 38%, var(--rw-border));
  box-shadow: 0 8px 28px color-mix(in srgb, var(--rw-secondary) 8%, transparent);
}

.header-inner {
  position: relative;
  z-index: 2;
  width: min(100% - (var(--header-pad-x) * 2), 1240px);
  margin-inline: auto;
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: min-height 0.35s ease;
}

.site-header.is-stuck .header-inner {
  min-height: 4.4rem;
}

/* Header logo sits directly on the header surface — no plate behind it. */
.brand-lockup {
  display: inline-flex;
  flex-shrink: 0;
  background-color: transparent;
  padding: 0;
}

.header-logo img {
  display: block;
  height: 42px;
  width: auto;
  transition: height 0.35s ease;
}

.header-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.25rem);
}

.header-nav .nav-link {
  position: relative;
  display: inline-block;
  padding: 0.35rem 0 0.55rem;
  color: var(--rw-secondary);
  font-family: var(--rw-font-heading);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.25s ease;
}

.header-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.15rem;
  height: 1px;
  background: var(--rw-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s ease;
}

.header-nav .nav-link:hover,
.header-nav .nav-link:focus-visible {
  color: var(--rw-primary-dark);
}

.header-nav .nav-link.active {
  color: var(--rw-primary-dark);
}

.header-nav .nav-link:hover::after,
.header-nav .nav-link:focus-visible::after,
.header-nav .nav-link.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 3;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.nav-toggle:focus-visible {
  outline: 1px solid var(--rw-primary);
  outline-offset: 3px;
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 1.2rem;
  height: 0.85rem;
}

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--rw-secondary);
  transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease;
}

.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 0.35rem; }
.nav-toggle-bars span:nth-child(3) { top: 0.7rem; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
  top: 0.35rem;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) {
  top: 0.35rem;
  transform: rotate(-45deg);
}

.nav-backdrop {
  display: none;
}

@media (min-width: 992px) {
  .header-logo img {
    height: 50px;
  }

  .site-header.is-stuck .header-logo img {
    height: 44px;
  }

  .nav-backdrop {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  .header-inner {
    min-height: 4.5rem;
  }

  .site-header.is-stuck .header-inner {
    min-height: 4.25rem;
  }

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

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1;
    background: color-mix(in srgb, var(--rw-secondary) 28%, transparent);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .site-header.is-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .header-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 2;
    padding: 0.35rem 0 1.1rem;
    background-color: var(--rw-bg);
    border-bottom: 1px solid color-mix(in srgb, var(--rw-primary) 28%, var(--rw-border));
    box-shadow: 0 18px 36px color-mix(in srgb, var(--rw-secondary) 12%, transparent);
    transform: translateY(-0.6rem);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.32s ease, opacity 0.28s ease, visibility 0.28s ease;
  }

  .header-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .header-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(100% - (var(--header-pad-x) * 2), 1240px);
    margin-inline: auto;
  }

  .header-nav .nav-link {
    display: block;
    padding: 1.05rem 0;
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    border-bottom: 1px solid color-mix(in srgb, var(--rw-border) 40%, transparent);
  }

  .header-nav li:last-child .nav-link {
    border-bottom: 0;
  }

  .header-nav .nav-link::after {
    left: 0;
    right: auto;
    bottom: auto;
    top: 50%;
    width: 1rem;
    margin-top: -0.5px;
    transform: scaleX(0);
    transform-origin: left center;
  }

  .header-nav .nav-link {
    padding-left: 1.5rem;
  }

  .header-nav .nav-link:hover::after,
  .header-nav .nav-link:focus-visible::after,
  .header-nav .nav-link.active::after {
    transform: scaleX(1);
  }
}

body.nav-locked {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .header-inner,
  .header-logo img,
  .header-nav,
  .header-nav .nav-link,
  .header-nav .nav-link::after,
  .nav-toggle-bars span,
  .nav-backdrop {
    transition: none;
  }
}

.btn-rw-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--rw-primary);
  --bs-btn-border-color: var(--rw-primary);
  --bs-btn-hover-bg: var(--rw-primary-dark);
  --bs-btn-hover-border-color: var(--rw-primary-dark);
  --bs-btn-focus-shadow-rgb: 176, 161, 113;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-rw-outline {
  --bs-btn-color: var(--rw-secondary);
  --bs-btn-border-color: var(--rw-secondary);
  --bs-btn-hover-bg: var(--rw-secondary);
  --bs-btn-hover-border-color: var(--rw-secondary);
  --bs-btn-hover-color: #fff;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn-rw-primary:hover,
.btn-rw-outline:hover {
  transform: translateY(-2px);
}

.btn-rw-primary:active,
.btn-rw-outline:active {
  transform: translateY(0);
}

/* —— Home / Hero —— */
.hero-section {
  --hero-pad-x: clamp(1.25rem, 4vw, 4.5rem);
  position: relative;
  isolation: isolate;
  overflow: clip;
  background-color: var(--rw-bg-muted);
  background-image:
    linear-gradient(
      118deg,
      var(--rw-bg-muted) 0%,
      color-mix(in srgb, var(--rw-bg-muted) 62%, var(--rw-bg-warm) 38%) 46%,
      var(--rw-bg-warm) 100%
    );
  min-height: calc(100svh - 5rem);
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 4vw, 3.25rem) 0 5.5rem;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
}

.hero-orb--gold {
  width: min(52vw, 34rem);
  height: min(52vw, 34rem);
  right: -8%;
  top: -12%;
  background: color-mix(in srgb, var(--rw-primary) 42%, transparent);
  opacity: 0.55;
}

.hero-orb--warm {
  width: min(40vw, 22rem);
  height: min(40vw, 22rem);
  left: -6%;
  bottom: 8%;
  background: color-mix(in srgb, var(--rw-primary-dark) 28%, transparent);
  opacity: 0.35;
}

.hero-mark {
  position: absolute;
  left: -2%;
  bottom: 18%;
  font-family: var(--rw-font-heading);
  font-size: clamp(8rem, 22vw, 18rem);
  letter-spacing: 0.04em;
  line-height: 0.8;
  color: color-mix(in srgb, var(--rw-primary) 14%, transparent);
  user-select: none;
}

.hero-stage {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  width: min(100% - (var(--hero-pad-x) * 2), 1240px);
  margin: 0 auto;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 38rem;
  padding-right: 1.25rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.1rem;
  color: var(--rw-primary-dark);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero-kicker::before {
  content: "";
  width: 2.4rem;
  height: 2px;
  background: linear-gradient(90deg, var(--rw-primary), transparent);
  flex-shrink: 0;
}

.hero-title {
  position: relative;
  display: block;
  margin: 0 0 1.35rem;
  color: var(--rw-secondary);
  font-size: clamp(2.7rem, 6.4vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: 0.08em;
  perspective: 900px;
}

.hero-title-line {
  display: block;
  transform-style: preserve-3d;
}

.hero-title-char {
  display: inline-block;
  transform-origin: 50% 100%;
}

.hero-title-join {
  display: block;
  margin: 0.12em 0 0.18em;
  color: var(--rw-primary);
  font-size: 0.32em;
  letter-spacing: 0.38em;
  transform-origin: center;
}

.hero-title-sheen {
  position: absolute;
  inset: -8% -12%;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 38%,
    color-mix(in srgb, var(--rw-primary) 55%, #fff) 48%,
    color-mix(in srgb, var(--rw-bg-warm) 70%, transparent) 52%,
    transparent 62%
  );
  mix-blend-mode: soft-light;
  opacity: 0;
  transform: translateX(-55%) skewX(-12deg);
}

.hero-lead {
  margin: 0 0 1.5rem;
  max-width: 32rem;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  color: var(--rw-text-muted);
}

.hero-focus {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.hero-focus a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border: 1px solid color-mix(in srgb, var(--rw-primary) 55%, var(--rw-border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--rw-bg) 70%, transparent);
  color: var(--rw-secondary);
  text-decoration: none;
  font-family: var(--rw-font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.hero-focus a:hover,
.hero-focus a:focus-visible {
  background: var(--rw-secondary);
  border-color: var(--rw-secondary);
  color: var(--rw-bg);
  transform: translateY(-1px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-actions .btn {
  min-width: 10.75rem;
  padding: 0.85rem 1.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 0.15rem;
}

.hero-actions .btn-rw-primary {
  box-shadow: 0 10px 28px color-mix(in srgb, var(--rw-primary) 42%, transparent);
}

.hero-actions .btn-rw-primary:hover {
  box-shadow: 0 14px 34px color-mix(in srgb, var(--rw-primary-dark) 40%, transparent);
}

.hero-visual {
  position: relative;
  z-index: 1;
  perspective: 1100px;
}

.hero-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-page {
  position: absolute;
  inset: 0;
  border-radius: 1.5rem 0.25rem 2.5rem 0.5rem;
  background: var(--rw-bg-warm);
  box-shadow:
    0 1px 2px color-mix(in srgb, var(--rw-secondary) 6%, transparent),
    0 14px 34px color-mix(in srgb, var(--rw-secondary) 12%, transparent);
}

.hero-page--back {
  background:
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--rw-primary) 28%, var(--rw-bg-warm)) 0%,
      var(--rw-primary-dark) 100%
    );
  transform: translate(1.55rem, 1.35rem) rotate(2.4deg);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-page--mid {
  background:
    linear-gradient(
      160deg,
      #f3eee2 0%,
      color-mix(in srgb, var(--rw-bg-warm) 80%, var(--rw-primary)) 100%
    );
  border: 1px solid color-mix(in srgb, var(--rw-primary) 35%, transparent);
  transform: translate(0.85rem, 0.7rem) rotate(1.1deg);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-page--mid::before {
  content: "";
  position: absolute;
  top: 1.1rem;
  bottom: 1.1rem;
  left: 0.85rem;
  width: 1px;
  background: color-mix(in srgb, var(--rw-primary) 45%, transparent);
  opacity: 0.7;
}

.hero-figure {
  position: relative;
  z-index: 1;
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1.5rem 0.25rem 2.5rem 0.5rem;
  background: var(--rw-secondary);
  transform-origin: 50% 100%;
  transform-style: preserve-3d;
  box-shadow:
    0 1px 2px color-mix(in srgb, var(--rw-secondary) 8%, transparent),
    0 22px 50px color-mix(in srgb, var(--rw-secondary) 18%, transparent);
  transition:
    translate 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.55s ease;
}

.hero-figure::before {
  content: "";
  position: absolute;
  inset: -8% -18%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 38%,
    color-mix(in srgb, var(--rw-primary) 55%, #fff) 48%,
    color-mix(in srgb, var(--rw-bg-warm) 70%, transparent) 52%,
    transparent 62%
  );
  mix-blend-mode: soft-light;
  opacity: 0;
  transform: translateX(-55%) skewX(-12deg);
}

.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      210deg,
      color-mix(in srgb, var(--rw-primary) 8%, transparent) 0%,
      transparent 46%,
      color-mix(in srgb, var(--rw-secondary) 10%, transparent) 100%
    );
  pointer-events: none;
}

.hero-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 56%;
  scale: 1;
  transform-origin: 72% 56%;
  transition: scale 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
  .hero-visual:hover .hero-figure {
    translate: 0 -0.55rem;
    box-shadow:
      0 1px 2px color-mix(in srgb, var(--rw-secondary) 8%, transparent),
      0 28px 70px color-mix(in srgb, var(--rw-secondary) 24%, transparent);
  }

  .hero-visual:hover .hero-image {
    scale: 1.12;
  }

  .hero-visual:hover .hero-figure::before {
    animation: hero-title-sheen 1.15s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .hero-visual:hover .hero-page--back {
    transform: translate(1.95rem, 1.65rem) rotate(3.6deg);
  }

  .hero-visual:hover .hero-page--mid {
    transform: translate(1.15rem, 0.95rem) rotate(1.9deg);
  }
}

.hero-stats {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100% - (var(--hero-pad-x) * 2), 1080px);
  margin: 2.25rem auto -4.25rem;
  padding: 1.35rem 0.5rem;
  background: var(--rw-bg);
  background: color-mix(in srgb, var(--rw-bg) 72%, transparent);
  border: 1px solid color-mix(in srgb, var(--rw-primary) 40%, var(--rw-border));
  border-radius: 1.15rem;
  perspective: 900px;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 18px 40px color-mix(in srgb, var(--rw-secondary) 10%, transparent);
}

.hero-stat {
  text-align: center;
  padding: 0.55rem 1rem 0.7rem;
  transform-origin: 50% 100%;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.35s ease;
}

.hero-stat + .hero-stat {
  border-left: 1px solid color-mix(in srgb, var(--rw-primary) 35%, var(--rw-border));
}

.hero-stat-value {
  position: relative;
  display: inline-block;
  margin: 0;
  color: var(--rw-secondary);
  font-family: var(--rw-font-heading);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.hero-stat-value::after {
  content: "";
  display: block;
  width: 2.4rem;
  height: 2px;
  margin: 0.4rem auto 0;
  background: linear-gradient(90deg, transparent, var(--rw-primary), transparent);
  transform: scaleX(0);
  transform-origin: center;
}

.hero-stat-value [data-count] {
  display: inline-block;
}

.hero-stat-label {
  margin: 0.2rem 0 0;
  color: var(--rw-text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (hover: hover) {
  .hero-stat:hover {
    background: color-mix(in srgb, var(--rw-primary) 12%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rw-primary) 28%, transparent);
    translate: 0 -3px;
  }

  .hero-stat:hover .hero-stat-value {
    color: var(--rw-primary-dark);
  }

  .hero-stat:hover .hero-stat-label {
    color: var(--rw-secondary);
  }
}

.books-section {
  --books-pad-x: clamp(1.25rem, 4vw, 4.5rem);
  --books-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: 7.25rem 0 clamp(4.75rem, 8vw, 6.75rem);
  background-color: #f4f0e6;
  background-image:
    radial-gradient(ellipse 48% 42% at 0% 8%, color-mix(in srgb, var(--rw-primary) 16%, transparent), transparent 62%),
    radial-gradient(ellipse 42% 36% at 100% 100%, color-mix(in srgb, var(--rw-secondary) 9%, transparent), transparent 58%),
    linear-gradient(180deg, #f7f4ec 0%, #f3efe4 46%, #eee8da 100%);
}

@media (min-width: 992px) {
  .hero-visual {
    margin-left: -8%;
    margin-right: calc(-1 * var(--hero-pad-x));
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: 0;
    padding: 0 0 4.5rem;
  }

  .hero-stage {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 0;
  }

  .hero-visual {
    min-height: 0;
    order: -1;
  }

  .hero-frame {
    display: none;
  }

  .hero-figure {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-radius: 0;
    box-shadow: none;
  }

  .hero-image {
    scale: 1;
    object-position: 78% 58%;
  }

  .hero-copy {
    width: min(100% - 2rem, 40rem);
    margin: -3.25rem auto 0;
    padding: 1.5rem 1.35rem 0.5rem;
    max-width: none;
    background: color-mix(in srgb, var(--rw-bg) 82%, transparent);
    border: 1px solid color-mix(in srgb, var(--rw-primary) 28%, var(--rw-border));
    border-radius: 1.1rem;
    backdrop-filter: blur(16px) saturate(1.15);
    -webkit-backdrop-filter: blur(16px) saturate(1.15);
    box-shadow: 0 16px 36px color-mix(in srgb, var(--rw-secondary) 10%, transparent);
  }

  .hero-title {
    font-size: clamp(2.15rem, 11vw, 3.2rem);
  }

  .hero-mark {
    display: none;
  }

  .hero-stats {
    width: min(100% - 2rem, 40rem);
    margin: 1.5rem auto -3.25rem;
    grid-template-columns: 1fr;
    padding: 0.35rem 0;
  }

  .books-section {
    padding-top: 5.5rem;
  }

  .hero-stat {
    padding: 0.85rem 1rem;
  }

  .hero-stat + .hero-stat {
    border-left: 0;
    border-top: 1px solid color-mix(in srgb, var(--rw-primary) 35%, var(--rw-border));
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .btn {
    min-width: 0;
    width: 100%;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-stat + .hero-stat {
    border-top: 0;
    border-left: 1px solid color-mix(in srgb, var(--rw-primary) 35%, var(--rw-border));
  }

  .hero-actions {
    display: flex;
  }

  .hero-actions .btn {
    width: auto;
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-kicker,
  .hero-lead,
  .hero-focus,
  .hero-actions {
    animation: hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .hero-lead { animation-delay: 0.72s; }
  .hero-focus { animation-delay: 0.84s; }
  .hero-actions { animation-delay: 0.96s; }

  .js-ready .hero-stats {
    opacity: 0;
    transform: translateY(1.2rem) scale(0.97);
  }

  .js-ready .hero-stats.is-ready {
    animation: hero-stats-bar-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .js-ready .hero-stat {
    opacity: 0;
    filter: blur(8px);
    transform: translate3d(0, 0.72em, 0) rotateX(42deg) scale(0.86);
  }

  .js-ready .hero-stats.is-ready .hero-stat {
    animation: hero-typeset 0.78s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: calc(0.14s + (var(--i) * 0.16s));
  }

  .js-ready .hero-stat-value::after {
    transform: scaleX(0);
  }

  .js-ready .hero-stats.is-ready .hero-stat-value::after {
    animation: hero-stat-rule 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(0.52s + (var(--i) * 0.16s));
  }

  .hero-stat-value [data-count].is-counted {
    animation: hero-stat-pop 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .hero-figure {
    opacity: 0;
    transform: translate3d(0, 1.4rem, 0);
    animation: hero-figure-in 1.25s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.08s;
  }

  .hero-image {
    animation: hero-image-in 1.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
    animation-delay: 0.08s;
  }

  .hero-figure::before {
    animation: hero-title-sheen 1.35s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.95s;
  }

  .hero-page--back {
    animation: hero-page-back-in 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.28s;
  }

  .hero-page--mid {
    animation: hero-page-mid-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.38s;
  }

  .hero-title-char {
    opacity: 0;
    filter: blur(8px);
    transform: translate3d(0, 0.72em, 0) rotateX(42deg) scale(0.86);
    animation: hero-typeset 0.78s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: calc(0.12s + (var(--i) * 0.055s));
  }

  .hero-title-join {
    opacity: 0;
    filter: blur(6px);
    transform: scale(0.35) rotate(-18deg);
    animation: hero-amp-stamp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.48s;
  }

  .hero-title-sheen {
    animation: hero-title-sheen 1.15s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 1.05s;
  }

  .hero-orb--gold {
    animation: hero-orb-drift 12s ease-in-out infinite alternate;
  }

  .js-ready [data-reveal] {
    opacity: 0;
    transform: translateY(1.35rem);
    transition: opacity 0.75s ease, transform 0.75s ease;
  }

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

  .js-ready [data-reveal][data-reveal-scale] {
    transform: scale(0.97) translateY(0.9rem);
    transition-duration: 0.95s, 1.05s;
  }

  .js-ready [data-reveal][data-reveal-scale].is-inview {
    transform: none;
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(1.1rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-figure-in {
  from {
    opacity: 0;
    transform: translate3d(0, 1.4rem, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-image-in {
  from {
    scale: 1.1;
    filter: blur(10px);
  }

  to {
    scale: 1;
    filter: blur(0);
  }
}

@keyframes hero-stats-bar-in {
  from {
    opacity: 0;
    transform: translateY(1.2rem) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hero-stat-rule {
  from {
    transform: scaleX(0);
    opacity: 0;
  }

  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes hero-stat-pop {
  0% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.14);
    color: var(--rw-primary-dark);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes hero-typeset {
  0% {
    opacity: 0;
    filter: blur(8px);
    transform: translate3d(0, 0.72em, 0) rotateX(42deg) scale(0.86);
  }

  62% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, -0.06em, 0) rotateX(0deg) scale(1.04);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) rotateX(0deg) scale(1);
  }
}

@keyframes hero-amp-stamp {
  0% {
    opacity: 0;
    filter: blur(6px);
    transform: scale(0.35) rotate(-18deg);
  }

  55% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1.28) rotate(4deg);
  }

  78% {
    transform: scale(0.94) rotate(-2deg);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1) rotate(0deg);
  }
}

@keyframes hero-title-sheen {
  0% {
    opacity: 0;
    transform: translateX(-55%) skewX(-12deg);
  }

  18% {
    opacity: 0.85;
  }

  100% {
    opacity: 0;
    transform: translateX(55%) skewX(-12deg);
  }
}

@keyframes hero-orb-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-3%, 4%, 0) scale(1.06); }
}

@keyframes hero-page-back-in {
  from {
    opacity: 0;
    transform: translate(0.4rem, 0.35rem) rotate(0deg);
  }

  to {
    opacity: 1;
    transform: translate(1.55rem, 1.35rem) rotate(2.4deg);
  }
}

@keyframes hero-page-mid-in {
  from {
    opacity: 0;
    transform: translate(0.25rem, 0.2rem) rotate(0deg);
  }

  to {
    opacity: 1;
    transform: translate(0.85rem, 0.7rem) rotate(1.1deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-rw-primary,
  .btn-rw-outline,
  .hero-focus a,
  .hero-image {
    transition: none;
  }

  .btn-rw-primary:hover,
  .btn-rw-outline:hover,
  .hero-focus a:hover,
  .hero-focus a:focus-visible {
    transform: none;
  }

  .hero-figure:hover .hero-image,
  .hero-visual:hover .hero-image {
    scale: 1;
  }

  .hero-visual:hover .hero-figure {
    translate: none;
  }

  .hero-visual:hover .hero-figure::before {
    animation: none;
  }

  .hero-title-char,
  .hero-title-join,
  .hero-title-sheen,
  .hero-figure,
  .hero-image,
  .hero-stats,
  .hero-stat,
  .hero-stat-value::after {
    animation: none;
    opacity: 1;
    filter: none;
    transform: none;
    scale: 1;
  }

  .hero-stat:hover {
    translate: none;
  }

  .hero-figure::before {
    animation: none;
    opacity: 0;
  }

  .hero-page--back,
  .hero-page--mid {
    animation: none;
    opacity: 1;
  }

  .hero-page--back {
    transform: translate(1.55rem, 1.35rem) rotate(2.4deg);
  }

  .hero-page--mid {
    transform: translate(0.85rem, 0.7rem) rotate(1.1deg);
  }

  .hero-orb--gold {
    animation: none;
  }

  .book-card:hover,
  .js-ready .book-card.is-inview:hover,
  .focus-panel:hover {
    transform: none;
  }
}

.section-rw {
  scroll-margin-top: 5.5rem;
}

.section-rw--warm {
  background-color: var(--rw-bg-warm);
}

.section-rw--gold {
  background-color: var(--rw-primary);
  color: #fff;
}

.section-rw--gold .text-muted {
  color: rgba(255, 255, 255, 0.85) !important;
}

.books-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.books-flourish {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.books-flourish--tl {
  width: min(22rem, 46vw);
  height: min(22rem, 46vw);
  top: -12%;
  left: -10%;
  background:
    radial-gradient(circle at 38% 42%, color-mix(in srgb, var(--rw-primary) 28%, transparent), transparent 68%);
  opacity: 0.7;
}

.books-flourish--br {
  width: min(26rem, 52vw);
  height: min(18rem, 38vw);
  right: -8%;
  bottom: -10%;
  background:
    radial-gradient(circle at 60% 40%, color-mix(in srgb, var(--rw-secondary) 16%, transparent), transparent 70%);
  opacity: 0.85;
}

.books-shell {
  position: relative;
  z-index: 1;
  width: min(100% - (var(--books-pad-x) * 2), 1320px);
  margin-inline: auto;
}

.books-intro {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto clamp(2.75rem, 5.5vw, 3.85rem);
}

.books-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.95rem;
  margin: 0 0 1.15rem;
}

.books-kicker-rule {
  width: 2.35rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rw-primary), transparent);
  flex-shrink: 0;
}

.books-kicker-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--rw-primary-dark);
  font-family: var(--rw-font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.books-kicker-icon {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--rw-primary);
}

.books-title {
  margin: 0 0 1rem;
  color: var(--rw-secondary);
  font-family: var(--rw-font-heading);
  font-size: clamp(2.05rem, 4.8vw, 3.45rem);
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.12;
  text-transform: none;
}

.books-title-break {
  display: none;
}

@media (min-width: 576px) {
  .books-title-break {
    display: block;
  }
}

.books-title-accent {
  color: #9a8450;
}

.books-title-word {
  display: inline-block;
}

.js-ready .books-title[data-title-reveal] .books-title-word {
  opacity: 0;
  transform: translate3d(0, 0.55em, 0);
  transition:
    opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 0.11s);
  will-change: opacity, transform;
}

.js-ready .books-title[data-title-reveal].is-inview .books-title-word {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .js-ready .books-title[data-title-reveal] .books-title-word {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

.books-lede {
  margin: 0 auto;
  max-width: 34rem;
  color: var(--rw-text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.books-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.4rem, 2.6vw, 1.9rem);
  align-items: stretch;
}

@media (min-width: 768px) {
  .books-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .book-card:last-child {
    grid-column: 1 / -1;
    width: 100%;
    max-width: calc((100% - clamp(1.4rem, 2.6vw, 1.9rem)) / 2);
    justify-self: center;
  }
}

@media (min-width: 992px) {
  .books-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .book-card:last-child {
    grid-column: auto;
    width: auto;
    max-width: none;
    justify-self: stretch;
  }
}

.book-card {
  --card-radius: 1.15rem;
  --card-notch: 3.6rem;
  --wave-x: 50%;
  --wave-y: 38%;
  --wave-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wave-inset: 0.38rem;
  --wave-halo: 1.05rem;
  position: relative;
  isolation: isolate;
  z-index: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: var(--wave-inset);
  background: color-mix(in srgb, var(--rw-bg) 92%, var(--rw-bg-warm));
  border: 1px solid color-mix(in srgb, var(--rw-primary) 34%, var(--rw-border));
  border-radius: var(--card-radius) var(--card-radius) var(--card-notch) var(--card-radius);
  overflow: visible;
  box-shadow:
    0 10px 28px color-mix(in srgb, var(--rw-secondary) 6%, transparent),
    0 1px 0 color-mix(in srgb, var(--rw-bg) 80%, transparent);
  transition:
    border-color 0.6s var(--wave-ease),
    box-shadow 0.6s var(--wave-ease),
    transform 0.6s var(--wave-ease),
    z-index 0s 0.64s;
}

.book-card::before {
  content: "";
  position: absolute;
  inset: calc(var(--wave-halo) * -1);
  z-index: 0;
  border-radius:
    calc(var(--card-radius) + var(--wave-halo))
    calc(var(--card-radius) + var(--wave-halo))
    calc(var(--card-notch) + var(--wave-halo))
    calc(var(--card-radius) + var(--wave-halo));
  padding: calc(var(--wave-halo) + var(--wave-inset));
  pointer-events: none;
  background-image:
    radial-gradient(
      circle,
      color-mix(in srgb, var(--rw-primary) 28%, transparent) 0%,
      color-mix(in srgb, var(--rw-primary) 96%, #fff8e8) 18%,
      var(--rw-primary) 32%,
      color-mix(in srgb, var(--rw-primary) 48%, var(--rw-accent)) 46%,
      var(--rw-primary) 62%,
      color-mix(in srgb, var(--rw-primary) 38%, transparent) 78%,
      transparent 90%
    );
  background-repeat: no-repeat;
  background-size: 0 0;
  background-position: var(--wave-x) var(--wave-y);
  opacity: 0;
  transition:
    opacity 0.52s ease,
    background-size 0.64s var(--wave-ease),
    background-position 0.64s var(--wave-ease);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  -webkit-mask-origin: content-box, border-box;
  -webkit-mask-clip: content-box, border-box;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  mask-origin: content-box, border-box;
  mask-clip: content-box, border-box;
}

.book-card::after {
  content: "";
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  width: 3.15rem;
  height: 3.15rem;
  border-right: 1.5px solid color-mix(in srgb, var(--rw-primary) 55%, transparent);
  border-bottom: 1.5px solid color-mix(in srgb, var(--rw-primary) 55%, transparent);
  border-bottom-right-radius: 2.85rem;
  pointer-events: none;
  z-index: 3;
  opacity: 0.72;
  transition: opacity 0.6s var(--wave-ease), border-color 0.6s var(--wave-ease);
}

.book-card--bestseller {
  border-color: color-mix(in srgb, var(--rw-primary) 72%, var(--rw-border));
  box-shadow:
    0 12px 30px color-mix(in srgb, var(--rw-secondary) 7%, transparent),
    0 0 0 1px color-mix(in srgb, var(--rw-primary) 22%, transparent);
}

.book-card--bestseller::after {
  border-color: var(--rw-primary);
  opacity: 1;
}

.book-card:hover,
.js-ready .book-card.is-inview:hover,
.book-card:focus-within,
.js-ready .book-card.is-inview:focus-within {
  z-index: 2;
  border-color: color-mix(in srgb, var(--rw-primary) 88%, var(--rw-border));
  box-shadow:
    0 22px 44px color-mix(in srgb, var(--rw-secondary) 14%, transparent),
    0 10px 24px color-mix(in srgb, var(--rw-primary) 22%, transparent),
    0 0 0 1px color-mix(in srgb, var(--rw-primary) 55%, transparent),
    0 0 28px color-mix(in srgb, var(--rw-primary) 32%, transparent);
  transform: translateY(-0.55rem);
  transition:
    border-color 0.6s var(--wave-ease),
    box-shadow 0.6s var(--wave-ease),
    transform 0.6s var(--wave-ease),
    z-index 0s;
}

.book-card:hover::before,
.js-ready .book-card.is-inview:hover::before,
.book-card:focus-within::before,
.js-ready .book-card.is-inview:focus-within::before {
  opacity: 1;
  background-size: 64rem 64rem;
  background-position: calc(var(--wave-x) - 32rem) calc(var(--wave-y) - 32rem);
}

.book-card:hover::after,
.js-ready .book-card.is-inview:hover::after,
.book-card:focus-within::after,
.js-ready .book-card.is-inview:focus-within::after {
  opacity: 1;
  border-color: var(--rw-primary);
}

.book-card-media {
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: hidden;
  border-radius:
    calc(var(--card-radius) - var(--wave-inset))
    calc(var(--card-radius) - var(--wave-inset))
    0 0;
  border-bottom: 1px solid color-mix(in srgb, var(--rw-primary) 18%, transparent);
}

.book-card-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 0.92;
  height: auto;
  min-height: 0;
  padding: 0.85rem 1rem 0.8rem;
  background:
    linear-gradient(
      180deg,
      #f3eee3 0%,
      #ebe3d2 72%,
      #e4dac7 100%
    );
  overflow: hidden;
}

.book-card--bestseller .book-card-cover {
  background:
    linear-gradient(
      180deg,
      #f3eee3 0%,
      #ebe3d2 72%,
      #e4dac7 100%
    );
}

.book-card-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 86%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 16px 24px color-mix(in srgb, var(--rw-secondary) 24%, transparent));
}

/* Square cover: fill the stage like the portrait books. */
.book-card-image--square {
  width: 88%;
  max-width: 88%;
  max-height: 88%;
  height: auto;
}

.book-card-badge {
  position: absolute;
  top: 0.95rem;
  right: 0.95rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.7rem 0.38rem 0.55rem;
  background: var(--rw-primary);
  color: var(--rw-secondary);
  border-radius: 999px;
  font-family: var(--rw-font-heading);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 8px 16px color-mix(in srgb, var(--rw-secondary) 12%, transparent);
}

.book-card-badge svg {
  width: 0.72rem;
  height: 0.72rem;
}

.book-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1.15rem 1.35rem 1.45rem;
  overflow: hidden;
  border-radius:
    0 0
    calc(var(--card-notch) - var(--wave-inset))
    calc(var(--card-radius) - var(--wave-inset));
  background: color-mix(in srgb, var(--rw-bg) 96%, var(--rw-bg-warm));
}

.book-card-title {
  margin: 0 0 0.5rem;
  min-height: 2.35em;
  color: var(--rw-secondary);
  font-family: var(--rw-font-heading);
  font-size: clamp(1.08rem, 1.5vw, 1.22rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-transform: none;
}

.book-card-desc {
  margin: 0 0 1rem;
  flex: 1 1 auto;
  color: var(--rw-text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.book-card-action {
  display: flex;
  align-items: center;
  margin-top: auto;
  padding: 0.1rem 2.35rem 0.15rem 0;
}

.book-card-price {
  margin: 0;
  color: var(--rw-primary-dark);
  font-family: var(--rw-font-heading);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.books-closing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: clamp(2.35rem, 5vw, 3.25rem) 0 0;
}

.books-closing-rule {
  width: 3.25rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rw-primary), transparent);
}

.books-closing-mark {
  color: var(--rw-primary-dark);
  font-family: var(--rw-font-heading);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

@media (max-width: 575.98px) {
  .books-kicker-rule {
    width: 1.55rem;
  }

  .books-title {
    font-size: clamp(1.7rem, 8.4vw, 1.95rem);
    letter-spacing: 0;
  }

  .book-card-cover {
    aspect-ratio: 1 / 0.95;
    padding: 0.8rem 0.85rem 0.75rem;
  }

  .book-card-image {
    max-width: 90%;
  }

  .book-card-image--square {
    width: 90%;
    max-width: 90%;
    max-height: 90%;
  }

  .book-card-title {
    min-height: 0;
  }

  .book-card-body {
    padding: 1.05rem 1.1rem 1.25rem;
  }

  .book-card-action {
    padding-right: 2rem;
  }

  .books-closing-mark {
    letter-spacing: 0.14em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .book-card,
  .book-card::before,
  .book-card::after {
    transition: none;
  }

  .book-card:hover,
  .js-ready .book-card.is-inview:hover,
  .book-card:focus-within,
  .js-ready .book-card.is-inview:focus-within {
    transform: none;
  }

  .book-card:hover::before,
  .js-ready .book-card.is-inview:hover::before,
  .book-card:focus-within::before,
  .js-ready .book-card.is-inview:focus-within::before {
    background-size: 64rem 64rem;
    background-position: calc(var(--wave-x) - 32rem) calc(var(--wave-y) - 32rem);
  }
}

.about-section {
  --about-pad-x: clamp(1.25rem, 4vw, 4.5rem);
  --about-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  isolation: isolate;
  overflow: clip;
  background-color: var(--rw-bg-muted);
  background-image:
    radial-gradient(ellipse 52% 36% at 100% 0%, color-mix(in srgb, var(--rw-primary) 14%, transparent), transparent 68%),
    linear-gradient(180deg, var(--rw-bg-muted) 0%, #f3efe6 100%);
}

.about-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.about-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(42px);
}

.about-orb--gold {
  width: min(34rem, 58vw);
  height: min(34rem, 58vw);
  top: -12%;
  right: -10%;
  background: color-mix(in srgb, var(--rw-primary) 22%, transparent);
  opacity: 0.55;
}

.about-orb--ink {
  width: min(22rem, 42vw);
  height: min(22rem, 42vw);
  left: -8%;
  top: 28%;
  background: color-mix(in srgb, var(--rw-secondary) 10%, transparent);
  opacity: 0.4;
}

.about-shell {
  position: relative;
  z-index: 1;
  width: min(100% - (var(--about-pad-x) * 2), 1180px);
  margin-inline: auto;
}

.about-intro {
  max-width: none;
  padding: 0;
}

.about-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.15rem;
  color: var(--rw-primary-dark);
  font-family: var(--rw-font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.about-kicker-rule {
  width: 2.35rem;
  height: 1.5px;
  background: linear-gradient(90deg, var(--rw-primary), transparent);
  flex-shrink: 0;
}

.about-title {
  margin: 0;
  color: var(--rw-secondary);
  font-family: var(--rw-font-heading);
  font-size: clamp(2.05rem, 4.8vw, 3.45rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.08;
  text-transform: none;
}

.about-title-break {
  display: none;
}

@media (min-width: 576px) {
  .about-title-break {
    display: block;
  }
}

.about-title-word {
  display: inline-block;
}

.about-title-group {
  display: inline;
}

@media (min-width: 576px) {
  .about-title-group {
    white-space: nowrap;
  }
}

.about-title-word--accent {
  color: #9a8450;
}

.about-lede {
  margin: 1.35rem 0 0;
  max-width: 36rem;
  color: var(--rw-text-muted);
  font-size: clamp(1.02rem, 1.45vw, 1.12rem);
  line-height: 1.8;
}

.about-feature {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  padding: clamp(4.5rem, 9vw, 7.35rem) 0 clamp(3.75rem, 7vw, 5.75rem);
}

.about-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  min-width: 0;
}

.about-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.about-frame {
  position: absolute;
  inset: 1.35rem -1.15rem -1.25rem 1.85rem;
  border: 1px solid color-mix(in srgb, var(--rw-primary) 78%, var(--rw-primary-dark));
  border-radius: 1.15rem 0.35rem 1.55rem 0.45rem;
  z-index: 0;
  pointer-events: none;
}

.about-figure {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 0.85rem 0.25rem 1.15rem 0.4rem;
  background: var(--rw-secondary);
  box-shadow:
    0 1px 2px color-mix(in srgb, var(--rw-secondary) 8%, transparent),
    0 18px 42px color-mix(in srgb, var(--rw-secondary) 14%, transparent);
}

.about-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      205deg,
      color-mix(in srgb, var(--rw-primary) 12%, transparent) 0%,
      transparent 42%,
      color-mix(in srgb, var(--rw-secondary) 22%, transparent) 100%
    );
  pointer-events: none;
}

.about-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 78%;
  transform: scale(1.04);
  transform-origin: center 80%;
  transition: transform 0.9s var(--about-ease);
}

.about-story-list {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  max-width: 36rem;
}

.about-story-list li {
  position: relative;
  margin-left: -0.7rem;
  padding: 0.48rem 0.8rem 0.48rem 1.85rem;
  border-radius: 0.55rem;
  color: var(--rw-text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  overflow-wrap: break-word;
  cursor: default;
  transition:
    color 0.45s var(--about-ease),
    background-color 0.45s var(--about-ease),
    transform 0.45s var(--about-ease),
    box-shadow 0.45s var(--about-ease);
}

.about-story-list li + li {
  margin-top: 0.28rem;
}

.about-story-list li::before {
  content: "";
  position: absolute;
  top: calc(0.48rem + 0.62em);
  left: 0.7rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--rw-primary);
  transform-origin: left center;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--rw-primary) 0%, transparent);
  transition:
    width 0.45s var(--about-ease),
    transform 0.45s var(--about-ease),
    box-shadow 0.45s var(--about-ease),
    background-color 0.45s var(--about-ease);
}

.about-story-list li::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  bottom: 0.32rem;
  width: 0;
  height: 1.5px;
  border-radius: 1px;
  background: var(--rw-primary);
  opacity: 0;
  pointer-events: none;
  transition:
    width 0.45s var(--about-ease),
    opacity 0.45s var(--about-ease);
}

.about-story-list strong {
  color: var(--rw-secondary);
  font-weight: 700;
  transition: color 0.45s var(--about-ease);
}

@keyframes about-story-bullet {
  0%,
  100% {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--rw-primary) 20%, transparent);
  }

  50% {
    box-shadow: 0 0 0 8px color-mix(in srgb, var(--rw-primary) 8%, transparent);
  }
}

@media (hover: hover) {
  .about-story-list li:hover {
    color: color-mix(in srgb, var(--rw-secondary) 68%, var(--rw-text-muted));
    background: color-mix(in srgb, var(--rw-primary) 12%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rw-primary) 32%, transparent);
  }

  .about-story-list li:hover::before {
    width: 0.92rem;
    background: var(--rw-primary-dark);
  }

  .about-story-list li:hover::after {
    width: calc(100% - 1.5rem);
    opacity: 1;
  }

  .about-story-list li:hover strong {
    color: var(--rw-primary-dark);
  }
}

.about-motto {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: clamp(4.15rem, 9vw, 6.75rem) 0;
  background: var(--rw-secondary);
  overflow: hidden;
}

.about-motto-inner {
  position: relative;
  z-index: 1;
  width: min(100% - (var(--about-pad-x) * 2), 44rem);
  margin-inline: auto;
  text-align: center;
}

.about-motto-label {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.15rem;
  color: var(--rw-primary);
  font-family: var(--rw-font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.about-motto-label::before,
.about-motto-label::after {
  content: "";
  width: 1.85rem;
  height: 1px;
  background: color-mix(in srgb, var(--rw-primary) 70%, transparent);
}

.about-motto-quote {
  margin: 0;
  position: relative;
}

.about-motto-quote::before {
  content: "“";
  display: block;
  margin: 0 auto 0.7rem;
  color: var(--rw-primary);
  font-family: var(--rw-font-heading);
  font-size: clamp(2.8rem, 5.5vw, 4rem);
  line-height: 0.55;
  opacity: 0.72;
  pointer-events: none;
  user-select: none;
}

.about-motto-quote p {
  margin: 0;
  color: color-mix(in srgb, var(--rw-bg-warm) 92%, var(--rw-bg));
  font-family: var(--rw-font-heading);
  font-size: clamp(1.12rem, 2.15vw, 1.52rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.68;
  text-transform: none;
  overflow-wrap: break-word;
}

.about-education {
  position: relative;
  z-index: 1;
  scroll-margin-top: 5.5rem;
  padding: clamp(4.25rem, 8vw, 6.75rem) 0 clamp(4.5rem, 8.5vw, 6.75rem);
  background-color: var(--rw-bg-warm);
  background-image:
    radial-gradient(ellipse 46% 40% at 0% 0%, color-mix(in srgb, var(--rw-primary) 16%, transparent), transparent 64%),
    linear-gradient(180deg, #ebe4d0 0%, var(--rw-bg-warm) 48%, #e7dfc8 100%);
}

.about-edu-intro {
  max-width: 36rem;
  margin: 0 auto clamp(2.5rem, 5vw, 3.55rem);
  text-align: center;
}

.about-edu-intro::before {
  content: "";
  display: block;
  width: 2.45rem;
  height: 1px;
  margin: 0 auto 1.15rem;
  background: var(--rw-primary);
}

.about-edu-title {
  margin: 0 0 0.9rem;
  color: var(--rw-secondary);
  font-family: var(--rw-font-heading);
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.12;
  text-transform: none;
}

.about-edu-lede {
  margin: 0 auto;
  max-width: 32rem;
  color: var(--rw-text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.focus-grid {
  --bs-gutter-x: 1.15rem;
  --bs-gutter-y: 1.15rem;
}

.focus-grid > [class*="col"] {
  perspective: 1100px;
}

.focus-panel {
  --focus-pad: 1.55rem;
  --focus-rx: 0deg;
  --focus-ry: 0deg;
  --focus-x: 50%;
  --focus-y: 50%;
  --focus-shine: 42%;
  --focus-sx: 0px;
  --focus-sy: 18px;
  --focus-lift: 0px;
  --focus-scale: 1;
  position: relative;
  isolation: isolate;
  z-index: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.7rem var(--focus-pad) 1.65rem;
  overflow: hidden;
  background: color-mix(in srgb, var(--rw-bg) 90%, var(--rw-bg-warm));
  border: 1px solid color-mix(in srgb, var(--rw-primary) 36%, var(--rw-border));
  border-radius: 0.85rem;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--rw-secondary) 5%, transparent);
  transform:
    translate3d(0, var(--focus-lift), 0)
    scale(var(--focus-scale))
    rotateX(var(--focus-rx))
    rotateY(var(--focus-ry));
  transform-style: preserve-3d;
  transition:
    transform 0.45s var(--about-ease),
    border-color 0.45s var(--about-ease),
    box-shadow 0.45s var(--about-ease);
}

.focus-panel.is-focus-live {
  will-change: transform;
  transition:
    transform 0.12s ease-out,
    border-color 0.45s var(--about-ease),
    box-shadow 0.45s var(--about-ease);
}

.focus-panel::before {
  content: "";
  position: absolute;
  top: 1.45rem;
  left: var(--focus-pad);
  z-index: 1;
  width: 2.15rem;
  height: 1.5px;
  background: var(--rw-primary);
  transform-origin: left center;
  transition:
    width 0.45s var(--about-ease),
    box-shadow 0.45s var(--about-ease);
}

.focus-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(
      280px circle at var(--focus-x) var(--focus-y),
      color-mix(in srgb, #ffffff 38%, transparent) 0%,
      color-mix(in srgb, var(--rw-primary) 16%, transparent) 34%,
      transparent 68%
    ),
    linear-gradient(
      118deg,
      transparent 0%,
      transparent calc(var(--focus-shine) - 14%),
      color-mix(in srgb, #ffffff 30%, transparent) var(--focus-shine),
      transparent calc(var(--focus-shine) + 14%),
      transparent 100%
    ),
    linear-gradient(
      155deg,
      color-mix(in srgb, var(--rw-primary) 14%, transparent) 0%,
      transparent 46%,
      color-mix(in srgb, var(--rw-bg-warm) 22%, transparent) 100%
    );
  transition: opacity 0.45s var(--about-ease);
}

.focus-panel-index {
  position: absolute;
  top: 1.05rem;
  right: 1.15rem;
  z-index: 1;
  color: color-mix(in srgb, var(--rw-primary) 22%, transparent);
  font-family: var(--rw-font-heading);
  font-size: clamp(2.4rem, 4vw, 3.05rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  pointer-events: none;
  transform-origin: top right;
  transform: translateZ(0);
  transition:
    color 0.45s var(--about-ease),
    transform 0.45s var(--about-ease);
}

.focus-panel-title {
  position: relative;
  z-index: 1;
  margin: 2.05rem 0 0.8rem;
  color: var(--rw-secondary);
  font-family: var(--rw-font-heading);
  font-size: clamp(1.18rem, 1.7vw, 1.32rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
  transform: translateZ(18px);
  transition: color 0.45s var(--about-ease);
}

.focus-panel-copy {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--rw-text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
  transform: translateZ(12px);
}

@keyframes focus-index-drift {
  0%,
  100% {
    transform: translate3d(0.08rem, -0.28rem, 28px) rotate(-3.5deg) scale(1.05);
  }

  50% {
    transform: translate3d(0.16rem, -0.46rem, 36px) rotate(4deg) scale(1.08);
  }
}

.about-close {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  margin: clamp(2.75rem, 5.5vw, 4rem) 0 0;
}

.about-close-rule {
  width: 3.15rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rw-primary), transparent);
}

.about-close-cta {
  min-width: 11rem;
  padding: 0.88rem 1.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 0.15rem;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--rw-primary) 36%, transparent);
}

.about-close-cta:hover {
  box-shadow: 0 14px 28px color-mix(in srgb, var(--rw-primary-dark) 34%, transparent);
}

.js-ready .about-title[data-title-reveal] .about-title-word,
.js-ready .about-edu-title[data-title-reveal] .about-title-word {
  opacity: 0;
  transform: translate3d(0, 0.55em, 0);
  transition:
    opacity 0.52s var(--about-ease),
    transform 0.52s var(--about-ease);
  transition-delay: calc(var(--i, 0) * 0.11s);
  will-change: opacity, transform;
}

.js-ready .about-title[data-title-reveal].is-inview .about-title-word,
.js-ready .about-edu-title[data-title-reveal].is-inview .about-title-word {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.js-ready .about-section .focus-panel[data-reveal] {
  transition:
    opacity 0.75s ease,
    transform 0.75s ease,
    border-color 0.45s var(--about-ease),
    box-shadow 0.45s var(--about-ease);
  transition-delay: calc(var(--i, 0) * 0.14s), calc(var(--i, 0) * 0.14s), 0s, 0s;
}

.js-ready .about-section .focus-panel[data-reveal].is-inview {
  transform:
    translate3d(0, var(--focus-lift), 0)
    scale(var(--focus-scale))
    rotateX(var(--focus-rx))
    rotateY(var(--focus-ry));
  transition:
    opacity 0.36s ease,
    transform 0.45s var(--about-ease),
    border-color 0.45s var(--about-ease),
    box-shadow 0.45s var(--about-ease);
  transition-delay: 0s;
}

.js-ready .about-section .focus-panel[data-reveal].is-inview.is-focus-live {
  transition:
    opacity 0.36s ease,
    transform 0.12s ease-out,
    border-color 0.45s var(--about-ease),
    box-shadow 0.45s var(--about-ease);
}

@media (min-width: 768px) {
  .about-story-list li {
    font-size: 1.02rem;
  }

  .focus-panel {
    --focus-pad: 1.4rem;
    padding: 1.65rem 1.4rem 1.55rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .focus-panel-title {
    letter-spacing: 0.1em;
    font-size: 1.08rem;
  }

  .focus-panel-index {
    font-size: 2.2rem;
  }
}

@media (min-width: 992px) {
  .about-feature {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(2.25rem, 4vw, 3.75rem);
  }

  .about-title {
    font-size: clamp(2.05rem, 3.2vw, 3.1rem);
  }

  .about-lede {
    max-width: 32rem;
  }

  .about-figure {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .about-frame {
    inset: 1.65rem -1.4rem -1.5rem 2.15rem;
  }

  .focus-panel {
    --focus-pad: 1.65rem;
    padding: 2.05rem 1.75rem 1.9rem;
  }
}

@media (min-width: 1280px) {
  .about-feature {
    gap: 4rem;
  }

  .about-title {
    font-size: clamp(2.35rem, 2.8vw, 3.25rem);
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .about-story-list li:hover {
    transform: translateX(0.42rem);
  }

  .about-story-list li:hover::before {
    transform: scaleY(1.08);
    animation: about-story-bullet 1.7s var(--about-ease) infinite;
  }

  .about-figure:hover .about-image {
    transform: scale(1.09);
  }

  .focus-panel:hover,
  .js-ready .focus-panel.is-inview:hover,
  .focus-panel.is-focus-live,
  .js-ready .focus-panel.is-inview.is-focus-live {
    --focus-lift: -0.62rem;
    --focus-scale: 1.025;
    z-index: 3;
    border-color: color-mix(in srgb, var(--rw-primary) 88%, var(--rw-border));
    box-shadow:
      var(--focus-sx) var(--focus-sy) 46px color-mix(in srgb, var(--rw-secondary) 16%, transparent),
      0 18px 34px color-mix(in srgb, var(--rw-primary) 18%, transparent),
      0 0 0 1px color-mix(in srgb, var(--rw-primary) 28%, transparent);
  }

  .focus-panel:hover::before,
  .js-ready .focus-panel.is-inview:hover::before,
  .focus-panel.is-focus-live::before,
  .js-ready .focus-panel.is-inview.is-focus-live::before {
    width: 4.85rem;
    box-shadow: 0 0 12px color-mix(in srgb, var(--rw-primary) 55%, transparent);
  }

  .focus-panel:hover::after,
  .js-ready .focus-panel.is-inview:hover::after,
  .focus-panel.is-focus-live::after,
  .js-ready .focus-panel.is-inview.is-focus-live::after {
    opacity: 1;
  }

  .focus-panel:hover .focus-panel-index,
  .js-ready .focus-panel.is-inview:hover .focus-panel-index,
  .focus-panel.is-focus-live .focus-panel-index,
  .js-ready .focus-panel.is-inview.is-focus-live .focus-panel-index {
    color: color-mix(in srgb, var(--rw-primary) 54%, transparent);
    animation: focus-index-drift 2.2s var(--about-ease) infinite;
  }

  .focus-panel:hover .focus-panel-title,
  .js-ready .focus-panel.is-inview:hover .focus-panel-title,
  .focus-panel.is-focus-live .focus-panel-title,
  .js-ready .focus-panel.is-inview.is-focus-live .focus-panel-title {
    color: var(--rw-primary-dark);
  }
}

.focus-panel:focus-within {
  --focus-lift: -0.4rem;
  --focus-scale: 1.015;
  z-index: 3;
  border-color: color-mix(in srgb, var(--rw-primary) 88%, var(--rw-border));
  box-shadow:
    0 22px 42px color-mix(in srgb, var(--rw-secondary) 12%, transparent),
    0 10px 22px color-mix(in srgb, var(--rw-primary) 14%, transparent);
}

.focus-panel:focus-within::after {
  opacity: 0.65;
}

.focus-panel:focus-within::before {
  width: 4.85rem;
}

@media (max-width: 767.98px) {
  .about-frame {
    display: none;
  }

  .about-figure {
    aspect-ratio: 3 / 2;
    min-height: 13.5rem;
    border-radius: 0.75rem;
  }

  .focus-panel-title {
    margin-top: 1.85rem;
  }
}

@media (max-width: 575.98px) {
  .about-kicker {
    letter-spacing: 0.16em;
  }

  .about-kicker-rule {
    width: 1.55rem;
  }

  .about-title {
    font-size: clamp(1.72rem, 8.6vw, 2.05rem);
    letter-spacing: 0.01em;
  }

  .about-lede {
    font-size: 1rem;
  }

  .about-story-list li,
  .about-edu-lede,
  .focus-panel-copy {
    font-size: 0.94rem;
  }

  .about-motto-quote p {
    font-size: 1.08rem;
    letter-spacing: 0.02em;
  }

  .about-edu-title {
    font-size: clamp(1.6rem, 7.4vw, 1.9rem);
    letter-spacing: 0.02em;
  }

  .about-close {
    flex-direction: column;
    gap: 1rem;
  }

  .about-close-cta {
    width: 100%;
    min-width: 0;
  }

  .about-close-rule {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-image,
  .about-story-list li,
  .about-story-list li::before,
  .about-story-list li::after,
  .about-story-list strong,
  .focus-panel,
  .focus-panel::before,
  .focus-panel::after,
  .focus-panel-index,
  .focus-panel-title,
  .about-close-cta {
    transition: none;
  }

  .about-story-list li:hover::before {
    animation: none;
  }

  .about-story-list li:hover {
    transform: none;
  }

  .js-ready .about-title[data-title-reveal] .about-title-word,
  .js-ready .about-edu-title[data-title-reveal] .about-title-word {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }

  .js-ready .about-section .focus-panel[data-reveal] {
    transition: none;
    transition-delay: 0s;
  }

  .focus-panel,
  .focus-panel:hover,
  .js-ready .focus-panel.is-inview:hover,
  .js-ready .about-section .focus-panel[data-reveal].is-inview,
  .focus-panel.is-focus-live,
  .focus-panel:focus-within {
    --focus-rx: 0deg;
    --focus-ry: 0deg;
    --focus-lift: 0px;
    --focus-scale: 1;
    transform: none;
    will-change: auto;
  }

  .focus-panel:hover .focus-panel-index,
  .js-ready .focus-panel.is-inview:hover .focus-panel-index,
  .focus-panel.is-focus-live .focus-panel-index {
    animation: none;
    transform: none;
  }

  .focus-panel-title,
  .focus-panel-copy {
    transform: none;
  }

  .about-figure:hover .about-image {
    transform: scale(1.04);
  }
}

.contact-section {
  --contact-pad: clamp(1.5rem, 5vw, 5.5rem);
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem);
  background:
    linear-gradient(
      165deg,
      var(--rw-bg-muted) 0%,
      color-mix(in srgb, var(--rw-bg-muted) 70%, var(--rw-bg-warm) 30%) 55%,
      var(--rw-bg-warm) 100%
    );
}

.contact-section::before {
  content: "";
  position: absolute;
  width: min(28rem, 55vw);
  height: min(28rem, 55vw);
  right: -8%;
  top: -12%;
  border-radius: 50%;
  background: color-mix(in srgb, var(--rw-primary) 22%, transparent);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}

.contact-shell {
  position: relative;
  z-index: 1;
  width: min(100% - (var(--contact-pad) * 2), 1180px);
  margin-inline: auto;
}

.contact-intro {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.contact-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 0.85rem;
  color: var(--rw-primary-dark);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
}

.contact-kicker::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--rw-primary);
}

.contact-title {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  letter-spacing: 0.1em;
  line-height: 1;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(17rem, 0.82fr) minmax(0, 1.18fr);
  align-items: stretch;
  gap: 0;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  background: var(--rw-secondary);
  color: var(--rw-bg-warm);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: 1rem 0 0 1rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
}

.contact-social {
  margin-top: auto;
  padding-top: clamp(2rem, 4.5vw, 3rem);
  border-top: 1px solid color-mix(in srgb, var(--rw-primary) 28%, transparent);
}

.contact-social-label {
  margin: 0 0 1.75rem;
}

.contact-label.contact-social-label {
  margin-bottom: 1.75rem;
}

.contact-social-list {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.contact-social-list > li {
  position: relative;
}

.contact-social-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--rw-primary) 70%, #fff);
  background: #fff;
  color: var(--rw-secondary);
  font-size: 1.15rem;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 6px 14px color-mix(in srgb, #000 28%, transparent);
  transition:
    transform 0.28s ease,
    color 0.28s ease,
    border-color 0.28s ease,
    background-color 0.28s ease,
    box-shadow 0.28s ease;
}

.contact-social-link i {
  display: block;
  line-height: 1;
  font-size: 1.2rem;
  color: inherit;
}

.contact-social-link::before,
.contact-social-link::after {
  position: absolute;
  left: 50%;
  z-index: 5;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease,
    transform 0.22s ease;
}

.contact-social-link::before {
  content: attr(data-tooltip);
  bottom: calc(100% + 0.7rem);
  transform: translateX(-50%) translateY(0.25rem);
  padding: 0.38rem 0.65rem;
  border-radius: 0.35rem;
  background: #1a1a1a;
  color: #fff;
  font-family: var(--rw-font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 18px color-mix(in srgb, #000 40%, transparent);
}

.contact-social-link::after {
  content: "";
  bottom: calc(100% + 0.42rem);
  transform: translateX(-50%) translateY(0.25rem);
  border: 0.35rem solid transparent;
  border-top-color: #1a1a1a;
}

.contact-social-link:hover,
.contact-social-link:focus-visible {
  transform: translateY(-3px);
  text-decoration: none;
  outline: none;
  box-shadow: 0 12px 24px color-mix(in srgb, #000 32%, transparent);
}

.contact-social-link:hover::before,
.contact-social-link:focus-visible::before,
.contact-social-link:hover::after,
.contact-social-link:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.contact-social-link--facebook:hover,
.contact-social-link--facebook:focus-visible {
  color: #fff;
  border-color: #1877f2;
  background: #1877f2;
}

.contact-social-link--pinterest:hover,
.contact-social-link--pinterest:focus-visible {
  color: #fff;
  border-color: #e60023;
  background: #e60023;
}

.contact-social-link--instagram:hover,
.contact-social-link--instagram:focus-visible {
  color: #fff;
  border-color: #c13584;
  background: #c13584;
}

.contact-panel .contact-social-link {
  color: var(--rw-secondary);
  text-decoration: none;
}

.contact-panel .contact-social-link:hover,
.contact-panel .contact-social-link:focus-visible {
  text-decoration: none;
}

.contact-panel .contact-social-link--facebook:hover,
.contact-panel .contact-social-link--facebook:focus-visible {
  color: #fff;
}

.contact-panel .contact-social-link--pinterest:hover,
.contact-panel .contact-social-link--pinterest:focus-visible {
  color: #fff;
}

.contact-panel .contact-social-link--instagram:hover,
.contact-panel .contact-social-link--instagram:focus-visible {
  color: #fff;
}

.contact-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.95rem;
  align-items: start;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid color-mix(in srgb, var(--rw-primary) 65%, transparent);
  color: var(--rw-primary);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.contact-label {
  margin: 0 0 0.3rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rw-primary);
}

.contact-panel a,
.contact-address {
  margin: 0;
  color: var(--rw-bg);
  text-decoration: none;
  line-height: 1.55;
}

.contact-panel a:hover,
.contact-panel a:focus-visible {
  color: var(--rw-bg-warm);
  text-decoration: underline;
}

.contact-form-panel {
  background: var(--rw-bg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: 0 1rem 1rem 0;
  box-shadow:
    0 18px 40px color-mix(in srgb, var(--rw-secondary) 8%, transparent);
  margin-left: -1px;
}

.contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem 1.25rem;
}

.contact-field--full {
  grid-column: 1 / -1;
}

.contact-form .form-label {
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rw-secondary);
}

.contact-required {
  color: var(--rw-accent);
  font-weight: 700;
}

.contact-form .form-control {
  border: 0;
  border-bottom: 1px solid var(--rw-border);
  border-radius: 0;
  background: color-mix(in srgb, var(--rw-bg-muted) 88%, var(--rw-bg-warm));
  padding: 0.85rem 0.95rem;
  color: var(--rw-secondary);
  box-shadow: none;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form .form-control::placeholder {
  color: color-mix(in srgb, var(--rw-text-muted) 75%, transparent);
}

.contact-form .form-control:hover {
  background: var(--rw-bg-muted);
}

.contact-form .form-control:focus {
  background: var(--rw-bg);
  border-bottom-color: var(--rw-primary);
  box-shadow: 0 1px 0 var(--rw-primary);
}

.contact-form textarea.form-control {
  min-height: 8.5rem;
  resize: vertical;
}

.contact-form .was-validated .form-control:invalid {
  border-bottom-color: var(--rw-accent);
  box-shadow: 0 1px 0 var(--rw-accent);
}

.contact-form .was-validated .form-control:valid {
  border-bottom-color: var(--rw-primary-dark);
}

.contact-form .invalid-feedback {
  font-size: 0.82rem;
}

.contact-submit {
  margin-top: 1.75rem;
  min-width: 11rem;
  padding: 0.9rem 1.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 0.15rem;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--rw-primary) 38%, transparent);
}

.contact-submit:hover {
  box-shadow: 0 14px 28px color-mix(in srgb, var(--rw-primary-dark) 36%, transparent);
}

.contact-success {
  margin-top: 1.25rem;
  padding: 0.9rem 1rem;
  background: color-mix(in srgb, var(--rw-bg-warm) 55%, var(--rw-bg));
  border-left: 3px solid var(--rw-primary);
  color: var(--rw-secondary);
  font-size: 0.95rem;
}

@media (max-width: 991.98px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-panel,
  .contact-form-panel {
    border-radius: 1rem;
    margin-left: 0;
  }

  .contact-form-panel {
    margin-top: 1rem;
  }

  .contact-submit {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .contact-fields {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-form .form-control,
  .contact-submit,
  .contact-social-link {
    transition: none;
  }

  .contact-social-link:hover,
  .contact-social-link:focus-visible {
    transform: none;
  }

  .contact-social-link::before,
  .contact-social-link::after {
    transition: none;
  }
}

/* —— Legal pages (Privacy / Terms) —— */
.legal-page {
  background-color: var(--rw-bg-muted);
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(4rem, 9vw, 6.5rem);
}

.legal-shell {
  width: min(100% - clamp(1.5rem, 5vw, 5.5rem) * 2, 1040px);
  margin-inline: auto;
}

.legal-intro {
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
  text-align: center;
}

.legal-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  color: var(--rw-primary);
  font-family: var(--rw-font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-kicker-rule {
  display: block;
  width: 1.75rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rw-primary), transparent);
}

.legal-title {
  margin: 0 0 0.85rem;
  color: var(--rw-secondary);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  letter-spacing: 0.1em;
}

.legal-lede {
  margin: 0 auto 0.75rem;
  max-width: 36rem;
  color: var(--rw-text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.legal-updated {
  margin: 0;
  color: color-mix(in srgb, var(--rw-text-muted) 80%, var(--rw-secondary));
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}

.legal-content {
  display: grid;
  gap: 1.35rem;
}

.legal-block {
  padding: 1.35rem 1.4rem 1.4rem;
  background: color-mix(in srgb, var(--rw-bg) 92%, var(--rw-bg-warm));
  border: 1px solid color-mix(in srgb, var(--rw-primary) 28%, var(--rw-border));
  border-radius: 0.85rem;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--rw-secondary) 4%, transparent);
}

.legal-block h2 {
  margin: 0 0 0.7rem;
  color: var(--rw-secondary);
  font-family: var(--rw-font-heading);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-block p,
.legal-block li {
  color: var(--rw-text-muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

.legal-block p {
  margin: 0 0 0.85rem;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-block ul {
  margin: 0 0 0.85rem;
  padding-left: 1.15rem;
}

.legal-block ul:last-child {
  margin-bottom: 0;
}

.legal-block li + li {
  margin-top: 0.35rem;
}

.legal-block a {
  color: var(--rw-primary-dark);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  transition: color 0.2s ease;
}

.legal-block a:hover,
.legal-block a:focus-visible {
  color: var(--rw-primary);
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

.legal-actions .btn {
  min-width: 11rem;
}

@media (max-width: 575.98px) {
  .legal-block {
    padding: 1.15rem 1.1rem 1.2rem;
  }

  .legal-actions {
    flex-direction: column;
  }

  .legal-actions .btn {
    width: 100%;
    min-width: 0;
  }
}

.site-footer {
  background-color: var(--rw-secondary);
  color: var(--rw-bg-warm);
  padding: clamp(3.25rem, 7vw, 5.25rem) 0 0;
}

.footer-shell {
  width: min(100% - clamp(1.5rem, 5vw, 5.5rem) * 2, 1180px);
  margin-inline: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(7.5rem, 0.65fr) minmax(8.5rem, 0.75fr) minmax(12rem, 1fr);
  gap: clamp(2rem, 4vw, 3.75rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.footer-logo {
  display: inline-flex;
  margin-bottom: 1.15rem;
}

.footer-logo img {
  height: 48px;
  width: auto;
}

.footer-blurb {
  margin: 0;
  max-width: 22rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--rw-bg-warm) 82%, var(--rw-bg));
}

.footer-heading {
  margin: 0 0 1rem;
  font-family: var(--rw-font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rw-primary);
}

.footer-nav ul,
.footer-contact ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li + li,
.footer-contact li + li {
  margin-top: 0.85rem;
}

.footer-nav a {
  --footer-link-shift: 0.85rem;
  position: relative;
  display: inline-block;
  color: var(--rw-bg-warm);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-family: var(--rw-font-heading);
  padding: 0.08rem 0 0.32rem;
  transform: translateX(0);
  transition:
    color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-nav a::before {
  content: "";
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: currentColor;
  opacity: 0;
  pointer-events: none;
  transform: translateX(calc(var(--footer-link-shift) * -1));
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.08rem;
  width: calc(100% - 0.08em);
  height: 1px;
  background: currentColor;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-nav a[aria-current="page"] {
  transform: translateX(var(--footer-link-shift));
}

.footer-nav a:hover::before,
.footer-nav a:focus-visible::before,
.footer-nav a[aria-current="page"]::before {
  opacity: 1;
}

.footer-nav a:hover::after,
.footer-nav a:focus-visible::after,
.footer-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.footer-contact-link {
  display: grid;
  grid-template-columns: 1.15rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  color: var(--rw-bg-warm);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.55;
  transition: color 0.2s ease;
}

.footer-contact-link i {
  color: var(--rw-primary);
  font-size: 1rem;
  line-height: 1.55;
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-nav a[aria-current="page"],
.footer-contact-link:hover,
.footer-contact-link:focus-visible {
  color: var(--rw-primary);
}

.footer-contact-link:hover i,
.footer-contact-link:focus-visible i {
  color: var(--rw-bg-warm);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--rw-primary) 35%, var(--rw-border));
  padding: 1.25rem 0 1.6rem;
  text-align: center;
}

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: color-mix(in srgb, var(--rw-bg-warm) 75%, var(--rw-text-muted));
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 0.55rem;
  margin: 0;
}

.footer-legal a {
  --footer-link-shift: 0.85rem;
  position: relative;
  display: inline-block;
  color: color-mix(in srgb, var(--rw-bg-warm) 82%, var(--rw-bg));
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  line-height: 1.6;
  padding: 0.08rem 0 0.32rem;
  transform: translateX(0);
  transition:
    color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-legal a::before {
  content: "";
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: currentColor;
  opacity: 0;
  pointer-events: none;
  transform: translateX(calc(var(--footer-link-shift) * -1));
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-legal a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.08rem;
  width: calc(100% - 0.08em);
  height: 1px;
  background: currentColor;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-legal a:hover,
.footer-legal a:focus-visible,
.footer-legal a[aria-current="page"] {
  color: var(--rw-primary);
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  transform: translateX(var(--footer-link-shift));
}

.footer-legal a:hover::before,
.footer-legal a:focus-visible::before {
  opacity: 1;
}

.footer-legal a:hover::after,
.footer-legal a:focus-visible::after {
  transform: scaleX(1);
}

.footer-copy-sep {
  display: inline-block;
  width: 0.28rem;
  height: 0.28rem;
  margin: 0 0.65rem 0.08rem;
  border-radius: 50%;
  vertical-align: middle;
  background: color-mix(in srgb, var(--rw-primary) 80%, var(--rw-bg-warm));
}

.footer-legal .footer-copy-sep {
  margin: 0;
}

.footer-credit {
  --footer-link-shift: 0.85rem;
  position: relative;
  display: inline-block;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.08rem 0 0.32rem;
  transform: translateX(0);
  transition:
    color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-credit::before {
  content: "";
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: currentColor;
  opacity: 0;
  pointer-events: none;
  transform: translateX(calc(var(--footer-link-shift) * -1));
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-credit::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.08rem;
  width: calc(100% - 0.08em);
  height: 1px;
  background: currentColor;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-credit:hover,
.footer-credit:focus-visible {
  color: var(--rw-primary);
  transform: translateX(var(--footer-link-shift));
}

.footer-credit:hover::before,
.footer-credit:focus-visible::before {
  opacity: 1;
}

.footer-credit:hover::after,
.footer-credit:focus-visible::after {
  transform: scaleX(1);
}

@media (max-width: 1199.98px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575.98px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-logo img {
    height: 44px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
  }

  .footer-legal {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-nav a,
  .footer-nav a::before,
  .footer-nav a::after,
  .footer-legal a,
  .footer-legal a::before,
  .footer-legal a::after,
  .footer-credit,
  .footer-credit::before,
  .footer-credit::after {
    transition: none;
  }

  .footer-nav a:hover,
  .footer-nav a:focus-visible,
  .footer-nav a[aria-current="page"],
  .footer-legal a:hover,
  .footer-legal a:focus-visible,
  .footer-credit:hover,
  .footer-credit:focus-visible {
    transform: none;
  }

  .footer-nav a:hover::before,
  .footer-nav a:focus-visible::before,
  .footer-nav a[aria-current="page"]::before,
  .footer-legal a:hover::before,
  .footer-legal a:focus-visible::before,
  .footer-credit:hover::before,
  .footer-credit:focus-visible::before {
    opacity: 1;
  }

  .footer-nav a:hover::after,
  .footer-nav a:focus-visible::after,
  .footer-nav a[aria-current="page"]::after,
  .footer-legal a:hover::after,
  .footer-legal a:focus-visible::after,
  .footer-credit:hover::after,
  .footer-credit:focus-visible::after {
    transform: scaleX(1);
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1080;
  padding: 0.5rem 1rem;
  background: #fff;
  color: var(--rw-secondary);
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}
