/* Fox Cottage Goods: minimal vintage cottage, whimsical accents. */

:root {
  /* Brand palette */
  --white: #ffffff;
  /* Brand palette. These are defaults: the admin's "Brand colors" settings override them. */
  --coral: #ff9a71;
  --rust: #d8673e;
  --sage: #53906d;
  --forest: #436c54;
  --butter: #ffe27c;
  --marigold: #ffb83e;

  --ink: #2b3a30;
}

/* Tints are mixed from the palette, so they follow any color change. */
:root {
  --ink-soft: color-mix(in srgb, var(--ink) 78%, white);
  --blush: color-mix(in srgb, var(--coral) 12%, white);
  --butter-soft: color-mix(in srgb, var(--butter) 17%, white);
  --sage-soft: color-mix(in srgb, var(--sage) 10%, white);
  --line: color-mix(in srgb, var(--rust) 18%, white);
  --coral-hover: color-mix(in srgb, var(--coral) 86%, white);
  --butter-hover: color-mix(in srgb, var(--butter) 80%, white);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Caveat", "Comic Sans MS", cursive;

  --radius: 18px;
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(56px, 8vw, 104px);
  --scallop: 14px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: var(--forest);
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  font-weight: 650;
  letter-spacing: -0.015em;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 620;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.3rem;
  font-weight: 600;
}

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

a {
  color: var(--forest);
  text-decoration-color: var(--coral);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

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

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

ul[role="list"],
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

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

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

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

/* ---------- Little bits ---------- */

.eyebrow {
  font-family: var(--font-hand);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--rust);
  margin: 0 0 8px;
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin: 0;
}

.squiggle {
  display: block;
  width: 84px;
  height: 14px;
  color: var(--coral);
  margin: 14px 0 18px;
}

.hand-note {
  font-family: var(--font-hand);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--rust);
}

.sparkle {
  position: absolute;
  fill: var(--marigold);
  pointer-events: none;
  animation: twinkle 3.2s ease-in-out infinite;
}

@keyframes twinkle {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: scale(0.72) rotate(18deg);
    opacity: 0.75;
  }
}

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

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
  margin-top: 28px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn--primary {
  background: var(--coral);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.btn--primary:hover {
  color: var(--ink);
  background: var(--coral-hover);
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--ink);
}

.btn--primary:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.btn--secondary {
  background: var(--white);
  color: var(--forest);
  border-color: var(--forest);
}

.btn--secondary:hover {
  color: var(--forest);
  background: var(--sage-soft);
}

.btn--text {
  border-color: transparent;
  padding-inline: 4px;
  color: var(--forest);
  text-decoration: underline wavy var(--coral) 2px;
  text-underline-offset: 6px;
}

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

.awning {
  height: 26px;
  background:
    radial-gradient(circle at 12px 14px, var(--coral) 11.5px, transparent 12px) 0 0 / 48px 26px repeat-x,
    radial-gradient(circle at 36px 14px, var(--butter) 11.5px, transparent 12px) 0 0 / 48px 26px repeat-x,
    linear-gradient(90deg, var(--coral) 0 24px, var(--butter) 24px 48px) 0 0 / 48px 14px repeat-x;
}

.site-header {
  position: relative;
  z-index: 20;
  background: var(--white);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 14px 18px;
}

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

.fox-mark {
  width: 46px;
  height: 46px;
  flex: none;
  transition: transform 0.3s ease;
}

.brand:hover .fox-mark {
  transform: rotate(-8deg);
}

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

.brand__name {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.05;
  color: var(--forest);
}

.brand__tagline {
  font-family: var(--font-hand);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--rust);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav ul {
  display: flex;
  gap: 26px;
}

.site-nav__link {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  padding-block: 6px;
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
  color: var(--forest);
  text-decoration: underline wavy var(--coral) 2px;
  text-underline-offset: 7px;
}

.nav-toggle {
  display: none;
}

@media (max-width: 879px) {
  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 20px;
  }

  .js .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 2px solid var(--ink);
    border-radius: 14px;
    background: var(--white);
    box-shadow: 3px 3px 0 var(--coral);
    cursor: pointer;
  }

  .nav-toggle__bars,
  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    display: block;
    width: 20px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-toggle__bars {
    position: relative;
  }

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

  .nav-toggle__bars::before {
    top: -7px;
  }

  .nav-toggle__bars::after {
    top: 7px;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bars {
    background: transparent;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
    transform: translateY(-7px) rotate(-45deg);
  }

  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 8px var(--gutter) 24px;
    background: var(--white);
    border-bottom: 2px dashed var(--coral);
    box-shadow: 0 24px 40px -28px rgba(43, 58, 48, 0.4);
  }

  .js .site-nav.is-open {
    display: flex;
  }

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

  .js .site-nav__link {
    display: block;
    padding: 12px 4px;
    font-size: 1.15rem;
    border-bottom: 1px solid var(--line);
  }

  .js .site-nav .btn {
    margin-top: 12px;
  }
}

@media (max-width: 380px) {
  .brand__name {
    font-size: 1.2rem;
  }

  .brand__tagline {
    font-size: 1.05rem;
  }

  .fox-mark {
    width: 38px;
    height: 38px;
  }
}

/* ---------- Sections & tones ---------- */

.section {
  position: relative;
  padding-block: var(--section-y);
  background: var(--tone-bg, var(--white));
}

.section.tone-white + .section.tone-white {
  padding-top: 0;
}

.tone-white {
  --tone-bg: var(--white);
}

.tone-blush {
  --tone-bg: var(--blush);
}

.tone-butter {
  --tone-bg: var(--butter-soft);
}

.tone-sage {
  --tone-bg: var(--sage-soft);
}

.tone-forest {
  --tone-bg: var(--forest);
  color: var(--white);
}

/* Scalloped top edge on tinted sections, like the trim on a cottage eave. */
.section:not(.tone-white)::before,
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(-1 * var(--scallop) + 1px);
  height: var(--scallop);
  background: radial-gradient(circle at 12px var(--scallop), var(--tone-bg) 11.5px, transparent 12px) 0 0 / 24px var(--scallop) repeat-x;
}

.tone-forest h2,
.tone-forest h3 {
  color: var(--white);
}

.tone-forest .eyebrow,
.tone-forest .hand-note {
  color: var(--butter);
}

.tone-forest .squiggle {
  color: var(--butter);
}

.tone-forest .lede {
  color: rgba(255, 255, 255, 0.9);
}

.tone-forest a:not(.btn) {
  color: var(--butter);
}

.tone-forest .btn--primary {
  background: var(--butter);
  box-shadow: 3px 3px 0 var(--ink);
}

.tone-forest .btn--primary:hover {
  background: var(--butter-hover);
}

.tone-forest .btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.tone-forest .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.section-head {
  margin-bottom: clamp(32px, 4vw, 52px);
}

.section-head--center {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.section-head--center .squiggle {
  margin-inline: auto;
}

.section-head--left {
  margin-bottom: 20px;
}

/* ---------- Photos ---------- */

.photo {
  overflow: hidden;
  border-radius: var(--radius);
  border: 7px solid var(--white);
  background: var(--blush);
  box-shadow: 0 0 0 2px var(--line), 0 20px 40px -26px rgba(43, 58, 48, 0.45);
  transition: transform 0.25s ease;
}

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

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow-x: clip;
  padding-block: clamp(28px, 5vw, 72px) clamp(48px, 6vw, 88px);
  background: var(--tone-bg, var(--white));
}

.hero__grid {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero__text {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  margin: 20px 0 0;
  max-width: 34em;
}

.hero__media {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 500px;
}

.arch {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 999px 999px var(--radius) var(--radius);
  border: 10px solid var(--white);
  box-shadow: 0 0 0 3px var(--forest), 18px 18px 0 0 var(--coral);
  background: var(--blush);
}

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

.hero .hand-note {
  position: absolute;
  left: -8px;
  bottom: 22px;
  margin: 0;
  padding: 6px 16px 8px;
  background: var(--white);
  border: 2px solid var(--forest);
  border-radius: 999px;
  transform: rotate(-5deg);
  box-shadow: 3px 3px 0 var(--butter);
}

.sparkle--a {
  width: 34px;
  top: 4%;
  left: -4%;
  z-index: 2;
}

.sparkle--b {
  width: 22px;
  top: 16%;
  right: -6%;
  fill: var(--butter);
  animation-delay: 0.8s;
}

.sparkle--c {
  width: 18px;
  top: 52%;
  right: -9%;
  animation-delay: 1.6s;
}

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

  .hero--compact .hero__grid {
    grid-template-columns: 1.3fr 0.9fr;
  }

  .hero--compact .hero__media {
    max-width: 400px;
  }
}

@media (max-width: 899px) {
  .hero:not(.hero--text-only) .hero__media {
    order: -1;
    max-width: 440px;
    width: calc(100% - 20px);
    justify-self: start;
  }

  .hero--large .arch {
    aspect-ratio: 1 / 1.05;
  }

  .hero--compact .arch {
    aspect-ratio: 1 / 0.95;
  }

  .hero--compact .hero__media {
    max-width: 360px;
  }

  .hero .hand-note {
    left: 0;
    bottom: 10px;
    font-size: 1.35rem;
  }
}

.hero.hero--text-only .hero__grid {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 760px;
}

.hero--text-only .hero__text {
  margin-inline: auto;
}

.hero--text-only .actions {
  justify-content: center;
}

/* ---------- Stats ---------- */

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

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 16px;
  padding: clamp(24px, 3vw, 36px) clamp(16px, 3vw, 40px);
  border: 2px dashed var(--coral);
  border-radius: 28px;
  text-align: center;
}

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

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat__value {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--rust);
}

.stat__label {
  font-weight: 700;
  color: var(--ink-soft);
}

/* ---------- Split ---------- */

.split {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

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

  .split--reverse .split__media {
    order: -1;
  }
}

.split--text-only {
  max-width: 760px;
}

.split__copy > p {
  max-width: 36em;
}

.split__media .photo {
  aspect-ratio: 4 / 3;
  transform: rotate(1.4deg);
}

.split--reverse .split__media .photo {
  transform: rotate(-1.4deg);
}

.sparkle-list {
  display: grid;
  gap: 10px;
  margin: 8px 0 0;
}

.sparkle-list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-weight: 600;
}

.sparkle-list__icon {
  width: 16px;
  height: 16px;
  flex: none;
  fill: var(--marigold);
  transform: translateY(2px);
}

/* ---------- Gallery ---------- */

.gallery {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  grid-template-columns: 1fr;
}

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

@media (min-width: 600px) {
  .gallery--cols-2,
  .gallery--cols-3,
  .gallery--cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery--feature-first .gallery__item:first-child {
    grid-column: span 2;
  }

  .gallery--feature-first .gallery__item:first-child .photo {
    aspect-ratio: 16 / 9;
  }
}

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

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

  .gallery--feature-first .gallery__item:first-child .photo {
    aspect-ratio: 11 / 4;
  }
}

.gallery figure {
  margin: 0;
}

.gallery .photo {
  aspect-ratio: 4 / 3;
}

.gallery--cols-4 .photo {
  aspect-ratio: 3 / 4;
}

.gallery__item:nth-child(odd) .photo {
  transform: rotate(-1deg);
}

.gallery__item:nth-child(even) .photo {
  transform: rotate(1deg);
}

.gallery__item:hover .photo {
  transform: rotate(0) scale(1.015);
}

.gallery figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 16px;
  padding-inline: 4px;
}

.gallery__title {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--forest);
}

.gallery__caption {
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.gallery + .actions {
  margin-top: clamp(32px, 4vw, 48px);
}

/* ---------- Pricing ---------- */

.pricing {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  align-items: stretch;
}

.pricing.pricing--3 {
  max-width: 980px;
  margin-inline: auto;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 24px;
}

.price-card--featured {
  border-color: var(--coral);
  box-shadow: 6px 6px 0 var(--coral);
}

.price-card__badge {
  position: absolute;
  top: -16px;
  left: 22px;
  padding: 2px 14px 4px;
  background: var(--marigold);
  color: var(--ink);
  border-radius: 999px;
  font-family: var(--font-hand);
  font-size: 1.3rem;
  font-weight: 700;
  transform: rotate(-3deg);
}

.price-card h3 {
  font-size: 1.2rem;
}

.price-card__price {
  margin: 8px 0 10px;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: clamp(1.8rem, 3vw, 2.15rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--forest);
}

.price-card__desc {
  color: var(--ink-soft);
}

.checks {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 2px dashed var(--line);
}

.checks li {
  position: relative;
  padding-left: 26px;
  font-size: 0.97rem;
  font-weight: 600;
}

.checks li::before {
  content: "✿";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--coral);
}

.fine-print {
  max-width: 700px;
  margin: 32px auto 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

/* ---------- Cards ---------- */

.cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

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

.card {
  padding: 24px;
  background: var(--blush);
  border-radius: 22px;
}

.card__icon {
  width: 24px;
  height: 24px;
  fill: var(--marigold);
}

.card h3 {
  margin: 12px 0 6px;
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  gap: 28px 24px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  counter-reset: step;
  text-align: center;
}

.step {
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
}

.step:nth-child(3n + 2)::before {
  background: var(--butter);
}

.step:nth-child(3n + 3)::before {
  background: var(--white);
}

.step h3 {
  margin-bottom: 6px;
  font-size: 1.2rem;
}

.step p {
  margin: 0;
  color: var(--ink-soft);
}

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

.cta {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

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

.cta .hand-note {
  margin: 24px 0 0;
  transform: rotate(-2deg);
}

.sparkle--cta-a {
  width: 30px;
  top: -34px;
  left: 2%;
  fill: var(--butter);
}

.sparkle--cta-b {
  width: 20px;
  bottom: 10px;
  right: 4%;
  animation-delay: 1.2s;
}

/* ---------- Shop ---------- */

.shop {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.shop__images {
  display: flex;
  justify-content: center;
  padding-inline: 12px;
}

.shop__images li {
  flex: 1;
  max-width: 260px;
}

.shop__images li + li {
  margin-left: -14px;
}

.shop__images .photo {
  aspect-ratio: 3 / 4;
}

.shop__images li:nth-child(1) .photo {
  transform: rotate(-4deg);
}

.shop__images li:nth-child(2) .photo {
  transform: rotate(2.5deg) translateY(-10px);
  position: relative;
  z-index: 1;
}

.shop__images li:nth-child(3) .photo {
  transform: rotate(-1.5deg);
}

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

.shop--large .shop__images {
  max-width: 860px;
  margin-inline: auto;
}

.shop--large .shop__images li + li {
  margin-left: 12px;
}

.shop--large .section-head {
  margin-bottom: 0;
}

.shop--large .shop__images {
  order: 2;
}

.shop--large .btn--primary {
  font-size: 1.1rem;
  padding: 16px 30px;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 820px;
  margin-inline: auto;
  border-top: 2px dashed var(--line);
}

.faq__item {
  border-bottom: 2px dashed var(--line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 600;
  color: var(--forest);
}

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

.faq__item summary:hover {
  color: var(--rust);
}

.faq__icon {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blush);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item[open] .faq__icon {
  background: var(--coral);
  transform: rotate(45deg);
}

.faq__answer {
  padding: 0 4px 12px;
  max-width: 44em;
}

.faq__answer p {
  margin-bottom: 14px;
}

.section--faq {
  padding-top: 0;
}

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

.site-footer {
  --tone-bg: var(--forest);
  position: relative;
  margin-top: var(--scallop);
  padding-block: 64px 28px;
  background: var(--forest);
  color: rgba(255, 255, 255, 0.92);
}

/* Pages usually end on a green CTA band; darken the footer so the two don't blend together. */
main:has(> .section.tone-forest:last-child) + .site-footer {
  --tone-bg: var(--ink);
  background: var(--ink);
}

.site-footer__inner {
  display: grid;
  gap: 40px;
}

@media (min-width: 760px) {
  .site-footer__inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: start;
  }
}

.fox-mark--footer {
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
}

.site-footer__name {
  margin: 0;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.site-footer__tagline {
  margin: 0 0 14px;
  font-family: var(--font-hand);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--butter);
}

.site-footer__blurb {
  max-width: 30em;
}

.site-footer__links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 48px;
}

@media (min-width: 560px) {
  .site-footer__links {
    grid-template-columns: repeat(2, max-content);
  }
}

@media (min-width: 760px) {
  .site-footer__links {
    justify-content: end;
  }
}

.site-footer__links a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer__links a:hover {
  color: var(--butter);
  text-decoration: underline wavy var(--butter) 2px;
  text-underline-offset: 5px;
}

.site-footer__small {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- Motion preferences ---------- */

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
