/* ==========================================================================
   Sugar Daddy Florida — production stylesheet
   --------------------------------------------------------------------------
   Palette
     Midnight Ocean  #102A38      Shell Ivory     #F7F1E8
     Gulf Blue       #1E5B6E      Palm Mist       #DCE8E1
     Sunset Coral    #E46F61      Warm White      #FFFDFC
     Champagne Sand  #D8B47C      Ink             #172126
                                  Muted Slate     #637178
   Type
     Display / headings  Cormorant Garamond (variable 300–700)
     Body / UI           Manrope (variable 200–800)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Libre Bodoni";
  src: url("../fonts/libre-bodoni-latin-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Libre Bodoni";
  src: url("../fonts/libre-bodoni-italic-latin-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Design tokens
   -------------------------------------------------------------------------- */

:root {
  --midnight: #102a38;
  --gulf: #1e5b6e;
  --coral: #e46f61;
  --coral-dark: #d15f51;
  --champagne: #d8b47c;
  --ivory: #f7f1e8;
  --palm: #dce8e1;
  --warm-white: #fffdfc;
  --ink: #172126;
  --slate: #637178;

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gradient-sunset: linear-gradient(135deg, #e46f61 0%, #d8b47c 45%, #1e5b6e 100%);
  /* Overlay weights are set by measurement, not by eye: the hero text has to
     clear 4.5:1 against the pixels behind it, and the earlier, lighter stops
     left the eyebrow line at barely 1:1 over a bright sky. */
  --gradient-sunset-overlay: linear-gradient(180deg, rgba(16, 42, 56, 0.42) 0%, rgba(16, 42, 56, 0.78) 100%);
  --gradient-bottom-fade: linear-gradient(to top, rgba(16, 42, 56, 0.92) 0%, rgba(16, 42, 56, 0.66) 55%, rgba(16, 42, 56, 0.24) 100%);
  --gradient-side-fade: linear-gradient(to right, rgba(16, 42, 56, 0.92) 0%, rgba(16, 42, 56, 0.66) 55%, rgba(16, 42, 56, 0.24) 100%);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(16, 42, 56, 0.06), 0 2px 8px rgba(16, 42, 56, 0.05);
  --shadow-md: 0 4px 16px rgba(16, 42, 56, 0.1);
  --shadow-lg: 0 10px 30px rgba(16, 42, 56, 0.14);

  --container: 1280px;
  --container-narrow: 896px;
  --container-tight: 768px;

  --header-height: 80px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   3. Reset and base
   -------------------------------------------------------------------------- */

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

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

body {
  margin: 0;
  background-color: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--midnight);
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}
h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}
h3 {
  font-size: 1.25rem;
  font-weight: 500;
}
h4 {
  font-size: 1.125rem;
  font-weight: 500;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--gulf);
  text-decoration: none;
}

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

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

img {
  height: auto;
  display: block;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

strong {
  font-weight: 700;
}

/* Components that set their own `display` (cards, grid rows) must still
   respond to the `hidden` attribute that main.js toggles when filtering. */
[hidden] {
  display: none !important;
}

hr {
  border: 0;
  border-top: 1px solid rgba(216, 180, 124, 0.4);
  margin: 2rem 0;
}

/* Focus visibility — never removed, only restyled. */
:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--tight {
  max-width: var(--container-tight);
}

.section {
  padding-block: 5rem;
}

.section--lg {
  padding-block: 6rem;
}

.section--md {
  padding-block: 4rem;
}

.section--sm {
  padding-block: 3rem;
}

.section--top-offset {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 4rem;
}

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

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

.section--palm {
  background-color: var(--palm);
}

.section--dark {
  background-color: var(--midnight);
  color: var(--warm-white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--warm-white);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--midnight);
  color: var(--warm-white);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
  color: var(--warm-white);
}

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

/* Grid helpers */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--2 {
  grid-template-columns: 1fr;
}

.grid--3 {
  grid-template-columns: 1fr;
}

.grid--4 {
  grid-template-columns: 1fr;
}

.split {
  display: grid;
  gap: 3rem;
  align-items: center;
}

/* --------------------------------------------------------------------------
   5. Typography helpers
   -------------------------------------------------------------------------- */

.eyebrow {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--champagne);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title {
  margin-bottom: 0.75rem;
}

.section-title--spaced {
  margin-bottom: 2.5rem;
}

.section-title--centered {
  text-align: center;
}

.lead {
  font-size: 1.0625rem;
  color: var(--slate);
  line-height: 1.7;
}

.section--dark .lead,
.hero .lead {
  color: rgba(255, 255, 255, 0.75);
}

.text-muted {
  color: var(--slate);
}

.text-center {
  text-align: center;
}

.divider-gold {
  width: 2.5rem;
  height: 1px;
  background-color: var(--champagne);
  margin-bottom: 1.5rem;
}

/* On-dark dimming helpers */
.hero,
.cta-band,
.role-panel,
.section--dark {
  color: var(--warm-white);
}

.hero h1,
.hero h2,
.cta-band h2,
.role-panel h2,
.role-panel h3 {
  color: var(--warm-white);
}

.text-soft {
  color: rgba(255, 255, 255, 0.75);
}

.text-softer {
  color: rgba(255, 255, 255, 0.65);
}

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

/* Trailing icon inside a button — the arrow after the label. Without an
   explicit size the SVG falls back to its replaced-element default, fills the
   flex line, and stretches the button to ~110px tall while the label wraps
   into a narrow column beside it. Sized to match .arrow-link svg. */
.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn--primary {
  background-color: var(--coral);
  color: #ffffff;
}

.btn--primary:hover {
  background-color: var(--coral-dark);
  color: #ffffff;
}

.btn--dark {
  background-color: var(--midnight);
  color: #ffffff;
}

.btn--dark:hover {
  background-color: var(--gulf);
  color: #ffffff;
}

.btn--gulf {
  background-color: var(--gulf);
  color: #ffffff;
}

.btn--gulf:hover {
  background-color: var(--midnight);
  color: #ffffff;
}

.btn--outline {
  border-color: var(--midnight);
  color: var(--midnight);
  background-color: transparent;
}

.btn--outline:hover {
  background-color: var(--midnight);
  color: #ffffff;
}

.btn--outline-gulf {
  border-color: var(--gulf);
  color: var(--gulf);
  background-color: transparent;
}

.btn--outline-gulf:hover {
  background-color: var(--gulf);
  color: #ffffff;
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
  background-color: transparent;
}

.btn--outline-light:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.btn--lg {
  padding: 1.0625rem 2.25rem;
  font-size: 1rem;
}

.btn--sm {
  padding: 0.5625rem 1.125rem;
  font-size: 0.875rem;
}

.btn--block {
  width: 100%;
}

/* Arrow link */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--coral);
  transition: gap 0.2s var(--ease), color 0.2s var(--ease);
}

.arrow-link:hover {
  gap: 0.625rem;
  color: var(--coral-dark);
}

.arrow-link--champagne {
  color: var(--champagne);
}

.arrow-link--champagne:hover {
  color: #ffffff;
}

.arrow-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   7. Site header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background-color: transparent;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

/* Pages that open on a light band (the FAQ hero and the 404 page) cannot use
   the transparent header: its white brand text would sit on ivory. They carry
   this modifier so the midnight bar is there from the first paint. */
.site-header--solid {
  background-color: var(--midnight);
}

.site-header.is-scrolled {
  background-color: var(--midnight);
  box-shadow: 0 10px 30px rgba(16, 42, 56, 0.25);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--warm-white);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--warm-white);
}

.brand__mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.brand__name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.primary-nav {
  display: none;
}

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.primary-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
  padding: 0.5rem 0;
  color: var(--warm-white);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.primary-nav__link:hover,
.primary-nav__link:focus-visible {
  color: var(--champagne);
}

.primary-nav__link[aria-current="page"] {
  border-bottom-color: var(--champagne);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.2s var(--ease);
}

.nav-dropdown.is-open .nav-dropdown__chevron {
  transform: rotate(180deg);
}

.nav-dropdown__menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.75rem);
  left: -1rem;
  min-width: 13rem;
  padding: 0.5rem;
  margin: 0;
  list-style: none;
  background-color: var(--midnight);
  border: 1px solid rgba(216, 180, 124, 0.25);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.nav-dropdown.is-open .nav-dropdown__menu {
  display: block;
}

.nav-dropdown__menu a {
  display: block;
  padding: 0.5625rem 0.875rem;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-dropdown__menu a:hover,
.nav-dropdown__menu a:focus-visible {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--champagne);
}

.site-header__actions {
  display: none;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

.site-header__actions .btn--outline-light {
  border-color: rgba(255, 255, 255, 0.4);
}

/* On login.html the Login button is the current page, so it carries
   aria-current. This gives that state the same champagne accent the primary
   nav uses for its own current item — pairing the attribute with something
   visible rather than leaving it for assistive tech alone. */
.site-header__actions .btn--outline-light[aria-current="page"] {
  border-color: var(--champagne);
  color: var(--champagne);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -0.5rem;
  border-radius: var(--radius-sm);
  color: var(--warm-white);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

.nav-toggle .nav-toggle__close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
  display: block;
}

/* Mobile navigation panel */
.mobile-nav {
  display: none;
  background-color: var(--midnight);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav__list {
  list-style: none;
  padding: 0.5rem 0 1.5rem;
}

.mobile-nav__link {
  display: block;
  padding: 0.8125rem 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav__link:hover,
.mobile-nav__link:focus-visible {
  color: var(--champagne);
}

.mobile-nav__group-label {
  padding: 1.25rem 0 0.375rem;
  color: var(--champagne);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mobile-nav__sub {
  list-style: none;
}

.mobile-nav__sub a {
  display: block;
  padding: 0.625rem 0 0.625rem 1rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav__sub a:hover,
.mobile-nav__sub a:focus-visible {
  color: var(--champagne);
}

.mobile-nav__actions {
  display: grid;
  gap: 0.75rem;
  padding-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   8. Site footer
   -------------------------------------------------------------------------- */

.site-footer {
  background-color: var(--midnight);
  color: rgba(255, 255, 255, 0.7);
  padding-block: 4rem 2rem;
}

.site-footer__top {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.site-footer__brand {
  max-width: 20rem;
}

.site-footer__tagline {
  margin: 1.25rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

.site-footer__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}

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

.site-footer__list {
  list-style: none;
  display: grid;
  gap: 0.625rem;
}

.site-footer__list a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}

.site-footer__list a:hover,
.site-footer__list a:focus-visible {
  color: var(--champagne);
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  overflow: hidden;
  background-color: var(--midnight);
  min-height: 60vh;
}

.hero--full {
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero--tall {
  min-height: 80vh;
  align-items: flex-end;
}

.hero--medium {
  min-height: 55vh;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero--short {
  min-height: 50vh;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-sunset-overlay);
}

.hero__overlay--bottom {
  background: var(--gradient-bottom-fade);
}

.hero__overlay--side {
  background: var(--gradient-side-fade);
}

/* Even midnight wash — keeps a photographic hero legible at low opacity. */
.hero__overlay--dim {
  background: rgba(16, 42, 56, 0.72);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: 7rem 4rem;
}

.hero--full .hero__inner {
  padding-block: calc(var(--header-height) + 3rem) 5rem;
}

.hero--tall .hero__inner {
  padding-block: 6rem 5rem;
}

.hero__title {
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
}

.hero--full .hero__title {
  font-size: clamp(3rem, 8vw, 4.75rem);
}

.hero--short .hero__title,
.hero--medium .hero__title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
}

.hero__subtitle {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* A soft scrim behind hero text. The overlay gradients cannot guarantee
   contrast over a bright sky in every photograph, and darkening the whole
   image enough to do so would cost the design more than this does. */
.hero__title,
.hero__subtitle,
.hero .eyebrow {
  text-shadow: 0 1px 14px rgba(16, 42, 56, 0.85), 0 1px 3px rgba(16, 42, 56, 0.55);
}

/* Champagne reads well on the midnight sections but disappears over a photo,
   so the hero keeps the warm hue at a lighter tint. */
.hero .eyebrow {
  color: #f8efdd;
}

.hero__subtitle--centered {
  max-width: 42rem;
  margin-inline: auto;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero--full .hero__actions {
  justify-content: center;
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
  list-style: none;
  margin-top: 2.5rem;
}

.hero__pill {
  display: inline-block;
  padding: 0.5rem 1.125rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.hero__pill:hover,
.hero__pill:focus-visible {
  background-color: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

.hero__scroll {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
}

.hero__scroll svg {
  width: 28px;
  height: 28px;
}

.hero__lede {
  max-width: 34rem;
}

/* Homepage hero: centered on small screens, editorial left rail on desktop. */
.hero--home {
  min-height: max(100svh, 43rem);
}

.hero--home .hero__media {
  object-position: 58% center;
}

.hero--home .hero__overlay {
  background:
    linear-gradient(180deg, rgba(16, 42, 56, 0.45) 0%, rgba(16, 42, 56, 0.72) 72%, rgba(16, 42, 56, 0.86) 100%),
    linear-gradient(90deg, rgba(16, 42, 56, 0.3), rgba(16, 42, 56, 0.1));
}

.hero--home .hero__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: max(100svh, 43rem);
  text-align: center;
}

.hero--home .hero__content {
  width: 100%;
  max-width: 44rem;
}

.hero--home .hero__title {
  margin-bottom: 1.25rem;
  color: var(--warm-white);
  font-family: "Libre Bodoni", var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.15rem, 9vw, 2.65rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.hero--home .hero__title span {
  display: block;
}

.hero--home .hero__title em {
  color: #f3c88f;
  font-style: italic;
  font-weight: 400;
}

.hero--home .hero__subtitle {
  max-width: 39rem;
  margin-inline: auto;
  font-size: clamp(1rem, 2.8vw, 1.15rem);
}

.hero--home .hero__actions {
  justify-content: center;
  width: 100%;
  max-width: 22rem;
  margin-inline: auto;
}

.hero--home .hero__actions .btn {
  width: 100%;
  min-height: 3.25rem;
}

.hero__city-label {
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero--home .hero__pills {
  margin-top: 0.8rem;
}

.hero--home .hero__pill {
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
}

@media (max-width: 767px) {
  .hero--home .hero__content {
    transform: translateY(clamp(1.5rem, 4svh, 2.25rem));
  }
}

/* --------------------------------------------------------------------------
   10. Breadcrumb
   -------------------------------------------------------------------------- */

.breadcrumb {
  padding-block: 1rem;
  background-color: var(--ivory);
}

.section--white + .breadcrumb,
.breadcrumb + .section--white {
  background-color: var(--ivory);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  list-style: none;
  font-size: 0.8125rem;
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "\203A";
  color: var(--champagne);
  font-size: 1rem;
  line-height: 1;
}

.breadcrumb__item a {
  color: var(--slate);
}

.breadcrumb__item a:hover,
.breadcrumb__item a:focus-visible {
  color: var(--gulf);
}

.breadcrumb__item--current {
  color: var(--midnight);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   11. Cards
   -------------------------------------------------------------------------- */

.panel {
  background-color: var(--warm-white);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.panel--ivory {
  background-color: var(--ivory);
}

.panel__icon {
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.panel__title {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 500;
}

.panel__text {
  color: var(--slate);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.panel--soft {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.panel--soft .panel__text {
  color: rgba(255, 255, 255, 0.7);
}

/* Bullet lists -------------------------------------------------------- */

.check-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.check-list__item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--slate);
  font-size: 0.875rem;
  line-height: 1.65;
}

.check-list__item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: var(--gulf);
}

.check-list--light .check-list__item {
  color: rgba(255, 255, 255, 0.75);
}

.check-list--light .check-list__item svg {
  color: var(--champagne);
}

.numbered-list {
  list-style: none;
  display: grid;
  gap: 1rem;
  counter-reset: numbered;
}

.numbered-list__item {
  display: flex;
  gap: 0.875rem;
  color: var(--slate);
  font-size: 0.9375rem;
  line-height: 1.65;
  counter-increment: numbered;
}

.numbered-list__item::before {
  content: counter(numbered);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.625rem;
  height: 1.625rem;
  border-radius: 50%;
  background-color: rgba(216, 180, 124, 0.25);
  color: var(--midnight);
  font-size: 0.8125rem;
  font-weight: 700;
}

/* Role guides --------------------------------------------------------- */

.eyebrow--gulf {
  color: var(--gulf);
}

.role-guide__intro {
  max-width: 58rem;
  margin-bottom: 2.75rem;
}

.role-guide__intro .lead {
  margin-bottom: 1rem;
}

.role-guide__note {
  max-width: 52rem;
  padding: 0.875rem 1rem;
  border-left: 3px solid var(--champagne);
  background: rgba(216, 180, 124, 0.12);
  color: var(--slate);
  font-size: 0.875rem;
  line-height: 1.65;
}

.role-guide__centered-heading {
  max-width: 48rem;
  margin-inline: auto;
}

.role-context-grid,
.life-stage-grid,
.role-type-grid,
.meeting-context__grid,
.etiquette-grid {
  display: grid;
  gap: 1rem;
}

.role-context-card {
  min-width: 0;
  padding: 1.5rem;
  border: 1px solid rgba(16, 42, 56, 0.1);
  border-top: 3px solid var(--gulf);
  border-radius: var(--radius-lg);
  background: var(--warm-white);
  box-shadow: var(--shadow-sm);
}

.role-context-card__label,
.life-stage-card__range,
.role-type-card__number,
.etiquette-card__label {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--gulf);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.role-context-card h3,
.life-stage-card h4,
.role-type-card h3,
.meeting-context h3,
.etiquette-card h3 {
  margin-bottom: 0.625rem;
}

.role-context-card h3 {
  font-size: 1.3rem;
}

.role-context-card p,
.life-stage-card p,
.role-type-card p,
.meeting-context p,
.etiquette-card li {
  color: var(--slate);
  font-size: 0.9rem;
  line-height: 1.7;
}

.life-stage-block {
  margin-top: 3.5rem;
}

.life-stage-card {
  padding: 1.35rem 0 0;
  border-top: 1px solid rgba(16, 42, 56, 0.22);
}

.life-stage-card h4 {
  color: var(--midnight);
  font-size: 1.2rem;
}

.preference-strip {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background: var(--palm);
}

.preference-strip > h4 {
  margin-bottom: 1rem;
  color: var(--midnight);
  font-size: 1.35rem;
}

.preference-strip__grid {
  display: grid;
  gap: 0.875rem;
}

.preference-strip__grid p {
  color: var(--slate);
  font-size: 0.875rem;
  line-height: 1.65;
}

.preference-strip__grid strong {
  color: var(--midnight);
}

.role-type-card {
  min-width: 0;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--ivory);
  box-shadow: inset 0 0 0 1px rgba(16, 42, 56, 0.07);
}

.role-type-card--white {
  background: var(--warm-white);
  box-shadow: var(--shadow-sm);
}

.role-type-card__number {
  color: var(--gulf);
}

.role-type-card__approach {
  margin-top: 0.875rem;
  padding-top: 0.875rem;
  border-top: 1px solid rgba(16, 42, 56, 0.1);
}

.role-type-card__approach strong {
  color: var(--midnight);
}

.meeting-context {
  margin-top: 3rem;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background: var(--warm-white);
  box-shadow: var(--shadow-sm);
}

.meeting-context > h3 {
  font-size: 1.6rem;
}

.meeting-context__grid {
  margin-top: 1.25rem;
}

.meeting-context__grid p {
  padding-top: 1rem;
  border-top: 1px solid rgba(16, 42, 56, 0.12);
}

.meeting-context__grid strong {
  color: var(--midnight);
}

.meeting-context__footnote {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--ivory);
}

.meeting-context a {
  color: var(--gulf);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.etiquette-card {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.07);
}

.etiquette-card h3 {
  color: var(--warm-white);
}

.etiquette-card ul {
  display: grid;
  gap: 0.75rem;
  list-style: none;
}

.etiquette-card li {
  position: relative;
  padding-left: 1.5rem;
  color: rgba(255, 255, 255, 0.76);
}

.etiquette-card li::before {
  position: absolute;
  left: 0;
  top: 0.05rem;
  font-weight: 800;
}

.etiquette-card--do .etiquette-card__label,
.etiquette-card--do li::before {
  color: var(--champagne);
}

.etiquette-card--do li::before {
  content: "\2713";
}

.etiquette-card--dont .etiquette-card__label,
.etiquette-card--dont li::before {
  color: var(--coral);
}

.etiquette-card--dont li::before {
  content: "\00D7";
  font-size: 1.15rem;
  line-height: 1.2;
}

.section-link-row {
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: center;
}

.section-link-row .arrow-link {
  display: inline;
}

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

  .life-stage-grid,
  .meeting-context__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .role-type-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .role-type-grid > * {
    grid-column: span 2;
  }

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

  .role-type-grid > :nth-child(4) {
    grid-column: 2 / span 2;
  }

  .role-type-grid > :nth-child(5) {
    grid-column: 4 / span 2;
  }

  .meeting-context,
  .etiquette-card {
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  /* Editorial desktop treatment: avoid repeated card walls and let the copy
     read like a considered guide rather than a component catalogue. */
  .role-guide--context > .container {
    display: grid;
    grid-template-columns: minmax(17rem, 0.72fr) minmax(0, 1.28fr);
    column-gap: clamp(3.5rem, 7vw, 7rem);
    align-items: start;
  }

  .role-guide--context .role-guide__intro {
    margin: 0;
  }

  .role-guide--context .role-guide__intro .lead {
    font-size: 1rem;
  }

  .role-guide--context .role-guide__note {
    margin-top: 1.5rem;
    padding: 1rem 0 0;
    border-top: 1px solid rgba(16, 42, 56, 0.18);
    border-left: 0;
    background: transparent;
  }

  .role-guide--context .role-context-grid {
    display: block;
  }

  .role-guide--context .role-context-card {
    display: grid;
    grid-template-columns: 6.5rem minmax(11rem, 0.8fr) minmax(0, 1.2fr);
    gap: 1.5rem;
    align-items: start;
    padding: 1.4rem 0;
    border: 0;
    border-top: 1px solid rgba(16, 42, 56, 0.2);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .role-guide--context .role-context-card:last-child {
    border-bottom: 1px solid rgba(16, 42, 56, 0.2);
  }

  .role-guide--context .role-context-card__label {
    margin: 0;
    padding-top: 0.2rem;
    line-height: 1.5;
  }

  .role-guide--context .role-context-card h3 {
    margin: 0;
    font-size: 1.22rem;
    line-height: 1.25;
  }

  .role-guide--context .role-context-card p {
    line-height: 1.65;
  }

  .role-guide--context .life-stage-block {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(17rem, 0.72fr) minmax(0, 1.28fr);
    column-gap: clamp(3.5rem, 7vw, 7rem);
    margin-top: 6rem;
    padding: 3.5rem clamp(2.25rem, 4vw, 4rem);
    border-top: 1px solid rgba(16, 42, 56, 0.08);
    border-bottom: 1px solid rgba(16, 42, 56, 0.08);
    background: var(--palm);
  }

  .role-guide--context .life-stage-block > .section-heading {
    margin: 0;
  }

  .role-guide--context .life-stage-grid {
    gap: 2rem;
  }

  .role-guide--context .life-stage-card {
    padding-top: 1rem;
  }

  .role-guide--context .preference-strip {
    grid-column: 2;
    margin-top: 3rem;
    padding: 1.75rem 2rem;
    border-radius: 2px;
    background: var(--midnight);
  }

  .role-guide--context .preference-strip > h4,
  .role-guide--context .preference-strip__grid strong {
    color: var(--warm-white);
  }

  .role-guide--context .preference-strip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 2rem;
  }

  .role-guide--context .preference-strip__grid p {
    color: rgba(255, 255, 255, 0.68);
  }

  .role-guide--types > .container {
    display: grid;
    grid-template-columns: minmax(17rem, 0.52fr) minmax(0, 1.48fr);
    column-gap: clamp(3.5rem, 7vw, 7rem);
    align-items: start;
  }

  .role-guide--types .role-guide__centered-heading {
    max-width: none;
    margin: 0;
    text-align: left;
  }

  .role-guide--types .role-type-grid {
    display: block;
  }

  .role-guide--types .role-type-card,
  .role-guide--types .role-type-card--white {
    display: grid;
    grid-template-columns: 2.75rem minmax(11rem, 0.62fr) minmax(0, 1.38fr);
    gap: 0.45rem 1.5rem;
    padding: 1.45rem 0;
    border: 0;
    border-top: 1px solid rgba(16, 42, 56, 0.2);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .role-guide--types .role-type-card:last-child {
    border-bottom: 1px solid rgba(16, 42, 56, 0.2);
  }

  .role-guide--types .role-type-card__number {
    grid-row: 1 / span 2;
    margin: 0;
    padding-top: 0.15rem;
  }

  .role-guide--types .role-type-card h3 {
    margin: 0;
    font-size: 1.22rem;
    line-height: 1.3;
  }

  .role-guide--types .role-type-card > p:not(.role-type-card__approach) {
    margin: 0;
  }

  .role-guide--types .role-type-card__approach {
    grid-column: 2 / 4;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 0.84rem;
  }

  .meeting-context {
    display: grid;
    grid-template-columns: minmax(13rem, 0.45fr) minmax(0, 1.55fr);
    gap: 0 4rem;
    align-items: start;
    margin-top: 4rem;
    padding: 2.5rem 3rem;
    border-radius: 2px;
    background: var(--midnight);
    box-shadow: none;
  }

  .meeting-context > h3 {
    margin: 0;
    color: var(--warm-white);
    font-size: 1.75rem;
    line-height: 1.15;
  }

  .meeting-context__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin: 0;
  }

  .meeting-context__grid p {
    padding: 0;
    border: 0;
    color: rgba(255, 255, 255, 0.7);
  }

  .meeting-context__grid strong {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--champagne);
  }

  .meeting-context__footnote {
    grid-column: 2;
    margin-top: 1.5rem;
    padding: 1rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.62) !important;
  }

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

  .etiquette-grid {
    gap: 0;
    margin-top: 3rem;
  }

  .etiquette-card {
    padding: 0 3rem 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .etiquette-card + .etiquette-card {
    padding: 0 0 0 3rem;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
  }

  .section-link-row {
    margin-top: 3rem;
  }
}

/* Profile card -------------------------------------------------------- */

.profile-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.profile-card {
  display: flex;
  flex-direction: column;
  background-color: var(--warm-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.profile-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.profile-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background-color: var(--palm);
  overflow: hidden;
}

.profile-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transition: transform 0.5s var(--ease);
}

.profile-card__media::after {
  content: "";
  position: absolute;
  top: 0.625rem;
  right: 0.625rem;
  z-index: 2;
  width: 1.875rem;
  height: 1.875rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background-color: rgba(16, 42, 56, 0.78);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3d9ad' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10' width='14' height='10' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1rem;
  box-shadow: 0 4px 14px rgba(9, 29, 41, 0.2);
  backdrop-filter: blur(5px);
}

.profile-card:hover .profile-card__media img {
  transform: scale(1.05);
}

.profile-card__role {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.3125rem 0.75rem;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.profile-card__role--daddy {
  background-color: rgba(30, 91, 110, 0.85);
}

.profile-card__role--baby {
  background-color: rgba(228, 111, 97, 0.85);
}

.profile-card__verified {
  display: none;
}

.profile-card__verified svg {
  width: 12px;
  height: 12px;
}

.profile-card__body {
  padding: 1.25rem;
}

.profile-card__name {
  margin-bottom: 0.25rem;
  font-size: 1.25rem;
  font-weight: 500;
}

.profile-card__city {
  display: flex;
  align-items: center;
  gap: 0.3125rem;
  margin: 0 0 0.75rem;
  color: var(--slate);
  font-size: 0.8125rem;
}

.profile-card__city svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--champagne);
}

.profile-card__headline {
  margin-bottom: 1rem;
  color: var(--slate);
  font-size: 0.875rem;
  line-height: 1.6;
}

.profile-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  list-style: none;
}

.profile-card__tags li {
  padding: 0.25rem 0.625rem;
  border: 1px solid rgba(216, 180, 124, 0.3);
  border-radius: 999px;
  background-color: var(--ivory);
  color: var(--slate);
  font-size: 0.75rem;
}

@media (max-width: 639px) {
  .carousel__track > :nth-child(3) {
    order: 4;
  }

  .carousel__track > :nth-child(4) {
    order: 3;
  }

  .profile-card__body {
    padding: 0.75rem;
  }

  .profile-card__name {
    font-size: 1rem;
  }

  .profile-card__city {
    margin-bottom: 0;
    font-size: 0.6875rem;
    line-height: 1.4;
  }

  .profile-card__city svg {
    width: 12px;
    height: 12px;
  }

  .profile-card__headline,
  .profile-card__tags {
    display: none;
  }

  .profile-card__role {
    left: 0.5rem;
    bottom: 0.5rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.625rem;
  }
}

/* City card ----------------------------------------------------------- */

.city-card {
  display: flex;
  flex-direction: column;
  background-color: var(--warm-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  color: inherit;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.city-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  color: inherit;
}

.city-card__media {
  position: relative;
  height: 12rem;
  background-color: var(--palm);
  overflow: hidden;
}

.city-card--featured .city-card__media {
  height: 14rem;
}

.city-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.city-card:hover .city-card__media img {
  transform: scale(1.05);
}

.city-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 42, 56, 0.6) 0%, transparent 65%);
}

.city-card__name {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1rem;
  z-index: 1;
  color: var(--warm-white);
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.12;
}

.city-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.city-card__tagline {
  margin-bottom: 0.5rem;
  color: var(--gulf);
  font-size: 0.875rem;
  font-weight: 600;
}

.city-card__desc {
  margin-bottom: 1.25rem;
  color: var(--slate);
  font-size: 0.875rem;
  line-height: 1.7;
  flex: 1;
}

.city-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--coral);
  font-size: 0.875rem;
  font-weight: 600;
  transition: gap 0.2s var(--ease);
}

.city-card__link svg {
  width: 14px;
  height: 14px;
}

.city-card:hover .city-card__link {
  gap: 0.625rem;
}

/* Tile (compact link card) -------------------------------------------- */

.tile {
  display: block;
  padding: 1.25rem;
  border-radius: var(--radius);
  background-color: var(--ivory);
  color: inherit;
  transition: background-color 0.2s var(--ease);
}

.tile:hover {
  background-color: var(--palm);
  color: inherit;
}

.tile__title {
  margin-bottom: 0.25rem;
  font-size: 1.25rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}

.tile:hover .tile__title {
  color: var(--gulf);
}

.tile__text {
  color: var(--slate);
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   12. Carousel (profile row)
   -------------------------------------------------------------------------- */

.carousel {
  position: relative;
}

.carousel__track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  overflow: visible;
  padding-bottom: 0;
}

.carousel__track > * {
  scroll-snap-align: start;
}

.carousel__controls {
  display: none;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.carousel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(16, 42, 56, 0.2);
  border-radius: 50%;
  color: var(--midnight);
  background-color: var(--warm-white);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.carousel__btn svg {
  width: 18px;
  height: 18px;
}

.carousel__btn:hover:not(:disabled) {
  background-color: var(--midnight);
  color: var(--warm-white);
}

.carousel__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   13. Role panels
   -------------------------------------------------------------------------- */

.roles {
  display: grid;
  gap: 1px;
  background-color: var(--ivory);
}

.role-panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-width: 0;
  min-height: 30rem;
  overflow: hidden;
  background-color: var(--midnight);
}

.role-panel__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.role-panel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 42, 56, 0.88) 0%, rgba(16, 42, 56, 0.35) 60%, rgba(16, 42, 56, 0.1) 100%);
}

.role-panel--baby .role-panel__overlay {
  background: linear-gradient(to top, rgba(30, 91, 110, 0.9) 0%, rgba(30, 91, 110, 0.4) 60%, rgba(30, 91, 110, 0.15) 100%);
}

.role-panel__body {
  position: relative;
  z-index: 1;
  padding: 3rem 1.75rem;
  width: 100%;
}

.role-panel__title {
  margin-bottom: 0.75rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.role-panel__text {
  max-width: 26rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   14. Steps
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  gap: 2rem;
  list-style: none;
}

.step__num {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--champagne);
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 300;
  line-height: 1;
}

.step__icon {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step__icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--gulf);
}

.step__title {
  margin-bottom: 0.5rem;
  color: var(--warm-white);
  font-size: 1.375rem;
  font-weight: 500;
}

.step__text {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.steps--light .step__title {
  color: var(--midnight);
}

.steps--light .step__text {
  color: var(--slate);
}

/* Homepage app promotion */
.section--app-promo {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
  background:
    radial-gradient(circle at 88% 18%, rgba(228, 111, 97, 0.24), transparent 30%),
    radial-gradient(circle at 12% 92%, rgba(216, 180, 124, 0.16), transparent 34%),
    linear-gradient(135deg, #174f61 0%, #123e4e 48%, #172f3b 100%);
}

.section--app-promo .container {
  max-width: 1440px;
}

.app-promo {
  position: relative;
  display: grid;
  background: transparent;
}

.app-promo__content {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 7vw, 4.75rem) clamp(1.25rem, 6vw, 4.75rem) 1.5rem;
  text-align: center;
}

.app-promo__content .eyebrow {
  color: var(--champagne);
}

.app-promo__title {
  max-width: 15ch;
  margin: 0 auto 1.25rem;
  color: var(--warm-white);
  font-size: clamp(2.5rem, 8vw, 4.25rem);
  line-height: 1;
}

.app-promo__text {
  max-width: 42rem;
  margin: 0 auto 1.5rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.75;
}

.app-promo__benefits {
  display: grid;
  gap: 0.7rem;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 1.75rem;
  list-style: none;
  color: rgba(255, 255, 255, 0.88);
  text-align: left;
}

.app-promo__benefits li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
}

.app-promo__benefits svg {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--champagne);
}

.app-promo__store-label {
  margin-bottom: 0.625rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-promo__stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 10.5rem;
  min-height: 3.5rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 0.7rem;
  background-color: #050708;
  color: #ffffff;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.store-badge:hover,
.store-badge:focus-visible {
  border-color: var(--champagne);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

.store-badge__icon {
  flex: 0 0 auto;
  width: 1.65rem;
  height: 1.65rem;
}

.store-badge__icon--play {
  width: 1.75rem;
  height: 1.75rem;
}

.store-badge span {
  display: grid;
  line-height: 1.05;
}

.store-badge small {
  font-size: 0.58rem;
  letter-spacing: 0.02em;
}

.store-badge strong {
  margin-top: 0.2rem;
  font-size: 1.05rem;
  font-weight: 500;
}

.app-promo__visual {
  position: relative;
  align-self: end;
  padding: 0 0.25rem 0.25rem;
}

.app-promo__visual::before {
  content: "";
  position: absolute;
  inset: 10% 8% 4%;
  border-radius: 50%;
  background: rgba(30, 91, 110, 0.32);
  filter: blur(42px);
}

.app-promo__visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

/* Alternating process rows */
.process {
  display: grid;
  gap: 2.5rem;
}

.process__row {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.process__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--palm);
  aspect-ratio: 3 / 2;
}

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

.process__num {
  display: block;
  margin-bottom: 0.625rem;
  color: var(--champagne);
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
}

.process__title {
  margin-bottom: 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.process__text {
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   15. Lifestyle image grid
   -------------------------------------------------------------------------- */

.lifestyle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 9rem;
  gap: 0.75rem;
}

.lifestyle__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--palm);
}

.lifestyle__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.lifestyle__item:hover img {
  transform: scale(1.05);
}

.lifestyle__item--feature {
  grid-column: span 2;
  grid-row: span 2;
}

/* --------------------------------------------------------------------------
   16. FAQ accordion
   -------------------------------------------------------------------------- */

.faq {
  display: grid;
  gap: 0.5rem;
  margin: 0;
}

.faq__item {
  background-color: var(--ivory);
  border-radius: var(--radius);
  overflow: hidden;
}

.section--ivory .faq__item {
  background-color: var(--warm-white);
}

.section--white .faq__item {
  background-color: var(--ivory);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.125rem 1.5rem;
  text-align: left;
  color: var(--midnight);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
}

.faq__q svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--coral);
  transition: transform 0.25s var(--ease);
}

.faq__q[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.faq__a {
  margin: 0;
  padding: 0 1.5rem 1.25rem;
}

.faq__a p {
  color: var(--slate);
  font-size: 0.9375rem;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   17. Bottom call to action
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 26rem;
  overflow: hidden;
  background-color: var(--midnight);
  text-align: center;
}

.cta-band__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.cta-band__overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-sunset-overlay);
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  padding: 4rem 1rem;
}

.cta-band__title {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.cta-band__text {
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.0625rem;
}

/* --------------------------------------------------------------------------
   18. Editorial prose
   -------------------------------------------------------------------------- */

.prose-editorial {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--slate);
}

.prose-editorial h2 {
  margin-top: 2em;
  margin-bottom: 0.75rem;
  font-size: 2rem;
  font-weight: 500;
  color: var(--midnight);
}

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

.prose-editorial h3 {
  margin-top: 1.75em;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--midnight);
}

.prose-editorial p {
  margin-bottom: 1.25rem;
}

.prose-editorial ul {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.prose-editorial ul li {
  position: relative;
  padding-left: 1.5rem;
}

.prose-editorial ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 1px;
  background-color: var(--champagne);
}

.prose-editorial strong {
  color: var(--midnight);
  font-weight: 700;
}

.prose-editorial a {
  color: var(--gulf);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose-editorial a:hover {
  color: var(--coral);
}

/* --------------------------------------------------------------------------
   19. Table of contents (legal pages)
   -------------------------------------------------------------------------- */

.legal-layout {
  display: grid;
  gap: 2.5rem;
}

.toc {
  align-self: start;
}

.toc__card {
  padding: 1.25rem;
  border-radius: var(--radius);
  background-color: var(--warm-white);
}

.toc__label {
  margin-bottom: 1rem;
  color: var(--slate);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.toc__list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  counter-reset: toc;
}

.toc__item {
  counter-increment: toc;
}

.toc__link {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  width: 100%;
  padding: 0;
  color: var(--slate);
  font-size: 0.875rem;
  text-align: left;
  transition: color 0.2s var(--ease);
}

.toc__link::before {
  content: counter(toc) ".";
  flex-shrink: 0;
  color: var(--champagne);
}

.toc__link:hover,
.toc__link:focus-visible {
  color: var(--gulf);
}

/* --------------------------------------------------------------------------
   20. Category navigation and filter chips
   -------------------------------------------------------------------------- */

.category-layout {
  display: grid;
  gap: 2.5rem;
}

.category-nav__list {
  list-style: none;
  display: grid;
  gap: 0.25rem;
}

.category-nav__btn {
  width: 100%;
  padding: 0.625rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--slate);
  font-size: 0.875rem;
  text-align: left;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.category-nav__btn:hover {
  background-color: var(--ivory);
  color: var(--ink);
}

.category-nav__btn[aria-selected="true"] {
  background-color: var(--gulf);
  color: #ffffff;
  font-weight: 600;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.chip {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background-color: var(--warm-white);
  color: var(--slate);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.chip:hover {
  background-color: var(--palm);
  color: var(--midnight);
}

.chip[aria-pressed="true"] {
  background-color: var(--gulf);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   21. Articles
   -------------------------------------------------------------------------- */

.post-featured {
  display: grid;
  background-color: var(--warm-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}

.post-featured__media {
  position: relative;
  height: 18rem;
  background-color: var(--palm);
  overflow: hidden;
}

.post-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.post-featured:hover .post-featured__media img {
  transform: scale(1.05);
}

.post-featured__body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-featured__title {
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  transition: color 0.2s var(--ease);
}

.post-featured:hover .post-featured__title {
  color: var(--gulf);
}

.post-featured__excerpt {
  margin-bottom: 1.5rem;
  color: var(--slate);
  font-size: 0.9375rem;
  line-height: 1.75;
}

.post-card {
  display: flex;
  flex-direction: column;
  background-color: var(--warm-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.post-card__media {
  position: relative;
  height: 13rem;
  background-color: var(--palm);
  overflow: hidden;
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.post-card:hover .post-card__media img {
  transform: scale(1.05);
}

.post-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card__title {
  margin-bottom: 0.75rem;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.25;
  transition: color 0.2s var(--ease);
}

.post-card:hover .post-card__title {
  color: var(--gulf);
}

.post-card__excerpt {
  margin-bottom: 1.25rem;
  color: var(--slate);
  font-size: 0.875rem;
  line-height: 1.7;
  flex: 1;
}

.post-card__read {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--coral);
  font-size: 0.875rem;
  font-weight: 600;
}

.post-card__read svg {
  width: 16px;
  height: 16px;
}

.post-card__badge,
.post-featured__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  background-color: rgba(16, 42, 56, 0.8);
  color: var(--champagne);
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.post-card__date,
.post-featured__date {
  margin-bottom: 0.75rem;
  color: var(--slate);
  font-size: 0.75rem;
}

.post-card__title a,
.post-featured__title a {
  color: inherit;
  text-decoration: none;
}

.article-header {
  padding-bottom: 2.75rem;
  text-align: center;
}

.article-header__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.article-header__copy {
  min-width: 0;
}

.article-header__eyebrow {
  margin-bottom: 0.75rem;
  color: var(--coral);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-header__title {
  max-width: 900px;
  margin-inline: auto;
  font-size: clamp(2.25rem, 11vw, 4.75rem);
  line-height: 1.05;
}

.article-header__dek {
  max-width: 760px;
  margin: 1.25rem auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.75rem;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.article-byline a {
  color: var(--champagne);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-header__media {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.article-header__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.article-layout {
  display: grid;
  gap: 2.5rem;
}

.article-layout--with-toc {
  align-items: start;
}

.article-body {
  min-width: 0;
  max-width: var(--container-narrow);
}

.article-body h2[id] {
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.article-toc .toc__card {
  border: 1px solid rgba(16, 42, 56, 0.09);
  box-shadow: var(--shadow-sm);
}

.article-toc .toc__link {
  line-height: 1.45;
}

.article-callout,
.source-note {
  margin: 2rem 0;
  padding: 1.5rem;
  border-left: 3px solid var(--coral);
  background: var(--ivory);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.source-note {
  border-left-color: var(--champagne);
  font-size: 0.9375rem;
}

.prose-editorial ol {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0;
  padding-left: 1.4rem;
}

.author-card {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin-top: 3rem;
  padding: 1.75rem;
  background: var(--palm);
  border-radius: var(--radius-lg);
}

.author-card__photo {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
}

.author-card__name {
  margin-bottom: 0.4rem;
  font-size: 1.5rem;
}

.author-card__role {
  margin-bottom: 0.65rem;
  color: var(--gulf);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.author-card__bio {
  color: var(--slate);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   21b. Static conversation preview
   -------------------------------------------------------------------------- */

.chat-showcase {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.chat-showcase__copy {
  max-width: 36rem;
}

.chat-showcase__points {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  list-style: none;
}

.chat-showcase__point {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.875rem;
  align-items: start;
}

.chat-showcase__point-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(30, 91, 110, 0.1);
  color: var(--gulf);
}

.chat-showcase__point-icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.chat-showcase__point strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--midnight);
}

.chat-showcase__point p {
  color: var(--slate);
  font-size: 0.9375rem;
}

.chat-preview {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 42, 56, 0.1);
  border-radius: var(--radius-xl);
  background: var(--warm-white);
  box-shadow: 0 24px 60px rgba(16, 42, 56, 0.18);
}

.chat-preview__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1.25rem;
  background: var(--midnight);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.chat-preview__label strong {
  color: var(--champagne);
  font-weight: 700;
}

.chat-preview__header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(16, 42, 56, 0.09);
}

.chat-preview__avatar {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.chat-preview__person {
  min-width: 0;
}

.chat-preview__name {
  margin: 0;
  color: var(--midnight);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
}

.chat-preview__status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  color: var(--slate);
  font-size: 0.75rem;
}

.chat-preview__status::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #4d8f6d;
}

.chat-preview__body {
  display: grid;
  gap: 0.9rem;
  min-height: 31rem;
  padding: 1.25rem;
  background:
    radial-gradient(circle at 10% 10%, rgba(216, 180, 124, 0.12), transparent 28%),
    linear-gradient(180deg, #f9f6f0 0%, #f3eee6 100%);
}

.chat-preview__date {
  justify-self: center;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(16, 42, 56, 0.07);
  color: var(--slate);
  font-size: 0.6875rem;
}

.chat-bubble {
  max-width: min(86%, 29rem);
}

.chat-bubble--sent {
  justify-self: end;
}

.chat-bubble__text {
  margin: 0;
  padding: 0.8rem 1rem;
  border-radius: 0.35rem 1rem 1rem 1rem;
  background: var(--warm-white);
  color: var(--ink);
  font-size: 0.875rem;
  line-height: 1.55;
  box-shadow: var(--shadow-sm);
}

.chat-bubble--sent .chat-bubble__text {
  border-radius: 1rem 0.35rem 1rem 1rem;
  background: var(--gulf);
  color: var(--warm-white);
}

.chat-bubble__meta {
  margin: 0.25rem 0.35rem 0;
  color: var(--slate);
  font-size: 0.65rem;
}

.chat-bubble--sent .chat-bubble__meta {
  text-align: right;
}

.chat-preview__composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(16, 42, 56, 0.09);
  background: var(--warm-white);
}

.chat-preview__placeholder {
  overflow: hidden;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(16, 42, 56, 0.12);
  border-radius: 999px;
  color: var(--slate);
  font-size: 0.8125rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.chat-preview__send {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--coral);
  color: var(--warm-white);
  opacity: 0.55;
}

.chat-preview__send svg {
  width: 1.1rem;
  height: 1.1rem;
}

.message-example {
  height: 100%;
  padding: 1.75rem;
  border-top: 3px solid var(--champagne);
  border-radius: var(--radius-lg);
  background: var(--warm-white);
  box-shadow: var(--shadow-sm);
}

.message-example__label {
  margin-bottom: 0.75rem;
  color: var(--gulf);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.message-example__quote {
  margin-bottom: 1rem;
  color: var(--midnight);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.35;
}

.message-example__why {
  color: var(--slate);
  font-size: 0.875rem;
}

.chat-editorial {
  position: relative;
  min-height: 30rem;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

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

.chat-editorial__caption {
  position: absolute;
  inset: auto 1rem 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: rgba(16, 42, 56, 0.9);
  color: var(--warm-white);
  font-size: 0.875rem;
  backdrop-filter: blur(8px);
}

/* --------------------------------------------------------------------------
   22. Login page
   -------------------------------------------------------------------------- */

.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  /* The header is fixed, so the section is pushed clear of it rather than
     sitting under it — there is no hero image here to run behind the bar. */
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
  padding: 4rem 1rem 5rem;
  background-color: var(--ivory);
}

.auth-page__inner {
  width: 100%;
  max-width: 28rem;
}

.auth-card {
  padding: 2rem;
  border: 1px solid var(--palm);
  border-radius: var(--radius-xl);
  background-color: var(--warm-white);
  box-shadow: var(--shadow-sm);
}

.auth-card__title {
  margin-bottom: 0.5rem;
  font-size: 2rem;
  text-align: center;
}

.auth-card__subtitle {
  margin-bottom: 2rem;
  color: var(--slate);
  font-size: 0.875rem;
  text-align: center;
}

.field {
  margin-bottom: 1.25rem;
}

.field__label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.375rem;
}

.field__label {
  display: block;
  margin-bottom: 0.375rem;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
}

.field__label-row .field__label {
  margin-bottom: 0;
}

.field__link {
  color: var(--gulf);
  font-size: 0.75rem;
}

.field__link:hover,
.field__link:focus-visible {
  color: var(--coral);
  text-decoration: underline;
}

.field__control {
  position: relative;
}

.field__input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--palm);
  border-radius: var(--radius-sm);
  background-color: var(--ivory);
  color: var(--ink);
  font-size: 0.9375rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field__input:focus {
  outline: none;
  border-color: var(--gulf);
  box-shadow: 0 0 0 3px rgba(30, 91, 110, 0.18);
}

.field__input--password {
  padding-right: 3rem;
}

/* The native select keeps its own dropdown arrow — it is drawn by the OS at
   the correct size for the platform, and every attempt to replace it with a
   background image means shipping an icon for something the browser already
   does properly. */
.field__input--select {
  cursor: pointer;
}

.field__input[aria-invalid="true"] {
  border-color: var(--coral);
}

.field__error {
  margin-top: 0.375rem;
  color: var(--coral);
  font-size: 0.75rem;
}

.field__toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.25rem;
  color: var(--slate);
  border-radius: 4px;
}

.field__toggle:hover {
  color: var(--ink);
}

.field__toggle svg {
  width: 20px;
  height: 20px;
  display: block;
}

.field__toggle .field__toggle-hide {
  display: none;
}

.field__toggle[aria-pressed="true"] .field__toggle-hide {
  display: block;
}

.field__toggle[aria-pressed="true"] .field__toggle-show {
  display: none;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.checkbox-row input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--gulf);
}

.checkbox-row label {
  color: var(--slate);
  font-size: 0.875rem;
  cursor: pointer;
}

.auth-card__footer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--slate);
}

.auth-card__footer a {
  color: var(--coral);
  font-weight: 600;
}

.auth-card__fineprint {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--palm);
  text-align: center;
  font-size: 0.75rem;
  color: var(--slate);
}

.auth-card__fineprint a {
  color: var(--slate);
  text-decoration: underline;
}

.form-status {
  margin-bottom: 1.25rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-sm);
  background-color: var(--palm);
  color: var(--midnight);
  font-size: 0.875rem;
  line-height: 1.6;
}

.form-status[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   23. Join interstitial (fallback for /join/index.php)
   -------------------------------------------------------------------------- */

.join-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1rem;
  background-color: var(--midnight);
  text-align: center;
}

.join-page__inner {
  max-width: 24rem;
}

.join-page__mark {
  margin: 0 auto 1.5rem;
}

.join-page__title {
  margin-bottom: 0.75rem;
  color: #ffffff;
  font-size: 1.5rem;
}

.join-page__text {
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.join-page__back {
  display: inline-block;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  text-decoration: none;
}

.join-page__back:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------------------------
   24. Not found page
   -------------------------------------------------------------------------- */

.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 8rem 1rem 5rem;
  background-color: var(--ivory);
  text-align: center;
}

.error-page__inner {
  max-width: 30rem;
}

.error-page__code {
  margin-bottom: 1rem;
  color: var(--champagne);
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 300;
  line-height: 1;
}

.error-page__title {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.error-page__text {
  margin-bottom: 2rem;
  color: var(--slate);
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   25. Page-specific blocks
   -------------------------------------------------------------------------- */

/* Image stack inside split sections */
.media-stack {
  display: grid;
  gap: 1rem;
}

.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--palm);
}

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

.media-frame--tall-lg {
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-xl);
}

.media-offset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.media-offset > :nth-child(2) {
  margin-top: 2rem;
}

.media-offset .media-frame {
  border-radius: var(--radius-lg);
  aspect-ratio: 1 / 1.12;
}

/* City field guide ---------------------------------------------------- */
.city-insight {
  position: relative;
}

.eyebrow--dark {
  color: var(--gulf);
}

.city-insight__header {
  display: grid;
  gap: 1.25rem;
  align-items: end;
  margin-bottom: 2.25rem;
}

.city-insight__header .section-title {
  max-width: 16ch;
  margin-top: 0.5rem;
}

.city-insight__intro {
  max-width: 46rem;
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.8;
}

.city-insight__feature {
  display: grid;
  margin-bottom: 4rem;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background-color: var(--midnight);
  box-shadow: var(--shadow-lg);
}

.city-insight__media {
  position: relative;
  min-height: 18rem;
  margin: 0;
  overflow: hidden;
}

.city-insight__media::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(to top, rgba(16, 42, 56, 0.9), transparent);
  pointer-events: none;
}

.city-insight__media img {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
}

.city-insight__media figcaption {
  position: absolute;
  z-index: 1;
  right: 1.25rem;
  bottom: 1.1rem;
  left: 1.25rem;
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  line-height: 1.55;
}

.city-insight__snapshot {
  padding: 2rem 1.5rem;
  color: var(--warm-white);
}

.city-insight__kicker,
.city-connection-card__label {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--champagne);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.city-insight__snapshot h3 {
  max-width: 14ch;
  margin-bottom: 1.75rem;
  color: var(--warm-white);
  font-size: clamp(1.75rem, 6vw, 2.35rem);
  line-height: 1.05;
}

.city-snapshot {
  display: grid;
  gap: 0;
}

.city-snapshot > div {
  padding-block: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.city-snapshot dt {
  margin-bottom: 0.25rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.city-snapshot dd {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  line-height: 1.55;
}

.city-subheading {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.city-subheading h2 {
  margin: 0.45rem 0 0.75rem;
  font-size: clamp(2rem, 7vw, 3rem);
}

.city-subheading p {
  color: var(--slate);
  line-height: 1.75;
}

.city-career-grid {
  display: grid;
  gap: 1rem;
}

.city-career-card {
  position: relative;
  min-height: 100%;
  padding: 1.5rem;
  border: 1px solid rgba(16, 42, 56, 0.09);
  border-radius: var(--radius-lg);
  background-color: var(--warm-white);
  box-shadow: var(--shadow-sm);
}

.city-career-card > span {
  display: inline-grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  margin-bottom: 1.4rem;
  border-radius: 50%;
  background-color: var(--palm);
  color: var(--gulf);
  font-size: 0.72rem;
  font-weight: 700;
}

.city-career-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.35rem;
  line-height: 1.15;
}

.city-career-card p {
  color: var(--slate);
  font-size: 0.9rem;
  line-height: 1.75;
}

.city-playbook {
  position: relative;
  overflow: hidden;
  background-color: #173845;
  color: var(--warm-white);
}

.city-playbook::before {
  content: "";
  position: absolute;
  top: -14rem;
  right: -10rem;
  width: 30rem;
  height: 30rem;
  border: 1px solid rgba(216, 180, 124, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 5rem rgba(216, 180, 124, 0.025), 0 0 0 10rem rgba(216, 180, 124, 0.02);
  pointer-events: none;
}

.city-playbook .container {
  position: relative;
}

.city-subheading--light h2 {
  color: var(--warm-white);
}

.city-subheading--light p {
  color: rgba(255, 255, 255, 0.66);
}

.city-stage-grid {
  display: grid;
  gap: 1px;
  margin-bottom: 2.75rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background-color: rgba(255, 255, 255, 0.12);
}

.city-stage-grid article {
  padding: 1.5rem;
  background-color: rgba(16, 42, 56, 0.78);
}

.city-stage-grid span {
  display: block;
  margin-bottom: 1.1rem;
  color: var(--champagne);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.city-stage-grid h3 {
  margin-bottom: 0.6rem;
  color: var(--warm-white);
  font-size: 1.3rem;
}

.city-stage-grid p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.88rem;
  line-height: 1.7;
}

.city-connection-grid {
  display: grid;
  gap: 1rem;
}

.city-connection-card {
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  background-color: rgba(255, 255, 255, 0.055);
}

.city-connection-card--warm {
  border-color: rgba(216, 180, 124, 0.28);
  background-color: rgba(216, 180, 124, 0.09);
}

.city-connection-card h3 {
  max-width: 22ch;
  margin-bottom: 1.25rem;
  color: var(--warm-white);
  font-size: clamp(1.55rem, 5vw, 2rem);
  line-height: 1.12;
}

.city-connection-card ul {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.city-connection-card li {
  position: relative;
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  line-height: 1.6;
}

.city-connection-card li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--champagne);
}

.city-playbook__note {
  max-width: 52rem;
  margin-top: 2rem;
  padding-left: 1rem;
  border-left: 2px solid var(--champagne);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
  line-height: 1.7;
}

.city-playbook__note a {
  color: var(--champagne);
  text-decoration-color: rgba(216, 180, 124, 0.5);
}

/* Neighbourhood / info cards */
.info-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background-color: var(--warm-white);
}

.info-card__title {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 500;
}

.info-card__text {
  color: var(--slate);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* Date idea cards on dark */
.date-idea {
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background-color: rgba(255, 255, 255, 0.08);
}

.date-idea__category {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--champagne);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.date-idea__text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* Region band (date ideas by city) */
.region {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background-color: var(--warm-white);
}

.region__media {
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--palm);
  aspect-ratio: 3 / 2;
}

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

.region__media + .region__title {
  margin-top: 1rem;
}

.region__title {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  font-weight: 500;
}

/* Wide image tiles (how it works — cities) */
.city-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--palm);
  aspect-ratio: 5 / 3;
}

.city-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.city-tile:hover img {
  transform: scale(1.05);
}

.city-tile__label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem 1rem 0.875rem;
  background: linear-gradient(to top, rgba(16, 42, 56, 0.8), transparent);
  color: var(--warm-white);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  text-align: left;
}

/* Highlight band */

/* Stat-free feature grid used on the role and guide pages */

/* Allowance calculator (sugar-baby-allowance.html).

   The form and the result panel both start `hidden` and are unhidden by
   main.js. Without JavaScript the reader gets the static cost table and the
   prose further down the page, which stand on their own — the calculator is
   an enhancement over them, not the only route to the information. */
.calc__fallback {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background-color: var(--warm-white);
  color: var(--slate);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.calc {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background-color: var(--warm-white);
  box-shadow: var(--shadow-sm);
}

.calc__group {
  margin: 0;
  padding: 0;
  border: 0;
}

.calc__group .field__label {
  padding: 0;
  margin-bottom: 0.5rem;
}

.calc__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.calc__option {
  position: relative;
  display: inline-flex;
}

/* The radio stays in the accessibility tree and stays focusable; only its
   default rendering is replaced by the pill beside it. */
.calc__option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.calc__option span {
  display: block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--palm);
  border-radius: 999px;
  background-color: var(--ivory);
  color: var(--slate);
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.calc__option input:checked + span {
  border-color: var(--gulf);
  background-color: var(--gulf);
  color: var(--warm-white);
}

.calc__option input:focus-visible + span {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

/* The focus ring is moved onto the visible pill, not removed — the input it
   replaces is a 1px transparent box, so the inherited outline would draw a
   speck inside the label instead of around the control being focused. */
.calc__option input:focus-visible {
  outline: none;
}

.calc__result {
  margin-top: 1.5rem;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background-color: var(--midnight);
  color: var(--warm-white);
}

/* The live region. Only the headline is announced when an input changes —
   making the whole result panel live would read the breakdown, the summary
   and the assumptions aloud on every keystroke. */
.calc__headline {
  display: grid;
  gap: 0.25rem;
}

.calc__total-label {
  color: var(--champagne);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calc__total {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 7vw, 3rem);
  font-weight: 500;
  line-height: 1.1;
}

.calc__lines {
  display: grid;
  gap: 0.625rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.calc__line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9375rem;
}

.calc__line dt {
  color: rgba(255, 255, 255, 0.75);
}

.calc__line dd {
  margin: 0;
  font-weight: 600;
  white-space: nowrap;
}

.calc__explain {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.calc__assumptions {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8125rem;
}

/* Cost table. The wrapper scrolls so the overflow stays off the page body;
   the table itself is wider than a 320px viewport by design. The wrapper is
   focusable because a scrolling box that cannot be reached by keyboard is
   unreadable to anyone not using a pointer — the money columns sit off the
   right edge until it is scrolled. */
.table-scroll {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* Only true while the table actually overflows; hidden from 640px up, where
   every column fits. */
.table-hint {
  margin-top: 0.5rem;
  color: var(--slate);
  font-size: 0.75rem;
}

.cost-table {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
  background-color: var(--warm-white);
  font-size: 0.9375rem;
}

.cost-table__caption {
  padding: 0 0 0.875rem;
  color: var(--slate);
  font-size: 0.8125rem;
  text-align: left;
  caption-side: top;
}

.cost-table th,
.cost-table td {
  padding: 0.875rem 1rem;
  text-align: right;
  white-space: nowrap;
}

.cost-table thead th {
  background-color: var(--midnight);
  color: var(--warm-white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cost-table thead th:first-child,
.cost-table tbody th {
  text-align: left;
}

.cost-table tbody th {
  font-weight: 500;
}

.cost-table tbody tr:nth-child(even) {
  background-color: var(--ivory);
}

.cost-table tbody tr + tr th,
.cost-table tbody tr + tr td {
  border-top: 1px solid var(--palm);
}

.cost-table__note {
  margin-top: 1.25rem;
  color: var(--slate);
  font-size: 0.8125rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   26. Responsive — 640px and up
   -------------------------------------------------------------------------- */

@media (min-width: 640px) {
  .table-hint {
    display: none;
  }

  .container {
    padding-inline: 1.5rem;
  }

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

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

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

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

  .carousel__track {
    gap: 1.25rem;
  }

  .lifestyle {
    grid-auto-rows: 11rem;
  }

  .error-page__actions {
    flex-wrap: nowrap;
  }

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

/* --------------------------------------------------------------------------
   27. Responsive — 768px and up
   -------------------------------------------------------------------------- */

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

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

  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
  }

  .process__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
  }

  .process__row--reverse .process__media {
    order: 2;
  }

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

  .role-panel {
    min-height: 34rem;
  }

  .role-panel__body {
    padding: 3.5rem 2.5rem;
  }

  .app-promo__stores {
    flex-wrap: nowrap;
  }

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

  .post-featured__media {
    height: auto;
    min-height: 18rem;
  }

  .post-featured__body {
    padding: 2.5rem;
  }

  .post-card__media {
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .author-card {
    grid-template-columns: auto 1fr;
    padding: 2rem;
  }

  .article-header__media {
    width: min(100%, 48rem);
    margin-inline: auto;
  }

  .region {
    grid-template-columns: 18rem minmax(0, 1fr);
    padding: 1.75rem;
    align-items: start;
  }

  .region__media {
    aspect-ratio: 3 / 2;
  }

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

  .site-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }

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

  .city-stage-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lifestyle {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 10rem;
  }

  .lifestyle__item--feature {
    grid-column: span 2;
    grid-row: span 2;
  }

  .hero__scroll {
    display: block;
  }
}

/* --------------------------------------------------------------------------
   28. Responsive — 1024px and up
   -------------------------------------------------------------------------- */

@media (min-width: 1024px) {
  .container {
    padding-inline: 2rem;
  }

  .city-insight__header {
    grid-template-columns: minmax(0, 0.8fr) minmax(28rem, 1.2fr);
    gap: 4rem;
    margin-bottom: 3rem;
  }

  .city-insight__feature {
    grid-template-columns: minmax(0, 1.35fr) minmax(21rem, 0.65fr);
    min-height: 31rem;
    margin-bottom: 5rem;
  }

  .city-insight__media,
  .city-insight__media img {
    min-height: 31rem;
  }

  .city-insight__snapshot {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
  }

  .city-career-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .city-career-card {
    padding: 1.75rem;
  }

  .city-stage-grid article,
  .city-connection-card {
    padding: 2rem;
  }

  .article-header {
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 3rem;
    text-align: left;
  }

  .article-header__grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(32rem, 1.12fr);
    gap: clamp(3rem, 6vw, 6rem);
  }

  .article-header__title,
  .article-header__dek {
    max-width: none;
    margin-inline: 0;
  }

  .article-header__title {
    font-size: clamp(3.5rem, 5vw, 5rem);
  }

  .article-header__dek {
    font-size: 1.125rem;
  }

  .article-header__media {
    width: 100%;
  }

  .article-byline {
    justify-content: flex-start;
  }

  .article-layout--with-toc {
    grid-template-columns: minmax(13.5rem, 0.34fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 5vw, 5rem);
  }

  .hero--home {
    min-height: 100svh;
    justify-content: flex-start;
    text-align: left;
  }

  .app-promo {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    align-items: center;
    min-height: 39rem;
  }

  .app-promo__content {
    padding: 4.75rem 2.5rem 4.75rem 3rem;
    text-align: left;
  }

  .app-promo__title,
  .app-promo__text,
  .app-promo__benefits {
    margin-inline: 0;
  }

  .app-promo__stores {
    justify-content: flex-start;
  }

  .app-promo__visual {
    margin-right: -4%;
    padding: 2rem 0 1rem;
  }

  .hero--home .hero__media {
    object-position: center center;
  }

  .hero--home .hero__overlay {
    background: linear-gradient(90deg, rgba(16, 42, 56, 0.94) 0%, rgba(16, 42, 56, 0.8) 34%, rgba(16, 42, 56, 0.38) 62%, rgba(16, 42, 56, 0.12) 100%);
  }

  .hero--home .hero__inner {
    justify-content: flex-start;
    min-height: 100svh;
    padding-block: calc(var(--header-height) + 3rem) 5rem;
    text-align: left;
  }

  .hero--home .hero__content {
    max-width: 45rem;
  }

  .hero--home .hero__title {
    max-width: 760px;
    font-size: clamp(3.15rem, 4vw, 3.55rem);
  }

  .hero--home .hero__subtitle {
    max-width: 38rem;
    margin-inline: 0;
  }

  .hero--home .hero__actions {
    justify-content: flex-start;
    max-width: none;
    margin-inline: 0;
  }

  .hero--home .hero__actions .btn {
    width: auto;
  }

  .hero--home .hero__pills {
    justify-content: flex-start;
  }

  .legal-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
    gap: 2.5rem;
  }

  .toc {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
  }

  .category-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
    gap: 2rem;
  }

  .category-nav {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
  }

  .chat-showcase {
    grid-template-columns: minmax(0, 0.82fr) minmax(28rem, 1.18fr);
    gap: clamp(2.5rem, 6vw, 5.5rem);
  }

  /* Keep both role descriptions close to the center seam on desktop. */
  .role-panel__body {
    width: min(100%, 36rem);
  }

  /* Portrait sources are much taller than the split desktop panels. Keep the
     crop near the top so both faces remain fully visible. */
  .role-panel__media {
    object-position: center 16%;
  }

  .role-panel:not(.role-panel--baby) .role-panel__body {
    margin-left: auto;
    padding-right: 2rem;
    text-align: right;
  }

  .role-panel:not(.role-panel--baby) .role-panel__text {
    margin-left: auto;
  }

  .role-panel--baby .role-panel__body {
    margin-right: auto;
    padding-left: 2rem;
  }

  .lifestyle {
    grid-auto-rows: 12rem;
  }
}

/* --------------------------------------------------------------------------
   29. Responsive — 1200px and up (primary navigation appears)
   -------------------------------------------------------------------------- */

@media (min-width: 1200px) {
  .primary-nav {
    display: block;
  }

  .site-header__actions {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

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

  .grid--3 {
    gap: 2rem;
  }
}

@media (min-width: 1280px) {
  .container {
    padding-inline: 2rem;
  }
}

/* --------------------------------------------------------------------------
   29b. Shared section furniture
   -------------------------------------------------------------------------- */

.section--flush {
  padding-block: 0;
}

.section-heading {
  margin-bottom: 3.5rem;
}

.section-heading--centered {
  text-align: center;
}

.section-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.center-row {
  margin-top: 2.5rem;
  text-align: center;
}

.center-row--wide {
  margin-top: 3.5rem;
}

.mt-lg {
  margin-top: 2rem;
}

.lead--spaced {
  margin-bottom: 1.5rem;
}

.dot-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.dot-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-size: 0.875rem;
}

.dot-list li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--champagne);
}

.check-list--columns {
  margin-bottom: 2rem;
}

.panel--roomy {
  padding: 2rem;
  border-radius: var(--radius-xl);
}

.panel__title--lg {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

/* Panel heading on a dark section, where the default ink colour would vanish. */
.panel__title--champagne {
  color: var(--champagne);
}

/* Row of buttons used to close a long editorial page. */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.numbered-list--lg {
  gap: 1.25rem;
}

.numbered-list--lg .numbered-list__item {
  gap: 1rem;
}

.numbered-list--lg .numbered-list__item::before {
  background-color: var(--gulf);
  color: var(--warm-white);
}

.numbered-list__label {
  display: block;
  margin-bottom: 0.125rem;
  color: var(--ink);
  font-weight: 600;
}

.arrow-link--gulf {
  color: var(--gulf);
}

.arrow-link--gulf:hover {
  color: var(--midnight);
}

.carousel__track {
  list-style: none;
}

dl {
  margin: 0;
}

/* --------------------------------------------------------------------------
   30. Scroll indicator and state corrections
   -------------------------------------------------------------------------- */

@keyframes hint-bounce {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 8px);
  }
}

.hero__scroll {
  animation: hint-bounce 2s var(--ease) infinite;
}

.mobile-nav[hidden] {
  display: none;
}

.form-status:focus {
  outline: 2px solid var(--gulf);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   30b. No JavaScript at all
   --------------------------------------------------------------------------
   main.js owns the hamburger, so with scripting unavailable the header nav
   would be unreachable on any screen narrower than 1200px. The `scripting:
   none` media query matches only when scripting is genuinely unavailable, so
   nothing here can affect a visitor whose JavaScript is working.

   The header stops being fixed and the nav wraps in place of hiding behind a
   button. The Florida Cities dropdown is laid out inline rather than on hover,
   because hover is not a usable gesture for every visitor. A browser too old
   to understand this query simply keeps today's behaviour, where the footer
   navigation — which links every page on the site — remains the way through. */

@media (scripting: none) {
  .site-header {
    position: static;
    background-color: var(--midnight);
  }

  .site-header__inner {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.5rem 1.5rem;
    padding-block: 0.75rem;
  }

  .primary-nav {
    display: block;
  }

  .site-header__actions {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .primary-nav__list {
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
  }

  .nav-dropdown__menu {
    display: block;
    position: static;
    min-width: 0;
    margin-top: 0.5rem;
    background-color: transparent;
    border: 0;
    box-shadow: none;
  }
}

/* --------------------------------------------------------------------------
   31. Reduced motion and print
   -------------------------------------------------------------------------- */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .cta-band,
  .skip-link {
    display: none;
  }

  body {
    background: #ffffff;
    color: #000000;
  }
}
