/* ─── SECTION DEFAULT ────────────────────────────── */
section { padding: 96px 80px; }

/* ─── HERO ───────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: url('/images/lib/hero-home-1800w.webp') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,24,16,0.78) 0%,
    rgba(10,24,16,0.55) 35%,
    rgba(10,24,16,0.18) 65%,
    rgba(10,24,16,0.00) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 80px;
  max-width: 680px;
  margin-top: 102px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-eyebrow span {
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 800;
  color: #fff;
  line-height: 1.0;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.hero-script {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 600;
  color: var(--gold);
  line-height: 1.2;
  display: block;
  margin-top: 4px;
  text-transform: none;
}

.hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin: 24px 0 36px;
  letter-spacing: 0.5px;
}

.hero-sub em {
  font-style: normal;
  color: rgba(255,255,255,0.55);
  display: block;
  font-size: 14px;
  margin-top: 4px;
  letter-spacing: 1px;
}

/* Adventure badge */
.adventure-badge {
  position: absolute;
  right: 80px;
  bottom: 18%;
  z-index: 3;
  width: 110px;
  height: 110px;
}

.badge-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 1.5px solid rgba(201,168,76,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: badge-spin 20s linear infinite;
}

@keyframes badge-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.badge-text-path { position: absolute; inset: 0; }

.badge-center {
  position: absolute;
  text-align: center;
  animation: badge-spin 20s linear infinite reverse;
}

.badge-center svg { width: 36px; height: 36px; }

/* ─── SECTION TITLE OVERRIDE (larger on home) ───── */
.section-title {
  font-size: clamp(28px, 3vw, 40px);
  text-align: center;
  letter-spacing: 1px;
}

/* ─── JOURNEYS SECTION ───────────────────────────── */
.journeys-section {
  background: var(--cream);
  padding-top: 80px;
  padding-bottom: 80px;
}

.journey-header { margin-bottom: 48px; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

/* ─── QUOTE BANNER ───────────────────────────────── */
.quote-section {
  background: var(--cream-dark);
  padding: 72px 80px;
  position: relative;
  overflow: hidden;
}

.quote-watercolor {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 52% 62% at 50% 52%, rgba(72,185,178,0.22) 0%, rgba(72,185,178,0.08) 50%, transparent 75%),
    radial-gradient(ellipse 70% 60% at 30% 50%, rgba(160,200,175,0.14) 0%, transparent 70%),
    radial-gradient(ellipse 50% 70% at 70% 40%, rgba(200,180,140,0.10) 0%, transparent 70%);
}

.quote-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 80px;
  line-height: 0.5;
  color: var(--gold);
  opacity: 0.6;
  display: block;
  margin-bottom: 24px;
}

.quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  font-style: italic;
  color: var(--green-deep);
  line-height: 1.4;
  letter-spacing: 0.3px;
}

.quote-text strong { font-style: normal; font-weight: 600; }

.btn-gold { margin-top: 36px; }

/* Passport stamp decorations */
.stamp {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(46, 102, 71, 0.62);
  line-height: 0;
}

.stamp svg { display: block; }

.stamp-left {
  left: 52px;
  width: 124px;
  height: 124px;
  rotate: -12deg;
}

.stamp-right {
  right: 44px;
  width: 140px;
  height: 103px;
  rotate: 8deg;
}

/* ─── TRIBES SECTION ─────────────────────────────── */
.tribes-section {
  background: var(--linen);
  padding: 80px 80px 96px;
}

.tribes-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 56px;
  flex-wrap: wrap;
}

/* ─── CONTACT SECTION OVERRIDE ───────────────────── */
.contact-section { padding: 24px 80px; gap: 48px; }

/* ─── EMAIL SIGNUP ────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.email-signup {
  background: var(--green-deep);
  padding: 88px 80px;
  text-align: center;
}

.email-signup-inner {
  max-width: 620px;
  margin: 0 auto;
}

.email-signup-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.email-signup-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: #fff;
  line-height: 1.22;
  margin-bottom: 18px;
}

.email-signup-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.72;
  margin-bottom: 38px;
}

.email-signup-fields {
  display: flex;
  max-width: 480px;
  margin: 0 auto 14px;
}

.email-signup-input {
  flex: 1;
  padding: 14px 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--charcoal);
  background: #fff;
  border: none;
  border-radius: 3px 0 0 3px;
  outline: none;
}

.email-signup-input::placeholder { color: #9a9a9a; }

.email-signup-btn {
  padding: 14px 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: var(--gold);
  border: none;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.email-signup-btn:hover { background: #b8973f; }

.email-signup-disclaimer {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
}

/* ─── BREVO FORM STYLES ──────────────────────────────
   Brevo's sib-styles.css (59KB, render-blocking, third-party) used to be
   loaded here. It was removed: the form is built from our own
   .email-signup-* classes, so nearly all of that stylesheet never matched.
   What it did contribute was unwanted — a white, padded, inline-block card
   around the form (#sib-container) and text-align:left on #sib-form.

   The rules below are everything from it that actually mattered. Brevo's
   main.js is still loaded and toggles these class names, so they must keep
   their exact spelling. */

/* Toggled by main.js to show submit success / failure. Without a rule here
   both panels would render permanently — their inline styles set colour and
   padding, but not display. */
.email-signup .sib-form-message-panel { display: none; }
.email-signup .sib-form-message-panel--active {
  display: block;
  /* match .email-signup-fields so the message lines up with the input row */
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* main.js adds this to the button while the request is in flight (it also
   sets the disabled attribute, so this is the visual cue only). */
.email-signup .sib-form-block__button-disabled { opacity: 0.5; }

/* Loader spinner inside the submit button, hidden until main.js reveals it. */
.email-signup .sib-hide-loader-icon { display: none; }

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 900px) {
  section { padding: 64px 24px; }
  .hero-content { padding: 0 24px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .trust-item { border-right: none; padding: 8px 0; }
  .quote-section { padding: 64px 24px; }
  .stamp { display: none; }
  .tribes-grid { gap: 28px; }
  .adventure-badge { right: 24px; }
  .email-signup { padding: 64px 24px; }
  .email-signup-fields { flex-direction: column; }
  .email-signup-input { border-radius: 3px 3px 0 0; }
  .email-signup-btn { border-radius: 0 0 3px 3px; }
}

@media (max-width: 560px) {
  .adventure-badge { display: none; }
  .cards-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  /* Lighter hero rendition — see images/manifest.json */
  .hero { background-image: url('/images/lib/hero-home-1200w.webp'); }
}
