/* ============================================================
   ARKE - ARK Experience
   "Air" system: light sky canvas, frosted glass, oversized
   compressed display type, single blue accent. Fresh & modern.
   ============================================================ */

/* ---- Brand accent font (local) ---- */
@font-face {
  font-family: 'Analogue';
  src: url('fonts/analogue-italic-webfont.ttf') format('truetype');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  /* Colors */
  --sky-deep: #426188;          /* deep sky canvas - bands, footer */
  --sky: #7fa3cf;               /* mid sky */
  --sky-light: #b9d2ec;         /* light sky */
  --sky-mist: #eef4fb;          /* page background */
  --action-blue: #2b7fff;       /* single interactive accent */
  --cloud: #ffffff;
  --haze: #f4f7fb;
  --ink: #16212e;               /* headlines */
  --ink-soft: rgba(22, 33, 46, 0.66);

  /* Frosted glass */
  --glass: rgba(255, 255, 255, 0.16);
  --glass-border: rgba(255, 255, 255, 0.38);
  --glass-strong: rgba(255, 255, 255, 0.6);

  /* Type */
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --font-accent: 'Analogue', 'Cormorant Garamond', serif;

  /* Spacing */
  --section-pad: clamp(80px, 11vw, 150px);
  --gutter: clamp(20px, 5vw, 64px);

  /* Radius */
  --radius-card: 16px;
  --radius-img: 14px;
  --radius-pill: 100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--sky-mist);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--action-blue); color: var(--cloud); }

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

/* ---- Ultra-subtle grain ---- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   Typography helpers
   ============================================================ */

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--action-blue);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}
.eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--action-blue);
  flex: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--action-blue);
  flex: none;
}

.accent-italic {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.lead {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.75;
  font-weight: 400;
  color: var(--ink-soft);
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 34px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid transparent;
  background: transparent;
}

/* Primary - outlined Action Blue (the Air primary CTA) */
.btn--primary {
  color: var(--action-blue);
  border-color: var(--action-blue);
}
.btn--primary:hover {
  background: var(--action-blue);
  color: var(--cloud);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(43, 127, 255, 0.5);
}

/* On sky/dark surfaces: white pill */
.btn--cloud {
  background: var(--cloud);
  color: var(--sky-deep);
  border-color: var(--cloud);
}
.btn--cloud:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -12px rgba(13, 32, 58, 0.45);
}

/* Ghost on sky surfaces - frosted white pill, dark text for contrast */
.btn--ghost-light {
  color: var(--sky-deep);
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn--ghost-light:hover {
  background: var(--cloud);
  border-color: var(--cloud);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -12px rgba(13, 32, 58, 0.4);
}

/* Solid blue - form submits only */
.btn--solid {
  background: var(--action-blue);
  color: var(--cloud);
  border-color: var(--action-blue);
}
.btn--solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -12px rgba(43, 127, 255, 0.6);
}

.btn .arrow { transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.btn:hover .arrow { transform: translateX(4px); }

/* Text link */
.text-link {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--action-blue);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(43, 127, 255, 0.35);
  transition: border-color 0.3s ease, gap 0.3s ease;
}
.text-link:hover { border-color: var(--action-blue); gap: 12px; }

/* ============================================================
   Header - sticky frosted glass
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--gutter);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  transition: padding 0.4s ease, background 0.4s ease;
}
.site-header.scrolled { padding: 11px var(--gutter); background: rgba(255, 255, 255, 0.82); }

.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 28px; width: auto; display: block; }

.nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); }

.nav a:not(.btn) {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}
.nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--action-blue);
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav a:not(.btn):hover, .nav a:not(.btn).active { color: var(--ink); }
.nav a:not(.btn):hover::after, .nav a:not(.btn).active::after { width: 100%; }

.nav .btn { padding: 11px 24px; font-size: 11px; }

.nav-toggle { display: none; }

/* ============================================================
   Hero - full-bleed sky, giant compressed display type
   ============================================================ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 150px var(--gutter) 90px;
  background: linear-gradient(180deg, #5e87b8 0%, #7fa3cf 30%, #b9d2ec 70%, #eef4fb 100%);
  color: var(--cloud);
  overflow: hidden;
}

/* Soft clouds */
.hero::before {
  content: '';
  position: absolute;
  inset: -14%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 46% 18% at 18% 30%, rgba(255, 255, 255, 0.5), transparent 70%),
    radial-gradient(ellipse 52% 20% at 85% 18%, rgba(255, 255, 255, 0.4), transparent 70%),
    radial-gradient(ellipse 60% 22% at 65% 68%, rgba(255, 255, 255, 0.45), transparent 70%),
    radial-gradient(ellipse 44% 16% at 8% 78%, rgba(255, 255, 255, 0.5), transparent 70%);
  animation: heroDrift 42s ease-in-out infinite alternate;
  will-change: transform;
}
/* second, slower cloud layer for gentle parallax drift */
.hero::after {
  content: '';
  position: absolute;
  inset: -16%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 40% 16% at 40% 12%, rgba(255, 255, 255, 0.4), transparent 72%),
    radial-gradient(ellipse 50% 18% at 95% 55%, rgba(255, 255, 255, 0.32), transparent 72%),
    radial-gradient(ellipse 42% 15% at 30% 92%, rgba(255, 255, 255, 0.36), transparent 72%);
  animation: heroDrift2 58s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroDrift {
  from { transform: translate(-5%, 2%) scale(1.05); }
  to   { transform: translate(9%, -6%) scale(1.12); }
}
@keyframes heroDrift2 {
  from { transform: translate(6%, -3%) scale(1.06); }
  to   { transform: translate(-10%, 5%) scale(1.13); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after { animation: none; }
}

.hero-botanical { display: none; }

.hero-inner { position: relative; z-index: 2; max-width: 1400px; width: 100%; }

.hero-tagline {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(20px, 2.6vw, 30px);
  color: var(--cloud);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 24px rgba(34, 60, 92, 0.25);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(58px, 12.5vw, 196px);
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--cloud);
  text-shadow: 0 4px 50px rgba(34, 60, 92, 0.28);
}
.hero h1 .line { display: block; }
.hero h1 .accent-italic {
  font-size: 0.92em;
  color: var(--cloud);
  text-transform: none;
  display: inline-block;
  transform: rotate(-2deg) translateY(-0.04em);
}

.hero-sub {
  max-width: 580px;
  margin: 38px auto 0;
  font-size: clamp(15px, 1.6vw, 17.5px);
  line-height: 1.8;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 18px rgba(34, 60, 92, 0.3);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 44px;
}

/* Frosted glass fact chips */
.hero-chips {
  position: relative;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 64px;
}
.chip {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-pill);
  padding: 11px 24px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.chip::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--action-blue);
}

/* Page-level heroes (interior pages) */
.page-hero {
  position: relative;
  padding: 190px var(--gutter) 100px;
  text-align: center;
  background: linear-gradient(180deg, #5e87b8 0%, #86a9d3 55%, #c6daf0 100%);
  color: var(--cloud);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 22% at 20% 30%, rgba(255, 255, 255, 0.45), transparent 70%),
    radial-gradient(ellipse 55% 24% at 80% 60%, rgba(255, 255, 255, 0.4), transparent 70%);
}
.page-hero > * { position: relative; }
.page-hero .eyebrow { justify-content: center; color: var(--cloud); }
.page-hero .eyebrow::before, .page-hero .eyebrow::after {
  content: ''; width: 36px; height: 1px; background: rgba(255, 255, 255, 0.7); flex: none;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(44px, 7.5vw, 104px);
  line-height: 0.96;
  text-transform: uppercase;
  text-shadow: 0 4px 40px rgba(34, 60, 92, 0.25);
}
.page-hero h1 .accent-italic { font-size: 0.92em; display: inline-block; transform: rotate(-2deg); }
.page-hero .hero-sub { margin-top: 28px; }

/* ============================================================
   Marquee - trust bar
   ============================================================ */

.marquee {
  background: var(--cloud);
  border-bottom: 1px solid rgba(66, 97, 136, 0.12);
  overflow: hidden;
  padding: 20px 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  animation: marquee 38s linear infinite;
}
.marquee span {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sky-deep);
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  gap: 52px;
}
.marquee span::after {
  content: '\2726';
  color: var(--action-blue);
  font-size: 11px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   Sections / layout
   ============================================================ */

.section { padding: var(--section-pad) var(--gutter); }
.section--cream { background: var(--sky-mist); }
.section--white { background: var(--cloud); }
.section--beige { background: linear-gradient(180deg, var(--cloud), var(--sky-mist)); }
.section--dark {
  position: relative;
  background: linear-gradient(170deg, #4f77a8 0%, var(--sky-deep) 60%, #36506f 100%);
  color: var(--cloud);
  overflow: hidden;
}
.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 30% at 15% 12%, rgba(255, 255, 255, 0.16), transparent 70%),
    radial-gradient(ellipse 60% 35% at 90% 85%, rgba(255, 255, 255, 0.1), transparent 70%);
}
.section--dark > * { position: relative; }

.container { max-width: 1240px; margin: 0 auto; }
.container--narrow { max-width: 880px; margin: 0 auto; }

.section-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--ink);
}
.section-heading .accent-italic {
  font-size: 0.94em;
  color: var(--sky-deep);
  display: inline-block;
  transform: rotate(-2deg);
}
.section--dark .section-heading { color: var(--cloud); }
.section--dark .section-heading .accent-italic { color: rgba(255, 255, 255, 0.92); }
.section--dark .lead { color: rgba(255, 255, 255, 0.82); }
.section--dark .eyebrow { color: var(--cloud); }
.section--dark .eyebrow::before, .section--dark .eyebrow::after { background: rgba(255, 255, 255, 0.7); }

/* Alternating editorial split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.split--reverse > :first-child { order: 2; }

/* ============================================================
   Image placeholders - sky gradients + line icons
   ============================================================ */

.img-slot {
  position: relative;
  border-radius: var(--radius-img);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 26px 56px -24px rgba(66, 97, 136, 0.4);
}
.img-slot--wide { aspect-ratio: 16 / 10; }
.img-slot--square { aspect-ratio: 1; }

.img-slot--golden {
  background:
    radial-gradient(ellipse 75% 60% at 70% 18%, rgba(255, 255, 255, 0.65), transparent 60%),
    linear-gradient(155deg, #dcebfa 0%, #aecbed 55%, #7fa3cf 100%);
}
.img-slot--dawn {
  background:
    radial-gradient(ellipse 70% 55% at 30% 15%, rgba(255, 255, 255, 0.7), transparent 60%),
    linear-gradient(160deg, #f2f7fd 0%, #d6e6f7 50%, #aecbed 100%);
}
.img-slot--earth {
  background:
    radial-gradient(ellipse 80% 60% at 70% 90%, rgba(255, 255, 255, 0.25), transparent 60%),
    linear-gradient(155deg, #8fb0d8 0%, #5e87b8 60%, #426188 100%);
}

/* About page — 4-image gallery after The Maker */
.about-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.6vw, 20px);
  margin-top: clamp(44px, 6vw, 76px);
}
.about-gallery .img-slot { aspect-ratio: 4 / 5; }
@media (max-width: 760px) {
  .about-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* Real photo filling a slot */
.img-slot > .slot-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-slot svg {
  width: 50%;
  height: auto;
  color: rgba(255, 255, 255, 0.95);
}
.img-slot--dawn svg { color: rgba(94, 135, 184, 0.55); }
.img-slot .slot-note {
  position: absolute;
  bottom: 13px;
  right: 16px;
  left: 16px;
  max-width: none;
  text-align: right;
  line-height: 1.6;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(66, 97, 136, 0.45);
}
.img-slot--earth .slot-note { color: rgba(255, 255, 255, 0.5); }

/* ============================================================
   Guide cards
   ============================================================ */

.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: clamp(24px, 3.5vw, 48px);
  margin-top: 64px;
}

.guide-card {
  background: var(--cloud);
  border: 1px solid rgba(66, 97, 136, 0.1);
  border-radius: var(--radius-card);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 44px -22px rgba(66, 97, 136, 0.3);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}
.guide-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 70px -26px rgba(66, 97, 136, 0.45);
}

.guide-card .img-slot {
  border-radius: 0;
  aspect-ratio: 16 / 11;
  box-shadow: none;
}
.guide-card:hover .img-slot svg { transform: scale(1.06); }
.guide-card .img-slot svg { transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }

.guide-card-body { padding: 34px 32px 38px; display: flex; flex-direction: column; flex: 1; }

.guide-card .badge {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--action-blue);
  border: 1px solid rgba(43, 127, 255, 0.45);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  margin-bottom: 20px;
}

.guide-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 27px;
  line-height: 1.12;
  margin-bottom: 14px;
}

.guide-card p { font-size: 14px; color: var(--ink-soft); margin-bottom: 26px; flex: 1; }

.guide-card .meta {
  display: flex;
  gap: 18px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky-deep);
  margin-bottom: 24px;
  font-weight: 600;
}

/* ============================================================
   Steps - how it works (frosted glass on sky)
   ============================================================ */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 3vw, 36px);
  margin-top: 64px;
}

.step-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-card);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), background 0.4s ease;
}
.step-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.24); }

.step-card .step-num {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 84px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.4);
  position: absolute;
  top: 16px;
  right: 26px;
}

.step-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 14px;
  color: var(--cloud);
  position: relative;
  padding-right: 84px; /* keep clear of the oversized step number */
}
.step-card p { font-size: 14px; color: rgba(255, 255, 255, 0.85); position: relative; }

/* ============================================================
   Pull quote band
   ============================================================ */

.quote-band { text-align: center; }
.quote-band blockquote {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(30px, 4.6vw, 56px);
  line-height: 1.25;
  color: var(--cloud);
  max-width: 940px;
  margin: 0 auto;
}
.quote-band blockquote em { color: #cfe2f8; font-style: italic; }
.quote-band .quote-mark {
  font-family: var(--font-accent);
  font-size: 90px;
  line-height: 0.5;
  color: rgba(255, 255, 255, 0.55);
  display: block;
  margin-bottom: 34px;
}

/* ============================================================
   Email capture - frosted panel on sky
   ============================================================ */

.capture-panel {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: clamp(44px, 6vw, 80px);
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.capture-panel::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent 70%);
}

.capture-panel h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
  text-transform: uppercase;
  color: var(--cloud);
  margin-bottom: 18px;
}
.capture-panel p { color: rgba(255, 255, 255, 0.88); max-width: 500px; margin: 0 auto 36px; font-size: 15px; }

.capture-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}
.capture-form input {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-pill);
  padding: 16px 26px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.capture-form input::placeholder { color: rgba(22, 33, 46, 0.45); }
.capture-form input:focus { border-color: var(--action-blue); box-shadow: 0 0 0 3px rgba(43, 127, 255, 0.25); }

.capture-form .btn { white-space: nowrap; }

.capture-success {
  display: none;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 23px;
  color: var(--cloud);
  padding: 14px 0;
}
.capture-fineprint {
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
}
/* Higher specificity to beat `.capture-panel p` / `.modal-panel > p` */
.capture-panel .capture-fineprint,
.modal-panel .capture-fineprint {
  margin-top: 10px;
  font-size: 7.5px;
}

/* ============================================================
   Guide detail page
   ============================================================ */

.guide-hero {
  position: relative;
  padding: 180px var(--gutter) 100px;
  background: linear-gradient(170deg, #5e87b8 0%, #6f96c4 50%, #9bbade 100%);
  color: var(--cloud);
  overflow: hidden;
}
.guide-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 24% at 22% 22%, rgba(255, 255, 255, 0.4), transparent 70%),
    radial-gradient(ellipse 55% 26% at 85% 75%, rgba(255, 255, 255, 0.35), transparent 70%);
}
.guide-hero > * { position: relative; }
.guide-hero .split { align-items: center; }
.guide-hero .badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cloud);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  margin-bottom: 26px;
}
.guide-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 0.98;
  text-transform: uppercase;
  margin-bottom: 24px;
  text-shadow: 0 4px 40px rgba(34, 60, 92, 0.25);
}
.guide-hero h1 .accent-italic { font-size: 0.92em; display: inline-block; transform: rotate(-2deg); color: var(--cloud) !important; }
.guide-hero .lead { color: rgba(255, 255, 255, 0.92); margin-bottom: 38px; }
.guide-hero .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}
.guide-hero .btn--primary {
  color: var(--cloud);
  border-color: var(--cloud);
}
.guide-hero .btn--primary:hover {
  background: var(--cloud);
  color: var(--sky-deep);
  box-shadow: 0 16px 36px -12px rgba(13, 32, 58, 0.45);
}

/* Chapter list */
.chapters { counter-reset: chapter; margin-top: 56px; }
.chapter {
  display: flex;
  align-items: baseline;
  gap: clamp(20px, 4vw, 48px);
  padding: 26px 8px;
  border-bottom: 1px solid rgba(66, 97, 136, 0.16);
  transition: padding-left 0.35s ease, background 0.35s ease;
}
.chapter:first-child { border-top: 1px solid rgba(66, 97, 136, 0.16); }
.chapter:hover { padding-left: 20px; background: var(--haze); }
.chapter::before {
  counter-increment: chapter;
  content: counter(chapter, decimal-leading-zero);
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 22px;
  color: var(--action-blue);
  flex: none;
  width: 44px;
}
.chapter h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(19px, 2.3vw, 26px);
  flex: 1;
}
.chapter p { font-size: 13.5px; color: var(--ink-soft); max-width: 360px; }

/* Feature ticks */
.feature-list { list-style: none; margin-top: 40px; display: grid; gap: 18px; }
.feature-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.feature-list li::before {
  content: '';
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  border: 1px solid var(--action-blue);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b7fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.feature-list strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   About page
   ============================================================ */

.timeline { margin-top: 56px; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(var(--action-blue), rgba(43, 127, 255, 0.12));
}
.timeline-item { position: relative; padding: 0 0 44px 44px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid var(--action-blue);
  background: var(--sky-mist);
}
.timeline-item .year {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 21px;
  color: var(--action-blue);
  display: block;
  margin-bottom: 6px;
}
.timeline-item h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 8px;
}
.timeline-item p { font-size: 14px; color: var(--ink-soft); max-width: 540px; }

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(20px, 3vw, 32px);
  margin-top: 60px;
}
.value-card {
  background: var(--cloud);
  border: 1px solid rgba(66, 97, 136, 0.1);
  border-radius: var(--radius-card);
  padding: 40px 34px;
  box-shadow: 0 16px 40px -22px rgba(66, 97, 136, 0.3);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.value-card:hover { transform: translateY(-6px); }
.value-card .value-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  color: var(--action-blue);
}
.value-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 12px;
}
.value-card p { font-size: 13.5px; color: var(--ink-soft); }

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: linear-gradient(180deg, var(--sky-deep) 0%, #324c6c 100%);
  color: rgba(255, 255, 255, 0.78);
  padding: 90px var(--gutter) 40px;
}
.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(32px, 6vw, 90px);
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-brand .logo { display: inline-block; margin-bottom: 20px; }
.footer-brand .logo img { height: 36px; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-brand p { font-size: 14px; max-width: 340px; line-height: 1.8; }
.footer-brand .tagline {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 20px;
  color: #cfe2f8;
  margin-top: 18px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #aac8e8;
  margin-bottom: 22px;
}
.footer-col ul { list-style: none; display: grid; gap: 12px; }
.footer-col a {
  font-size: 14px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.3s ease;
}
.footer-col a:hover { color: var(--cloud); }

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 34px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.06em;
}

/* ============================================================
   Reveal animations
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }
.reveal-d3 { transition-delay: 0.36s; }

/* Hero load-in */
@keyframes heroFade {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}
.hero-inner > * { animation: heroFade 1.1s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-inner > :nth-child(1) { animation-delay: 0.1s; }
.hero-inner > :nth-child(2) { animation-delay: 0.25s; }
.hero-inner > :nth-child(3) { animation-delay: 0.45s; }
.hero-inner > :nth-child(4) { animation-delay: 0.6s; }
.hero-inner > :nth-child(5) { animation-delay: 0.75s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 900px) {
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .chapter { flex-wrap: wrap; }
  .chapter p { max-width: 100%; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100svh;
    width: min(78vw, 340px);
    flex-direction: column;
    justify-content: center;
    background: rgba(54, 80, 111, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    gap: 34px;
    z-index: 90;
  }
  .nav.open { transform: none; }
  .nav a:not(.btn) { color: rgba(255, 255, 255, 0.9); font-size: 14px; }
  .nav a:not(.btn):hover { color: var(--cloud); }
  .nav .btn--primary { color: var(--cloud); border-color: var(--cloud); }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 95;
    padding: 8px;
  }
  .nav-toggle span {
    width: 26px;
    height: 1.5px;
    background: var(--ink);
    transition: transform 0.4s ease, opacity 0.4s ease, background 0.4s ease;
  }
  .nav-toggle.open span { background: var(--cloud); }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .capture-form { flex-direction: column; }
  .capture-form .btn { justify-content: center; }
}

/* ============================================================
   Download modal — email-capture pop-up
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.modal.open { opacity: 1; visibility: visible; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 34, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  background: var(--cloud);
  border-radius: var(--radius-card);
  padding: clamp(40px, 5vw, 56px) clamp(28px, 4vw, 46px) clamp(34px, 4vw, 44px);
  box-shadow: 0 40px 90px -30px rgba(16, 24, 34, 0.6);
  text-align: center;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.modal.open .modal-panel { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s ease, color 0.3s ease;
}
.modal-close:hover { background: rgba(66, 97, 136, 0.1); color: var(--ink); }

.modal-panel .eyebrow { justify-content: center; margin-bottom: 16px; }

.modal-panel h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 4vw, 32px);
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 14px;
}

.modal-panel > p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0 auto 28px;
  max-width: 380px;
}

.modal .capture-form { flex-direction: column; max-width: 100%; }
.modal .capture-form input {
  background: var(--sky-mist);
  border-color: rgba(66, 97, 136, 0.22);
}
.modal .capture-form .btn { justify-content: center; }
.modal .capture-success { color: var(--action-blue); }
.modal .capture-fineprint { color: var(--ink-soft); }

body.modal-open { overflow: hidden; }

/* Guide card — dual links (explore + download) */
.card-media-link { display: block; text-decoration: none; }
.card-title-link { color: inherit; text-decoration: none; transition: color 0.3s ease; }
.card-title-link:hover { color: var(--action-blue); }
.card-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: auto; }
button.text-link {
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: var(--font-body);
  cursor: pointer;
}
