/* Ryan Chamberlin – Connect landing page
   Conservative, professional palette: deep navy + warm gold accent. */

:root {
  --navy-900: #0a1f3d;
  --navy-800: #11305c;
  --navy-700: #1a4378;
  --yellow-500: #f4d35e;
  --yellow-600: #e0bd44;
  --ink-900:  #0f1722;
  --ink-700:  #34404e;
  --ink-500:  #5e6b7a;
  --line:     #dfe4ec;
  --bg:       #f5f6f8;
  --card:     #ffffff;
  --danger:   #b3261e;
  --success:  #1f7a3a;
  --radius:   10px;
  --shadow:   0 6px 24px rgba(10, 31, 61, 0.08);
  --maxw:     1100px;
  --font:     "Helvetica Neue", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Sections + form fields toggled off via the editor are hidden for public visitors. */
section[data-rc-hidden],
[data-form-field-key][data-rc-hidden] { display: none !important; }
/* offset for the sticky header so #anchor jumps don't hide section headings */
section[id] { scroll-margin-top: 56px; }

/* Section ordering — enabled when the CMS / editor reorders sections.
   Static default keeps document flow; once overrides apply, sections honor
   their `order` style. */
main {
  display: flex;
  flex-direction: column;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-900);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy-800); text-decoration: none; }
a:hover { color: var(--yellow-600); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { color: var(--navy-900); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
p  { margin: 0 0 1em; color: var(--ink-700); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: sticky; top: 0; z-index: 50;
  transition: box-shadow .2s ease;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  transition: padding .2s ease;
}
.brand-logo {
  max-height: 56px; width: auto;
  transition: max-height .2s ease;
}
.site-nav { display: flex; gap: 28px; align-items: center; }
.site-nav a { color: rgba(255,255,255,.85); font-weight: 500; }
.site-nav a:hover { color: var(--yellow-500); }
.site-nav .nav-cta {
  background: var(--yellow-500); color: var(--navy-900);
  padding: 10px 18px; border-radius: 999px; font-weight: 600;
  transition: padding .2s ease, font-size .2s ease, background-color .15s;
}
.site-nav .nav-cta:hover { background: var(--yellow-600); color: var(--navy-900); }

/* collapsed state: triggered by JS on scroll, target ~45px total bar height */
.site-header.is-collapsed {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}
.site-header.is-collapsed .header-inner {
  padding: 6px 24px;
}
.site-header.is-collapsed .brand-logo {
  max-height: 32px;
}
.site-header.is-collapsed .site-nav { gap: 18px; }
.site-header.is-collapsed .site-nav .nav-cta {
  padding: 6px 14px;
  font-size: .9rem;
}

/* hero sits directly under the header — drop its top padding so the two
   navy bands flow into each other instead of stacking */
.hero { padding-top: 64px; }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: #fff;
  padding: 72px 0 88px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy  { text-align: center; }
  .hero-photo { max-width: 460px; margin: 0 auto; }
}
.hero-eyebrow {
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--yellow-500); font-size: .85rem; font-weight: 600;
  margin-bottom: 16px;
}
.hero-title {
  color: #fff;
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -.015em;
}
.hero-sub { color: rgba(255,255,255,0.86); font-size: 1.125rem; margin-bottom: 32px; max-width: 540px; }
@media (max-width: 880px) {
  .hero-sub { margin-left: auto; margin-right: auto; }
}
.hero-cta { font-size: 1.0625rem; }

/* hero photo (or placeholder) */
.hero-photo {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .06);
  background: rgba(0, 0, 0, .25);
}
.hero-photo img {
  width: 100%; height: auto; display: block;
}
.hero-photo--placeholder {
  aspect-ratio: 4 / 5;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 12px, transparent 12px 24px),
    linear-gradient(180deg, rgba(244, 211, 94, 0.08) 0%, rgba(10, 31, 61, 0.0) 100%);
  border: 2px dashed rgba(244, 211, 94, .35);
}
.hero-photo-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px;
  color: rgba(255, 255, 255, .75);
}
.hero-photo-icon {
  font-size: 3rem;
  color: var(--yellow-500);
  line-height: 1;
  margin-bottom: 12px;
}
.hero-photo-placeholder p {
  color: #fff; font-weight: 600; margin: 0 0 6px;
}
.hero-photo-placeholder small {
  color: rgba(255, 255, 255, .55); font-size: .8125rem;
}
.hero-photo-placeholder code {
  background: rgba(255, 255, 255, .08);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .75rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; cursor: pointer;
  border: 0; border-radius: 999px;
  padding: 14px 32px;
  font-weight: 600; font-size: 1rem;
  font-family: inherit;
  transition: background .15s ease, transform .05s ease, opacity .15s ease;
}
.btn-primary { background: var(--yellow-500); color: var(--navy-900); }
.btn-primary:hover { background: var(--yellow-600); color: var(--navy-900); }
.btn-primary:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .65; cursor: progress; }

/* ---------- shared inline CTAs ---------- */
.section-cta {
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 600;
}
.section-cta a {
  color: var(--yellow-600);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .15s;
}
.section-cta a:hover {
  color: var(--yellow-600);
  border-bottom-color: var(--yellow-500);
}

.about-eptn {
  margin-top: -4px;
  margin-bottom: 18px;
}
.about-eptn a {
  display: inline-block;
  background: var(--yellow-500);
  color: var(--navy-900);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9375rem;
  text-decoration: none;
  transition: background-color .15s;
}
.about-eptn a:hover { background: var(--yellow-600); color: var(--navy-900); }

/* form field helper text (inline within label span) */
.field-help {
  font-weight: 400;
  color: var(--ink-500);
  font-size: .8125rem;
  margin-left: 2px;
}

/* ---------- about ---------- */
.about { padding: 80px 0; background: #fff; }
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; margin-top: 24px; }
.about-highlights ul {
  list-style: none; padding: 0; margin: 0;
  background: var(--bg); border-radius: var(--radius);
  padding: 24px 28px; border-left: 4px solid var(--yellow-500);
}
.about-highlights li {
  padding: 10px 0; border-bottom: 1px solid var(--line);
  color: var(--ink-700);
}
.about-highlights li:last-child { border-bottom: 0; }
.about-highlights strong { color: var(--navy-900); }

@media (max-width: 720px) {
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- shared section primitives ---------- */
.section-eyebrow {
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--yellow-600); font-size: .8125rem; font-weight: 700;
  margin-bottom: 10px;
}
.section-header { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.section-header p { color: var(--ink-500); }

/* ---------- services ---------- */
.services { padding: 80px 0; background: var(--bg); }
.services-inner { max-width: 980px; margin: 0 auto; }
.services-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.service-card {
  display: flex; align-items: flex-start; gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--yellow-500);
  border-radius: 8px;
  padding: 18px 20px;
  color: var(--ink-900);
  font-weight: 500;
  line-height: 1.4;
  box-shadow: 0 1px 2px rgba(10, 31, 61, 0.04);
}
.service-tick {
  color: var(--yellow-600);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.3;
  flex-shrink: 0;
}
.services-cta {
  margin-top: 32px; text-align: center;
  color: var(--ink-700); font-size: 1rem;
}

/* ---------- follow Ryan (home page) ---------- */
/* ---------- thanks page: where-to-go-next destination cards ---------- */
.thanks-destinations { padding: 64px 0 32px; background: #fff; }
.thanks-destinations-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.thanks-destinations h2 { margin-bottom: 6px; }
.thanks-destinations-sub { color: var(--ink-500); margin-bottom: 32px; }
.dest-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.dest-card {
  display: flex; flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 4px solid var(--yellow-500);
  border-radius: 12px;
  padding: 24px 22px 22px;
  text-align: left;
  transition: transform .12s, box-shadow .12s, border-color .12s;
}
.dest-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(10, 31, 61, 0.08);
  border-left-color: var(--yellow-600);
}
.dest-card h3 {
  color: var(--navy-900);
  font-size: 1.0625rem;
  margin-bottom: 8px;
  word-break: break-word;
}
.dest-card p {
  color: var(--ink-700);
  font-size: .9375rem;
  flex: 1;
  margin-bottom: 18px;
}
.dest-card .btn {
  align-self: flex-start;
  font-size: .85rem;
  padding: 10px 18px;
}
/* Hero on thanks page: stack centered (no two-col with photo). */
.hero-inner--centered {
  display: block !important;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.hero-inner--centered .hero-sub { margin-left: auto; margin-right: auto; }

.follow-section { padding: 72px 0; background: #fff; }
.follow-section-inner {
  max-width: 720px; margin: 0 auto; text-align: center;
}
.follow-section h2 { margin-bottom: 12px; }
.follow-section p { color: var(--ink-500); }
.follow-section .social-links { margin: 24px 0 16px; }

/* ---------- thanks page: follow Ryan ---------- */
.follow-ryan { padding: 64px 0 80px; background: var(--bg); }
.follow-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.follow-inner h2 { margin-bottom: 8px; }
.follow-inner p { color: var(--ink-500); }
.social-links {
  list-style: none; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin: 24px 0 28px;
}
.social-links a {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 22px;
  color: var(--navy-900);
  font-weight: 600;
  transition: background-color .15s, border-color .15s;
}
.social-links a:hover {
  background: var(--yellow-500);
  border-color: var(--yellow-500);
  color: var(--navy-900);
}
.follow-meta { font-size: .9375rem; }

/* ---------- connect form ---------- */
.connect { padding: 80px 0; }
.connect-inner { max-width: 820px; margin: 0 auto; }
.connect-header { text-align: center; margin-bottom: 36px; }
.connect-header p { color: var(--ink-500); }

.connect-form {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px clamp(20px, 4vw, 44px);
  display: grid;
  gap: 20px;
}

.form-row.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
@media (max-width: 600px) {
  .form-row.two-col { grid-template-columns: 1fr; }
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field > span,
.field > legend {
  font-weight: 600; font-size: .9375rem; color: var(--navy-900);
}
.field em { color: var(--yellow-600); font-style: normal; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  font: inherit;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-900);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(26, 67, 120, 0.15);
}
.field textarea { resize: vertical; min-height: 84px; }

/* checkbox grid */
.checkbox-group { border: 0; padding: 0; margin: 0; }
.checkbox-group legend { margin-bottom: 10px; }
.legend-sub {
  margin: -4px 0 14px;
  color: var(--ink-500);
  font-size: .9375rem;
  font-weight: 400;
}
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px 16px;
}
.checkbox-grid--stacked { grid-template-columns: 1fr; gap: 0; }
.checkbox {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 4px; cursor: pointer;
  color: var(--ink-700); font-weight: 500;
}
.checkbox input { width: 18px; height: 18px; accent-color: var(--navy-800); }

/* primary "Interests" fieldset — visually weighty, leads the form */
.interests-group {
  background: linear-gradient(180deg, #fffaea 0%, #fff 100%);
  border: 1px solid var(--yellow-500);
  border-left: 4px solid var(--yellow-500);
  border-radius: 10px;
  padding: 22px 24px 14px;
  margin-bottom: 4px;
}
.interests-group legend {
  font-size: 1.0625rem;
  color: var(--navy-900);
  padding: 0 6px;
}
.checkbox--prominent {
  padding: 12px 12px;
  border-radius: 8px;
  font-size: 1rem;
  color: var(--ink-900);
  transition: background-color .12s;
}
.checkbox--prominent:hover { background: rgba(244, 211, 94, 0.18); }
.checkbox--prominent input {
  width: 20px; height: 20px;
  accent-color: var(--navy-900);
  flex-shrink: 0;
}
.checkbox--prominent span { line-height: 1.4; }

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

/* form footer */
.form-actions { margin-top: 8px; text-align: center; }
.form-meta { font-size: .8125rem; color: var(--ink-500); margin: 14px auto 0; max-width: 480px; }

/* status message */
.form-status { min-height: 1.4em; text-align: center; font-weight: 500; }
.form-status.is-error   { color: var(--danger); }
.form-status.is-success { color: var(--success); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy-900); color: rgba(255,255,255,.82);
  padding: 28px 0; margin-top: 0;
}
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: space-between;
  font-size: .9375rem;
}
.site-footer p { margin: 0; color: inherit; }
.site-footer a { color: var(--yellow-500); }
.site-footer a:hover { color: #fff; }
