/* =========================================================
   Fairway & Fern Golf Club — design tokens & components
   Visual system derived from the supplied reference screenshot:
   warm off-white canvas, near-black ink, pale-yellow accent,
   pill buttons with circular arrow, tight display typography.
   ========================================================= */

:root {
  --bg: #f4f4f1;
  --bg-soft: #eeeee9;
  --surface: #fbfbf8;
  --ink: #0b0b0a;
  --muted: #6b6b64;
  --muted-soft: #8d8d85;
  --accent: #eeee5a;
  --accent-soft: #f4f4a0;
  --line: rgba(11, 11, 10, 0.12);
  --line-soft: rgba(11, 11, 10, 0.07);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --pill: 999px;
  --container: 1280px;
  --gutter: 32px;
  --section-y: 112px;
  --fs-display: clamp(2.85rem, 6.6vw, 5.5rem);
  --fs-h2: clamp(2rem, 3.6vw, 3.25rem);
  --fs-h3: clamp(1.3rem, 1.7vw, 1.6rem);
  --fs-lead: clamp(1.05rem, 1.45vw, 1.35rem);
  --ease: cubic-bezier(0.22, 0.68, 0.28, 1);
  --shadow-soft: 0 24px 60px rgba(11, 11, 10, 0.08);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

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

/* ---------------- layout helpers ---------------- */

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

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

.section--tight {
  padding: calc(var(--section-y) * 0.62) 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  flex: none;
}

.display {
  font-size: var(--fs-display);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.h2 {
  font-size: var(--fs-h2);
  line-height: 1.02;
  letter-spacing: -0.038em;
  font-weight: 500;
  max-width: 22ch;
}

.h3 {
  font-size: var(--fs-h3);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 500;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.45;
  color: var(--muted);
  letter-spacing: -0.012em;
  max-width: 34ch;
}

.body-text {
  color: var(--muted);
  max-width: 62ch;
}

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

.rule {
  height: 1px;
  border: 0;
  background: var(--line-soft);
  margin: 0;
}

/* ---------------- buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 10px 9px 28px;
  min-height: 62px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background-color 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease);
  background: none;
  font-family: inherit;
}

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

.btn-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  transition: transform 0.35s var(--ease), background-color 0.25s var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(2px) rotate(-4deg);
}

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

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

.btn-soft {
  background: var(--bg-soft);
  color: var(--ink);
  border-color: transparent;
}

.btn-soft .btn-arrow {
  background: var(--ink);
  color: #fff;
}

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

.btn-outline .btn-arrow {
  background: var(--bg-soft);
  color: var(--ink);
}

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

.btn-accent .btn-arrow {
  background: var(--ink);
  color: var(--accent);
}

.btn-sm {
  min-height: 52px;
  padding: 7px 8px 7px 22px;
  font-size: 0.95rem;
  gap: 12px;
}

.btn-sm .btn-arrow {
  width: 38px;
  height: 38px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
  transition: gap 0.3s var(--ease), border-color 0.3s var(--ease);
}

.link-arrow:hover {
  gap: 14px;
  border-color: currentColor;
}

.arrow-glyph {
  display: block;
}

/* ---------------- header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(244, 244, 241, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 96px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.62rem;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  flex: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-suffix {
  font-size: 0.58rem;
  font-weight: 500;
  color: var(--muted);
  align-self: flex-start;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 26px;
}

.nav-link {
  position: relative;
  padding: 8px 12px;
  border-radius: var(--pill);
  font-size: 0.98rem;
  font-weight: 400;
  color: #33332f;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav-link:hover {
  color: var(--ink);
  background: rgba(11, 11, 10, 0.05);
}

.nav-link.is-active {
  color: var(--ink);
  font-weight: 500;
}

.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-loc {
  font-size: 0.95rem;
  color: #33332f;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

/* Mobile drawer: hidden by default via the hidden attribute.
   Never set `display` on .mobile-menu without the :not([hidden]) guard. */
.mobile-menu {
  position: fixed;
  inset: 96px 0 auto 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
  padding: 20px var(--gutter) 32px;
  z-index: 55;
  max-height: calc(100vh - 96px);
  overflow-y: auto;
}

.mobile-menu:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: drawer-in 0.28s var(--ease) both;
}

@keyframes drawer-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 2px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  border-bottom: 1px solid var(--line-soft);
}

.mobile-link.is-active {
  font-weight: 500;
}

.mobile-menu-foot {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 24px;
}

.mobile-menu-foot .btn {
  width: 100%;
}

.mobile-loc {
  font-size: 0.95rem;
  color: var(--muted);
}

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

.hero {
  padding: 40px 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-bottom: 12px;
}

.hero-title {
  font-size: clamp(2.6rem, 5.9vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.048em;
  font-weight: 500;
}

.hero-sub {
  font-size: clamp(1.08rem, 1.7vw, 1.5rem);
  line-height: 1.4;
  color: var(--muted);
  letter-spacing: -0.02em;
  max-width: 30ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 6px;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}

.hero-note {
  position: absolute;
  left: -52px;
  top: 36%;
  width: min(316px, 74%);
  background: var(--accent);
  border-radius: var(--radius-md);
  padding: 26px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-soft);
}

.hero-note p {
  font-size: 1.06rem;
  line-height: 1.42;
  letter-spacing: -0.012em;
}

.hero-note .note-plus {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex: none;
}

/* ---------------- stats / intro ---------------- */

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.intro-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}

.intro-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 10px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}

.stat-value {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.stat-label {
  margin-top: 8px;
  font-size: 0.86rem;
  line-height: 1.35;
  color: var(--muted);
}

/* ---------------- cards & grids ---------------- */

.grid {
  display: grid;
  gap: 24px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.4s var(--ease);
}

a.card:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.card-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--bg-soft);
}

.card-body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.card-title {
  font-size: 1.24rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.card-text {
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--muted);
}

.card-foot {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--pill);
  background: var(--bg-soft);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #3b3b36;
}

.pill-tag--accent {
  background: var(--accent);
  color: var(--ink);
}

/* coach cards */

.coach-card .card-media img {
  aspect-ratio: 4 / 5;
}

.coach-role {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* plan cards */

.plan-card {
  padding: 32px 30px 34px;
  gap: 18px;
}

.plan-card .plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  letter-spacing: -0.04em;
}

.plan-price strong {
  font-size: clamp(2.1rem, 3.2vw, 2.8rem);
  font-weight: 500;
  line-height: 1;
}

.plan-price span {
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.95rem;
  color: #454540;
}

.plan-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.plan-features li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--ink);
  flex: none;
}

.plan-card--featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.plan-card--featured .plan-price span,
.plan-card--featured .card-text,
.plan-card--featured .plan-features {
  color: rgba(255, 255, 255, 0.72);
}

.plan-card--featured .plan-features li::before {
  background: var(--accent);
}

.plan-card--featured .pill-tag {
  background: var(--accent);
  color: var(--ink);
}

/* reviews */

.review-card {
  padding: 30px;
  gap: 18px;
}

.review-stars {
  display: flex;
  gap: 4px;
  color: var(--ink);
}

.review-quote {
  font-size: 1.08rem;
  line-height: 1.5;
  letter-spacing: -0.015em;
  flex: 1;
}

.review-author {
  font-size: 0.92rem;
  font-weight: 500;
}

.review-meta {
  font-size: 0.82rem;
  color: var(--muted);
}

/* articles */

.article-card .card-media img {
  aspect-ratio: 16 / 10;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--muted);
}

.dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

/* ---------------- cta band ---------------- */

.cta-band {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(36px, 5vw, 64px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-band .h2 {
  color: #fff;
  max-width: 18ch;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 34ch;
  margin-top: 14px;
}

.cta-band .btn-soft {
  background: var(--accent);
  color: var(--ink);
}

.cta-band .btn-soft .btn-arrow {
  background: var(--ink);
  color: var(--accent);
}

/* ---------------- page hero (inner pages) ---------------- */

.page-hero {
  padding: 64px 0 56px;
}

.page-hero .display {
  max-width: 20ch;
}

.page-hero .lead {
  margin-top: 24px;
  max-width: 46ch;
}

.page-hero-media {
  margin-top: 44px;
}

.page-hero-media img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 22px;
}

.breadcrumb a:hover {
  color: var(--ink);
}

/* ---------------- prose / article ---------------- */

.prose {
  max-width: 68ch;
  font-size: 1.06rem;
  line-height: 1.68;
  color: #3d3d38;
  white-space: pre-line;
}

.prose + .prose {
  margin-top: 18px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.75fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.detail-aside {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 120px;
}

.aside-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.94rem;
  color: #454540;
}

.aside-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.aside-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.line-list {
  white-space: pre-line;
  border-left: 2px solid var(--accent);
  padding-left: 16px;
  line-height: 1.65;
  color: #454540;
  font-size: 0.94rem;
}

.aside-list.line-list {
  gap: 0;
}

/* ---------------- forms ---------------- */

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
  min-height: 148px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(11, 11, 10, 0.07);
}

.field-hint {
  font-size: 0.82rem;
  color: var(--muted-soft);
}

.field-error {
  font-size: 0.82rem;
  color: #a3241c;
  min-height: 1em;
}

.form-status {
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 0.95rem;
  display: none;
}

.form-status[data-state="success"] {
  display: block;
  background: var(--accent);
  color: var(--ink);
}

.form-status[data-state="error"] {
  display: block;
  background: #f7e4e1;
  color: #a3241c;
}

.form-status[data-state="busy"] {
  display: block;
  background: var(--bg-soft);
  color: var(--muted);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  padding: clamp(26px, 3.4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ---------------- footer ---------------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 72px 0 36px;
  margin-top: 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.7fr));
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 30ch;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.95rem;
  color: #454540;
}

.footer-col a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--muted);
}

.sample-note {
  font-size: 0.82rem;
  color: var(--muted-soft);
  margin-top: 18px;
}

/* ---------------- motion & responsive ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .card {
    transition: none;
  }
}

@media (max-width: 1180px) {
  .header-loc {
    display: none;
  }
  .nav {
    margin-left: 12px;
  }
}

@media (max-width: 1024px) {
  :root {
    --section-y: 84px;
    --gutter: 24px;
  }

  .nav {
    display: none;
  }

  .header-right .btn {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-inner {
    min-height: 84px;
  }

  .mobile-menu {
    inset: 84px 0 auto 0;
    max-height: calc(100vh - 84px);
  }

  .hero {
    padding: 24px 0 72px;
  }

  .hero-grid,
  .intro-grid,
  .detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy {
    order: 1;
  }

  .hero-media {
    order: 2;
    margin-top: 8px;
  }

  .hero-note {
    position: static;
    width: 100%;
    margin-top: 16px;
    box-shadow: none;
  }

  .detail-aside {
    position: static;
  }

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

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
}

@media (max-width: 760px) {
  :root {
    --section-y: 68px;
    --gutter: 20px;
  }

  body {
    font-size: 16px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-head {
    margin-bottom: 32px;
  }

  .stat-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .cta-band {
    border-radius: var(--radius-lg);
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .card-body {
    padding: 22px;
  }

  .page-hero {
    padding: 36px 0 40px;
  }

  .page-hero-media img {
    aspect-ratio: 16 / 10;
  }
}


/* select-inset-fix:20261116:v1 */
/* Single native selects only; keep site colours, borders, sizing and interaction. */
select:not([multiple]):is(:not([size]),[size="0"],[size="1"]){
 -webkit-appearance:none!important; -moz-appearance:none!important; appearance:none!important;
 padding-inline-end:44px!important;
 background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%)!important;
 background-position:right 22px center,right 16px center!important;
 background-size:6px 6px,6px 6px!important; background-repeat:no-repeat!important;
}
select:not([multiple]):is(:not([size]),[size="0"],[size="1"]):dir(rtl){background-position:left 16px center,left 22px center!important}
@media (forced-colors:active){select:not([multiple]):is(:not([size]),[size="0"],[size="1"]){-webkit-appearance:auto!important;-moz-appearance:auto!important;appearance:auto!important;background-image:none!important}}
