:root {
  --plum: #6b1f3a;
  --yellow: #f9dd8a;
  --blue: #a5bde1;
  --ivory: #f7f6d7;
  --bg: #fcf9f7;
  --surface: var(--ivory);
  --ink: #22141b;
  --muted: #4a4046;
  --aside: #5a4e54;
  --line: #ede5e1;
  --card-line: #e6e3b4;
  --panel: #ffffff;
  --button-line: #d8d0d3;
  --accent: var(--plum);
  --accent-ink: var(--ivory);
  --mark: var(--yellow);
  --band: #5a1a31;
  --band-ink: var(--ivory);
  --band-muted: #e2cbd2;
  --serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --measure: 42rem;
  --wide: 75rem;
  --gutter: 2.5rem;
  --radius: 14px;
}

@media (max-width: 56.25rem) {
  :root {
    --gutter: 1.25rem;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #190b11;
    --surface: #2a1420;
    --ink: var(--ivory);
    --muted: #c4b4b6;
    --aside: #c4b4b6;
    --line: #3e2531;
    --card-line: #3e2531;
    --panel: #22121a;
    --button-line: #5a3a48;
    --accent: var(--yellow);
    --accent-ink: #26101a;
    --mark: transparent;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: 1.5rem;
  line-height: 1.18;
  letter-spacing: -0.012em;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 0.15s;
}

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

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

em {
  font-style: italic;
  color: var(--accent);
}

h1 em {
  padding: 0 0.06em;
  background: linear-gradient(transparent 60%, var(--mark) 60%, var(--mark) 90%, transparent 90%);
}

::selection {
  background: var(--blue);
  color: #26101a;
}

.wrap {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  min-height: 5.25rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand:hover {
  color: inherit;
}

.site-nav {
  display: flex;
  gap: 2.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

@media (max-width: 56.25rem) {
  .site-nav {
    gap: 1.5rem;
  }
}

.site-nav a,
.site-nav button {
  text-decoration: none;
  color: var(--muted);
  padding: 0.25rem 0;
  border: 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.site-nav button {
  background: none;
  font: inherit;
  cursor: pointer;
}

.site-nav a:hover,
.site-nav a[aria-current],
.nav-group:hover > button,
.nav-group:focus-within > button,
.nav-group:has([aria-current]) > button {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.nav-group {
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: -0.75rem;
}

.submenu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 10;
  display: none;
  min-width: 13rem;
  padding: 0.375rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 12px 32px -8px rgb(0 0 0 / 0.14);
}

.nav-group:hover .submenu,
.nav-group:focus-within .submenu {
  display: block;
}

.site-nav .submenu a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-bottom: 0;
  border-radius: 4px;
  white-space: nowrap;
}

.site-nav .submenu a:hover,
.site-nav .submenu a[aria-current] {
  background: var(--surface);
}

/* Sections */

.hero {
  padding: clamp(4rem, 11vw, 8.5rem) 0 clamp(3.5rem, 9vw, 7rem);
}

.hero h1 {
  max-width: 16ch;
}

.hero .lede {
  max-width: 35rem;
  margin-top: 2rem;
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  line-height: 1.55;
  color: var(--muted);
}

/* Home hero */

.hero-home {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 5.25rem);
  padding: 3rem 0;
}

.hero-home .wrap {
  display: grid;
  grid-template-columns: 1fr 28.75rem;
  align-items: center;
  gap: 6.5rem;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;
}

.hero-home h1 {
  max-width: none;
  font-size: 5.5rem;
  line-height: 1;
  letter-spacing: -0.025em;
}

.hero-home h1 em,
.hero-coaching h1 em {
  padding: 0;
  background: none;
}

.hero-bio,
.hero-aside {
  max-width: 33.75rem;
  margin: 0;
}

.hero-bio {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--muted);
}

.hero-aside {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1875rem;
  line-height: 1.5;
  color: var(--aside);
}

.hero-home .button {
  display: inline-flex;
  align-items: center;
  height: 3.25rem;
  margin-top: 0.5rem;
  padding: 0 1.75rem;
  background: var(--plum);
  border-color: var(--plum);
  border-radius: 8px;
  font-size: 1rem;
  color: #fff;
}

.hero-home .button:hover {
  background: #571830;
  border-color: #571830;
  color: #fff;
}

.portrait {
  display: block;
  width: 28.75rem;
  height: 35rem;
  object-fit: cover;
  object-position: center 25%;
  border-radius: var(--radius);
}

@media (max-width: 56.25rem) {
  .hero-home {
    min-height: 0;
    padding: 1.5rem 0 3rem;
  }

  .hero-home .wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-home h1 {
    font-size: 3.25rem;
  }

  .hero-bio {
    font-size: 1.125rem;
  }

  .portrait {
    order: -1;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
  }
}

/* Coaching hero */

.hero-coaching .wrap {
  display: grid;
  grid-template-columns: 1fr min(26rem, 40%);
  align-items: center;
  gap: 4rem;
}

.headshot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
}

@media (max-width: 56.25rem) {
  .hero-coaching .wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .headshot {
    order: -1;
    max-width: 18rem;
  }
}

.eyebrow {
  display: block;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 2.5rem;
}

.section-head a,
.section-head span {
  font-size: 0.875rem;
}

.section-head + .section-intro {
  max-width: 40rem;
  margin-top: -1.25rem;
  margin-bottom: 2.5rem;
  font-size: 1.125rem;
  color: var(--muted);
}

/* On wide screens the heading sits in a left rail and the content runs beside it */

@media (min-width: 62rem) {
  .section > .wrap {
    display: grid;
    grid-template-columns: 14rem minmax(0, 1fr);
    column-gap: clamp(3rem, 6vw, 5.5rem);
  }

  .section > .wrap.narrow {
    max-width: var(--wide);
  }

  .section > .wrap > * {
    grid-column: 2;
  }

  .section > .wrap.narrow > * {
    max-width: var(--measure);
  }

  .section > .wrap > .section-head {
    grid-column: 1;
    grid-row: 1 / span 40;
    align-self: start;
    position: sticky;
    top: 6rem;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 0;
  }

  .section > .wrap > .section-head h2 {
    font-size: 2rem;
  }

  .section > .wrap > .section-intro {
    margin-top: 0;
  }

  .section > .wrap > .cta {
    grid-column: 1 / -1;
  }
}

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

/* Buttons */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.button {
  display: inline-block;
  padding: 0.95rem 1.6rem;
  border: 1px solid var(--button-line);
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

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

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.button.primary:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

/* Grids and cards */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2.75rem 2.5rem;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--ink);
}

.card h3 {
  margin-bottom: 0.875rem;
}

.card p {
  font-size: 1rem;
  line-height: 1.6;
}

.card .more {
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.card p:has(+ .more) {
  margin-bottom: 0;
}

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

.card .meta {
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  line-height: 1.6;
}

.meta {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* Priced cards are the one boxed element, so they read as something to buy */

.card:has(.price) {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
}

.card:has(.price):only-child {
  max-width: 26rem;
}

.card:has(.price) .meta {
  color: var(--accent);
}

.card .price {
  margin: auto 0 0;
  padding-top: 1.5rem;
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.card .price::before {
  content: "";
  display: block;
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--card-line);
}

.card .actions {
  margin-top: 1.5rem;
}

.card:has(.price) > p.muted {
  margin-bottom: 2rem;
}

/* Post list */

.posts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.posts li {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 0.25rem 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.posts li:first-child {
  border-top: 0;
  padding-top: 0;
}

.posts li:last-child {
  padding-bottom: 0;
}

.posts h3 a {
  text-decoration: none;
}

.posts p {
  max-width: 38rem;
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.posts .meta {
  padding-top: 0.55rem;
}

/* A lone post drops the date rail and reads as a single featured piece */

.posts li:only-child {
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.posts li:only-child .meta {
  padding-top: 0;
}

.posts li:only-child h3 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.posts li:only-child p {
  margin-top: 0.875rem;
  font-size: 1.125rem;
}

.tag {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 40rem) {
  .posts li {
    grid-template-columns: 1fr;
  }
}

/* Steps, quotes, FAQ */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 1.5rem 0 1.75rem 4rem;
  border-top: 1px solid var(--line);
  counter-increment: step;
}

.steps li:first-child {
  padding-top: 0;
  border-top: 0;
}

.steps li:last-child {
  padding-bottom: 0;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.85rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.steps li:first-child::before {
  top: 0.35rem;
}

.steps h3 {
  margin-bottom: 0.5rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

blockquote {
  margin: 0;
}

blockquote p {
  font-family: var(--serif);
  font-size: 1.375rem;
  line-height: 1.4;
  letter-spacing: -0.008em;
}

blockquote.card p {
  margin-bottom: 1.5rem;
  font-size: 1.375rem;
  line-height: 1.4;
}

blockquote footer {
  margin-top: auto;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
}

details {
  border-top: 1px solid var(--line);
}

details:last-of-type {
  border-bottom: 1px solid var(--line);
}

summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.375rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.3125rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  transition: color 0.15s;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  flex: none;
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  color: var(--muted);
  transition: transform 0.2s;
}

details[open] summary::after {
  transform: rotate(45deg);
}

summary:hover {
  color: var(--accent);
}

details p {
  max-width: 36rem;
  margin: -0.25rem 0 1.5rem;
  color: var(--muted);
}

/* CTA + footer */

.cta {
  padding: clamp(2.5rem, 7vw, 5.5rem);
  background: var(--band);
  color: var(--band-ink);
  border-radius: var(--radius);
}

.cta h2 {
  max-width: 18ch;
  font-size: clamp(2.125rem, 4.5vw, 3.5rem);
  letter-spacing: -0.025em;
}

.cta p {
  max-width: 34rem;
  margin: 1.5rem 0 0;
  font-size: 1.125rem;
  color: var(--band-muted);
}

.cta .eyebrow {
  color: var(--band-muted);
}

.cta .button.primary {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--plum);
}

.cta .button.primary:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #26101a;
}

.site-footer {
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--muted);
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

.site-footer nav {
  display: flex;
  gap: 1.5rem;
}

.site-footer a {
  text-decoration: none;
}

.nowrap {
  white-space: nowrap;
}

/* Featured carousel */

.featured {
  --cream: #fcf9f7;
  --blush: #f2c9c0;
  --edge: max(var(--gutter), calc((100% - var(--wide)) / 2 + var(--gutter)));
  padding: 6rem 0;
  background: var(--band);
  border-top: 0;
}

.featured :focus-visible {
  outline-color: var(--blush);
}

.featured > .wrap {
  display: block;
  margin-bottom: 3.5rem;
  text-align: center;
}

.featured .eyebrow {
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--blush);
}

.featured-head h2 {
  font-size: 4rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.featured-head h2 span {
  font-style: italic;
  color: var(--blush);
}

.carousel {
  position: relative;
  display: flex;
  gap: 1.5rem;
  padding-inline: var(--edge);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--edge);
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.feature {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 1rem;
  width: 25rem;
  padding: 2.25rem;
  background: #fff;
  border-radius: var(--radius);
  scroll-snap-align: start;
  transition: opacity 0.3s;
}

.feature.is-partial {
  opacity: 0.55;
}

.feature h3 {
  font-size: 1.75rem;
  line-height: 1.2;
  color: #22141b;
}

.feature p.muted {
  flex: 1;
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: #4a4046;
}

.feature .more {
  align-self: flex-start;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #6b1f3a;
  text-decoration-color: currentColor;
  text-underline-offset: 4px;
}

.feature .more:hover {
  color: #4a1428;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.carousel-controls[hidden] {
  display: none;
}

.carousel-arrow {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  background: transparent;
  border: 1px solid rgb(252 249 247 / 0.4);
  border-radius: 50%;
  color: var(--cream);
  cursor: pointer;
  transition: border-color 0.15s;
}

.carousel-arrow:hover {
  border-color: var(--cream);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.carousel-dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  background: rgb(252 249 247 / 0.35);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: width 0.25s, background 0.25s;
}

.carousel-dot[aria-current] {
  width: 1.5rem;
  background: var(--blush);
}

.featured-head p {
  max-width: 38rem;
  margin: 1.5rem auto 0;
  font-size: 1.125rem;
  color: var(--band-muted);
}

/* Three numbered cards: a swipeable row on small screens, a fixed row once all three fit */

.trio {
  counter-reset: trio;
}

.trio .feature {
  counter-increment: trio;
  transition: transform 0.25s;
}

.trio .feature::before {
  content: counter(trio, decimal-leading-zero);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #6b1f3a;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 62rem) {
  .trio {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
  }

  .trio .feature {
    width: auto;
  }

  .trio .feature:hover {
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .trio .feature {
    transition: none;
  }

  .trio .feature:hover {
    transform: none;
  }
}

@media (max-width: 56.25rem) {
  .featured {
    padding: 4rem 0;
  }

  .featured > .wrap {
    margin-bottom: 2.5rem;
  }

  .featured-head h2 {
    font-size: 2.75rem;
  }

  .feature {
    width: 85vw;
    padding: 1.75rem;
  }
}

/* Centred sections: light sections that open the same way as the plum band */

.centered > .wrap {
  display: block;
}

.centered-head {
  margin-bottom: 3.5rem;
  text-align: center;
}

.centered-head h2 {
  font-size: 4rem;
}

.centered-head h2 span {
  font-style: italic;
  color: var(--accent);
}

.centered-head p {
  max-width: 38rem;
  margin: 1.5rem auto 0;
  font-size: 1.125rem;
  color: var(--muted);
}

/* Price card with the booking steps beside it once there is room */

.booking {
  display: grid;
  gap: 3rem;
  max-width: 34rem;
  margin-inline: auto;
}

@media (min-width: 62rem) {
  .booking {
    grid-template-columns: 22rem minmax(0, 1fr);
    align-items: center;
    gap: 4.5rem;
    max-width: 60rem;
  }
}

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.5rem;
}

.quote {
  display: flex;
  flex-direction: column;
  padding: 2.25rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.quote p {
  margin-bottom: 1.5rem;
}

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

.centered .cta h2,
.centered .cta p {
  margin-inline: auto;
}

.centered .cta .actions {
  justify-content: center;
}

@media (max-width: 56.25rem) {
  .centered-head {
    margin-bottom: 2.5rem;
  }

  .centered-head h2 {
    font-size: 2.75rem;
  }

  .quote {
    padding: 1.75rem;
  }
}
