:root {
  --bg: #f6f2ea;
  --bg-strong: #efe7db;
  --surface: #fffdf9;
  --surface-soft: rgba(255, 253, 249, 0.78);
  --text: #29463f;
  --text-soft: #5f706b;
  --heading: #18342e;
  --teal: #127472;
  --teal-deep: #0c6664;
  --teal-soft: #7ea79d;
  --gold: #dfb930;
  --gold-soft: #c7d1b4;
  --line: rgba(24, 52, 46, 0.1);
  --line-strong: rgba(24, 52, 46, 0.16);
  --shadow: 0 16px 40px rgba(16, 36, 32, 0.1);
  --shadow-soft: 0 8px 24px rgba(16, 36, 32, 0.06);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shell: 1360px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 22%, rgba(223, 185, 48, 0.07), transparent 22%),
    radial-gradient(circle at 82% 18%, rgba(18, 116, 114, 0.06), transparent 20%),
    linear-gradient(180deg, #fbf8f3 0%, var(--bg) 100%);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hidden {
  display: none !important;
}

.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--heading);
  color: #fff;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(24, 52, 46, 0.08);
  background: rgba(255, 253, 249, 0.9);
  backdrop-filter: blur(14px);
}

.site-header-plain {
  position: relative;
  background: #fffdfa;
}

.header-inner,
.detail-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand,
.brand-lockup,
.compact-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}


.brand span,
.brand-lockup span,
.compact-brand span,
.footer-brand span {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

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

.site-nav a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-soft);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--heading);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--heading);
  transition: transform 0.2s ease, opacity 0.2s 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);
}

.hero-section,
.detail-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--teal-deep) 0%, #2a7f7b 45%, #a4b59c 100%);
}

.hero-section {
  min-height: calc(100svh - 76px);
  color: #fff;
}

.hero-content {
  display: flex;
  align-items: center;
  min-height: calc(100svh - 76px);
  padding: 84px 0 132px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-copy h1,
.directory-page-hero h1,
.become-hero h1 {
  margin: 0;
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero-copy .brand-lockup {
  margin-bottom: 22px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.hero-text,
.directory-page-hero p,
.become-hero p {
  max-width: 640px;
  margin: 18px 0 0;
  font-size: 1.16rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  border: 1px solid rgba(24, 52, 46, 0.12);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.96);
  padding: 18px 20px;
  color: var(--heading);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}


.field-group input::placeholder,
.field-group textarea::placeholder {
  color: rgba(41, 70, 63, 0.52);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  margin-top: 44px;
}

.hero-stats strong {
  display: block;
  margin-bottom: 6px;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.hero-stats span {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-shape,
.paper-card::after,
.step-card::after {
  position: absolute;
  pointer-events: none;
}

.hero-shape {
  border: 3px solid rgba(223, 185, 48, 0.16);
}

.hero-shape-left {
  inset: 40px auto auto -90px;
  width: 260px;
  height: 260px;
  transform: rotate(43deg);
}

.hero-shape-right {
  right: -36px;
  top: 98px;
  width: 340px;
  height: 340px;
  transform: rotate(11deg);
}

.hero-section::before,
.detail-hero::before {
  content: "";
  position: absolute;
  inset: auto auto 84px 22%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(223, 185, 48, 0.08);
}

.section {
  padding: 116px 0;
}

.section-heading {
  max-width: 750px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.directory-header h2,
.filter-header h3,
.detail-card h3,
.contact-card h2,
.apply-card h2,
.favourite-empty h2 {
  margin: 0;
  color: var(--heading);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.section-heading p,
.directory-header p,
.detail-card p,
.contact-card p,
.apply-card p {
  margin-top: 16px;
  color: var(--text-soft);
  font-size: 1.06rem;
  line-height: 1.75;
}

.section-accent {
  display: block;
  width: 92px;
  height: 5px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--gold-soft));
}

.align-left .section-accent {
  margin-left: 0;
}

.benefit-grid,
.steps-row,
.criteria-list {
  display: grid;
  gap: 24px;
}

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

.paper-card,
.step-card,
.filter-panel,
.tutor-card,
.detail-card,
.contact-card,
.apply-card,
.map-shell, .trivia-card {
  position: relative;
  border: 1px solid rgba(24, 52, 46, 0.08);
  border-radius: 24px;
  background: rgba(255, 253, 249, 0.96);
  box-shadow: var(--shadow-soft);
}

.paper-card,
.step-card, .trivia-card {
  min-height: 100%;
  padding: 34px;
  overflow: hidden;
  transition: all 0.22s ease;
}

.paper-card::after,
.step-card::after {
  content: "";
  right: -34px;
  bottom: -34px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(223, 185, 48, 0.08);
}

.paper-card:nth-child(2n)::after,
.step-card:nth-child(2n)::after {
  background: rgba(18, 116, 114, 0.08);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--teal-deep), #9db4a5);
  color: #fff;
  font-size: 1.7rem;
}

.icon-svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.paper-card h3,
.step-card h3,
.criteria-list h3, .trivia-card h3 {
  margin: 28px 0 12px;
  color: var(--heading);
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
}

.trivia-card h3 {
  margin-top: 0;
}

.paper-card p,
.step-card p,
.criteria-list p, .trivia-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.8;
}

.trivia-card p {
  margin-bottom: 15px;
}

#trivia-answer.hide-answer {
  height: 0px;
  transition: all 0.3s ease;
  visibility: hidden;
  margin: 0;
}

#trivia-answer {
  height: auto;
  transition: all 0.3s ease;
  margin-bottom: 15px;
  visibility: visible;
  font-weight: bold;
}

.trust-banner, .trivia-card {
  text-align: center;
  max-width: 530px;
  margin: 54px auto 0;
  padding: 18px 28px;
  border: 1px solid rgba(24, 52, 46, 0.08);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.95);
  box-shadow: var(--shadow);
}

.trivia-card {
  border-radius: 24px;
  padding: 34px;
}

.trust-banner span {
  color: var(--text-soft);
  font-size: 1rem;
}

.trust-banner span + span {
  margin-left: 20px;
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.steps-section {
    background-color: #ffffff;
}

.steps-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 26px rgba(18, 116, 114, 0.2);
}

.step-gold {
  background: linear-gradient(135deg, #dfb930, #edd574);
}

.step-soft {
  background: linear-gradient(135deg, #a7c0a9, #dde3cf);
}

.section-cta {
  margin-top: 54px;
  text-align: center;
}

.section-cta p {
  margin-top: 16px;
  color: var(--text-soft);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

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

.button-primary,
.hero-search button {
  color: #fff;
  background: linear-gradient(90deg, var(--teal-deep), var(--gold), var(--gold-soft));
  box-shadow: 0 18px 36px rgba(18, 116, 114, 0.18);
}

.button-secondary {
  color: var(--heading);
  background: rgba(255, 253, 249, 0.88);
  border: 1px solid var(--line-strong);
}

.directory-page-hero,
.become-hero,
.favourites-hero {
  padding: 72px 0 46px;
}

.directory-page-hero {
  background: linear-gradient(180deg, rgba(18, 116, 114, 0.08), transparent);
}

.directory-page-hero h1,
.become-hero h1 {
  color: var(--heading);
}

.directory-page-hero p,
.become-hero p {
  color: var(--text-soft);
}

.directory-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.directory-header .eyebrow {
  color: var(--teal);
}

.directory-header h2 {
  font-size: clamp(2.3rem, 4.2vw, 3.5rem);
}

.map-shell {
  padding: 24px;
  margin-bottom: 28px;
  overflow: hidden;
}

.map-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--heading);
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}

.directory-map {
  height: 430px;
  border-radius: 20px;
  border: 1px solid rgba(18, 116, 114, 0.06);
  overflow: hidden;
  z-index: 0;
}

.directory-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.filter-panel {
  position: sticky;
  top: 108px;
  padding: 28px;
}

.filter-header,
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.filter-header h3 {
  font-size: 2.2rem;
}

.filter-reset {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-soft);
  font-weight: 700;
}

.filter-group,
.field-group {
  margin-top: 22px;
}

.field-group label,
.filter-group h4,
.price-row h4 {
  display: block;
  margin-bottom: 10px;
  color: var(--heading);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.mobile-filter-grid {
  display: none;
  gap: 16px;
}

.checkbox-list,
.chip-list {
  display: grid;
  gap: 10px;
}

.checkbox-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.checkbox-list input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

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

.chip-toggle,
.tag,
.subject-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(18, 116, 114, 0.18);
  border-radius: 14px;
  background: rgba(18, 116, 114, 0.04);
  color: var(--teal);
  font-size: 0.95rem;
  font-weight: 600;
}

.chip-toggle.is-active {
  background: rgba(223, 185, 48, 0.14);
  border-color: rgba(223, 185, 48, 0.38);
  color: var(--heading);
}

#price-range {
  width: 100%;
  accent-color: var(--gold);
}

.directory-results {
  min-width: 0;
}

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

.tutor-card {
  overflow: hidden;
}

.tutor-card::before {
  content: "";
  display: block;
  height: 8px;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--gold-soft));
}

.tutor-card-body {
  padding: 22px 26px 26px;
}

.tutor-card-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

.avatar-wrap {
  position: relative;
  width: 96px;
}

.tutor-avatar {
  width: 96px;
  height: 96px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  object-fit: cover;
}

.verified-badge {
  position: absolute;
  right: -2px;
  bottom: 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--gold);
  color: var(--teal-deep);
  font-size: 0.88rem;
  font-weight: 800;
}

.verified-badge .icon-svg {
  width: 20px;
  height: 20px;
}

.detail-avatar-badge .icon-svg {
  width: 40px;
  height: 40px;
}

.favourite-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(18, 116, 114, 0.05);
  color: var(--teal);
  font-size: 1.1rem;
}

.favourite-button.is-saved {
  background: rgba(223, 185, 48, 0.14);
  color: #a27700;
}

.tutor-card h3,
.detail-hero-copy h1,
.favourite-empty h2 {
  margin: 0 0 8px;
  color: var(--heading);
  font-family: "Cormorant Garamond", serif;
  font-size: 2.1rem;
  line-height: 1;
}

.meta-row,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  color: var(--text-soft);
  font-size: 0.98rem;
}

.rating-stars {
  color: var(--gold);
  letter-spacing: 0.12em;
}

.location-row {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 6px 0;
}

.meta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex: 0 0 auto;
}

.tutor-bio {
  margin: 18px 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.tag-row,
.subject-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.subject-row {
  margin-top: 18px;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 18px 0;
  margin: 18px 0 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
}

.stat-item > .meta-icon {
  width: 30px;
  height: 30px;
  margin-top: 2px;
}

.stat-item .meta-icon .icon-svg {
  width: 28px;
  height: 28px;
}

.location-row .meta-icon .icon-svg,
.contact-note .meta-icon .icon-svg {
  width: 18px;
  height: 18px;
}

.stat-item strong {
  display: block;
  color: var(--heading);
  font-size: 1.2rem;
}

.availability-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.availability-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  background: rgba(167, 192, 169, 0.18);
  color: #6d826c;
  font-size: 0.9rem;
  font-weight: 700;
}

.card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.card-actions .button {
  width: 100%;
}

.empty-state,
.favourite-empty,
.detail-empty {
  padding: 48px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 253, 249, 0.9);
}

.leaflet-container {
  font-family: "Manrope", sans-serif;
  background: #f7f5ef;
}

.leaflet-control-attribution {
  display: none;
}

.leaflet-bar,
.leaflet-control-zoom a {
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: var(--shadow-soft) !important;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: rgba(255, 253, 249, 0.98);
}

.map-pin {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  background: var(--teal);
  border: 4px solid #fff;
  box-shadow: 0 10px 24px rgba(18, 116, 114, 0.28);
  transform: rotate(-45deg);
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #fff;
}

.map-tooltip {
  padding: 8px 12px;
  border: 1px solid rgba(18, 116, 114, 0.14);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.95);
  box-shadow: var(--shadow-soft);
  color: var(--heading);
  font-size: 0.88rem;
  font-weight: 700;
}

.detail-view {
  padding-bottom: 110px;
}

.detail-hero {
  padding: 64px 0 74px;
}

.detail-hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 38px;
  align-items: center;
}

.detail-avatar-wrap {
  position: relative;
  width: 238px;
}

.detail-avatar {
  width: 238px;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  border: 4px solid var(--gold);
  object-fit: cover;
}

.detail-avatar-badge {
  position: absolute;
  right: -14px;
  bottom: -18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border: 6px solid #fffdfa;
  border-radius: 50%;
  background: var(--gold);
  color: var(--teal-deep);
  font-size: 2rem;
}

.detail-card-title,
.contact-note p {
  display: flex;
  align-items: center;
  gap: 12px;
}

.detail-card-title .meta-icon {
  width: 28px;
  height: 28px;
  color: var(--teal);
}

.detail-card-title .icon-svg {
  width: 24px;
  height: 24px;
}

.detail-hero-copy h1 {
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(3.2rem, 6vw, 5.4rem);
}

.detail-hero-copy .detail-meta {
  color: rgba(255, 255, 255, 0.94);
}

.detail-subjects {
  margin-top: 26px;
}

.detail-subjects .subject-pill {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(223, 185, 48, 0.34);
  color: #fff;
}

.detail-shell {
  width: min(var(--shell), calc(100% - 48px));
  margin: -26px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 38px;
  align-items: start;
}

.detail-main {
  display: grid;
  gap: 28px;
}

.detail-card {
  padding: 34px 40px;
}

.detail-card h3,
.contact-card h2,
.apply-card h2 {
  font-size: 2.4rem;
}

.detail-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.detail-card li {
  position: relative;
  padding-left: 28px;
  color: var(--text-soft);
  line-height: 1.85;
}

.detail-card li + li {
  margin-top: 10px;
}

.detail-card li::before {
  content: "?";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--gold);
  font-size: 1.1rem;
}

.reviews-list {
  display: grid;
  gap: 28px;
  margin-top: 18px;
}

.review-item + .review-item {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.review-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.review-name {
  margin: 0;
  color: var(--heading);
  font-weight: 800;
}

.review-date {
  color: var(--text-soft);
}

.contact-card,
.apply-card {
  padding: 36px 40px;
}

.contact-card {
  position: sticky;
  top: 108px;
}

.contact-card form,
.apply-card {
  display: grid;
  gap: 18px;
}

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

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

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--teal-deep);
  font-weight: 700;
}

.contact-note {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
}

.contact-note p {
  margin-top: 10px;
}

.back-link {
  color: var(--text-soft);
  font-size: 1.02rem;
  font-weight: 700;
}

.become-hero {
  background: linear-gradient(135deg, rgba(18, 116, 114, 0.12), rgba(223, 185, 48, 0.08));
}

.become-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: center;
}

.become-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 32px;
  align-items: start;
}

.criteria-list {
  grid-template-columns: 1fr;
}

.site-footer {
  background: var(--teal-deep);
}

.footer-inner {
  display: grid;
  justify-items: center;
  padding: 44px 0;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.footer-brand span {
  color: #fff;
  font-size: 3rem;
}

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

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

