/* ============================================================
   Barns Förtroende för framtiden — main stylesheet
   Inspired by La Petite Bretonne: warm beige, bold type, waves
   ============================================================ */
/* Fonts loaded via <link> in base.html for better performance */

:root {
  --beige:      #EDE8DE;
  --beige-dark: #D8D0C2;
  --green:      #4d3762;
  --green-dark: #661d45;
  --green-mid:  #6b4a82;
  --green-light:#f3eef8;
  --brown:      #661d45;
  --brown-mid:  #7a2356;
  --white:      #FFFFFF;
  --text:       #2A1F14;
  --muted:      #6B5E52;
  --border:     #C8BFB4;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(0,0,0,.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', system-ui, sans-serif;
  background: var(--beige);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

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

/* ── Typography ─────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  line-height: 1.1;
  color: var(--brown);
}
.display {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  text-transform: uppercase;
  letter-spacing: -.02em;
  color: var(--green);
}
.display-white { color: var(--white); }
.display-brown { color: var(--brown); }

.lead {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 620px;
  line-height: 1.75;
}

/* ── Layout ─────────────────────────────────── */
.container    { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container-sm { max-width: 780px;  margin: 0 auto; padding: 0 2rem; }
.container-xs { max-width: 620px;  margin: 0 auto; padding: 0 2rem; }

section { position: relative; }

/* ── Nav ─────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--beige);
  border-bottom: 1px solid var(--beige-dark);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}
.nav-logo img { height: 56px; width: auto; }
.nav-logo-text {
  font-weight: 900;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--green-dark);
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
}
.nav-links a {
  color: var(--brown-mid);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .5rem .85rem;
  border-radius: 6px;
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--green); background: var(--green-light); }
.nav-links .nav-cta a {
  background: var(--green);
  color: #fff;
  border-radius: 50px;
  padding: .5rem 1.25rem;
}
.nav-links .nav-cta a:hover { background: var(--green-dark); color: #fff; }

/* ── Hamburger ────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--brown-mid);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger-active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger-active span:nth-child(2) {
  opacity: 0;
}
.hamburger-active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile nav menu */
@media (max-width: 600px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    background: var(--beige);
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: 1rem 0;
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
  }
  .nav-links.nav-open { transform: translateX(0); }
  .nav-links a {
    display: block;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    border-radius: 0;
    border-bottom: 1px solid var(--beige-dark);
  }
  .nav-links .nav-cta { padding: .75rem 2rem; }
  .nav-links .nav-cta a {
    display: inline-block;
    border-radius: 50px;
    border-bottom: none;
  }
}

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2.25rem;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all .2s;
}
.btn-primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(77,55,98,.35); }
.btn-outline-white { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--green-dark); }
.btn-outline-green { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline-green:hover { background: var(--green); color: #fff; }
.btn-brown { background: var(--brown); color: #fff; border-color: var(--brown); }
.btn-brown:hover { background: var(--brown-mid); transform: translateY(-2px); }

.btn-arrow::after { content: '→'; font-size: 1.1em; }

/* ── Wave dividers ───────────────────────────── */
.wave-bottom {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.wave-top {
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}
.wave-bottom svg, .wave-top svg { display: block; width: 100%; }
.wave-bottom path, .wave-top path { stroke: none; stroke-width: 0; }

/* ── Hero ────────────────────────────────────── */
.hero {
  background: var(--green);
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 7rem 2rem 10rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255,255,255,.08) 0%, transparent 70%);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
  color: #fff;
  line-height: 1;
  margin-bottom: 1.5rem;
}
.hero-title span { color: #c9b3d9; }
.hero-subtitle {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.hero-img-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
}
.hero-img-grid img:first-child {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

/* ── Green banner section ────────────────────── */
.section-green {
  background: var(--green);
  color: #fff;
  padding: 6rem 2rem 8rem;
  position: relative;
}
.section-green .display { color: #fff; }
.section-green .lead { color: rgba(255,255,255,.8); }

/* ── Beige section ───────────────────────────── */
.section-beige {
  background: var(--beige);
  padding: 6rem 2rem;
  position: relative;
}

/* ── White section ───────────────────────────── */
.section-white {
  background: var(--white);
  padding: 6rem 2rem;
  position: relative;
}

/* ── Feature cards ───────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.card-feature {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--green);
  transition: transform .2s, box-shadow .2s;
}
.card-feature:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.14); }
.card-feature .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.card-feature h3 { font-size: 1.1rem; color: var(--green-dark); margin-bottom: .5rem; }
.card-feature p { font-size: .9rem; color: var(--muted); }

/* ── Full-width photo strip ──────────────────── */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  height: 420px;
}
.photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.photo-strip .photo-wrap { overflow: hidden; }
.photo-strip .photo-wrap:hover img { transform: scale(1.05); }

/* ── Two-col split ───────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-text h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.split-text p { color: var(--muted); margin-bottom: 1.5rem; line-height: 1.75; }

/* ── Gallery grid ────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4/3;
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(102,29,69,.6);
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
}
.gallery-item:hover .overlay { opacity: 1; }

/* ── Lightbox ────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}
.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}
.lightbox-nav {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}
.lightbox-nav button {
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  padding: .5rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  transition: background .2s;
}
.lightbox-nav button:hover { background: rgba(255,255,255,.3); }

/* ── FAQ ─────────────────────────────────────── */
.faq-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}

.faq-list { margin-top: 2rem; display: flex; flex-direction: column; gap: .75rem; }

.faq-item {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  overflow: hidden;
  border-left: 4px solid var(--green);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brown);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color .2s;
}
.faq-question:hover { color: var(--green); }
.faq-question .faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--green);
  transition: transform .3s, background .2s;
}
.faq-question[aria-expanded="true"] .faq-icon {
  background: var(--green);
  color: #fff;
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.75;
  border-top: 1px solid var(--beige-dark);
}
.faq-answer.open { display: block; }

/* ── Page header ─────────────────────────────── */
.page-header {
  background: var(--green);
  padding: 5rem 2rem 7rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(255,255,255,.1) 0%, transparent 60%);
}
.page-header h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  text-transform: uppercase;
  color: #fff;
  position: relative;
}
.page-header p {
  font-family: 'Lora', serif;
  font-style: italic;
  color: rgba(255,255,255,.8);
  margin-top: .75rem;
  font-size: 1.1rem;
  position: relative;
}

/* ── Register form ───────────────────────────── */
.register-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
  padding: 4rem 0;
}
.register-aside h2 { font-size: 2rem; color: var(--green-dark); margin-bottom: 1rem; }
.register-aside p { color: var(--muted); font-size: .95rem; line-height: 1.75; margin-bottom: 1.25rem; }
.register-aside .aside-item {
  display: flex;
  gap: .75rem;
  margin-bottom: 1rem;
  font-size: .9rem;
  color: var(--muted);
}
.register-aside .aside-item .icon { font-size: 1.25rem; flex-shrink: 0; }

.register-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.form-section-label {
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--green);
  margin: 2rem 0 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.form-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--green-light);
}

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

label {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--brown-mid);
  margin-bottom: .4rem;
}
.help-text { font-size: .78rem; color: var(--muted); margin-top: .3rem; }

input[type="text"],
input[type="email"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid var(--beige-dark);
  border-radius: 10px;
  font-size: .95rem;
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(77,55,98,.12);
}

.errorlist {
  list-style: none;
  color: #b91c1c;
  font-size: .8rem;
  margin-top: .3rem;
}
.errorlist li::before { content: '⚠ '; }
.field-error input, .field-error textarea { border-color: #b91c1c; }

.submit-btn {
  width: 100%;
  padding: 1.1rem;
  font-size: 1rem;
  margin-top: 1.5rem;
  border-radius: 50px;
}

/* ── Success page ────────────────────────────── */
.success-wrap {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}
.success-card {
  background: var(--white);
  border-radius: 24px;
  padding: 4rem 3rem;
  text-align: center;
  max-width: 520px;
  box-shadow: var(--shadow);
}
.success-circle {
  width: 80px; height: 80px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; color: #fff;
  margin: 0 auto 1.75rem;
  box-shadow: 0 6px 24px rgba(77,55,98,.4);
}
.success-card h1 { font-size: 2rem; color: var(--green-dark); margin-bottom: 1rem; }
.success-card p { color: var(--muted); line-height: 1.75; margin-bottom: 2rem; }

/* ── Newsletter strip ────────────────────────── */

.newsletter {
  background: var(--green);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
}
.newsletter h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-transform: uppercase;
  color: #fff;
  margin-bottom: .5rem;
}
.newsletter p { color: rgba(255,255,255,.8); margin-bottom: 2rem; font-family: 'Lora', serif; font-style: italic; }
.newsletter-form {
  display: flex;
  max-width: 520px;
  margin: 0 auto;
  gap: 0;
  border-radius: 50px;
  overflow: hidden;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.3);
}
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1rem;
  padding: .85rem 1.5rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.6); }
.newsletter-form input:focus { outline: none; box-shadow: none; border-color: transparent; }
.newsletter-form button {
  background: var(--brown);
  color: #fff;
  border: none;
  padding: .85rem 1.75rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  cursor: pointer;
  transition: background .2s;
}
.newsletter-form button:hover { background: var(--brown-mid); }

/* ── Footer ──────────────────────────────────── */
footer {
  background: var(--brown);
  color: rgba(255,255,255,.7);
  padding: 3rem 2rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand img { height: 48px; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: .9; }
.footer-brand p { font-size: .875rem; line-height: 1.7; }
.footer-col h4 {
  color: #fff;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: .875rem;
  padding: .25rem 0;
  transition: color .15s;
}
.footer-col a:hover { color: #c9b3d9; }
.footer-bottom {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .8rem;
}
.footer-bottom a { color: rgba(255,255,255,.5); text-decoration: none; }

/* ── About page ──────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.team-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
}
.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.team-card-body { padding: 1.25rem; }
.team-card h3 { font-size: 1rem; color: var(--brown); }
.team-card p { font-size: .85rem; color: var(--green); font-weight: 700; }

/* ── Hero wave art (mobile decoration) ──────── */
.hero-wave-art { display: none; }   /* hidden on desktop */

/* ── Responsive ──────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner, .split, .register-layout, .footer-inner, .faq-layout {
    grid-template-columns: 1fr;
  }
  .hero { padding: 5rem 1.5rem 8rem; min-height: auto; }
  .hero-img-grid { display: none; }
  .hero-wave-art {
    display: block;
    margin-top: 2.5rem;
    width: 100%;
  }
  .hero-wave-art img {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    display: block;
    opacity: 0.75;
    filter: brightness(0) invert(1);   /* white waves on purple hero */
  }
  .photo-strip { height: 220px; }
  .split.reverse { direction: ltr; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: repeat(3, 1fr); height: 180px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Waves section background ────────────────── */
.section-waves {
  background-image: url('../images/hero-wave-art.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ── Section spacing ─────────────────────────── */
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.text-green { color: var(--green); }

/* ── SVG icon style (replaces emojis) ─────────── */
.icon svg {
  width: 2.2rem;
  height: 2.2rem;
  color: var(--green);
  display: block;
  margin-bottom: .25rem;
}
.card-feature .icon {
  font-size: 0;           /* hide any stray text */
  margin-bottom: 1.1rem;
}

/* Register aside icon */
.aside-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aside-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--green);
}

/* Gallery overlay SVG */
.gallery-item .overlay svg { display: block; }

/* ── Parallax CTA section ─────────────────────── */
.cta-parallax {
  position: relative;
  padding: 9rem 2rem;
  text-align: center;
  background-image: url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?w=1600&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;   /* parallax on desktop */
  overflow: hidden;
}

/* iOS Safari doesn't support background-attachment:fixed on elements */
@supports (-webkit-overflow-scrolling: touch) {
  .cta-parallax { background-attachment: scroll; }
}

.cta-parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(77,55,98,.82) 0%, rgba(102,29,69,.78) 100%);
  z-index: 0;
}

.cta-parallax-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.cta-eyebrow {
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: rgba(255,255,255,.7);
  margin-bottom: .75rem;
}

.cta-heading {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.cta-lead {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
