/* Reinhold Capital: engraved certificate. Bodoni Moda for large display only, Karla for everything else. */
:root {
  --paper: #F1F4F3;
  --sheet: #FAFCFB;
  --ink: #102A2B;
  --ink-soft: #3D5756;
  --teal: #1F6F6B;
  --teal-deep: #175753;
  --on-teal: #FAFCFB;
  --teal-wash: #E2ECEA;
  --seal: #A3262A;
  --minus: #A3262A;
  --rule: #C9D6D3;
  --rule-firm: #8FA6A3;
  --field: #FFFFFF;
  --shadow: 0 1px 2px rgba(16, 42, 43, .06), 0 8px 24px -12px rgba(16, 42, 43, .18);
  --shadow-up: 0 2px 4px rgba(16, 42, 43, .08), 0 14px 30px -14px rgba(16, 42, 43, .28);
  --band: url("/assets/band-light.svg");
  --display: 'Bodoni Moda', Didot, 'Bodoni 72', Georgia, serif;
  --text: 'Karla', 'Helvetica Neue', Arial, sans-serif;
  --gutter: 16px;
  --radius: 18px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0C1C1D;
    --sheet: #122728;
    --ink: #E3EEEC;
    --ink-soft: #A8C0BC;
    --teal: #6CC7BD;
    --teal-deep: #8AD5CC;
    --on-teal: #0A1A1B;
    --teal-wash: #15302F;
    --seal: #A3262A;
    --minus: #F2897F;
    --rule: #26423F;
    --rule-firm: #4D6D69;
    --field: #0E2122;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
    --shadow-up: 0 2px 4px rgba(0, 0, 0, .35), 0 14px 30px -14px rgba(0, 0, 0, .7);
    --band: url("/assets/band-dark.svg");
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0C1C1D;
  --sheet: #122728;
  --ink: #E3EEEC;
  --ink-soft: #A8C0BC;
  --teal: #6CC7BD;
  --teal-deep: #8AD5CC;
  --on-teal: #0A1A1B;
  --teal-wash: #15302F;
  --seal: #A3262A;
  --minus: #F2897F;
  --rule: #26423F;
  --rule-firm: #4D6D69;
  --field: #0E2122;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
  --shadow-up: 0 2px 4px rgba(0, 0, 0, .35), 0 14px 30px -14px rgba(0, 0, 0, .7);
  --band: url("/assets/band-dark.svg");
  color-scheme: dark;
}

[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-deep); text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; color: var(--ink); }
h1, h2 { font-family: var(--display); font-weight: 500; font-optical-sizing: auto; letter-spacing: -.012em; line-height: 1.06; }
h3 { font-family: var(--text); font-weight: 700; font-size: 19px; line-height: 1.35; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--teal); color: var(--on-teal); }

.frame { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip-link:focus { top: 12px; color: var(--paper); }

/* Masthead */
.masthead { position: sticky; top: 0; z-index: 20; background: var(--sheet); border-bottom: 1px solid var(--rule); }
.masthead-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; white-space: nowrap; flex: 0 0 auto; }
.brand:hover { color: var(--ink); }
.brand .crest { color: var(--teal); width: 40px; height: 40px; flex: 0 0 40px; }
.brand-name { font-family: var(--display); font-size: 23px; font-weight: 600; letter-spacing: -.01em; line-height: 1; }
.primary-nav { display: none; gap: 4px; margin-left: auto; }
.primary-nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.primary-nav a:hover { background: var(--teal-wash); color: var(--ink); }
.masthead-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: 0 0 auto; }
.primary-nav + .masthead-tools { margin-left: 8px; }
@media (min-width: 1000px) { .primary-nav { display: flex; } }
@media (max-width: 999px) { .primary-nav + .masthead-tools { margin-left: auto; } }
.scheme-switch { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--rule-firm); background: transparent; color: var(--ink); display: inline-grid; place-items: center; cursor: pointer; padding: 0; flex: 0 0 auto; }
.scheme-switch:hover { background: var(--teal-wash); }
.scheme-switch svg { width: 20px; height: 20px; }
.icon-sun { display: none !important; }
:root[data-theme="dark"] .icon-sun { display: block !important; }
:root[data-theme="dark"] .icon-moon { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun { display: block !important; }
  :root:not([data-theme="light"]) .icon-moon { display: none !important; }
}
@media (max-width: 479px) { .masthead .btn-compact { display: none; } .brand-name { font-size: 21px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 11px 24px; border-radius: 999px;
  font-family: var(--text); font-size: 16px; font-weight: 700; line-height: 1.2; white-space: nowrap;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-up); text-decoration: none; }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.btn-solid { background: var(--teal); color: var(--on-teal); border-color: var(--teal); }
.btn-solid:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: var(--on-teal); }
.btn-line { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-line:hover { background: var(--teal-wash); color: var(--teal-deep); }
.btn-compact { min-height: 40px; padding: 8px 18px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--teal); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.text-btn:hover { color: var(--teal-deep); }

/* Hero plate */
.overture { padding: 28px 0 8px; }
@media (min-width: 720px) { .overture { padding: 48px 0 16px; } }
.plate {
  position: relative; overflow: hidden;
  background: var(--sheet); border: 1px solid var(--rule); border-radius: 6px;
  box-shadow: inset 0 0 0 6px var(--sheet), inset 0 0 0 7px var(--rule);
  padding: 36px 22px 28px;
  display: grid; gap: 28px;
}
@media (min-width: 720px) { .plate { padding: 56px 48px 48px; } }
@media (min-width: 1040px) { .plate { grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); align-items: center; gap: 40px; padding: 72px 64px 64px; min-height: 620px; } }
.plate h1 { font-size: clamp(40px, 7.2vw, 84px); max-width: 15ch; }
.lead { font-size: 19px; line-height: 1.6; color: var(--ink-soft); max-width: 56ch; margin: 24px 0 28px; }
@media (min-width: 720px) { .lead { font-size: 20px; } }
.assurances { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
@media (min-width: 560px) { .assurances { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.assurances li { padding-top: 10px; border-top: 2px solid var(--teal); }
.plate-art { margin: 0; display: grid; justify-items: center; gap: 18px; }
.rosette { width: min(100%, 300px); height: auto; aspect-ratio: 1; color: var(--teal); }
@media (min-width: 720px) { .rosette { width: min(100%, 420px); } }
@media (min-width: 1040px) { .rosette { width: min(100%, 500px); } }
@keyframes rc-engrave { to { stroke-dashoffset: 0; } }
.specimen { display: grid; gap: 4px; text-align: center; max-width: 40ch; font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.specimen-title { font-weight: 700; color: var(--ink); font-size: 14px; }
.specimen-range { font-family: var(--display); font-weight: 500; font-size: 28px; color: var(--ink); line-height: 1.2; margin-top: 6px; font-variant-numeric: lining-nums; }

/* Chapters */
.chapter { padding: 64px 0; }
@media (min-width: 720px) { .chapter { padding: 96px 0; } }
.chapter-tinted { background: var(--sheet); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.chapter-head { display: grid; gap: 14px; margin-bottom: 36px; }
.chapter-head h2 { font-size: clamp(34px, 4.6vw, 56px); }
.chapter-head p { margin: 0; color: var(--ink-soft); max-width: 60ch; font-size: 18px; }
@media (min-width: 1000px) { .chapter-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 48px; margin-bottom: 52px; } }

/* What we acquire: a ruled register */
.register { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--rule-firm); }
@media (min-width: 640px) { .register { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .register { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.register-entry { padding: 26px 0 24px; border-bottom: 1px solid var(--rule); }
@media (min-width: 640px) { .register-entry { padding: 30px 28px 28px; } .register-entry:nth-child(odd) { padding-left: 0; } }
@media (min-width: 640px) and (max-width: 999px) { .register-entry:nth-child(even) { border-left: 1px solid var(--rule); } }
@media (min-width: 1000px) {
  .register-entry:nth-child(odd) { padding-left: 28px; }
  .register-entry:nth-child(3n+1) { padding-left: 0; }
  .register-entry:not(:nth-child(3n+1)) { border-left: 1px solid var(--rule); }
}
.register-entry h3 { font-size: 21px; margin-bottom: 8px; }
.register-entry p { margin: 0; color: var(--ink-soft); }
.register-note { margin-top: 14px !important; font-size: 15px; font-style: italic; color: var(--teal) !important; }

/* Pricing */
.pricing-grid { display: grid; gap: 32px; }
@media (min-width: 1000px) { .pricing-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 48px; align-items: start; } }
.denomination { border: 1px solid var(--rule-firm); border-radius: var(--radius); padding: 28px 24px; background: var(--paper); box-shadow: inset 0 0 0 5px var(--paper), inset 0 0 0 6px var(--rule); }
@media (min-width: 720px) { .denomination { padding: 36px 36px; } }
.denomination-figure { font-family: var(--display); font-weight: 500; font-size: clamp(56px, 8vw, 88px); line-height: 1; margin: 0 0 14px; color: var(--teal); letter-spacing: -.02em; }
.denomination-text { color: var(--ink); font-size: 17px; margin-bottom: 24px; }
.adjustments { display: grid; gap: 32px; }
@media (min-width: 720px) { .adjustments { grid-template-columns: 1fr 1fr; gap: 36px; } }
.adjust-col h3 { padding-bottom: 12px; border-bottom: 1px solid var(--rule-firm); }
.adjust-list { list-style: none; margin: 0; padding: 0; }
.adjust-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 16px; line-height: 1.45; }
.adjust-list b { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.adjust-up b { color: var(--teal); }
.adjust-down b { color: var(--minus); }

/* Process: vertical rail with days on the left */
.rail { list-style: none; margin: 0; padding: 0; max-width: 980px; }
.rail-stop { position: relative; display: grid; grid-template-columns: 86px 28px minmax(0, 1fr); gap: 0 12px; padding-bottom: 36px; }
@media (min-width: 720px) { .rail-stop { grid-template-columns: 150px 36px minmax(0, 1fr); gap: 0 24px; padding-bottom: 44px; } }
.rail-stop::before { content: ""; position: absolute; top: 14px; bottom: -14px; left: calc(86px + 12px + 13.5px); width: 1px; background: var(--rule-firm); }
@media (min-width: 720px) { .rail-stop::before { left: calc(150px + 24px + 17.5px); } }
.rail-stop:last-child::before { display: none; }
.rail-stop::after { content: ""; grid-column: 2; grid-row: 1; justify-self: center; margin-top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--teal); box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 8px var(--teal); position: relative; }
.rail-day { grid-column: 1; grid-row: 1; margin: 0; text-align: right; font-weight: 700; font-size: 15px; color: var(--teal); line-height: 1.4; padding-top: 2px; font-variant-numeric: tabular-nums; }
@media (min-width: 720px) { .rail-day { font-size: 17px; } }
.rail-body { grid-column: 3; grid-row: 1; }
.rail-body h3 { font-size: 21px; margin-bottom: 6px; }
.rail-body p { margin: 0; color: var(--ink-soft); max-width: 60ch; }

/* Discretion clauses */
.clauses { display: grid; gap: 20px; }
@media (min-width: 840px) { .clauses { grid-template-columns: 1fr 1fr; gap: 28px; } }
.clause { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px 24px; }
@media (min-width: 720px) { .clause { padding: 36px; } }
.clause h3 { margin-bottom: 16px; }
.clause-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.clause-list li { position: relative; padding-left: 26px; }
.clause-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; border: 1.5px solid var(--teal); transform: rotate(45deg); }
.clause-withheld .clause-list li::before { width: 12px; height: 0; border: 0; border-top: 1.5px solid var(--ink-soft); transform: none; top: .8em; left: 0; }

/* Fit criteria */
.criteria { display: grid; border: 1px solid var(--rule-firm); border-radius: var(--radius); background: var(--sheet); }
@media (min-width: 840px) { .criteria { grid-template-columns: 1fr 1fr; } .criteria-not { border-left: 1px solid var(--rule); } }
@media (max-width: 839px) { .criteria-not { border-top: 1px solid var(--rule); } }
.criteria-side { padding: 28px 24px; }
@media (min-width: 720px) { .criteria-side { padding: 36px; } }
.criteria-side h3 { margin-bottom: 14px; }
.criteria-side ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--ink-soft); }
.criteria-side li::marker { color: var(--teal); }
.criteria-not li::marker { color: var(--ink-soft); }

/* FAQ: open question cards in two columns */
.qa-grid { display: grid; gap: 16px; }
@media (min-width: 800px) { .qa-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
.qa-card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; }
@media (min-width: 720px) { .qa-card { padding: 28px 30px; } }
.qa-card h3 { font-size: 19px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.qa-card p { margin: 0; color: var(--ink-soft); }

/* Forms */
.field { display: grid; gap: 6px; min-width: 0; margin-bottom: 18px; align-content: start; }
.field label, .field-label { font-weight: 700; font-size: 15px; color: var(--ink); line-height: 1.4; }
.optional, .hint { font-weight: 400; color: var(--ink-soft); font-size: 14px; }
.hint { display: block; margin-top: 2px; }
input[type="text"], input[type="email"], input[type="number"], select, textarea {
  width: 100%; min-width: 0; font: inherit; font-size: 16px; color: var(--ink); background: var(--field);
  border: 1px solid var(--rule-firm); border-radius: 10px; padding: 11px 14px; min-height: 48px; line-height: 1.4;
}
textarea { resize: vertical; min-height: 104px; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%); background-position: right 20px top 50%, right 14px top 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.field.is-wrong input, .field.is-wrong textarea, .field.is-wrong select { border-color: var(--minus); }
.field-msg { margin: 0; font-size: 14px; color: var(--minus); font-weight: 600; min-height: 0; }
.field-msg:empty { display: none; }
.pair { display: grid; gap: 0 18px; }
@media (min-width: 560px) {
  .pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto; }
  .pair > .field { grid-row: span 3; grid-template-rows: subgrid; gap: 6px; }
}
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent-box { border-top: 1px solid var(--rule); padding-top: 16px; margin: 6px 0 20px; font-size: 15px; color: var(--ink-soft); }
.consent-box p { margin-bottom: 12px; }
.tick { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); cursor: pointer; font-size: 16px; }
.tick input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal); flex: 0 0 20px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.form-status { margin: 0; font-size: 15px; font-weight: 600; color: var(--teal); }
.form-status:empty { display: none; }
.form-status.is-warn { color: var(--minus); }

/* Contact */
.correspondence { display: grid; gap: 32px; }
@media (min-width: 1000px) { .correspondence { grid-template-columns: minmax(0, 1.25fr) minmax(0, .95fr); gap: 48px; align-items: start; } }
.sheet-form { position: relative; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow); }
@media (min-width: 720px) { .sheet-form { padding: 36px; } }
.agent { display: grid; gap: 18px; align-content: start; }
.calling-card {
  position: relative; background: var(--sheet); color: var(--ink);
  border: 1px solid var(--rule-firm); border-radius: 8px; padding: 26px 24px 22px;
  box-shadow: inset 0 0 0 5px var(--sheet), inset 0 0 0 6px var(--rule), var(--shadow);
  background-image: repeating-linear-gradient(0deg, transparent 0 5px, color-mix(in srgb, var(--teal) 5%, transparent) 5px 6px);
}
@media (min-width: 720px) { .calling-card { padding: 32px 34px 28px; } }
.calling-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }
.calling-card-firm { font-weight: 700; font-size: 14px; color: var(--ink-soft); letter-spacing: .02em; }
.calling-card .crest { color: var(--teal); width: 40px; height: 40px; flex: 0 0 40px; }
.calling-card-name { font-family: var(--display); font-weight: 500; font-size: clamp(30px, 4vw, 38px); line-height: 1.05; margin: 0 0 6px; }
.calling-card-role { margin: 0; color: var(--ink-soft); font-size: 16px; }
.calling-card-rule { height: 1px; background: var(--rule-firm); margin: 20px 0 16px; }
.calling-card-lines { margin: 0; display: grid; gap: 6px; font-size: 15px; }
.calling-card-lines div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; }
.calling-card-lines dt { color: var(--ink-soft); }
.calling-card-lines dd { margin: 0; font-weight: 600; min-width: 0; }
.agent-note { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* Footer */
.colophon { border-top: 1px solid var(--rule); background: var(--sheet); padding: 56px 0 40px; text-align: center; }
.colophon-inner { display: grid; justify-items: center; gap: 6px; }
.seal { width: 72px; height: 72px; margin-bottom: 10px; }
.colophon-name { font-family: var(--display); font-size: 26px; font-weight: 500; margin: 0; line-height: 1.2; }
.colophon-line { margin: 0 0 10px; color: var(--ink-soft); font-size: 16px; }
.colophon-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin: 4px 0 16px; }
.colophon-nav a { font-weight: 600; font-size: 15px; }
.colophon-fine { margin: 0; color: var(--ink-soft); font-size: 14px; max-width: 64ch; }

/* Legal and 404 */
.document { padding: 48px 0 80px; }
.document .frame { max-width: 860px; }
.document h1 { font-size: clamp(38px, 6vw, 60px); margin-bottom: 12px; }
.document h2 { font-family: var(--text); font-weight: 700; font-size: 21px; letter-spacing: 0; line-height: 1.35; margin: 36px 0 10px; padding-top: 18px; border-top: 1px solid var(--rule); }
.document .dated { color: var(--ink-soft); font-size: 15px; margin-bottom: 18px; }
.document .lead { margin: 0 0 8px; }
.document p, .document li { color: var(--ink); }
.missing { padding: 64px 0 96px; }
.missing .plate { min-height: 0; }
@media (min-width: 1040px) { .missing .plate { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); } }
.missing h1 { font-size: clamp(38px, 6vw, 64px); }
.missing .rosette { width: min(100%, 260px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .btn:hover { transform: none; }
}
@media print {
  .masthead, .colophon, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
}
