/* ==========================================================================
   Clarity Path Counselling
   Mobile-first layout. Edit colours only in the token block below.
   Brand sage (#7A9E7E) and terracotta (#C4A484) are decorative.
   Text and buttons use darker ink colours so contrast stays WCAG AA.
   ========================================================================== */

:root {
  --sage: #7A9E7E;
  --sage-ink: #3E5C43;
  --cream: #F7F4EF;
  --sand: #F1EBE3;
  --white: #FFFEF9;
  --teal: #5B8A8A;
  --teal-ink: #3D6565;
  --teal-ink-hover: #314F4F;
  --terracotta: #C4A484;
  --focus: #8C6848;
  --ink: #2C2C2C;
  --muted: #5E5A54;
  --error: #7A3E36;
  --line: rgba(44, 44, 44, 0.12);
  --shadow: 0 10px 30px rgba(61, 74, 58, 0.08);
  --shadow-hover: 0 16px 40px rgba(61, 74, 58, 0.12);
  --radius: 16px;
  --radius-sm: 12px;
  --serif: "Lora", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --header-offset: 5.5rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(ellipse 70% 40% at 0% 0%, rgba(122, 158, 126, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 35% at 100% 8%, rgba(196, 164, 132, 0.16), transparent 50%);
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
  text-wrap: balance;
  color: var(--ink);
}

h1 {
  margin: 0;
  font-size: clamp(2.45rem, 6vw, 4.35rem);
  letter-spacing: -0.02em;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.85rem);
  letter-spacing: -0.02em;
}

h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

p {
  margin: 0 0 1rem;
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--teal-ink);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--sage-ink);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

::selection {
  background: #d7e6d8;
  color: var(--ink);
}

section[id],
.legal article[id] {
  scroll-margin-top: var(--header-offset);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
  color: var(--cream);
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.band {
  padding-block: clamp(4.25rem, 8vw, 7rem);
}

.band-white {
  background: var(--white);
}

.band-sand {
  background: var(--sand);
}

.eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-ink);
}

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head h2 {
  margin-bottom: 0.85rem;
}

.section-intro {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   Header and navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 239, 0.94);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
}

.site-header::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--sage) 0%, var(--teal) 55%, var(--terracotta) 100%);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(44, 44, 44, 0.05);
}

.nav-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
}

.logo:hover {
  color: inherit;
}

.logo-mark {
  width: 2.4rem;
  height: 2.4rem;
  flex: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
}

.logo-sub {
  margin-top: 0.18rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s ease, top 0.2s ease, background 0.2s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-open .nav-toggle-bars {
  background: transparent;
}

.nav-open .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-open .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

#site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 0.5rem 1.25rem 1.25rem;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.nav-open #site-nav {
  display: block;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nav-list a {
  display: block;
  padding: 0.75rem 0.7rem;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.nav-list a:hover,
.nav-list a[aria-current="true"] {
  background: rgba(122, 158, 126, 0.14);
  color: var(--sage-ink);
}

.nav-list a.nav-cta {
  margin-top: 0.35rem;
  background: var(--teal-ink);
  color: #fff;
  text-align: center;
}

.nav-list a.nav-cta:hover,
.nav-list a.nav-cta[aria-current="true"] {
  background: var(--teal-ink-hover);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.25rem, 8vw, 6.5rem) clamp(4rem, 8vw, 6.5rem);
  background:
    radial-gradient(ellipse 55% 50% at 92% 0%, rgba(122, 158, 126, 0.2), transparent 62%),
    radial-gradient(ellipse 42% 40% at 0% 100%, rgba(196, 164, 132, 0.18), transparent 70%),
    radial-gradient(ellipse 28% 30% at 70% 90%, rgba(91, 138, 138, 0.12), transparent 70%);
}

.hero-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.leaf {
  position: absolute;
  color: var(--sage-ink);
}

.leaf-a {
  width: min(42vw, 240px);
  right: -2rem;
  top: -1rem;
  opacity: 0.55;
}

.leaf-b {
  width: min(36vw, 180px);
  left: -2.5rem;
  bottom: -1.5rem;
  opacity: 0.4;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
}

.lede {
  max-width: 38rem;
  margin-top: 1.15rem;
  font-size: 1.15rem;
  color: var(--muted);
}

.hero-actions {
  margin-top: 1.75rem;
}

.hero-meta {
  margin-top: 1rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-panel {
  align-self: end;
  padding: 1.5rem 1.4rem 1.35rem;
  border: 1px solid rgba(122, 158, 126, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 254, 249, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero-panel-kicker {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ink);
}

.detail-list {
  margin: 0;
}

.detail-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

.detail-list dt {
  color: var(--muted);
  font-size: 0.95rem;
}

.detail-list dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.hero-panel-note {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about-grid {
  display: grid;
  gap: 2rem;
}

.portrait {
  width: min(100%, 280px);
  margin: 0 auto;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: #E7F0E6;
  box-shadow:
    0 0 0 8px rgba(122, 158, 126, 0.16),
    var(--shadow-hover);
}

.portrait svg,
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

.role {
  margin: 0.45rem 0 1.25rem;
  color: var(--muted);
  font-weight: 500;
}

.bio p {
  color: var(--ink);
}

.about-copy h3 {
  margin-top: 1.75rem;
}

.credentials {
  list-style: none;
  margin: 0;
  padding: 0;
}

.credentials li {
  position: relative;
  margin: 0;
  padding: 0.45rem 0 0.45rem 1.35rem;
}

.credentials li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--sage);
}

.philosophy {
  margin: 1.75rem 0 0;
  padding: 0.25rem 0 0.25rem 1.15rem;
  border-left: 3px solid var(--terracotta);
}

.philosophy p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   Cards — approach and resources
   -------------------------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

.card {
  padding: 1.5rem 1.35rem 1.4rem;
  border: 1px solid rgba(122, 158, 126, 0.22);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: rgba(122, 158, 126, 0.16);
  color: var(--sage-ink);
}

.icon svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-index {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--focus);
}

.resource-card h3 {
  margin-bottom: 0.45rem;
}

.resource-card > p {
  margin-bottom: 0.85rem;
}

html.js .resource-more {
  display: none;
}

html.js .resource-more.is-open {
  display: block;
}

.resource-more {
  margin-bottom: 0.85rem;
}

.resource-more p {
  margin: 0;
}

.read-more {
  display: none;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.85rem;
  padding: 0.15rem 0;
  border: 0;
  background: none;
  color: var(--teal-ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

html.js .read-more {
  display: inline-flex;
}

.read-more svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.read-more[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.read-more:hover {
  color: var(--sage-ink);
}

/* --------------------------------------------------------------------------
   What to expect
   -------------------------------------------------------------------------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.steps li {
  margin: 0;
  padding-left: 1.15rem;
  border-left: 2px solid rgba(122, 158, 126, 0.55);
}

.step-index {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.75rem;
  color: var(--sage-ink);
}

.steps p {
  margin: 0;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Contact form
   -------------------------------------------------------------------------- */

.contact-layout {
  display: grid;
  gap: 1.25rem;
}

.form-card,
.reassure {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(122, 158, 126, 0.22);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.field-row {
  display: grid;
  gap: 1rem;
}

.field {
  margin: 0 0 1.1rem;
  padding: 0;
  border: 0;
  min-inline-size: 0;
}

.field label,
.field legend {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.98rem;
}

.req {
  color: var(--focus);
}

.optional {
  margin-left: 0.35rem;
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid #cfc8be;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font: inherit;
  line-height: 1.5;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #6f6962;
  opacity: 1;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--error);
  background: #fbf7f5;
}

.field-hint {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.field-error {
  margin: 0.4rem 0 0;
  color: var(--error);
  font-size: 0.92rem;
  font-weight: 600;
}

.field-error:empty {
  display: none;
}

.day-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.day-option {
  position: relative;
}

.day-option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.day-option span {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid #cfc8be;
  border-radius: 999px;
  background: #fff;
  font-size: 0.95rem;
}

.day-option input:checked + span {
  border-color: var(--sage-ink);
  background: #e5efe6;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--sage-ink);
}

.day-option input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.45rem;
  border: 0;
  border-radius: 999px;
  background: var(--teal-ink);
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(61, 101, 101, 0.22);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: var(--teal-ink-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(61, 101, 101, 0.28);
}

.btn:active {
  transform: translateY(1px);
}

.form-actions .btn {
  width: 100%;
}

.form-success {
  padding: 0.25rem 0 0.5rem;
}

.form-success:focus {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.success-mark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: rgba(122, 158, 126, 0.18);
  color: var(--sage-ink);
}

.success-mark svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-success h3 {
  margin-bottom: 0.75rem;
}

.text-button {
  margin-top: 0.5rem;
  padding: 0.35rem 0;
  border: 0;
  background: none;
  color: var(--teal-ink);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.text-button:hover {
  color: var(--sage-ink);
}

.privacy-note {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.reassure h3 {
  margin-bottom: 0.85rem;
}

.reassure ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.reassure li {
  position: relative;
  margin: 0;
  padding: 0.55rem 0 0.55rem 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.reassure li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--teal);
}

.reassure-foot {
  margin: 1rem 0 0;
  font-weight: 600;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Legal and footer
   -------------------------------------------------------------------------- */

.legal {
  padding-block: clamp(3rem, 6vw, 4.5rem);
  background: var(--sand);
  color: var(--muted);
}

.legal-grid {
  display: grid;
  gap: 2rem;
}

.legal h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.site-footer {
  padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  background: #24302c;
  color: #e7e1d8;
}

.crisis-note {
  margin: 0 0 2rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(247, 244, 239, 0.16);
  border-left: 4px solid var(--terracotta);
  border-radius: var(--radius-sm);
  background: rgba(247, 244, 239, 0.06);
  color: #f7f4ef;
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

.footer-brand {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  color: #f7f4ef;
}

.footer-tagline,
.footer-grid p {
  color: #e4ddd4;
}

.footer-label {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f7f4ef;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a,
.site-footer a {
  color: #f7f4ef;
}

.site-footer a:hover {
  color: #fff;
}

.footer-links li {
  margin: 0.2rem 0;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(247, 244, 239, 0.14);
  font-size: 0.95rem;
}

.footer-base p {
  margin: 0;
}

.footer-legal-links {
  display: flex;
  gap: 1rem;
}

.powered-by {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
  color: #e4ddd4;
  font-size: 0.92rem;
}

.powered-by img {
  height: 2.6rem;
  width: auto;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  background: #fff;
}

/* --------------------------------------------------------------------------
   Wider screens
   -------------------------------------------------------------------------- */

@media (min-width: 640px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }

  .form-actions .btn {
    width: auto;
    min-width: 14rem;
  }
}

@media (min-width: 800px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid {
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    align-items: start;
  }

  .portrait {
    position: sticky;
    top: 6.5rem;
    margin: 0;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
  }

  .steps::before {
    content: "";
    position: absolute;
    top: 1.35rem;
    left: 6%;
    right: 6%;
    height: 1px;
    background: rgba(122, 158, 126, 0.45);
  }

  .steps li {
    padding-left: 0;
    padding-top: 0;
    border-left: 0;
  }

  .legal-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (min-width: 861px) {
  .nav-toggle {
    display: none;
  }

  #site-nav {
    display: block;
    position: static;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
  }

  .nav-list a {
    padding: 0.5rem 0.75rem;
  }

  .nav-cta {
    margin-top: 0;
    margin-left: 0.4rem;
    padding-inline: 1rem;
  }

  .nav-list a:hover,
  .nav-list a[aria-current="true"] {
    background: transparent;
  }

  .nav-list a[aria-current="true"]:not(.nav-cta) {
    box-shadow: inset 0 -2px 0 var(--sage);
  }
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.7fr);
    align-items: start;
    gap: 1.5rem;
  }
}

@media (min-width: 1100px) {
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  #resources .card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* --------------------------------------------------------------------------
   Motion and print
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .card:hover,
  .btn:hover,
  .btn:active {
    transform: none;
  }
}

@media print {
  .site-header,
  .skip-link,
  .read-more,
  .hero-art {
    display: none !important;
  }

  body,
  .band-white,
  .band-sand,
  .legal,
  .site-footer {
    background: #fff;
    color: #000;
  }

  .site-footer,
  .site-footer a,
  .footer-brand,
  .crisis-note {
    color: #000;
  }

  .card,
  .form-card,
  .reassure {
    box-shadow: none;
  }
}
