/* Lion Crest Solutions — shared styles */

:root {
  --ink:        #14213D;
  --ink-soft:   #46557A;
  --ink-mute:   #6B7897;
  --paper:      #FBF9F4;
  --paper-2:    #F3EFE6;
  --brass:      #B08D31;
  --brass-pale: #E9DEC2;
  --line:       #DFD8C8;
  --white:      #FFFFFF;
  --alert:      #8C3A1E;

  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1080px;
  --narrow: 660px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--narrow); }

/* ---------- Type ---------- */

h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; margin: 0; }

h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); line-height: 1.12; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); line-height: 1.2; }
h3 { font-size: 1.18rem; line-height: 1.35; }

h1 em, h2 em { font-style: italic; color: var(--brass); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 14px;
}

.lede { font-size: 1.12rem; color: var(--ink-soft); }

/* ---------- Header ---------- */

.masthead {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 50;
}

.masthead .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.brand span {
  font-family: var(--display);
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 4px 0;
  border-bottom: 1.5px solid transparent;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--brass); }

@media (max-width: 800px) { .nav { display: none; } }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--body);
  font-size: 0.97rem;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 26px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  transition: background 0.15s ease, color 0.15s ease;
  cursor: pointer;
}
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: #0C1730; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---------- Sections ---------- */

.band { padding: 84px 0; border-top: 1px solid var(--line); }
.band-alt { background: var(--paper-2); }
.band-ink { background: var(--ink); color: var(--paper); border-top: none; }
.band-ink h2, .band-ink h3 { color: var(--paper); }
.band-ink .lede { color: #C6CEE0; }
.band-ink .eyebrow { color: var(--brass-pale); }

.section-head { max-width: 640px; margin-bottom: 52px; }

/* ---------- Hero ---------- */

.hero { padding: 88px 0 76px; }
.hero h1 { max-width: 15ch; }
.hero .lede { max-width: 56ch; margin-top: 24px; font-size: 1.16rem; }

.assurances {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 60px;
}
.assurance { background: var(--paper); padding: 22px 20px; }
.assurance strong {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 5px;
}
.assurance span { font-size: 0.89rem; color: var(--ink-mute); line-height: 1.5; }

@media (max-width: 760px) {
  .assurances { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Timeline (signature) ---------- */

.timeline { margin-top: 44px; padding-left: 4px; }

.tl-item {
  position: relative;
  padding: 0 0 26px 40px;
  border-left: 2px solid rgba(233, 222, 194, 0.32);
}
.tl-item:last-child { border-left-color: transparent; padding-bottom: 0; }

.tl-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--brass-pale);
}

.tl-num {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--brass-pale);
  display: block;
  margin-bottom: 2px;
}
.tl-label { font-family: var(--display); font-size: 1.06rem; font-weight: 500; }
.tl-note { font-size: 0.9rem; color: #B6C0D6; margin-top: 3px; }

.tl-item.is-pivot::before { background: var(--brass); border-color: var(--brass); width: 16px; height: 16px; left: -9px; }
.tl-item.is-pivot .tl-label { color: var(--brass-pale); }

.tl-flag {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--brass-pale);
  padding: 5px 11px;
  border-radius: 2px;
}

.tl-caption {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(233, 222, 194, 0.24);
  font-size: 1rem;
  color: #C6CEE0;
  max-width: 54ch;
}

/* ---------- Options ---------- */

.options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 820px) { .options { grid-template-columns: 1fr; } }

.option { background: var(--paper); padding: 34px 30px; }
.option-mine { background: var(--white); box-shadow: inset 3px 0 0 var(--brass); }

.option-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: block;
  margin-bottom: 10px;
}
.option-mine .option-tag { color: var(--brass); }

.option h3 { margin-bottom: 10px; }
.option p { font-size: 0.97rem; color: var(--ink-soft); }

.option-who {
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink);
}
.option-who strong { font-weight: 600; }

/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
@media (max-width: 880px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.step { border-top: 2px solid var(--brass); padding-top: 18px; }
.step .step-n {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--brass);
  display: block;
  margin-bottom: 8px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.94rem; color: var(--ink-soft); }

/* ---------- About ---------- */

.about-grid { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
@media (max-width: 840px) { .about-grid { grid-template-columns: 1fr; gap: 34px; } }

.portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper-2);
}
.portrait-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  font-size: 0.88rem;
  color: var(--ink-mute);
  line-height: 1.5;
}

.points { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 16px; }
.points li { padding-left: 20px; position: relative; font-size: 0.98rem; color: var(--ink-soft); }
.points li::before { content: ""; position: absolute; left: 0; top: 11px; width: 9px; height: 2px; background: var(--brass); }
.points strong { color: var(--ink); font-weight: 600; }

/* ---------- Form ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 34px 32px;
}
@media (max-width: 520px) { .form-card { padding: 26px 20px; } }

.field { margin-bottom: 19px; }
.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 2px;
  padding: 12px 13px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brass);
  background: var(--white);
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

.consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin: 24px 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.consent input { margin-top: 3px; flex-shrink: 0; width: 17px; height: 17px; accent-color: var(--ink); }

.form-card .btn { width: 100%; text-align: center; }

.or-call {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.or-call a { font-weight: 600; color: var(--ink); }

.tel-big {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin: 6px 0 4px;
  border-bottom: 2px solid var(--brass);
}

/* ---------- Footer ---------- */

.disclosure {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding: 54px 0;
}
.disclosure h4 {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 16px;
}
.disclosure p { font-size: 0.85rem; line-height: 1.62; color: var(--ink-soft); max-width: 80ch; }

.colophon { border-top: 1px solid var(--line); padding: 30px 0 44px; }
.colophon .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
.colophon p { font-size: 0.85rem; color: var(--ink-mute); }
.colophon nav { display: flex; gap: 22px; flex-wrap: wrap; }
.colophon nav a { font-size: 0.85rem; color: var(--ink-soft); text-decoration: none; }
.colophon nav a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Legal pages ---------- */

.legal { padding: 66px 0 84px; }
.legal h2 { margin: 40px 0 14px; font-size: 1.4rem; }
.legal h1 + p { color: var(--ink-mute); font-size: 0.92rem; }
.legal p, .legal li { color: var(--ink-soft); font-size: 1rem; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }

/* ---------- Accessibility ---------- */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  z-index: 100;
  text-decoration: none;
}
.skip:focus { left: 8px; top: 8px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
