:root {
  --editorial-navy: #1f3340;
  --editorial-slate: #2a4658;
  --editorial-gold: #d9c89e;
  --editorial-accent: #7a5f30;
  --editorial-paper: #f7f5f0;
  --editorial-surface: #fffdf8;
  --editorial-line: #e6e2d8;
  --editorial-ink: #233944;
  --editorial-muted: #586266;
}

html { scroll-behavior: smooth; }

body.editorial-site {
  margin: 0;
  overflow-x: hidden;
  background: var(--editorial-paper);
  color: var(--editorial-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

body.editorial-site a { color: inherit; }

.editorial-topline {
  padding: 0.62rem clamp(1.25rem, 5vw, 4.875rem);
  background: var(--editorial-navy);
  color: var(--editorial-gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.editorial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem clamp(1.25rem, 5vw, 4.875rem);
  background: var(--editorial-surface);
  color: var(--editorial-ink);
  border-bottom: 1px solid var(--editorial-line);
}

.editorial-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 17rem;
  text-decoration: none;
}

.editorial-brand img {
  display: block;
  width: 3rem;
  height: 3rem;
}

.editorial-brand-name {
  display: block;
  font: 700 1.3rem/1.05 Georgia, "Times New Roman", serif;
}

.editorial-brand-tagline {
  display: block;
  margin-top: 0.28rem;
  color: var(--editorial-accent);
  font: italic 0.9rem Georgia, "Times New Roman", serif;
}

.editorial-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.85rem, 1.8vw, 1.55rem);
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.editorial-nav a { margin: 0; text-decoration: none; }
.editorial-nav a:hover { color: var(--editorial-accent); text-decoration: none; }

.editorial-nav .editorial-nav-cta {
  padding: 0.78rem 1.08rem;
  border-radius: 3px;
  background: var(--editorial-gold);
  color: var(--editorial-navy);
  white-space: nowrap;
}

.editorial-nav .editorial-nav-cta:hover { background: #cdbb8d; color: var(--editorial-navy); }
.editorial-login { color: var(--editorial-accent); font-size: 0.88rem; white-space: nowrap; }
.editorial-mobile-menu { display: none; }

.editorial-main section {
  max-width: none;
  margin: 0;
  padding: 0;
}

.editorial-shell {
  width: min(calc(100% - clamp(2.5rem, 10vw, 9.75rem)), 82.5rem);
  margin-inline: auto;
}

.editorial-main .editorial-shell { margin-inline: auto; }

.editorial-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(31rem, 1.12fr);
  align-items: center;
  gap: clamp(2.25rem, 6vw, 5.625rem);
  padding-block: clamp(3.2rem, 6vw, 5.2rem);
}

.editorial-eyebrow {
  color: var(--editorial-accent);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.editorial-hero h1 {
  max-width: 39rem;
  margin: 1.05rem 0 1.3rem;
  color: var(--editorial-navy);
  font: 700 clamp(3.2rem, 5.5vw, 5rem)/0.98 Georgia, "Times New Roman", serif;
  letter-spacing: -0.035em;
  text-align: left;
}

.editorial-hero-copy {
  max-width: 35.5rem;
  margin: 0;
  color: #48565b;
  font-size: 1.1rem;
  line-height: 1.72;
}

.editorial-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.75rem;
}

.editorial-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.15rem;
  border-radius: 3px;
  background: var(--editorial-gold);
  color: var(--editorial-navy);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.editorial-button:hover {
  background: #cdbb8d;
  box-shadow: 0 5px 14px rgba(31, 51, 64, 0.16);
  transform: translateY(-1px);
}

.editorial-text-link {
  color: var(--editorial-accent);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid var(--editorial-gold);
}

.editorial-text-link:hover { border-bottom-color: var(--editorial-accent); }

.editorial-hero-note {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.8rem;
  color: #5f6664;
  font-size: 0.88rem;
}

.editorial-hero-note::before {
  width: 1.8rem;
  height: 1px;
  background: var(--editorial-gold);
  content: "";
}

.editorial-hub-card {
  position: relative;
  min-width: 0;
  padding: 1.1rem 1.1rem 1.25rem;
  background: var(--editorial-navy);
  border: 1px solid var(--editorial-slate);
  box-shadow: 1.1rem 1.1rem 0 rgba(217, 200, 158, 0.42);
}

.editorial-hub-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 4.6rem;
  height: 4px;
  background: var(--editorial-gold);
  content: "";
}

.editorial-hub-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.15rem 0.15rem 0.85rem;
  color: var(--editorial-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.editorial-hub-meta span:last-child { color: #cbd4d5; font-size: 0.72rem; letter-spacing: 0.07em; text-align: right; }

.editorial-hub-card > img {
  display: block;
  width: 100%;
  height: auto;
  background: #eaf0f4;
}

.editorial-hub-caption {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem 0.2rem 0;
  color: #f6f2e9;
}

.editorial-hub-caption img {
  display: block;
  flex: 0 0 1.9rem;
  width: 1.9rem;
  height: 1.9rem;
}

.editorial-hub-caption strong {
  display: block;
  font: 700 1.24rem/1.15 Georgia, "Times New Roman", serif;
}

.editorial-hub-caption small {
  display: block;
  margin-top: 0.28rem;
  color: #ccd5d6;
  font-size: 0.85rem;
  line-height: 1.45;
}

.editorial-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: clamp(4rem, 7vw, 6rem);
  border-top: 1px solid var(--editorial-line);
  border-bottom: 1px solid var(--editorial-line);
}

.editorial-process-item {
  display: flex;
  gap: 0.9rem;
  padding: 1.35rem 1.5rem 1.35rem 0;
}

.editorial-process-item + .editorial-process-item {
  padding-left: 1.5rem;
  border-left: 1px solid var(--editorial-line);
}

.editorial-process-num { color: var(--editorial-accent); font: italic 1.45rem Georgia, serif; }
.editorial-process h2 { margin: 0 0 0.2rem; color: var(--editorial-navy); font: 700 1.15rem Georgia, serif; text-align: left; }
.editorial-process p { margin: 0; color: var(--editorial-muted); font-size: 0.9rem; line-height: 1.5; }

.editorial-section { padding-block: clamp(4rem, 7vw, 6rem) !important; }
.editorial-section-soft { background: var(--editorial-surface); border-block: 1px solid var(--editorial-line); }
.editorial-section-navy { background: var(--editorial-navy); color: #f6f2e9; }

.editorial-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(18rem, 0.35fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.editorial-kicker { color: var(--editorial-accent); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }

.editorial-section h2 {
  max-width: 46rem;
  margin: 0.7rem 0 0;
  color: var(--editorial-navy);
  font: 700 clamp(2.35rem, 4.5vw, 4.2rem)/1.02 Georgia, "Times New Roman", serif;
  letter-spacing: -0.025em;
  text-align: left;
}

.editorial-section-heading > p { margin: 0; color: var(--editorial-muted); font-size: 1.05rem; }

.editorial-moments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--editorial-line);
}

.editorial-moment { padding: 1.6rem 1.4rem 0.2rem 0; }
.editorial-moment + .editorial-moment { padding-left: 1.4rem; border-left: 1px solid var(--editorial-line); }
.editorial-moment h3 { margin: 0 0 0.55rem; color: var(--editorial-navy); font: 700 1.15rem Georgia, serif; }
.editorial-moment p { margin: 0; color: var(--editorial-muted); font-size: 0.95rem; }

.editorial-audit-grid,
.editorial-steward-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(26rem, 1.1fr);
  gap: clamp(3rem, 7vw, 6.5rem);
  align-items: center;
}

.editorial-audit-panel {
  padding: clamp(2rem, 4vw, 3.25rem);
  background: var(--editorial-navy);
  color: #f6f2e9;
  box-shadow: 0.9rem 0.9rem 0 rgba(217, 200, 158, 0.42);
}

.editorial-audit-price { color: var(--editorial-gold); font: italic 1rem Georgia, serif; }
.editorial-audit-panel h2 { margin: 0.7rem 0 1rem; color: #fffdf8; font-size: clamp(2.3rem, 4vw, 3.7rem); }
.editorial-audit-panel p { color: #d7dfdf; }

.editorial-list { display: grid; gap: 1.05rem; margin: 0; padding: 0; list-style: none; }
.editorial-list li { position: relative; padding-left: 2rem; color: var(--editorial-muted); }
.editorial-list li::before { position: absolute; left: 0; top: 0.1rem; color: var(--editorial-accent); font: italic 1.15rem Georgia, serif; content: "01"; }
.editorial-list li:nth-child(2)::before { content: "02"; }
.editorial-list li:nth-child(3)::before { content: "03"; }
.editorial-list strong { display: block; margin-bottom: 0.2rem; color: var(--editorial-navy); font: 700 1.05rem Georgia, serif; }

.editorial-section-navy .editorial-kicker { color: var(--editorial-gold); }
.editorial-section-navy h2 { color: #fffdf8; }
.editorial-section-navy .editorial-section-heading > p { color: #c8d0d0; }

.editorial-hub-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #41545e;
  border: 1px solid #41545e;
}

.editorial-hub-principle { padding: 1.5rem; background: var(--editorial-navy); }
.editorial-hub-principle h3 { margin: 0 0 0.5rem; color: var(--editorial-gold); font: 700 1.08rem Georgia, serif; }
.editorial-hub-principle p { margin: 0; color: #ccd5d6; font-size: 0.95rem; }
.editorial-section-navy .editorial-text-link { display: inline-block; margin-top: 1.8rem; color: var(--editorial-gold); }

.editorial-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--editorial-line);
  background: var(--editorial-line);
  gap: 1px;
}

.editorial-plan { display: flex; flex-direction: column; min-height: 18rem; padding: 1.7rem; background: var(--editorial-surface); }
.editorial-plan-featured { background: #f1ead8; }
.editorial-plan-label { color: var(--editorial-accent); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.editorial-plan h3 { margin: 0.55rem 0 0.7rem; color: var(--editorial-navy); font: 700 1.35rem Georgia, serif; }
.editorial-plan p { margin: 0 0 1.4rem; color: var(--editorial-muted); font-size: 0.97rem; }
.editorial-plan .editorial-text-link { margin-top: auto; align-self: flex-start; }

.editorial-steward-copy p { color: var(--editorial-muted); font-size: 1rem; }
.editorial-credential {
  margin-top: 1.5rem;
  padding: 1.2rem 1.4rem;
  border-left: 3px solid var(--editorial-accent);
  background: var(--editorial-surface);
  color: #4e595b;
  font: italic 1.02rem Georgia, serif;
}

.editorial-promise {
  padding: clamp(2rem, 4vw, 3.2rem);
  border-top: 4px solid var(--editorial-gold);
  background: var(--editorial-surface);
  box-shadow: 0 10px 30px rgba(31, 51, 64, 0.08);
}

.editorial-promise blockquote { margin: 0; color: var(--editorial-navy); font: 700 clamp(1.65rem, 3vw, 2.5rem)/1.22 Georgia, serif; }
.editorial-promise p { margin: 1.2rem 0 0; color: var(--editorial-muted); }

.editorial-closing { padding-block: clamp(4rem, 7vw, 6rem) !important; text-align: center; }
.editorial-closing h2 { max-width: 49rem; margin: 0 auto 1rem; color: var(--editorial-navy); font: 700 clamp(2.4rem, 5vw, 4.4rem)/1.02 Georgia, serif; text-align: center; }
.editorial-closing p { max-width: 43rem; margin: 0 auto 1.8rem; color: var(--editorial-muted); font-size: 1rem; }
.editorial-closing .editorial-actions { justify-content: center; }

.editorial-footer {
  padding: 2.8rem clamp(1.25rem, 5vw, 4.875rem);
  background: var(--editorial-navy);
  color: #f7f5f0;
  text-align: left;
}

.editorial-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  width: min(100%, 82.5rem);
  margin-inline: auto;
}

.editorial-footer-brand { font: 700 1.35rem Georgia, serif; }
.editorial-footer-contact { margin: 0.55rem 0 0; color: #ccd5d6; font-size: 0.95rem; }
.editorial-footer a { margin: 0; color: var(--editorial-gold); }
.editorial-footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.55rem 1rem; align-content: start; font-size: 0.92rem; }
.editorial-footer .legal { grid-column: 1 / -1; margin: 1.2rem 0 0; padding-top: 1.2rem; border-top: 1px solid #40515a; color: #c3cccd; font-size: 0.85rem; }
.editorial-footer .legal-disclosure { grid-column: 1 / -1; max-width: 65rem; margin: 0; color: #d8d4c7; font-size: 0.85rem; }

/* `a { color: inherit }` above out-specifies the component rules below, which
   made the gold CTA render cream-on-gold (1.5:1) inside navy panels and stripped
   the brass colour from inline text links. Match that specificity explicitly. */
body.editorial-site a.editorial-button { color: var(--editorial-navy); }
body.editorial-site a.editorial-text-link { color: var(--editorial-accent); }
body.editorial-site .editorial-section-navy a.editorial-text-link,
body.editorial-site .editorial-audit-panel a.editorial-text-link { color: var(--editorial-gold); }
body.editorial-site .editorial-footer a { color: var(--editorial-gold); }

body.editorial-site a:focus-visible,
body.editorial-site summary:focus-visible {
  outline: 2px solid var(--editorial-accent);
  outline-offset: 3px;
}

.editorial-section-navy a:focus-visible,
.editorial-footer a:focus-visible { outline-color: var(--editorial-gold); }

@media (max-width: 1050px) {
  .editorial-nav > a:not(.editorial-nav-cta) { display: none; }
  .editorial-login { display: none; }
  .editorial-mobile-menu { display: block; position: relative; }
  .editorial-mobile-menu summary { color: var(--editorial-accent); cursor: pointer; font-size: 1rem; font-weight: 800; list-style: none; padding: 0.5rem 0.25rem; }
  .editorial-mobile-menu summary::-webkit-details-marker { display: none; }
  .editorial-mobile-menu nav {
    position: absolute;
    z-index: 10;
    top: calc(100% + 1rem);
    right: 0;
    display: grid;
    width: min(18rem, calc(100vw - 2.5rem));
    padding: 1rem;
    border: 1px solid var(--editorial-line);
    background: var(--editorial-surface);
    box-shadow: 0 12px 30px rgba(31, 51, 64, 0.16);
  }
  .editorial-mobile-menu nav a { padding: 0.72rem 0; color: var(--editorial-ink); font-size: 1.02rem; font-weight: 600; }
  .editorial-mobile-menu nav a + a { border-top: 1px solid var(--editorial-line); }
  .editorial-hero { grid-template-columns: 1fr; max-width: 48rem; }
  .editorial-moments-grid { grid-template-columns: repeat(2, 1fr); }
  .editorial-moment:nth-child(3) { padding-left: 0; border-left: 0; }
  .editorial-moment:nth-child(n + 3) { border-top: 1px solid var(--editorial-line); }
  .editorial-audit-grid, .editorial-steward-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .editorial-topline { padding: 0.55rem 1.25rem; font-size: 0.78rem; line-height: 1.5; letter-spacing: 0.1em; }
  .editorial-header { gap: 0.8rem; padding: 1rem 1.25rem; }
  .editorial-brand { min-width: 0; gap: 0.62rem; }
  .editorial-brand img { width: 2.65rem; height: 2.65rem; }
  .editorial-brand-name { font-size: 1.05rem; }
  .editorial-brand-tagline { font-size: 0.82rem; }
  .editorial-nav { gap: 0.7rem; }
  .editorial-nav .editorial-nav-cta { display: none; }
  .editorial-shell { width: calc(100% - 2.5rem); }
  .editorial-hero { gap: 2.35rem; padding-block: 2.7rem 3.8rem; }
  .editorial-hero h1 { margin-top: 0.8rem; font-size: clamp(3rem, 14vw, 4.2rem); }
  .editorial-hero-copy { font-size: 1rem; line-height: 1.6; }
  .editorial-actions { align-items: stretch; flex-direction: column; gap: 0.8rem; }
  .editorial-button { width: 100%; white-space: normal; }
  .editorial-text-link { align-self: flex-start; }
  .editorial-hub-card { padding: 0.75rem 0.75rem 0.9rem; box-shadow: 0.6rem 0.6rem 0 rgba(217, 200, 158, 0.42); }
  .editorial-hub-meta { font-size: 0.76rem; letter-spacing: 0.05em; }
  .editorial-hub-meta span:last-child { font-size: 0.72rem; }
  .editorial-hub-caption strong { font-size: 1.05rem; }
  .editorial-hub-caption small { font-size: 0.82rem; }
  .editorial-process { grid-template-columns: 1fr; }
  .editorial-process-item,
  .editorial-process-item + .editorial-process-item { padding: 1rem 0; border-left: 0; }
  .editorial-process-item + .editorial-process-item { border-top: 1px solid var(--editorial-line); }
  .editorial-section-heading { grid-template-columns: 1fr; gap: 1rem; }
  .editorial-section h2 { font-size: clamp(2.3rem, 12vw, 3.2rem); }
  .editorial-moments-grid,
  .editorial-hub-principles,
  .editorial-plan-grid { grid-template-columns: 1fr; }
  .editorial-moment,
  .editorial-moment + .editorial-moment { padding: 1.3rem 0; border-left: 0; }
  .editorial-moment + .editorial-moment { border-top: 1px solid var(--editorial-line); }
  .editorial-audit-grid { gap: 2.8rem; }
  .editorial-plan { min-height: 0; }
  .editorial-footer-grid { grid-template-columns: 1fr; }
  .editorial-footer-links { justify-content: flex-start; }
  .editorial-footer .legal,
  .editorial-footer .legal-disclosure { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .editorial-button { transition: none; }
}
