/* =============================================================================
   STYLES — Elie · French Teacher & Creativity Coach
   -----------------------------------------------------------------------------
   The look of the whole site. The palette and fonts are defined as variables
   right below — change a color here and it changes everywhere.
   Layout is mobile-first: base styles are for phones, and @media blocks
   further down adapt things for larger screens.
   ========================================================================== */

/* ----------------------------------------------------------------------------
   1. PALETTE & DESIGN TOKENS
   ------------------------------------------------------------------------- */
:root {
  /* Warm, earthy, literary palette (from the boots logo) */
  --cream:        #F7F3EC;  /* page background */
  --cream-deep:   #EFE8DB;  /* slightly darker cream for alternating sections */
  --terracotta:   #C4622D;  /* primary accent — large text & decoration only */
  --terracotta-deep: #A04A1D; /* darker terracotta — links, buttons, small text (AA contrast) */
  --clay:         #D98A5E;  /* soft clay — brushstrokes, subtle decoration */
  --sage:         #6B7A4F;  /* secondary — large accents */
  --sage-deep:    #545F3D;  /* darker sage — small text (AA contrast) */
  --blue:         #7BA0C4;  /* dusty cornflower — used sparingly */
  --blue-deep:    #3E6285;  /* darker blue for small text on cream */
  --ink:          #2E2A26;  /* warm charcoal — body text */
  --ink-soft:     #5C544B;  /* softened charcoal — secondary text */

  /* Typography */
  --font-serif: "Fraunces", "Georgia", serif;
  --font-sans:  "Source Sans 3", "Segoe UI", sans-serif;

  /* Shape & rhythm */
  --radius: 18px;
  --radius-small: 12px;
  --shadow-soft: 0 6px 24px rgba(46, 42, 38, 0.08);
  --shadow-lift: 0 14px 36px rgba(46, 42, 38, 0.13);
  --container: 70rem;
  --header-height: 4.25rem;
}

/* ----------------------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* keeps anchored sections from hiding under the sticky header */
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;            /* 17px — comfortable reading size */
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
}

/* A whisper of paper grain over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; border-radius: var(--radius-small); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--ink);
}

p { margin: 0 0 1.1em; }
a { color: var(--terracotta-deep); }

/* Visible, consistent focus for keyboard users */
:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.container.narrow { max-width: 48rem; }

.section { padding: 4.5rem 0; position: relative; }

/* Skip link — appears when tabbed to */
.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 1rem;
  border-radius: 0 0 var(--radius-small) var(--radius-small);
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

/* Honeypot field — hidden from people, visible to bots */
.visually-hidden-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
}

/* ----------------------------------------------------------------------------
   3. SECTION HEADINGS
   ------------------------------------------------------------------------- */
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: -0.01em;
}
.section-title.centered, .section-sub.centered { text-align: center; }

/* Small brushstroke underline beneath section titles */
.section-title::after {
  content: "";
  display: block;
  width: 5.5rem;
  height: 0.65rem;
  margin-top: 0.45rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14'%3E%3Cpath d='M3 9 C40 4 80 3 120 4 C155 5 180 6 197 8 C170 11 130 12 90 11.5 C55 11 25 10.5 3 9 Z' fill='%23D98A5E' opacity='0.6'/%3E%3C/svg%3E");
  background-size: 100% 100%;
}
.section-title.centered::after { margin-inline: auto; }

.section-sub {
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 36rem;
}
.section-sub.centered { margin-inline: auto; margin-bottom: 3rem; }

/* ----------------------------------------------------------------------------
   4. HEADER & NAVIGATION
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 236, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(46, 42, 38, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-height);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--terracotta);
  margin-right: auto;
}
.logo-img { width: 46px; height: 46px; flex: none; border-radius: 50%; }
.logo-name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ink);
}

.site-nav { display: flex; gap: 1.4rem; }
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.97rem;
  padding: 0.3rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.site-nav a:hover {
  color: var(--terracotta-deep);
  border-bottom-color: var(--clay);
}

/* Language switcher — small segmented pill */
.lang-switch {
  display: inline-flex;
  border: 1.5px solid rgba(46, 42, 38, 0.22);
  border-radius: 999px;
  overflow: hidden;
  background: var(--cream);
}
.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  font: 600 0.82rem var(--font-sans);
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  padding: 0.42rem 0.72rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-switch button:hover { color: var(--terracotta-deep); }
.lang-switch button[aria-pressed="true"] {
  background: var(--terracotta-deep);
  color: var(--cream);
}

/* Mobile menu button (hamburger) — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 9px;
  background: transparent;
  border: 1.5px solid rgba(46, 42, 38, 0.22);
  border-radius: var(--radius-small);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------------------------------------------
   5. HERO
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 5.5rem 0 6rem;
  overflow: hidden;
  text-align: center;
}

/* Decorative dashed "travel path" floating behind the hero */
.hero-path {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  color: var(--sage);
  opacity: 0.35;
  pointer-events: none;
}

.hero-inner { position: relative; }

.hero-kicker {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 1.2rem;
}

.hero-name {
  position: relative;
  display: inline-block;
  font-size: clamp(4.5rem, 14vw, 8.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}
.hero-name-text { position: relative; z-index: 1; }

/* The brushstroke sits behind the name */
.brushstroke {
  position: absolute;
  z-index: 0;
  left: -8%;
  bottom: 6%;
  width: 116%;
  height: 42%;
  fill: var(--clay);
  opacity: 0.4;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.35rem, 3.4vw, 1.9rem);
  color: var(--terracotta-deep);
  margin-bottom: 1.2rem;
}

.hero-intro {
  max-width: 36rem;
  margin: 0 auto 2.2rem;
  font-size: 1.12rem;
  color: var(--ink-soft);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

/* ----------------------------------------------------------------------------
   6. BUTTONS
   ------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font: 600 1rem var(--font-sans);
  text-decoration: none;
  border-radius: 999px;
  padding: 0.78rem 1.7rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--terracotta-deep);
  color: var(--cream);
}
.btn-primary:hover { background: var(--terracotta); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(46, 42, 38, 0.35);
}
.btn-ghost:hover { border-color: var(--terracotta-deep); color: var(--terracotta-deep); }

.btn-small { font-size: 0.95rem; padding: 0.6rem 1.3rem; }

/* ----------------------------------------------------------------------------
   7. ABOUT
   ------------------------------------------------------------------------- */
.about { background: var(--cream-deep); }

.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.about-lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--sage-deep);
}

.credentials {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 0;
  display: grid;
  gap: 0.6rem;
}
.credentials li {
  position: relative;
  padding-left: 1.6rem;
  font-weight: 600;
  font-size: 0.98rem;
}
.credentials li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-weight: 700;
}

/* ----------------------------------------------------------------------------
   8. IMAGE PLACEHOLDERS (until real photos are dropped in)
   ------------------------------------------------------------------------- */
.img-placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  background:
    repeating-linear-gradient(-45deg,
      rgba(217, 138, 94, 0.10) 0 12px,
      rgba(217, 138, 94, 0.04) 12px 24px),
    var(--cream);
  border: 2px dashed rgba(196, 98, 45, 0.45);
  border-radius: var(--radius);
  color: var(--ink-soft);
  font: 600 0.9rem var(--font-sans);
  line-height: 1.5;
  margin: 0 0 1.2rem;
}
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-3x2 { aspect-ratio: 3 / 2; }

.about-photo .img-placeholder,
.about-photo img {
  max-width: 22rem;
  margin-inline: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

/* ----------------------------------------------------------------------------
   9. OFFERINGS — two worlds, four cards
   ------------------------------------------------------------------------- */
.world {
  border-radius: calc(var(--radius) + 6px);
  padding: 2rem 1.4rem;
  margin-bottom: 2.2rem;
}
.world-imagination { background: rgba(217, 138, 94, 0.12); }
.world-french      { background: rgba(107, 122, 79, 0.12); }

.world-header { margin-bottom: 1.6rem; }
.world-title {
  font-size: 1.55rem;
  margin-bottom: 0.15em;
}
.world-imagination .world-title { color: var(--terracotta-deep); }
.world-french      .world-title { color: var(--sage-deep); }
.world-sub { color: var(--ink-soft); margin: 0; font-size: 1rem; }

.card-grid {
  display: grid;
  gap: 1.4rem;
}

.card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  margin-bottom: 1.1rem;
  transition: transform 0.25s ease;
}
.card:hover .card-icon { transform: rotate(-6deg) scale(1.06); }
.card-icon svg { width: 30px; height: 30px; }

.world-imagination .card-icon { background: rgba(196, 98, 45, 0.13); color: var(--terracotta-deep); }
.world-french      .card-icon { background: rgba(107, 122, 79, 0.15); color: var(--sage-deep); }

.card-title { font-size: 1.35rem; margin-bottom: 0.2em; }
.card-tag {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1rem;
  margin-bottom: 0.7em;
}
.card-desc { color: var(--ink-soft); flex: 1; }

.card-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--terracotta-deep);
  margin-top: 0.4rem;
  align-self: flex-start;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}
.card-link:hover { border-bottom-color: var(--clay); }
.world-french .card-link { color: var(--sage-deep); }
.world-french .card-link:hover { border-bottom-color: var(--sage); }

/* ----------------------------------------------------------------------------
   10. OFFER DETAILS — expandable sections (native <details>)
   ------------------------------------------------------------------------- */
.offer-details { background: var(--cream-deep); }

.offer-detail {
  background: var(--cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.1rem;
  border-left: 5px solid transparent;
  overflow: hidden;
}
.offer-detail.accent-terracotta { border-left-color: var(--clay); }
.offer-detail.accent-sage       { border-left-color: var(--sage); }

.offer-detail summary {
  list-style: none;            /* hide the default triangle */
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "kicker chevron" "title chevron";
  align-items: center;
  gap: 0 1rem;
  padding: 1.25rem 1.5rem;
  transition: background 0.2s ease;
}
.offer-detail summary::-webkit-details-marker { display: none; }
.offer-detail summary:hover { background: rgba(217, 138, 94, 0.08); }

.detail-kicker {
  grid-area: kicker;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.accent-terracotta .detail-kicker { color: var(--terracotta-deep); }
.accent-sage       .detail-kicker { color: var(--sage-deep); }

.detail-title {
  grid-area: title;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
}

/* Plus sign that rotates into an × when open */
.detail-chevron {
  grid-area: chevron;
  position: relative;
  width: 22px; height: 22px;
  transition: transform 0.3s ease;
}
.detail-chevron::before, .detail-chevron::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--terracotta-deep);
  border-radius: 2px;
  transform: translate(-50%, -50%);
}
.detail-chevron::before { width: 18px; height: 2.5px; }
.detail-chevron::after  { width: 2.5px; height: 18px; }
.offer-detail[open] .detail-chevron { transform: rotate(45deg); }

.detail-body {
  padding: 0.4rem 1.5rem 1.8rem;
  max-width: 42rem;
}
.detail-body img {
  margin: 0 0 1.2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.detail-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.5rem;
}
.detail-list li {
  position: relative;
  padding-left: 1.6rem;
}
.detail-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  font-weight: 700;
}
.accent-terracotta .detail-list li::before { color: var(--terracotta); }
.accent-sage       .detail-list li::before { color: var(--sage); }

/* ----------------------------------------------------------------------------
   11. TESTIMONIALS
   ------------------------------------------------------------------------- */
.quote-grid {
  display: grid;
  gap: 1.3rem;
}

.quote-card {
  margin: 0;
  background: var(--cream);
  border: 1px solid rgba(46, 42, 38, 0.09);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.3rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.quote-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

/* Big decorative quotation mark */
.quote-card::before {
  content: "“";
  position: absolute;
  top: 0.2rem; left: 1.1rem;
  font-family: var(--font-serif);
  font-size: 3.6rem;
  line-height: 1;
  color: var(--clay);
  opacity: 0.55;
}

.quote-card blockquote {
  margin: 1.2rem 0 0.8rem;
  font-family: var(--font-serif);
  font-size: 1.12rem;
  line-height: 1.5;
}
.quote-card figcaption {
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.quote-lang {
  position: absolute;
  top: 1.1rem; right: 1.2rem;
}

/* Little language chips — also reused in the contact section */
.chip-blue, .chip-terracotta, .chip-sage {
  display: inline-block;
  font: 700 0.72rem var(--font-sans);
  letter-spacing: 0.08em;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
}
.chip-blue       { background: rgba(123, 160, 196, 0.22); color: var(--blue-deep); }
.chip-terracotta { background: rgba(196, 98, 45, 0.14);  color: var(--terracotta-deep); }
.chip-sage       { background: rgba(107, 122, 79, 0.18); color: var(--sage-deep); }

/* ----------------------------------------------------------------------------
   12. CONTACT
   ------------------------------------------------------------------------- */
.contact { background: var(--cream-deep); }

.contact-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.contact-form {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.4rem;
}
.contact-form label {
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 0.7rem;
}
.contact-form input,
.contact-form textarea {
  font: 400 1rem var(--font-sans);
  color: var(--ink);
  background: var(--cream-deep);
  border: 1.5px solid rgba(46, 42, 38, 0.15);
  border-radius: var(--radius-small);
  padding: 0.7rem 0.9rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  background: var(--cream);
}
.contact-form textarea { resize: vertical; }
.contact-form .btn { margin-top: 1.1rem; justify-self: start; }

.form-status { margin: 0.8rem 0 0; font-weight: 600; min-height: 1.4em; }
.form-status.is-success { color: var(--sage-deep); }
.form-status.is-error   { color: var(--terracotta-deep); }

.contact-direct {
  background: rgba(107, 122, 79, 0.12);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
}
.contact-direct h3 { font-size: 1.3rem; }
.contact-line { display: flex; flex-wrap: wrap; gap: 0.5rem 0.8rem; align-items: baseline; margin-bottom: 0.7em; }
.contact-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-deep);
  min-width: 3.6rem;
}
.contact-line a { font-weight: 600; }
.contact-note { color: var(--ink-soft); margin: 1.1rem 0 0.9rem; }
.lang-chips { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* ----------------------------------------------------------------------------
   13. FOOTER
   ------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 3rem 0 2.5rem;
  text-align: center;
}
.footer-logo-img { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 0.9rem; }
.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(247, 243, 236, 0.85);
  margin-bottom: 0.4em;
}
.footer-copy { font-size: 0.9rem; color: rgba(247, 243, 236, 0.65); margin: 0; }

/* ----------------------------------------------------------------------------
   14. SCROLL-REVEAL ANIMATION (gentle fade-up, added by main.js)
   ------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* If the visitor prefers less motion (or JS is off), show everything plainly */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .quote-card, .card-icon { transition: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ----------------------------------------------------------------------------
   15. LARGER SCREENS (tablet & desktop)
   ------------------------------------------------------------------------- */
@media (max-width: 47.99rem) {
  /* Mobile: nav collapses behind the hamburger */
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(46, 42, 38, 0.1);
    box-shadow: var(--shadow-soft);
    padding: 0.6rem 1.25rem 1rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.8rem 0.2rem; border-bottom: 1px solid rgba(46, 42, 38, 0.07); }
}

@media (min-width: 48rem) {
  .section { padding: 6rem 0; }

  .about-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 3.5rem; }
  .about-photo { position: sticky; top: calc(var(--header-height) + 2rem); }

  .card-grid { grid-template-columns: 1fr 1fr; }
  .world { padding: 2.4rem 2.2rem; }

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

  .contact-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 2.5rem; }

  .detail-body { padding-left: 1.7rem; }
}

@media (min-width: 64rem) {
  .quote-grid { grid-template-columns: repeat(3, 1fr); }
  .quote-grid .quote-card:nth-child(4),
  .quote-grid .quote-card:nth-child(5) { grid-column: span 1; }
}
