:root {
  --ink: #183126;
  --muted: #66746c;
  --line: #dfe8e1;
  --paper: #fffdf8;
  --soft: #fff4cc;
  --yellow: #ffd22e;
  --yellow-deep: #f2b600;
  --red: #d71920;
  --red-dark: #9f1018;
  --rose: #d71920;
  --blue: #247c9f;
  --shadow: 0 18px 50px rgba(159, 16, 24, .13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Poppins, Arial, sans-serif;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  padding: .75rem 1rem;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 1rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: .75rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 253, 248, .92);
  backdrop-filter: blur(18px);
  border-bottom: 4px solid var(--yellow);
  box-shadow: 0 1px 0 var(--red);
}

.brand img {
  width: 86px;
}

.site-nav {
  display: flex;
  gap: .35rem;
  align-items: center;
}

.site-nav a {
  padding: .7rem .9rem;
  border-radius: 999px;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  background: var(--red);
  color: #fff;
  outline: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  place-content: center;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
}

.hero {
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  align-items: stretch;
  background: var(--red-dark);
  color: #fff;
}

.hero-media {
  min-height: 560px;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5rem);
  background:
    linear-gradient(135deg, rgba(159, 16, 24, .96), rgba(215, 25, 32, .82) 58%, rgba(242, 182, 0, .78)),
    var(--red-dark);
}

.eyebrow {
  margin: 0 0 .9rem;
  color: var(--rose);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.inverted .eyebrow,
.section-deep .eyebrow {
  color: var(--yellow);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1,
h2 {
  font-family: "Roboto Slab", Georgia, serif;
}

h1 {
  max-width: 780px;
  font-size: clamp(3rem, 8vw, 6.5rem);
}

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

h3 {
  font-size: 1.35rem;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 1.2rem 0 0;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .85rem 1.15rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: var(--red);
  color: #fff;
}

.button-light {
  border-color: rgba(255, 210, 46, .85);
  color: #fff;
  background: rgba(255, 210, 46, .12);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem);
}

.page-hero {
  padding: clamp(5rem, 10vw, 8rem) clamp(1rem, 4vw, 3rem);
  background:
    linear-gradient(135deg, rgba(159, 16, 24, .94), rgba(215, 25, 32, .8) 58%, rgba(242, 182, 0, .76)),
    var(--red-dark);
  color: #fff;
}

.page-hero-inner {
  max-width: 920px;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-tint {
  background:
    linear-gradient(90deg, rgba(255, 210, 46, .34), rgba(215, 25, 32, .08)),
    var(--soft);
}

.intro-grid,
.split,
.contact-grid,
.opzoomer-card {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.copy p,
.split-copy p,
.section-heading p,
.contact-grid p,
.opzoomer p {
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-strip article {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-strip h3 {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: .55rem .75rem;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--red-dark);
}

.split-media {
  min-height: 520px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.people-section {
  background: #fff;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

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

.person-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.person-card img {
  width: 170px;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
}

.role {
  margin: 0 0 .25rem;
  color: var(--red);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.person-card p:last-of-type {
  color: var(--muted);
}

.person-card a,
.event-card a {
  color: var(--red-dark);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.section-deep {
  background:
    linear-gradient(135deg, var(--red-dark), #741019 48%, #33250a);
  color: #fff;
}

.inverted p {
  color: rgba(255, 255, 255, .78);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.event-card {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.event-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.event-card div {
  padding: 1.2rem;
}

.event-card span {
  display: inline-block;
  margin-bottom: .6rem;
  color: var(--red);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.event-card p {
  color: var(--muted);
}

.opzoomer-card {
  padding: clamp(1.25rem, 4vw, 3rem);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 210, 46, .45), rgba(255, 253, 248, .92) 48%, rgba(215, 25, 32, .08)),
    var(--soft);
  border: 1px solid rgba(215, 25, 32, .22);
}

.opzoomer-card > img {
  width: min(230px, 70%);
  justify-self: center;
}

.lending-section {
  background:
    linear-gradient(180deg, rgba(255, 210, 46, .26), rgba(255, 253, 248, 0) 34%),
    #fff;
}

.lending-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.lending-panel,
.materials-wrap,
.loan-form {
  border: 1px solid rgba(215, 25, 32, .2);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.lending-panel {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.lending-panel h3,
.materials-wrap h3,
.form-heading h3 {
  margin-bottom: 1rem;
}

.lending-panel p {
  color: var(--muted);
}

.warning-panel {
  background:
    linear-gradient(135deg, rgba(215, 25, 32, .1), rgba(255, 210, 46, .22)),
    var(--paper);
}

.steps-list {
  display: grid;
  gap: .75rem;
  margin: 0 0 1.25rem;
  padding-left: 1.4rem;
}

.steps-list li::marker {
  color: var(--red);
  font-weight: 800;
}

.materials-wrap {
  padding: clamp(1.2rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

.materials-list {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1rem 0 1.25rem;
}

.materials-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: .45rem .75rem;
  border-radius: 999px;
  background: rgba(255, 210, 46, .34);
  color: var(--red-dark);
  font-weight: 800;
}

.text-link {
  color: var(--red-dark);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.loan-form {
  display: grid;
  gap: 1.2rem;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.form-heading {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(215, 25, 32, .18);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

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

fieldset {
  display: grid;
  gap: .75rem;
  margin: 0;
  padding: 1rem;
  border: 1px solid rgba(215, 25, 32, .18);
  border-radius: 8px;
  background: rgba(255, 244, 204, .42);
}

legend {
  padding: 0 .4rem;
  color: var(--red-dark);
  font-weight: 800;
}

.loan-form label,
fieldset label {
  display: grid;
  gap: .4rem;
  color: var(--ink);
  font-weight: 700;
}

fieldset label:has(input[type="checkbox"]),
fieldset label:has(input[type="radio"]) {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-weight: 600;
}

input[type="checkbox"],
input[type="radio"] {
  width: auto;
  margin-top: .28rem;
  accent-color: var(--red);
}

.contact-section {
  background: #fff;
}

address {
  margin-top: 1.5rem;
  color: var(--muted);
  font-style: normal;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: .4rem;
  color: var(--ink);
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #cad8ce;
  border-radius: 8px;
  padding: .9rem 1rem;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--red);
  outline: 3px solid rgba(215, 25, 32, .18);
}

.site-footer {
  padding: 3rem clamp(1rem, 4vw, 3rem);
  background:
    linear-gradient(135deg, var(--red-dark), var(--red) 62%, var(--yellow-deep));
  color: #fff;
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2rem;
  align-items: center;
}

.site-footer img {
  width: 92px;
  margin-bottom: 1rem;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
}

.footer-links,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.footer-links a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.social-links a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 210, 46, .2);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .hero,
  .intro-grid,
  .split,
  .contact-grid,
  .opzoomer-card {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 42vh;
  }

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

  .lending-grid,
  .form-row,
  .form-row.two {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 76px;
  }

  .brand img {
    width: 70px;
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + .5rem);
    display: none;
    grid-template-columns: 1fr;
    padding: .75rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: grid;
  }

  .site-nav a {
    border-radius: 8px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 2rem 1rem 3rem;
  }

  .feature-strip,
  .events-grid {
    grid-template-columns: 1fr;
  }

  .person-card {
    grid-template-columns: 1fr;
  }

  .person-card img {
    width: 100%;
    max-width: 220px;
  }

  .section {
    padding-block: 3.5rem;
  }
}
