/* Lindsey Hibberd Coaching */

/* ---------- Fonts ---------- */

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Nunito Sans";
  src: url("/fonts/nunito-sans-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

/* ---------- Tokens ---------- */

:root {
  /* Brand cyan is decorative only: it's too light for text on white. */
  --cyan: #0cc0df;
  --cyan-soft: #b9e6ee;
  --mist: #ecf8fb;
  --teal: #067a8e;
  --ink: #103a43;
  --body: #3d5c63;
  --line: #d3edf2;
  --white: #ffffff;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1.0625rem, 1.03rem + 0.15vw, 1.15rem);
  --step-1: clamp(1.25rem, 1.18rem + 0.35vw, 1.45rem);
  --step-2: clamp(1.55rem, 1.38rem + 0.8vw, 2rem);
  --step-3: clamp(2rem, 1.65rem + 1.6vw, 2.9rem);
  --step-4: clamp(2.5rem, 1.9rem + 2.9vw, 4.4rem);

  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(3.75rem, 8vw, 6.5rem);
  --radius: 1.5rem;
  --header-h: 4.75rem;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

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

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: clip;
}

html.nav-open body {
  overflow: hidden;
}

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

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-4);
}

h2 {
  font-size: var(--step-3);
}

h3 {
  font-size: var(--step-2);
  font-weight: 400;
}

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

strong {
  color: var(--ink);
  font-weight: 600;
}

ul {
  margin: 0;
  padding: 0;
}

a {
  color: var(--teal);
}

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

::selection {
  background: var(--cyan-soft);
  color: var(--ink);
}

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

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

.nowrap {
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: none;
}

/* ---------- Type helpers ---------- */

.eyebrow {
  margin: 0 0 1rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  line-height: 1.4;
  text-transform: uppercase;
}

.lead {
  color: var(--ink);
  font-size: var(--step-1);
  line-height: 1.55;
}

.prose {
  max-width: 40rem;
}

.prose-wide {
  max-width: none;
}

.prose > :last-child {
  margin-bottom: 0;
}

/* Inline links: cyan underline that floods to a highlight on hover. */
.prose a {
  padding-inline: 0.08em;
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
  background-image: linear-gradient(var(--cyan), var(--cyan));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transition:
    background-size 0.3s var(--ease),
    color 0.3s var(--ease);
}

.prose a:hover {
  color: var(--ink);
  background-size: 100% 100%;
}

/* Arrow links for "read more" style actions. */
.arrow-link {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
}

.arrow-link::after {
  content: "";
  display: inline-block;
  margin-left: 0.45em;
  vertical-align: -0.2em;
  width: 1.15em;
  height: 1.15em;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.3s var(--ease);
}

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

.arrow-link:hover::after {
  transform: translateX(4px);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 3rem;
  padding: 0.8em 1.6em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

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

.btn:active {
  transform: none;
}

.btn-primary {
  background: var(--cyan);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--white);
  color: var(--ink);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  isolation: isolate;
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

/* Blur lives on a pseudo element: backdrop-filter on the header itself
   would become the containing block for the fixed mobile menu. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgb(16 58 67 / 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-badge {
  width: 3rem;
  height: 3rem;
  flex: none;
  transition: transform 0.6s var(--ease);
}

.brand:hover .brand-badge {
  transform: rotate(-8deg) scale(1.04);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.brand-tag {
  margin-top: 0.35rem;
  color: var(--teal);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.site-nav ul {
  display: flex;
  list-style: none;
}

.site-nav a:not(.btn) {
  position: relative;
  display: block;
  white-space: nowrap;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.2rem;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.site-nav a:not(.btn):hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
}

/* Desktop nav: needs ~1040px for four links plus the button. */
@media (min-width: 68em) {
  :root {
    --header-h: 5.5rem;
  }

  .site-nav {
    display: flex;
    align-items: center;
    gap: 2.25rem;
  }

  .site-nav ul {
    gap: 2rem;
  }

  .nav-cta {
    min-height: 2.75rem;
    padding-block: 0.65em;
  }

  .nav-flowers {
    display: none;
  }
}

/* Mobile and tablet nav */
@media (max-width: 67.99em) {
  .brand-badge {
    width: 2.6rem;
    height: 2.6rem;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  /* Without JS the links simply wrap under the logo. */
  .no-js .header-inner {
    flex-wrap: wrap;
    padding-block: 0.75rem;
  }

  .no-js .site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
  }

  .no-js .site-nav ul {
    gap: 1.25rem;
  }

  .no-js .nav-flowers {
    display: none;
  }

  .js .nav-toggle {
    position: relative;
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    margin-right: -0.5rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }

  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    display: block;
    width: 1.5rem;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition:
      transform 0.35s var(--ease),
      opacity 0.2s var(--ease);
  }

  .nav-toggle-bars {
    position: relative;
  }

  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle-bars::before {
    transform: translateY(-7px);
  }

  .nav-toggle-bars::after {
    transform: translateY(7px);
  }

  [data-open] .nav-toggle-bars {
    background: transparent;
  }

  [data-open] .nav-toggle-bars::before {
    transform: rotate(45deg);
  }

  [data-open] .nav-toggle-bars::after {
    transform: rotate(-45deg);
  }

  .js .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem var(--gutter) 3rem;
    overflow: hidden auto;
    background: var(--white);
    border-top: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.75rem);
    transition:
      opacity 0.3s var(--ease),
      transform 0.4s var(--ease),
      visibility 0s linear 0.4s;
  }

  .js [data-open] .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition:
      opacity 0.3s var(--ease),
      transform 0.4s var(--ease);
  }

  .js .site-nav ul {
    flex-direction: column;
    gap: 0.25rem;
  }

  .js .site-nav a:not(.btn) {
    display: inline-block;
    padding-block: 0.4rem;
    font-family: var(--font-display);
    font-size: clamp(2rem, 9vw, 2.6rem);
    font-weight: 300;
  }

  .js .site-nav a:not(.btn)::after {
    bottom: 0.3rem;
  }

  .js .nav-cta {
    align-self: flex-start;
  }

  .nav-flowers {
    position: absolute;
    right: -1rem;
    bottom: -2rem;
    width: auto;
    height: min(60%, 26rem);
    opacity: 0.9;
    pointer-events: none;
  }
}

/* ---------- Decorative flowers ---------- */

.flowers {
  position: absolute;
  z-index: 0;
  width: auto;
  pointer-events: none;
  user-select: none;
}

.flowers-white {
  filter: brightness(0) invert(1);
}

/* ---------- Home hero ---------- */

.hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 5rem) var(--section);
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.hero-copy .lead {
  margin-top: 1.5rem;
}

@media (min-width: 56em) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

/* Portrait: arch shape that hides the rounded corners baked into the photo. */
.arch-photo {
  position: relative;
  max-width: 28rem;
  margin: 0 auto;
  padding: 0 1.25rem 1.25rem 0;
}

.arch-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 50% 50% 26% 26% / 46.3% 46.3% 24% 24%;
  background: var(--mist);
}

.arch-photo::before {
  content: "";
  position: absolute;
  inset: 1.25rem 0 0 1.25rem;
  border: 2px solid var(--cyan);
  border-radius: 50% 50% 26% 26% / 46.3% 46.3% 24% 24%;
}

.arch-photo::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: -18%;
  bottom: -6%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--mist);
}

/* ---------- Inner page hero band ---------- */

.page-hero {
  position: relative;
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 8vw, 6.5rem);
  overflow: hidden;
  background: var(--cyan);
  border-bottom-left-radius: 50% clamp(1.5rem, 4vw, 3.5rem);
  border-bottom-right-radius: 50% clamp(1.5rem, 4vw, 3.5rem);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero .eyebrow {
  color: var(--ink);
}

.page-hero h1 {
  max-width: 19ch;
  margin-bottom: 0;
}

.page-hero .h1-long {
  max-width: 22ch;
  font-size: clamp(2.1rem, 1.55rem + 2.5vw, 3.9rem);
}

.page-hero .h1-fill {
  text-wrap: pretty;
}

.page-hero .flowers {
  right: clamp(-2rem, -1vw, 0rem);
  top: 1.5rem;
  height: 150%;
  opacity: 0.95;
}

@media (max-width: 40em) {
  .page-hero .flowers {
    right: -5rem;
    top: 0.5rem;
    height: 120%;
    opacity: 0.4;
  }
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding-block: calc(var(--section) * 0.75);
}

/* Same width as the content inside .container. */
.section + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: calc(min(100%, 72rem) - var(--gutter) * 2);
  height: 1px;
  background: var(--cyan-soft);
  transform: translateX(-50%);
}

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-head > :last-child {
  margin-bottom: 0;
}

/* ---------- Offer cards (home) ---------- */

.cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 48em) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition:
    border-color 0.3s var(--ease),
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.card:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -32px rgb(16 58 67 / 0.45);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.card-icon {
  flex: none;
  width: auto;
  height: 4rem;
}

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

.card-head h3 {
  margin-bottom: 0;
}

.card p {
  flex: 1;
}

.card-meta {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--ink);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Whole card is clickable via its arrow link. */
.card .arrow-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

/* ---------- Split layout (image + text) ---------- */

.split {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

@media (min-width: 52em) {
  .split {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .split-top {
    align-items: start;
  }

  .sticky-media {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

.framed-photo {
  position: relative;
  max-width: 26rem;
  margin: 0 auto;
  padding: 0 1.25rem 1.25rem 0;
}

.framed-figure {
  max-width: 26rem;
  margin: 0 auto;
}

.framed-figure figcaption {
  margin-top: 0.9rem;
  color: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (max-width: 51.99em) {
  .split-top .framed-photo,
  .split-top .framed-figure {
    max-width: 19rem;
  }
}

.framed-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 10rem 10rem var(--radius) var(--radius);
}

.framed-photo::before {
  content: "";
  position: absolute;
  inset: 1.25rem 0 0 1.25rem;
  border: 2px solid var(--cyan);
  border-radius: 10rem 10rem var(--radius) var(--radius);
}

/* ---------- Ruled lists ---------- */

.split .section-head {
  margin-bottom: 1.75rem;
}

.split > .section-head {
  margin-bottom: 0;
}

.rule-list {
  list-style: none;
}

.rule-list li {
  padding-block: 1.25rem 1.5rem;
  border-top: 1px solid var(--line);
}

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

/* Sits level with the heading beside it, so it doesn't need a line on top. */
.split > .rule-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.rule-list h3 {
  margin-bottom: 0.4rem;
  font-size: var(--step-1);
  font-weight: 400;
  line-height: 1.3;
}

.rule-list p {
  margin: 0;
}

/* ---------- Ticked lists ---------- */

.ticks {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 2rem;
  list-style: none;
}

.ticks li {
  position: relative;
  padding-left: 2.25rem;
  color: var(--ink);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23103a43' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 0.85rem no-repeat;
}

/* ---------- Offer page ---------- */

.offer {
  display: grid;
  gap: 1.5rem 3rem;
}

.offer-icon {
  width: auto;
  height: clamp(5rem, 14vw, 9rem);
}

@media (min-width: 52em) {
  .offer {
    grid-template-columns: 11rem 1fr;
  }

  .offer-icon {
    justify-self: center;
    margin-top: 0.5rem;
  }

  /* The width of the .offer icon column plus its gap. */
  .offer-indent {
    margin-left: 14rem;
  }
}

.offer-body {
  max-width: 44rem;
}

.prices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.prices-3 {
  margin: 0;
}

@media (min-width: 48em) {
  .prices-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.price {
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.price-amount {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 300;
  line-height: 1;
}

.price-label {
  display: block;
  margin-top: 0.75rem;
  color: var(--ink);
  font-weight: 600;
}

.price-note {
  display: block;
  margin-top: 0.25rem;
  font-size: var(--step--1);
}

/* ---------- Numbered steps ---------- */

.steps {
  display: grid;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

@media (min-width: 52em) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
  }
}

.steps li {
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
}

.steps h3 {
  margin-bottom: 0.5rem;
  font-size: var(--step-1);
}

/* ---------- Testimonial ---------- */

.testimonial {
  max-width: 54rem;
  margin: 0 auto;
  text-align: center;
}

.testimonial::before {
  content: "\201C";
  display: block;
  height: 0.6em;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
}

.testimonial blockquote {
  margin: 0;
}

.testimonial blockquote p {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 300;
  line-height: 1.35;
  text-wrap: balance;
}

.testimonial figcaption {
  margin-top: 1.5rem;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ---------- Contact ---------- */

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

/* ---------- CTA band ---------- */

.cta {
  padding-block: 0 var(--section);
}

.cta-band {
  position: relative;
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(2.25rem, 6vw, 4.5rem) clamp(1.5rem, 6vw, 4.5rem);
  border-radius: calc(var(--radius) * 1.5);
  background: var(--cyan);
  color: var(--ink);
  overflow: hidden;
}

.cta-band > :not(.flowers) {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  margin-bottom: 0.4rem;
}

.cta-band p {
  max-width: 32rem;
  margin: 0;
}

.cta-band .flowers {
  z-index: 0;
  right: -1rem;
  top: 0.5rem;
  height: 170%;
  opacity: 0.95;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (min-width: 52em) {
  .cta-band {
    grid-template-columns: 1fr auto;
    padding-right: clamp(8rem, 16vw, 13rem);
  }

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

  .cta-band-even .cta-actions {
    justify-content: center;
  }
}

@media (max-width: 51.99em) {
  .cta-band .flowers {
    right: -3.5rem;
    opacity: 0.5;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 5rem) 2rem;
  overflow: hidden;
  background: var(--ink);
  color: rgb(255 255 255 / 0.78);
  font-size: var(--step--1);
}

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

.site-footer a:not(.btn):hover {
  text-decoration: underline;
  text-decoration-color: var(--cyan);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 48em) {
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 1fr;
    align-items: start;
  }
}

.footer-logo {
  width: 9.5rem;
}

.footer-heading {
  margin-bottom: 1rem;
  color: var(--cyan-soft);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.6rem;
  list-style: none;
}

.footer-links a {
  font-size: var(--step-0);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.14);
}

.footer-base p {
  margin: 0;
}

/* ---------- 404 ---------- */

.not-found {
  position: relative;
  min-height: 60vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.not-found .flowers {
  right: -1rem;
  bottom: -2rem;
  height: 85%;
  opacity: 0.8;
}

/* ---------- Reveal on scroll ---------- */

/* Scroll-driven, so content is never left hidden: browsers without
   support (or with reduced motion) just show it. */
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    [data-reveal] {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
  }
}
