/* ==========================================================================
   Red Drake Group — reddrake.com
   Versioned filename: bump the number when you edit, so no browser or CDN
   can serve a stale copy against new HTML.
   ========================================================================== */

@font-face {
  font-family: "RD Cinzel";
  src: url("../fonts/rd-cinzel-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "RD Cinzel";
  src: url("../fonts/rd-cinzel-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "RD Serif";
  src: url("../fonts/rd-serif-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "RD Serif";
  src: url("../fonts/rd-serif-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --crimson:    #9E1B1B;
  --crimson-dk: #7C0F10;
  --crimson-lt: #D97278;   /* AA on ink */
  --crimson-sf: #F7EBEA;
  --gold:       #B08C4F;
  --gold-lt:    #CBAE79;
  --gold-dk:    #8A6C36;
  --ink:        #1F2225;
  --ink-2:      #2A2E32;
  --slate:      #414751;
  --muted:      #6A717B;
  --line:       #E2DFDA;
  --bone:       #FAF8F5;
  --paper:      #FFFFFF;

  --serif: "RD Serif", "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
  --display: "RD Cinzel", "Trajan Pro", Georgia, serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --pad: clamp(3.75rem, 3rem + 3vw, 6.5rem);
  --r: 4px;
  --shadow: 0 1px 2px rgba(20,22,26,.05), 0 12px 34px rgba(20,22,26,.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--slate);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0; color: var(--ink); font-family: var(--serif);
  font-weight: 600; line-height: 1.14; letter-spacing: -.012em;
}
h1 { font-size: clamp(2.35rem, 1.7rem + 2.8vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 1.45rem + 1.6vw, 2.7rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.05rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--crimson); }
strong, b { color: var(--ink); font-weight: 600; }

:focus-visible { outline: 2px solid var(--crimson); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 999; background: var(--ink); color: #fff; padding: .8rem 1.1rem; }

/* ---------------------------------------------------------------- layout */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.band { padding-block: var(--pad); }
.band--bone { background: var(--bone); }
.band--ink { background: var(--ink); color: #fff; }
.band--ink h1, .band--ink h2, .band--ink h3 { color: #fff; }
.band--tight { padding-block: clamp(2.5rem, 2rem + 1.8vw, 3.75rem); }
.band--rule { border-top: 1px solid var(--line); }

.eyebrow {
  font-family: var(--display); font-size: .82rem; font-weight: 600;
  letter-spacing: .19em; text-transform: uppercase; color: var(--gold-dk);
  margin: 0 0 1rem; display: flex; align-items: center; gap: .7rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); flex: none; }
.band--ink .eyebrow { color: var(--gold-lt); }
.band--ink .eyebrow::before { background: var(--gold); }
.eyebrow--center { justify-content: center; }

.head { max-width: 46rem; margin-bottom: clamp(2.25rem, 1.8rem + 1.6vw, 3.25rem); }
.head p { font-size: 1.15rem; color: var(--muted); margin-top: 1rem; }
.band--ink .head p { color: rgba(255,255,255,.74); }
.head--center { margin-inline: auto; text-align: center; }
.head--center .eyebrow { justify-content: center; }

.grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.split { display: grid; gap: clamp(2.25rem, 1.8rem + 2.4vw, 4rem); grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); align-items: start; }
.split--center { align-items: center; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  background: var(--crimson); color: #fff; text-decoration: none;
  font-family: var(--sans); font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  padding: .95rem 1.7rem; border: 1px solid var(--crimson); border-radius: var(--r);
  cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--crimson-dk); border-color: var(--crimson-dk); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.42); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--wide { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

.arrow-link {
  display: inline-flex; align-items: center; gap: .45rem; text-decoration: none;
  font-weight: 600; font-size: .97rem; color: var(--crimson);
}
.arrow-link:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- header */
.hdr { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .85rem; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 52px; width: auto; }
@media (max-width: 460px) { .brand img { height: 42px; } }
.brand b {
  font-family: var(--serif); font-size: 1.16rem; font-weight: 600; color: var(--ink);
  letter-spacing: .07em; line-height: 1.1; display: block;
}
.brand i {
  font-style: normal; font-family: var(--sans); font-size: .62rem; font-weight: 600;
  letter-spacing: .27em; color: var(--muted); display: block; margin-top: .15rem;
}

.nav { display: none; align-items: center; gap: 2rem; }
.nav a {
  color: var(--ink); text-decoration: none; font-size: .97rem; font-weight: 500;
  padding-block: .35rem; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--crimson); border-bottom-color: var(--crimson); }
.hdr-cta { display: none; }
.hdr .btn { padding: .7rem 1.3rem; font-size: .93rem; }

.mnav { display: block; }
.mnav > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid var(--line); border-radius: var(--r); padding: .6rem 1rem;
  font-size: .95rem; font-weight: 600; color: var(--ink);
}
.mnav > summary::-webkit-details-marker { display: none; }
.mnav-panel {
  position: absolute; left: 1.25rem; right: 1.25rem; top: calc(100% - .3rem); z-index: 70;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  padding: .5rem 1.2rem 1.3rem;
}
.mnav-panel a {
  display: block; padding: .8rem .1rem; text-decoration: none; color: var(--ink);
  font-weight: 600; border-bottom: 1px solid var(--line);
}
.mnav-panel a:last-of-type { border-bottom: 0; }
.mnav-panel .btn { margin-top: 1rem; }
@media (min-width: 1000px) {
  .nav { display: flex; }
  .hdr-cta { display: inline-flex; }
  .mnav { display: none; }
}

/* ---------------------------------------------------------------- hero */
.hero { background: var(--ink); color: #fff; padding-block: clamp(4rem, 3rem + 4vw, 7rem); position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; top: -12%; right: -10%; width: 52%; height: 130%;
  background: radial-gradient(ellipse at 60% 40%, rgba(158,27,27,.34), rgba(158,27,27,0) 68%);
  pointer-events: none;
}
.hero::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-dk), var(--gold), var(--gold-dk));
  z-index: 2;
}
.hero-art img { filter: drop-shadow(0 18px 40px rgba(0,0,0,.45)); }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero p.lede { font-size: clamp(1.1rem, 1rem + .5vw, 1.32rem); color: rgba(255,255,255,.76); max-width: 44ch; margin: 1.4rem 0 2rem; }
.hero-grid { display: grid; gap: clamp(2rem, 1.6rem + 2.4vw, 4rem); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: center; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: min(100%, 340px); }

/* ---------------------------------------------------------------- arms */
.arm {
  background: #fff; border: 1px solid var(--line); padding: clamp(1.6rem, 1.3rem + 1vw, 2.4rem);
  display: flex; flex-direction: column; gap: .9rem; border-top: 3px solid var(--gold);
  transition: box-shadow .2s, transform .2s;
}
.arm:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.arm h3 { font-size: 1.4rem; }
.arm p { color: var(--muted); }
.arm .arrow-link { margin-top: auto; padding-top: .5rem; }
.band--bone .arm { background: #fff; }

/* ---------------------------------------------------------------- numbered principles */
.principles { display: grid; gap: 0; border-top: 1px solid var(--line); }
.principle {
  display: grid; gap: .6rem 2.5rem; padding-block: 1.9rem; border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .principle { grid-template-columns: 5rem minmax(0,15rem) minmax(0,1fr); align-items: start; } }
.principle-no { font-family: var(--display); font-size: 1.2rem; color: var(--gold-dk); font-weight: 600; }
.principle h3 { font-size: 1.2rem; }
.principle p { color: var(--muted); margin: 0; }
.band--ink .principles, .band--ink .principle { border-color: rgba(255,255,255,.16); }
.band--ink .principle p { color: rgba(255,255,255,.72); }
.band--ink .principle-no { color: var(--crimson-lt); }

/* ---------------------------------------------------------------- company cards */
.co {
  background: #fff; border: 1px solid var(--line); padding: clamp(1.6rem, 1.3rem + 1vw, 2.3rem);
  display: flex; flex-direction: column; gap: 1rem;
}
.co-logo { height: 46px; display: flex; align-items: center; }
.co-logo img { max-height: 46px; width: auto; }
.co-role {
  font-family: var(--display); font-size: .78rem; font-weight: 600; letter-spacing: .17em;
  text-transform: uppercase; color: var(--gold-dk);
}
.co p { color: var(--muted); }
.co ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.co ul li { position: relative; padding-left: 1.3rem; font-size: .98rem; }
.co ul li::before { content: ""; position: absolute; left: 0; top: .68em; width: 8px; height: 1px; background: var(--crimson); }
.co .btn-row { margin-top: auto; padding-top: .6rem; }

/* ---------------------------------------------------------------- figures */
.figures { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .figures { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.figure { background: #fff; padding: 1.6rem 1.7rem; }
.figure b { display: block; font-family: var(--serif); font-size: 2.2rem; font-weight: 600; color: var(--ink); line-height: 1; margin-bottom: .45rem; }
.figure span { font-size: .93rem; color: var(--muted); }
.band--ink .figures { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.16); }
.band--ink .figure { background: var(--ink); }
.band--ink .figure b { color: #fff; }
.band--ink .figure span { color: rgba(255,255,255,.7); }

/* ---------------------------------------------------------------- checks */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.checks li { position: relative; padding-left: 1.7rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: .6rem; height: .6rem;
  border: 1.5px solid var(--crimson); border-top: 0; border-right: 0;
  transform: rotate(-45deg);
}
.band--ink .checks li { color: rgba(255,255,255,.85); }
.band--ink .checks li::before { border-color: var(--crimson-lt); }

/* ---------------------------------------------------------------- loop stages */
.stages { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.stage { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 1.3rem 1.4rem; }
.stage b { display: block; font-family: var(--display); font-size: .74rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-dk); margin-bottom: .4rem; }
.stage h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.stage p { font-size: .95rem; color: var(--muted); margin: 0; }

/* ---------------------------------------------------------------- profile */
.profile { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; }
.portrait {
  aspect-ratio: 4/5; background: var(--bone); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.portrait span { font-family: var(--display); font-size: 3rem; color: var(--gold-dk); }
.role { font-family: var(--display); font-size: .82rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; color: var(--gold-dk); margin-bottom: .5rem; }

/* ---------------------------------------------------------------- quote */
.pull { border-left: 3px solid var(--crimson); padding-left: 1.6rem; }
.pull p { font-family: var(--serif); font-size: clamp(1.3rem, 1.1rem + 1vw, 1.85rem); line-height: 1.35; color: var(--ink); }
.band--ink .pull p { color: #fff; }
.pull cite { display: block; margin-top: 1rem; font-style: normal; font-size: .92rem; color: var(--muted); font-family: var(--sans); }

/* ---------------------------------------------------------------- faq */
.faq { border-top: 1px solid var(--line); max-width: 48rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.2rem 2.5rem 1.2rem 0; font-weight: 600; color: var(--ink); position: relative; list-style: none; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .4rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--crimson); line-height: 1; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--crimson); }
.faq .answer { padding: 0 2.5rem 1.3rem 0; color: var(--muted); }

/* ---------------------------------------------------------------- forms */
.form { display: grid; gap: 1.15rem; }
.form-2 { display: grid; gap: 1.15rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .95rem; color: var(--ink); }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); padding: .85rem .95rem; background: #fff; width: 100%;
  border-radius: var(--r); color: var(--slate);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--crimson); box-shadow: 0 0 0 3px rgba(163,35,48,.13);
}
.note { font-size: .91rem; color: var(--muted); }

/* ---------------------------------------------------------------- footer */
.ftr { background: var(--ink); color: #fff; padding-block: 3.5rem 1.75rem; }
.ftr a { color: rgba(255,255,255,.76); text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr-top { display: grid; gap: 2.25rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-bottom: 2.25rem; border-bottom: 1px solid rgba(255,255,255,.16); }
.ftr .brand b { color: #fff; }
.ftr .brand i { color: rgba(255,255,255,.55); }
.ftr-about { color: rgba(255,255,255,.72); font-size: .97rem; margin-top: 1rem; max-width: 26rem; }
.ftr h4 { font-family: var(--display); font-size: .78rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; color: var(--gold-lt); margin-bottom: .9rem; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .97rem; }
.ftr-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; padding-top: 1.6rem; font-size: .88rem; color: rgba(255,255,255,.55); }

/* ---------------------------------------------------------------- misc */
.center { text-align: center; }
.mt { margin-top: clamp(2rem, 1.6rem + 1.2vw, 3rem); }
.mt-s { margin-top: 1.1rem; }
.lead { font-size: 1.13rem; color: var(--muted); }
.prose { max-width: 44rem; }
.prose h2 { margin: 2.4rem 0 .85rem; }
.prose h3 { margin: 1.9rem 0 .5rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .45rem; }
.callout { background: var(--crimson-sf); border-left: 3px solid var(--crimson); padding: 1.25rem 1.4rem; }
.callout p { color: var(--slate); font-size: 1rem; }
.crumb { font-size: .9rem; color: var(--muted); margin-bottom: .9rem; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--crimson); text-decoration: underline; }
.tagrow { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag { font-size: .84rem; padding: .32rem .8rem; border: 1px solid var(--line); color: var(--slate); border-radius: 999px; }
.band--ink .tag { border-color: rgba(255,255,255,.24); color: rgba(255,255,255,.85); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media print {
  .hdr, .mnav, .btn { display: none !important; }
  body { color: #000; }
  .band--ink, .ftr, .hero { background: #fff !important; color: #000 !important; }
}


/* ---------------------------------------------------------------- v2: heraldic detail */
.tagline {
  font-family: var(--display); font-weight: 600; font-size: .8rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}
.band--ink .tagline { color: var(--gold-lt); }

/* gold hairline with a diamond node, as on the crest */
.orn { display: flex; align-items: center; gap: .9rem; margin: 1.5rem 0; }
.orn::before, .orn::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.orn i { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); flex: none; }
.band--ink .orn::before, .band--ink .orn::after { background: rgba(255,255,255,.2); }
.orn--center { max-width: 22rem; margin-inline: auto; }

.gold-rule { height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); border: 0; margin: 0; }

.btn--gold { background: var(--gold-dk); border-color: var(--gold-dk); color: #fff; }
.btn--gold:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.crest-inline { height: 1.6em; width: auto; display: inline-block; vertical-align: -.35em; }

.figure b { font-family: var(--display); font-weight: 600; letter-spacing: .01em; }
.pull p { font-family: var(--serif); }
.pull { border-left-color: var(--gold); }
