@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,650;9..144,700&family=Source+Sans+3:wght@400;500;600;700&display=swap");

:root {
  --ld-ink: #12203a;
  --ld-ink-2: #1c2d4d;
  --ld-paper: #f4efe4;
  --ld-paper-2: #ebe4d4;
  --ld-gold: #c4a35a;
  --ld-gold-2: #a8883d;
  --ld-muted: #5d6780;
  --ld-line: rgba(18, 32, 58, 0.12);
  --ld-max: 1120px;
  --ld-serif: "Fraunces", Georgia, serif;
  --ld-sans: "Source Sans 3", sans-serif;
}

html {
  overflow-x: clip;
  background: var(--ld-ink);
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

@supports not (overflow-x: clip) {
  html { overflow-x: hidden; }
}

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

body {
  margin: 0;
  color: var(--ld-ink);
  font-family: var(--ld-sans);
  background: var(--ld-paper);
  line-height: 1.55;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ld-gold-2); text-decoration: none; }
button, input, textarea { font: inherit; }

.ld-wrap {
  width: min(var(--ld-max), calc(100% - 36px));
  margin: 0 auto;
}

.ld-sticky {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #0f1b32;
  border-bottom: 1px solid rgba(196, 163, 90, 0.28);
}

.ld-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.ld-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f4efe4;
  font-family: var(--ld-serif);
  font-weight: 650;
  letter-spacing: 0.04em;
}

.ld-brand img { width: 32px; height: 32px; flex-shrink: 0; border-radius: 4px; }

.ld-nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.ld-nav__links a { color: #c9d0dc; font-size: 0.92rem; }
.ld-nav__links a:hover { color: #fff; }

.ld-btn,
a.ld-btn,
.ld-nav__links a.ld-btn,
.ld-foot a.ld-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 2px;
  background: linear-gradient(180deg, #e0c37a, var(--ld-gold));
  color: #12203a;
  font-weight: 700;
  cursor: pointer;
}

.ld-nav__links a.ld-btn:hover,
.ld-foot a.ld-btn:hover { color: #12203a; }

.ld-nav__burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  padding: 10px 9px;
  cursor: pointer;
}
.ld-nav__burger span { display: block; height: 2px; margin: 5px 0; background: #f4efe4; }

.ld-activity { padding: 0 0 10px; }

/* Activity bar on a dark sticky header: readable text including the dim state */
.ld-activity .activity-bar.activity-bar--dim {
  opacity: 1;
  background: #fffdf8;
  border-color: rgba(196, 163, 90, 0.4);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.ld-activity .activity-bar.activity-bar--dim .activity-bar__name {
  color: #12203a;
}

.ld-activity .activity-bar.activity-bar--dim .activity-bar__suffix,
.ld-activity .activity-bar.activity-bar--dim .activity-bar__live-text {
  color: #5d6780;
}

.ld-activity .activity-bar.activity-bar--scroll-blur:not(:hover) {
  -webkit-filter: none;
  filter: none;
  opacity: 0.96;
}

.ld-activity .activity-bar:hover,
.ld-activity .activity-bar.activity-bar--dim:hover {
  opacity: 1;
  -webkit-filter: none;
  filter: none;
  background: #fff;
  border-color: rgba(196, 163, 90, 0.55);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}

#mob-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(15, 27, 50, 0.55);
}
#mob-menu.is-open { display: block; }

.ld-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: #0f1b32;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ld-drawer__close {
  align-self: flex-end;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: #f4efe4;
  font-size: 22px;
  cursor: pointer;
}
.ld-drawer a { color: #f4efe4; }

.ld-reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.ld-reveal.is-in { opacity: 1; transform: none; }

#hero-section {
  padding: 36px 0 48px;
  background:
    linear-gradient(180deg, #efe8d8 0%, var(--ld-paper) 100%);
}

.ld-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  grid-template-areas: "copy form";
  gap: 22px 32px;
  align-items: start;
}

.ld-hero > * { min-width: 0; }

.ld-hero__copy { grid-area: copy; }
.ld-form--hero {
  grid-area: form;
  align-self: start;
  height: fit-content;
}

.ld-kicker {
  margin: 0 0 10px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ld-gold-2);
}

.ld-hero__copy h1 {
  margin: 0 0 14px;
  font-family: var(--ld-serif);
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  line-height: 1.08;
  font-weight: 650;
}

.ld-hero__copy h1 em {
  font-style: italic;
  color: var(--ld-gold-2);
}

.ld-hero__copy p {
  margin: 0 0 16px;
  color: var(--ld-muted);
  max-width: 46ch;
}

.ld-hero__facts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.ld-hero__facts li {
  padding: 8px 0;
  border-top: 1px solid var(--ld-line);
  color: var(--ld-muted);
}
.ld-hero__facts b { color: var(--ld-ink); }

.ld-form {
  background: #fff;
  border: 1px solid var(--ld-line);
  padding: 20px;
}

.ld-form--navy,
.ld-form--hero {
  background: var(--ld-ink);
  color: #f4efe4;
  border: 1px solid rgba(196, 163, 90, 0.4);
  padding: 0 0 20px;
  box-shadow: 0 18px 40px rgba(18, 32, 58, 0.18);
}

.ld-form--hero h2,
.ld-form--navy h2 {
  margin: 0;
  padding: 12px 20px;
  background: linear-gradient(180deg, #e0c37a, var(--ld-gold));
  color: #12203a;
  font-family: var(--ld-serif);
  font-size: 1.25rem;
  font-weight: 650;
}

.ld-form--hero .ld-lead,
.ld-form--navy .ld-lead,
.ld-form--hero .aio-form,
.ld-form--navy .aio-form,
.ld-form--hero .ld-note,
.ld-form--navy .ld-note {
  margin-left: 22px;
  margin-right: 22px;
}

.ld-form--hero .aio-form,
.ld-form--navy .aio-form {
  margin-top: 18px;
}

.ld-form--hero .ld-lead,
.ld-form--navy .ld-lead {
  margin-top: 12px;
  margin-bottom: 8px;
  color: #c9d0dc;
}

.ld-form--hero .ld-field,
.ld-form--navy .ld-field {
  margin-bottom: 8px;
}

.ld-form--hero .ld-note,
.ld-form--navy .ld-note {
  margin-top: 8px;
  margin-bottom: 0;
}

.ld-note { display: block; margin-top: 10px; color: #9aa4b8; font-size: 0.78rem; }

.ld-field { margin-bottom: 10px; }

.aio-sdk-input,
.ld-field input,
.ld-field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #31425f;
  border-radius: 2px;
  background: #0c172b;
  color: #f4efe4;
  padding: 0 14px 0 16px;
}

.ld-form:not(.ld-form--navy):not(.ld-form--hero) .aio-sdk-input,
.ld-form:not(.ld-form--navy):not(.ld-form--hero) .ld-field input,
.ld-form:not(.ld-form--navy):not(.ld-form--hero) .ld-field textarea {
  background: #fff;
  color: var(--ld-ink);
  border-color: #cfc6b4;
}

.ld-field textarea { min-height: 120px; padding: 10px 12px; resize: vertical; }

.aio-sdk-input-container input[type="submit"],
.ld-form input[type="submit"] {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
}

.ld-sec { padding: 56px 0; }
.ld-sec--ink {
  background: var(--ld-ink);
  color: #f4efe4;
}
.ld-sec--ink .ld-muted,
.ld-sec--ink p { color: #c9d0dc; }

.ld-sec h2 {
  margin: 0 0 12px;
  font-family: var(--ld-serif);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 650;
}

.ld-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.ld-path article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 8px;
  padding: 22px 20px;
  background: #fffdf8;
  border: 1px solid var(--ld-line);
  border-top: 3px solid var(--ld-gold);
}

.ld-path b {
  font-family: var(--ld-serif);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ld-gold-2);
  padding: 0;
}

.ld-path div { padding: 0; min-width: 0; }
.ld-path h3 { margin: 0 0 6px; font-family: var(--ld-serif); }
.ld-path p { margin: 0; color: var(--ld-muted); }
.ld-path .ld-btn {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 6px;
}

.ld-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid rgba(196, 163, 90, 0.35);
}

.ld-band article {
  padding: 22px 18px;
  border-right: 1px solid rgba(196, 163, 90, 0.25);
}
.ld-band article:last-child { border-right: 0; }
.ld-band strong {
  display: block;
  font-family: var(--ld-serif);
  font-size: 2.4rem;
  line-height: 1;
}
.ld-band small { color: #c4a35a; }
.ld-band span { display: block; margin-top: 8px; color: #c9d0dc; }

.ld-manifest {
  display: grid;
  gap: 0;
  margin-top: 24px;
}

.ld-manifest article {
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--ld-line);
}

.ld-manifest h3 { margin: 0 0 6px; font-family: var(--ld-serif); }
.ld-manifest p { margin: 0; color: var(--ld-muted); }
.ld-manifest b {
  font-family: var(--ld-serif);
  font-size: 1.8rem;
  color: var(--ld-gold-2);
}

.ld-book {
  margin-top: 24px;
  background: #fffdf8;
  border: 1px solid var(--ld-line);
}

.ld-book table {
  width: 100%;
  border-collapse: collapse;
}

.ld-book th,
.ld-book td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--ld-line);
}

.ld-book th {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ld-muted);
  background: #f7f1e4;
}

.ld-book td:nth-child(2) { color: #1f7a4d; font-weight: 700; }

.ld-quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}

.ld-quote {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.ld-quote__photo {
  width: 160px;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: var(--ld-paper-2);
  flex-shrink: 0;
}

.ld-quote__photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(0.35);
}

.ld-quote p {
  margin: 0 0 12px;
  font-family: var(--ld-serif);
  font-size: 1.15rem;
  font-style: italic;
}

.ld-quote h3 { margin: 0; font-size: 1rem; }
.ld-quote small { color: var(--ld-muted); }

.seo-reviews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.seo-review {
  padding: 18px 18px 20px;
  background: #fffdf8;
  border: 1px solid var(--ld-line);
}

.ld-revhead {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.ld-revhead img,
.ld-avatar {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  background: var(--ld-paper-2);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.ld-revhead h3 { margin: 0; font-size: 1rem; }
.ld-revhead b { color: var(--ld-gold-2); font-size: 0.85rem; }

.seo-review__rating { color: var(--ld-gold-2); letter-spacing: 2px; margin-bottom: 8px; }
.seo-review__body { margin: 0; color: var(--ld-muted); }

.seo-faq {
  margin: 24px 0 0;
}

.seo-faq__item {
  border-bottom: 1px solid var(--ld-line);
  padding: 4px 0;
}

.seo-faq__question {
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
  font-weight: 600;
}

.seo-faq__question::-webkit-details-marker { display: none; }

.seo-faq__answer {
  max-height: 220px;
  overflow: auto;
  color: var(--ld-muted);
  padding-bottom: 14px;
}
.seo-faq__answer p { margin: 0; }

#form-main { padding: 56px 0 28px; }

.ld-join {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
  gap: 40px;
  align-items: start;
}

.ld-join__facts {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  max-width: 36ch;
}
.ld-join__facts li {
  padding: 10px 0;
  border-top: 1px solid var(--ld-line);
  color: var(--ld-muted);
}
.ld-join__facts b { color: var(--ld-ink); }

.ld-foot {
  padding: 36px 0 28px;
  background: #0c1528;
  color: #c9d0dc;
}

.ld-foot__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(196, 163, 90, 0.2);
}

.ld-foot h3 {
  margin: 0 0 10px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ld-gold);
}

.ld-foot p,
.ld-foot a { color: #c9d0dc; font-size: 0.92rem; }
.ld-foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }

.ld-foot__copy {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 16px;
  margin: 0;
  font-size: 0.82rem;
  color: #8b95a8;
}

.ld-page { padding: 0 0 64px; }
.ld-page h1 {
  margin: 0 0 12px;
  font-family: var(--ld-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 650;
  line-height: 1.1;
}
.ld-mast {
  background: var(--ld-ink);
  color: #f4efe4;
  padding: 28px 0 32px;
  margin-bottom: 28px;
}
.ld-mast .ld-kicker { color: var(--ld-gold); }
.ld-mast h1 { color: #f4efe4; }
.ld-mast p { margin: 0; color: #c9d0dc; max-width: 70ch; }
.ld-mast a { color: var(--ld-gold); }
.ld-mast .ld-crumbs,
.ld-mast .ld-crumbs a { color: #9aa4b8; }

.ld-letter .aio-sdk-input,
.ld-letter input:not([type="submit"]),
.ld-letter textarea {
  background: #fff;
  color: var(--ld-ink);
  border-color: #cfc6b4;
}

.ld-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  border: 1px solid var(--ld-line);
  background: #fffdf8;
}
.ld-index li { border-right: 1px solid var(--ld-line); border-bottom: 1px solid var(--ld-line); }
.ld-index li:nth-child(3n) { border-right: 0; }
.ld-index a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 14px;
  color: var(--ld-ink);
  font-size: 0.92rem;
}
.ld-index a span {
  font-family: var(--ld-serif);
  color: var(--ld-gold-2);
  min-width: 1.6em;
}
.ld-index a:hover { background: var(--ld-paper-2); }

.ld-index--2 {
  grid-template-columns: 1fr 1fr;
}
.ld-index--2 li:nth-child(3n) { border-right: 1px solid var(--ld-line); }
.ld-index--2 li:nth-child(2n) { border-right: 0; }

.ld-clause {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 20px 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--ld-line);
}
.ld-clause > b {
  font-family: var(--ld-serif);
  font-size: 2rem;
  line-height: 1;
  color: var(--ld-gold-2);
}
.ld-clause h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  scroll-margin-top: 92px;
}
.ld-clause p { margin: 0 0 10px; color: var(--ld-muted); }
.ld-clause p:last-child { margin-bottom: 0; }
.ld-clause table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 14px;
  font-size: 0.9rem;
  background: #fffdf8;
}
.ld-clause td { border: 1px solid var(--ld-line); padding: 8px 10px; }
.ld-lead { max-width: 62ch; color: var(--ld-muted); }
.ld-split {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 28px;
  align-items: start;
  margin-top: 24px;
}
.ld-about--rev { direction: rtl; }
.ld-about--rev > * { direction: ltr; }
.ld-minutes {
  display: grid;
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid var(--ld-line);
}
.ld-minutes article {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px;
  padding: 28px 0;
  border-bottom: 1px solid var(--ld-line);
}
.ld-minutes b {
  font-family: var(--ld-serif);
  font-size: 1.5rem;
  color: var(--ld-gold-2);
}
.ld-minutes h2 { margin: 0 0 10px; font-size: 1.35rem; }
.ld-minutes p { color: var(--ld-muted); }
.ld-minutes figure {
  grid-column: 1 / -1;
  margin: 8px 0 0;
}
.ld-minutes img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.ld-crumbs {
  display: flex;
  gap: 8px;
  color: var(--ld-muted);
  font-size: 0.85rem;
  margin-bottom: 16px;
}
.ld-crumbs a { color: var(--ld-muted); }

.ld-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 28px 0;
  align-items: center;
}

.ld-shot {
  background: #fff;
  border: 1px solid var(--ld-line);
}
.ld-shot img { width: 100%; height: 320px; object-fit: cover; }
.ld-shot figcaption {
  padding: 10px 14px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ld-muted);
}

.ld-letter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  padding: 24px;
  background: #fffdf8;
  border: 1px solid var(--ld-line);
  margin-top: 8px;
}
.ld-letter .ld-field { margin-bottom: 0; }
.ld-letter .ld-span { grid-column: 1 / -1; }

.ld-map {
  width: 100%;
  min-height: 360px;
  border: 0;
  margin-top: 24px;
  filter: grayscale(0.5);
}

.ld-facts {
  display: grid;
  gap: 0;
  margin-top: 8px;
}
.ld-facts div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ld-line);
}
.ld-facts dt { color: var(--ld-muted); font-size: 0.8rem; }
.ld-facts dd { margin: 0; }

.ld-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(18, 32, 58, 0.55);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ld-popup__box {
  width: min(460px, 100%);
  background: #fff;
  border: 1px solid var(--ld-line);
  padding: 22px;
}

@media (max-width: 1080px) {
  .ld-hero {
    grid-template-columns: 1fr;
    grid-template-areas: "form" "copy";
  }
  .ld-join,
  .ld-foot__grid,
  .ld-about,
  .ld-quote,
  .ld-quotes,
  .ld-manifest article,
  .ld-band,
  .ld-split,
  .ld-minutes article,
  .ld-letter {
    grid-template-columns: 1fr;
  }
  .ld-index {
    grid-template-columns: 1fr 1fr;
  }
  .ld-index li:nth-child(3n) { border-right: 1px solid var(--ld-line); }
  .ld-index li:nth-child(2n) { border-right: 0; }
  .ld-nav__links { display: none; }
  .ld-nav__burger { display: inline-block; }
  .ld-band article { border-right: 0; border-bottom: 1px solid rgba(196, 163, 90, 0.25); }
}

@media (max-width: 760px) {
  .ld-path,
  .seo-reviews,
  .ld-index:not(.ld-index--2),
  .ld-clause {
    grid-template-columns: 1fr;
  }
  .ld-index li,
  .ld-index li:nth-child(3n) { border-right: 0; }
  .ld-index--2 li:nth-child(2n) { border-right: 0; }
  .ld-index--2 li:nth-child(odd) { border-right: 1px solid var(--ld-line); }
  .ld-path .ld-btn { grid-column: 1 / -1; }
  .ld-quote__photo {
    width: min(220px, 100%);
    aspect-ratio: 4 / 5;
  }
  .ld-shot img { height: 220px; }
  .ld-book th:nth-child(3),
  .ld-book td:nth-child(3) { display: none; }
}
