/* ==========================================================
   L&R Agricultural Solutions — shared design system
   Mobile-first, plain CSS, and intentionally easy to edit.
   ========================================================== */

:root {
  --green-950: #102c22;
  --green-900: #163a2d;
  --green-800: #20513f;
  --green-700: #2f6a50;
  --green-100: #dce8df;
  --green-50: #edf3ee;
  --charcoal: #202521;
  --slate: #566059;
  --sand-100: #f3eee4;
  --sand-50: #faf8f3;
  --white: #ffffff;
  --amber: #c47b2a;
  --amber-dark: #9b5e1b;
  --amber-light: #efc98f;
  --border: #d8ddd8;
  --success: #296b43;
  --error: #a53f34;
  --shadow-sm: 0 8px 24px rgba(16, 44, 34, 0.08);
  --shadow-lg: 0 24px 60px rgba(16, 44, 34, 0.16);
  --radius-sm: 0.45rem;
  --radius-md: 0.8rem;
  --radius-lg: 1.25rem;
  --content: 72rem;
  --content-narrow: 49rem;
  --header-height: 5rem;
  --transition: 180ms ease;
  --font-body: "Aptos", "Segoe UI", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--sand-50);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: var(--green-800);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.17em;
}

a:hover {
  color: var(--green-950);
}

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

button,
.button {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

::selection {
  color: var(--white);
  background: var(--green-700);
}

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

h1,
h2,
.display-text {
  color: var(--green-950);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.65rem, 8vw, 5.5rem);
}

h2 {
  font-size: clamp(2rem, 5.5vw, 3.7rem);
}

h3 {
  color: var(--green-950);
  font-size: 1.2rem;
  line-height: 1.3;
}

p {
  margin-bottom: 1.2rem;
}

.container {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
}

.container--narrow {
  width: min(calc(100% - 2rem), var(--content-narrow));
  margin-inline: auto;
}

.section {
  padding-block: clamp(4.25rem, 9vw, 7.5rem);
}

.section--compact {
  padding-block: clamp(3rem, 7vw, 5rem);
}

.section--white {
  background: var(--white);
}

.section--green {
  color: rgba(255, 255, 255, 0.82);
  background: var(--green-950);
}

.section--green h2,
.section--green h3,
.section--green .eyebrow {
  color: var(--white);
}

.section--sand {
  background: var(--sand-100);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--green-700);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.5rem;
  height: 2px;
  background: var(--amber);
  content: "";
}

.section-heading {
  max-width: 47rem;
  margin-bottom: clamp(2.25rem, 5vw, 4rem);
}

.section-heading h2 {
  margin-bottom: 1.1rem;
}

.section-heading p {
  max-width: 43rem;
  margin-bottom: 0;
  color: var(--slate);
  font-size: 1.08rem;
}

.section--green .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.lead {
  color: var(--slate);
  font-size: clamp(1.08rem, 2vw, 1.25rem);
}

.text-small {
  font-size: 0.88rem;
}

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

.text-center {
  text-align: center;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-150%);
  color: var(--white);
  background: var(--green-950);
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header and navigation */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: var(--header-height);
  background: rgba(250, 248, 243, 0.96);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled {
  border-color: var(--border);
  box-shadow: 0 7px 24px rgba(16, 44, 34, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  max-width: 16rem;
  gap: 0.65rem;
  color: var(--green-950);
  text-decoration: none;
}

.brand img {
  flex: 0 0 auto;
  width: 3.6rem;
  height: 3.6rem;
  object-fit: contain;
  object-position: center;
}

.brand::after {
  max-width: 10.5rem;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.15;
  text-transform: uppercase;
  content: "L&R Agricultural Solutions";
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  color: var(--green-950);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 1.2rem;
  height: 2px;
  background: currentColor;
  transition: transform var(--transition);
  content: "";
}

.menu-icon {
  position: relative;
}

.menu-icon::before {
  position: absolute;
  top: -0.38rem;
}

.menu-icon::after {
  position: absolute;
  top: 0.38rem;
}

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

.menu-toggle[aria-expanded="true"] .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-navigation {
  position: fixed;
  inset: var(--header-height) 0 0;
  display: none;
  padding: 2rem 1rem;
  background: var(--sand-50);
  overflow-y: auto;
}

.site-navigation.is-open {
  display: block;
}

.site-navigation ul {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-navigation a {
  display: block;
  padding: 0.85rem 0.75rem;
  color: var(--green-950);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.site-navigation a:hover,
.site-navigation a[aria-current="page"] {
  color: var(--amber-dark);
  background: var(--sand-100);
}

.site-navigation .nav-cta {
  margin-top: 0.75rem;
  color: var(--white);
  background: var(--green-800);
  text-align: center;
}

.site-navigation .nav-cta:hover,
.site-navigation .nav-cta[aria-current="page"] {
  color: var(--white);
  background: var(--green-950);
}

/* Buttons */
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.75rem 1.25rem;
  color: var(--white);
  background: var(--green-800);
  border: 2px solid var(--green-800);
  border-radius: var(--radius-sm);
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    color var(--transition),
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.button:hover {
  color: var(--white);
  background: var(--green-950);
  border-color: var(--green-950);
  transform: translateY(-2px);
}

.button--accent {
  color: var(--green-950);
  background: var(--amber-light);
  border-color: var(--amber-light);
}

.button--accent:hover {
  color: var(--white);
  background: var(--amber-dark);
  border-color: var(--amber-dark);
}

.button--outline {
  color: var(--green-950);
  background: transparent;
  border-color: var(--green-800);
}

.button--outline:hover {
  color: var(--white);
  background: var(--green-950);
}

.button--light {
  color: var(--green-950);
  background: var(--white);
  border-color: var(--white);
}

.button--light:hover {
  color: var(--green-950);
  background: var(--amber-light);
  border-color: var(--amber-light);
}

.button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: min(48rem, calc(100svh - var(--header-height)));
  color: var(--white);
  background: var(--green-950);
  overflow: hidden;
}

.hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 27, 20, 0.9) 0%, rgba(8, 27, 20, 0.66) 52%, rgba(8, 27, 20, 0.15) 100%),
    linear-gradient(0deg, rgba(8, 27, 20, 0.45), transparent 55%);
  content: "";
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 51% 48%;
}

.hero__content {
  position: relative;
  z-index: 1;
  align-self: end;
  max-width: 52rem;
  padding-block: clamp(5rem, 15vw, 9rem);
}

.hero .eyebrow {
  color: var(--amber-light);
}

.hero h1 {
  max-width: 50rem;
  margin-bottom: 1.4rem;
  color: var(--white);
}

.hero__lead {
  max-width: 43rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2.3vw, 1.35rem);
}

.hero__note {
  margin-top: 1.2rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
}

/* Credibility strip */
.credibility-strip {
  color: var(--white);
  background: var(--green-900);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.credibility-grid {
  display: grid;
  gap: 0;
}

.credibility-item {
  padding: 1.3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.credibility-item:last-child {
  border-bottom: 0;
}

.credibility-item strong {
  display: block;
  margin-bottom: 0.18rem;
  color: var(--white);
  font-size: 0.95rem;
}

.credibility-item span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
}

/* Grids and cards */
.grid {
  display: grid;
  gap: 1.25rem;
}

.grid--2,
.grid--3,
.grid--4 {
  grid-template-columns: 1fr;
}

.card {
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin-bottom: 0.65rem;
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--green-950);
  background: var(--amber-light);
  border-radius: 50%;
  font-weight: 900;
}

.service-card {
  position: relative;
  min-height: 14rem;
  overflow: hidden;
}

.service-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 0.32rem;
  height: 100%;
  background: var(--amber);
  content: "";
}

.service-card a {
  font-weight: 800;
}

.benefit-card {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.benefit-card h3 {
  color: var(--white);
}

.benefit-card p {
  color: rgba(255, 255, 255, 0.7);
}

.icon-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.25rem;
  color: var(--green-950);
  background: var(--amber-light);
  border-radius: 0.75rem;
  font-size: 1.1rem;
  font-weight: 900;
}

.split {
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  min-height: 26rem;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.split__media--portrait img {
  aspect-ratio: 4 / 5;
}

.image-caption {
  margin: 0.8rem 0 0;
  color: var(--slate);
  font-size: 0.78rem;
}

.fact-panel {
  margin-top: 2rem;
  padding: 1.4rem;
  background: var(--green-50);
  border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.fact-panel p:last-child {
  margin-bottom: 0;
}

.check-list,
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.75rem;
  border-bottom: 1px solid var(--border);
}

.check-list li:last-child {
  border-bottom: 0;
}

.check-list li::before {
  position: absolute;
  top: 0.6rem;
  left: 0;
  color: var(--green-700);
  font-weight: 900;
  content: "✓";
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 0.5rem 0.8rem;
  color: var(--green-950);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 750;
}

/* Photo gallery */
.photo-grid {
  display: grid;
  gap: 0.85rem;
}

.photo-card {
  position: relative;
  min-height: 22rem;
  margin: 0;
  overflow: hidden;
  background: var(--green-950);
  border-radius: var(--radius-md);
}

.photo-card img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
  transition: transform 500ms ease;
}

.photo-card:hover img {
  transform: scale(1.025);
}

.photo-card figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 3rem 1.25rem 1.1rem;
  color: var(--white);
  background: linear-gradient(transparent, rgba(8, 27, 20, 0.88));
  font-size: 0.88rem;
  font-weight: 700;
}

/* Process */
.process-grid {
  display: grid;
  gap: 0;
  counter-reset: process;
}

.process-step {
  position: relative;
  padding: 0 0 2.5rem 4rem;
  counter-increment: process;
}

.process-step::before {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  color: var(--green-950);
  background: var(--amber-light);
  border-radius: 50%;
  font-weight: 900;
  content: counter(process, decimal-leading-zero);
}

.process-step::after {
  position: absolute;
  top: 3.1rem;
  bottom: 0.35rem;
  left: 1.38rem;
  width: 1px;
  background: var(--border);
  content: "";
}

.process-step:last-child::after {
  display: none;
}

.process-step h3 {
  margin-bottom: 0.45rem;
}

.process-step p {
  margin-bottom: 0;
  color: var(--slate);
}

/* Page hero and content pages */
.page-hero {
  position: relative;
  padding-block: clamp(4.5rem, 10vw, 7rem);
  color: var(--white);
  background: var(--green-950);
  overflow: hidden;
}

.page-hero::after {
  position: absolute;
  top: -10rem;
  right: -9rem;
  width: 26rem;
  height: 26rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 4rem rgba(255, 255, 255, 0.025),
    0 0 0 8rem rgba(255, 255, 255, 0.018);
  content: "";
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 55rem;
}

.page-hero h1 {
  margin-bottom: 1.25rem;
  color: var(--white);
  font-size: clamp(2.8rem, 8vw, 5rem);
}

.page-hero p {
  max-width: 45rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.08rem, 2vw, 1.27rem);
}

.breadcrumb {
  margin-bottom: 1.1rem;
  color: var(--amber-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.breadcrumb a {
  color: inherit;
}

.content-section {
  max-width: var(--content-narrow);
}

.content-section h2 {
  margin-top: 3.5rem;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.content-section h2:first-child {
  margin-top: 0;
}

.notice {
  padding: 1.25rem;
  background: #fff6e8;
  border: 1px solid #ebcfaa;
  border-radius: var(--radius-md);
}

.notice strong {
  color: #6e4316;
}

.notice--verification {
  margin-bottom: 2rem;
}

.qualification-row {
  display: grid;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.qualification-row:last-child {
  border-bottom: 0;
}

.qualification-row h3,
.qualification-row p {
  margin-bottom: 0;
}

/* CTA */
.cta-panel {
  position: relative;
  padding: clamp(2rem, 6vw, 4rem);
  color: rgba(255, 255, 255, 0.78);
  background: var(--green-900);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.cta-panel::after {
  position: absolute;
  right: -5rem;
  bottom: -8rem;
  width: 20rem;
  height: 20rem;
  border: 4rem solid rgba(255, 255, 255, 0.035);
  border-radius: 50%;
  content: "";
}

.cta-panel__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
}

.cta-panel h2 {
  margin-bottom: 0.8rem;
  color: var(--white);
}

.cta-panel p:last-child {
  margin-bottom: 0;
}

/* Forms */
.form-intro {
  margin-bottom: 2.25rem;
}

.form-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.form-progress li {
  padding: 0.45rem 0.75rem;
  color: var(--slate);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}

.application-form {
  display: grid;
  gap: 1.25rem;
}

.form-section {
  padding: clamp(1.35rem, 4vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.form-section__heading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  margin-bottom: 1.75rem;
}

.form-section__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  color: var(--green-950);
  background: var(--amber-light);
  border-radius: 50%;
  font-weight: 900;
}

.form-section__heading h2 {
  margin: 0 0 0.2rem;
  font-family: var(--font-body);
  font-size: 1.4rem;
  letter-spacing: 0;
}

.form-section__heading p {
  margin: 0;
  color: var(--slate);
  font-size: 0.88rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-field {
  min-width: 0;
}

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

.form-field label,
.field-label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--green-950);
  font-size: 0.88rem;
  font-weight: 800;
}

.required-marker {
  color: var(--error);
}

.optional-marker {
  color: var(--slate);
  font-size: 0.75rem;
  font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.75rem;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid #aeb8b1;
  border-radius: var(--radius-sm);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.form-field textarea {
  min-height: 7rem;
  resize: vertical;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: var(--green-700);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 0;
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(47, 106, 80, 0.18);
}

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: var(--error);
}

.field-help,
.character-count {
  display: block;
  margin-top: 0.3rem;
  color: var(--slate);
  font-size: 0.73rem;
}

.character-count {
  text-align: right;
}

.radio-group,
.checkbox-group {
  display: grid;
  gap: 0.55rem;
}

.choice {
  position: relative;
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  min-height: 2.8rem;
  padding: 0.65rem 0.75rem;
  background: var(--sand-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.choice:hover {
  border-color: var(--green-700);
}

.choice input {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.18rem;
  accent-color: var(--green-700);
}

.choice span {
  font-size: 0.88rem;
}

.consent-box {
  padding: 1.1rem;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-md);
}

.consent-box .choice {
  padding: 0;
  background: transparent;
  border: 0;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status {
  display: none;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
}

.form-status.is-visible {
  display: block;
}

.form-status--loading {
  color: var(--green-950);
  background: var(--green-50);
  border: 1px solid var(--green-100);
}

.form-status--success {
  color: #17472d;
  background: #e7f5ec;
  border: 1px solid #a8d5b8;
}

.form-status--error {
  color: #742b24;
  background: #fceceb;
  border: 1px solid #e2aaa5;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.test-mode-notice {
  margin: 0;
  color: #714716;
  font-size: 0.82rem;
}

/* Footer */
.site-footer {
  color: rgba(255, 255, 255, 0.7);
  background: #0b241b;
}

.footer-main {
  display: grid;
  gap: 2.5rem;
  padding-block: 4rem;
}

.footer-brand img {
  width: 17rem;
  height: auto;
  margin-bottom: 1.2rem;
  object-fit: contain;
  filter: invert(1) grayscale(1) brightness(2.2);
  mix-blend-mode: screen;
}

.footer-brand p {
  max-width: 28rem;
}

.footer-column h2 {
  margin-bottom: 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 0.55rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--amber-light);
}

.footer-bottom {
  padding-block: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.78rem;
}

/* Reveal motion */
.reveal-ready {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

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

/* Responsive */
@media (min-width: 38rem) {
  .container,
  .container--narrow {
    width: min(calc(100% - 3rem), var(--content));
  }

  .container--narrow {
    max-width: var(--content-narrow);
  }

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

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

  .credibility-item {
    padding: 1.3rem 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .credibility-item:nth-child(even) {
    border-right: 0;
  }

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

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

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

  .photo-card--wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 62rem) {
  :root {
    --header-height: 5.4rem;
  }

  body.menu-open {
    overflow: auto;
  }

  .menu-toggle {
    display: none;
  }

  .site-navigation {
    position: static;
    display: block;
    padding: 0;
    background: transparent;
    overflow: visible;
  }

  .site-navigation ul {
    display: flex;
    align-items: center;
    gap: 0.15rem;
  }

  .site-navigation a {
    padding: 0.58rem 0.67rem;
    font-size: 0.84rem;
  }

  .site-navigation .nav-cta {
    margin: 0 0 0 0.45rem;
    padding-inline: 0.9rem;
  }

  .brand {
    max-width: 17rem;
  }

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

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

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

  .split--media-right .split__media {
    order: 2;
  }

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

  .credibility-item {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 0;
  }

  .credibility-item:nth-child(even) {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .credibility-item:last-child {
    border-right: 0;
  }

  .photo-grid {
    grid-template-columns: 1.25fr 0.75fr;
    grid-template-rows: repeat(2, minmax(16rem, 1fr));
  }

  .photo-card {
    min-height: 16rem;
  }

  .photo-card img {
    min-height: 16rem;
  }

  .photo-card--wide {
    grid-row: 1 / 3;
    grid-column: auto;
  }

  .process-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.1rem;
  }

  .process-step {
    padding: 4rem 0 0;
  }

  .process-step::before {
    top: 0;
  }

  .process-step::after {
    top: 1.4rem;
    right: -0.8rem;
    bottom: auto;
    left: 3.35rem;
    width: auto;
    height: 1px;
  }

  .qualification-row {
    grid-template-columns: 12rem 1fr;
    align-items: center;
  }

  .cta-panel__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .footer-main {
    grid-template-columns: minmax(0, 1.6fr) minmax(10rem, 0.7fr);
  }
}

@media (min-width: 74rem) {
  .site-navigation a {
    padding-inline: 0.85rem;
    font-size: 0.89rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal-ready {
    opacity: 1;
    transform: none;
  }
}
