/* THE LONG LINE · Series 1 — /* THE LONG LINE · Series 1 — landing page module
   All classes prefixed ll- to avoid theme collisions.
   No JS. Card flips use native <details>; checklist uses native checkboxes. */

.ll-page {
  background: #0B2545;
  color: #E9EEF4;
  font-family: Calibri, 'Segoe UI', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  padding: 0 24px 72px;
  overflow-x: hidden;
}
.ll-page *, .ll-page *::before, .ll-page *::after { box-sizing: border-box; }

/* ---------- type ---------- */
.ll-h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.12;
  color: #FFFFFF;
  margin: 0.4em 0 0;
  max-width: 21ch;
  margin-left: auto; margin-right: auto;
}
.ll-h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 0.5em;
  line-height: 1.2;
}
.ll-h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.35rem;
  color: #FFFFFF;
  margin: 0.2em 0 0.5em;
}
.ll-eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1F8FA0;
  margin: 0;
  font-weight: 700;
}
.ll-body { color: #B9C6D6; max-width: 62ch; margin: 0 0 1.4em; }
.ll-center { margin-left: auto; margin-right: auto; text-align: center; }
.ll-lede {
  color: #B9C6D6;
  max-width: 58ch;
  margin: 1.4em auto 0;
  font-size: 1.08rem;
}
.ll-lede-tag {
  font-family: Georgia, serif;
  font-style: italic;
  color: #1F8FA0;
  margin-top: 1.1em;
}
.ll-gold { color: #C8A14A; }

/* the shared thread — the one teal hairline, same as every card front */
.ll-thread {
  height: 2px;
  width: 120px;
  background: #1F8FA0;
  margin: 2rem auto 0;
}

/* ---------- layout ---------- */
.ll-hero {
  text-align: center;
  padding: 110px 24px 70px;
  margin: 0 -24px;
  position: relative;
  /* navy wash over the sepia Great Eastern image so the type stays readable,
     fading to solid navy at the bottom so it blends into the page */
  background:
    linear-gradient(rgba(11,37,69,0.72), rgba(11,37,69,0.82) 55%, #0B2545 96%),
    url('https://243906365.fs1.hubspotusercontent-na2.net/hubfs/243906365/Victorian%20Engineers%20Near%20Great%20Eastern%20in%20Sepia.png') center 30% / cover no-repeat,
    #0B2545;
}
.ll-hero-inner { max-width: 900px; margin: 0 auto; }
.ll-hero .ll-lede { text-shadow: 0 1px 8px rgba(4,14,28,0.6); }
.ll-hero .ll-h1 { text-shadow: 0 2px 14px rgba(4,14,28,0.7); }
.ll-section { max-width: 1080px; margin: 0 auto; padding: 64px 0 0; }

/* ---------- pack recipe ---------- */
.ll-pack {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1.6rem 0 1.8rem;
}
.ll-slot {
  width: 108px;
  aspect-ratio: 5 / 7;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #0B2545;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}
.ll-slot-num {
  font-family: Georgia, serif;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
}
.ll-slot-name { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; }
.ll-slot-lineage { background: #B5D0FA; }
.ll-slot-reset   { background: #D4ECD6; }
.ll-slot-stack   { background: #3F4DC3; color: #FFFFFF; }
.ll-slot-wild    { background: #E9EEF4; }
.ll-slot-hit {
  background: #4E5C7E;
  color: #FFFFFF;
  border: 2px dashed rgba(255,255,255,0.55);
}

/* ---------- suit headers ---------- */
.ll-suit-head { display: flex; align-items: center; gap: 14px; }
.ll-suit-head .ll-h2 { margin: 0; }
.ll-suit-chip { width: 22px; height: 22px; border-radius: 6px; flex: none; }
.ll-chip-lineage { background: #B5D0FA; }
.ll-chip-reset   { background: #D4ECD6; }
.ll-chip-stack   { background: #3F4DC3; }
.ll-suit-sub {
  font-family: Calibri, 'Segoe UI', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  font-style: italic;
  color: #1F8FA0;
  letter-spacing: 0.02em;
}

/* ---------- card grid ---------- */
.ll-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
  margin-top: 1.6rem;
}
.ll-card {
  border-radius: 12px;
  overflow: hidden;
  background: #10305A;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.ll-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,0.45); }
.ll-card[open] { transform: none; }

/* card FRONT = the summary — suit color, like the physical fronts */
.ll-front {
  list-style: none;
  cursor: pointer;
  display: block;
  padding: 20px 20px 16px;
  position: relative;
  color: #0B2545;
  /* the shared teal thread on every front */
  border-bottom: 2px solid #1F8FA0;
}
.ll-front::-webkit-details-marker { display: none; }
.ll-front:focus-visible { outline: 3px solid #1F8FA0; outline-offset: -3px; }
.ll-front-lineage { background: #B5D0FA; }
.ll-front-reset   { background: #D4ECD6; }
.ll-front-stack   { background: #3F4DC3; color: #FFFFFF; }
.ll-num {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
}
.ll-title {
  display: block;
  font-family: Georgia, serif;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 6px;
  padding-right: 54px;
}
.ll-flip {
  position: absolute;
  right: 16px;
  bottom: 12px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
}
.ll-card[open] .ll-flip { opacity: 0; }

/* card BACK — the uniform navy system */
.ll-back { padding: 18px 20px 20px; }
.ll-back p { margin: 0 0 0.9em; color: #C9D4E2; font-size: 0.98rem; }
.ll-back p:last-child { margin-bottom: 0; }
.ll-clients {
  font-weight: 700;
  color: #FFFFFF !important;
  letter-spacing: 0.04em;
}
.ll-tagline {
  font-family: Georgia, serif;
  font-style: italic;
  color: #1F8FA0 !important;
  font-size: 0.92rem !important;
}

/* ---------- chase cards ---------- */
.ll-chase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 1.4rem;
}
.ll-chase-card {
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.4);
}
.ll-chase-card p { color: #C9D4E2; margin: 0 0 0.9em; }
.ll-chase-foil {
  background: linear-gradient(135deg, #4E5C7E 0%, #3F4DC3 55%, #1F8FA0 100%);
  border: 1px solid rgba(255,255,255,0.25);
}
.ll-chase-foil p { color: #E9EEF4; }
.ll-chase-founders {
  background: #081A33;
  border: 1px solid #C8A14A;
}
.ll-chase-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #FFFFFF;
}
.ll-chase-hint { font-style: italic; }
.ll-chase-hint strong { color: #C8A14A; }

/* ---------- checklist ---------- */
.ll-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 26px;
  margin-top: 1.4rem;
  background: #10305A;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 28px;
}
.ll-check-col { min-width: 0; }
.ll-check-head {
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 0.6em;
  padding-bottom: 6px;
  border-bottom: 2px solid;
}
.ll-check-lineage { color: #B5D0FA; border-color: #B5D0FA; }
.ll-check-reset   { color: #D4ECD6; border-color: #D4ECD6; }
.ll-check-stack   { color: #8A94E8; border-color: #3F4DC3; }
.ll-check-chase   { color: #C8A14A; border-color: #C8A14A; margin-top: 1.4em; }
.ll-check {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 5px 0;
  cursor: pointer;
  color: #C9D4E2;
  font-size: 0.95rem;
}
.ll-check input {
  width: 17px; height: 17px;
  accent-color: #1F8FA0;
  flex: none;
  transform: translateY(2px);
  cursor: pointer;
}
.ll-check input:checked + span { color: #6E809A; text-decoration: line-through; }

/* ---------- CTA ---------- */
.ll-cta { text-align: center; }
.ll-cta .ll-thread { margin-bottom: 2.4rem; }
.ll-cta .ll-h2 { margin-top: 0; }
.ll-btn {
  display: inline-block;
  background: #1F8FA0;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 15px 34px;
  border-radius: 10px;
  text-decoration: none;
  margin: 0.6rem 0 1.6rem;
  transition: background 0.15s ease, transform 0.15s ease;
}
.ll-btn:hover { background: #26A5B8; transform: translateY(-2px); color: #FFFFFF !important; text-decoration: none; }
.ll-btn:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; }
.ll-link { color: #1F8FA0 !important; text-decoration: none; }
.ll-link:hover { text-decoration: underline; color: #26A5B8 !important; }
.ll-fine { font-size: 0.82rem; color: #6E809A; margin-top: 1.2rem; }

/* ---------- motion & mobile ---------- */
@media (prefers-reduced-motion: reduce) {
  .ll-card, .ll-btn { transition: none; }
  .ll-card:hover, .ll-btn:hover { transform: none; }
}
@media (max-width: 560px) {
  .ll-hero { padding-top: 72px; padding-bottom: 48px; }
  .ll-section { padding-top: 48px; }
  .ll-slot { width: 88px; }
  .ll-checklist { padding: 20px; }
}
/* ---------- HubSpot form (sibling module) restyle ----------
   The theme wraps the form in a white rounded card. Style WITH it:
   navy labels + teal button inside the white card, white title above it. */

/* form module title (sits on the navy page background) */
.hs_cos_wrapper_type_form h3,
.hs_cos_wrapper_type_form .form-title,
.widget-type-form h3 {
  color: #FFFFFF !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  text-align: center;
}

/* labels inside the white card */
.hs-form label,
.hs-form legend,
.hs-form .hs-form-field label {
  color: #0B2545 !important;
  font-family: Calibri, 'Segoe UI', sans-serif !important;
  font-weight: 700 !important;
}

/* all inputs incl. textarea — consistent white fields, navy text */
.hs-form .hs-input,
.hs-form input.hs-input,
.hs-form textarea.hs-input {
  background: #FFFFFF !important;
  border: 1px solid #B9C6D6 !important;
  color: #0B2545 !important;
  border-radius: 8px !important;
  padding: 10px 12px !important;
}
.hs-form .hs-input:focus {
  outline: 2px solid #1F8FA0 !important;
  border-color: #1F8FA0 !important;
}

/* submit — teal, not the theme green */
.hs-form .hs-button,
.hs-form input.hs-button,
.hs-form .hs_submit .hs-button {
  background: #1F8FA0 !important;
  background-color: #1F8FA0 !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 13px 30px !important;
  cursor: pointer;
}
.hs-form .hs-button:hover,
.hs-form input.hs-button:hover {
  background: #26A5B8 !important;
  background-color: #26A5B8 !important;
}

.hs-form .hs-error-msg { color: #C0392B !important; }
.hs-form .submitted-message {
  color: #0B2545 !important;
  font-family: Georgia, serif;
  font-style: italic;
}
