/* ==========================================================================
   CALIFORNIA MINING CONSULTANTS
   assets/css/cmc.css

   One stylesheet, organized in numbered sections. No build step, no
   preprocessor, no framework. Edit the tokens in section 1 and the whole
   site follows.

   1  Tokens            8  Hero
   2  Reset             9  Sections and bands
   3  Typography       10  Cards
   4  Layout           11  Ledger (regulatory instrument list)
   5  Buttons/links    12  Leadership
   6  Header/nav       13  Inquiry form
   7  Metal treatment  14  Footer
                       15  Motion and accessibility
   ========================================================================== */

/* ---- 1. Tokens --------------------------------------------------------- */
:root {
  /* Surfaces */
  --ink:        #0C1016;
  --navy:       #16243A;
  --navy-deep:  #0F1A2B;
  --walnut:     #241811;
  --walnut-2:   #3A2718;
  --bone:       #F4F1EC;
  --paper:      #FFFFFF;

  /* Brushed steel ramp */
  --steel-1:    #E2E7EC;
  --steel-2:    #B7BFC8;
  --steel-3:    #8B949E;
  --steel-4:    #5E6771;

  /* Text on light */
  --text:       #171C23;
  --text-2:     #4B545E;
  --text-3:     #79818B;

  /* Text on dark */
  --text-d:     #F2F4F6;
  --text-d-2:   #A9B3BE;
  --text-d-3:   #7D8894;

  /* Rules */
  --line:       rgba(18, 36, 58, 0.14);
  --line-soft:  rgba(18, 36, 58, 0.08);
  --line-d:     rgba(226, 231, 236, 0.16);
  --line-d-soft:rgba(226, 231, 236, 0.09);

  /* The metal itself */
  --steel-grad: linear-gradient(180deg,
                  #EDF1F4 0%, #CBD2D9 22%, #97A0AA 48%,
                  #C6CDD4 72%, #79828C 100%);
  --steel-grain: repeating-linear-gradient(90deg,
                  rgba(255,255,255,0.10) 0px, rgba(255,255,255,0.10) 1px,
                  rgba(0,0,0,0.05) 1px, rgba(0,0,0,0.05) 2px);

  /* Type */
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
          "Liberation Mono", monospace;

  --fs-hero:  clamp(2.15rem, 4.3vw, 3.6rem);
  --fs-h2:    clamp(1.8rem, 3.3vw, 2.75rem);
  --fs-h3:    clamp(1.1rem, 1.5vw, 1.3rem);
  --fs-lead:  clamp(1.0625rem, 1.35vw, 1.22rem);
  --fs-body:  1.0625rem;
  --fs-sm:    0.9375rem;
  --fs-label: 0.6875rem;

  /* Space */
  --wrap:     1200px;
  --gutter:   clamp(1.25rem, 4vw, 3rem);
  --sec:      clamp(4.25rem, 8.5vw, 7.5rem);
  --header-h: 72px;

  --shadow-plate: 0 1px 2px rgba(12, 20, 32, 0.05),
                  0 20px 44px -28px rgba(12, 20, 32, 0.45);
  --shadow-lift:  0 2px 4px rgba(12, 20, 32, 0.07),
                  0 30px 56px -30px rgba(12, 20, 32, 0.55);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 900px) {
  :root { --header-h: 84px; }
}

/* ---- 2. Reset ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, svg, picture, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:where(a) { color: inherit; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ---- 3. Typography ----------------------------------------------------- */
.h1, .h2, .h3 { font-weight: 600; letter-spacing: -0.024em; line-height: 1.1; }
.h1 { font-size: var(--fs-hero); line-height: 1.04; }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); letter-spacing: -0.012em; line-height: 1.3; }

.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--text-2); max-width: 60ch; }
.prose { color: var(--text-2); max-width: 68ch; }
.prose p + p { margin-top: 1.3em; }
.prose strong { color: var(--text); font-weight: 600; }
.measure { max-width: 64ch; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 400;
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--steel-grad);
  flex: none;
}
.eyebrow--dark { color: var(--text-d-3); }
.eyebrow--center { justify-content: center; }

.label {
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ---- 4. Layout --------------------------------------------------------- */
.wrap { width: min(100% - (var(--gutter) * 2), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--sec); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--bone { background: var(--bone); }
.section--rule { border-top: 1px solid var(--line-soft); }

.split { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 940px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 5.5rem); align-items: start; }
  .split--wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  .split--wide-right { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
}

.stack-sm > * + * { margin-top: 1rem; }
.stack-md > * + * { margin-top: 1.75rem; }
.stack-lg > * + * { margin-top: clamp(2.5rem, 5vw, 4rem); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .h2 + .lead { margin-top: 1.25rem; }

/* ---- 5. Buttons and links ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.95rem 1.75rem;
  background: var(--navy);
  color: var(--text-d);
  border: 1px solid var(--navy);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
              border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:hover, .btn:focus-visible { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: transparent; border-color: var(--navy); color: var(--navy); }

.btn--on-dark { background: transparent; color: var(--text-d); border-color: rgba(226, 231, 236, 0.35); }
.btn--on-dark:hover, .btn--on-dark:focus-visible {
  background: rgba(226, 231, 236, 0.08);
  border-color: var(--text-d);
}

.btn--steel { position: relative; background: var(--steel-grad); color: #10192A; border: 0; }
.btn--steel:hover, .btn--steel:focus-visible { background: var(--steel-grad); filter: brightness(1.06); }

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }
@media (max-width: 519px) { .btn-row .btn { width: 100%; } }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--navy);
}
.textlink::after {
  content: "";
  width: 1.25rem; height: 1px;
  background: currentColor;
  transition: width 0.35s var(--ease);
}
.textlink:hover::after, .textlink:focus-visible::after { width: 2rem; }
.textlink--on-dark { color: var(--text-d); }

:focus-visible { outline: 2px solid #6E90BD; outline-offset: 3px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--navy); color: var(--text-d);
  padding: 0.75rem 1.25rem; text-decoration: none; font-size: var(--fs-sm);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0.75rem; }

/* ---- 6. Header and navigation ------------------------------------------ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  color: var(--text-d);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
              height 0.35s var(--ease);
}
.site-header.is-solid {
  background: rgba(12, 16, 22, 0.94);
  border-bottom-color: var(--line-d-soft);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}

.lockup { display: inline-flex; align-items: center; gap: 0.85rem; text-decoration: none; color: inherit; }
.lockup__mark-image {
  display: block;
  width: 3.85rem;
  height: 3.1rem;
  object-fit: contain;
  object-position: center;
  flex: none;
}
@media (max-width: 520px) {
  .lockup__mark-image { width: 3.3rem; height: 2.7rem; }
}
.lockup__mark {
  display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem;
  border: 1px solid rgba(226, 231, 236, 0.32);
  font-family: var(--sans);
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em;
  background-image: var(--steel-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  position: relative;
  flex: none;
}
.lockup__mark::after {
  content: ""; position: absolute; inset: 0;
  background: var(--steel-grain); opacity: 0.35; pointer-events: none;
}
.lockup__type { display: flex; flex-direction: column; line-height: 1.2; }
.lockup__name {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.17em; text-transform: uppercase;
  white-space: nowrap;
}
.lockup__sub {
  font-size: 0.5625rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-d-3); margin-top: 0.3rem;
}
@media (max-width: 419px) { .lockup__type { display: none; } }
.lockup--light .lockup__mark { border-color: rgba(18, 36, 58, 0.25); }
.lockup--light .lockup__sub { color: var(--text-3); }

.nav { display: none; }
@media (min-width: 1000px) {
  .nav { display: flex; align-items: center; gap: clamp(1.5rem, 2.4vw, 2.4rem); }
}
.nav__link {
  position: relative;
  text-decoration: none;
  font-size: 0.8125rem; font-weight: 500;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--text-d-2);
  padding-block: 0.4rem;
  transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--steel-grad);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover, .nav__link:focus-visible { color: var(--text-d); }
.nav__link:hover::after, .nav__link:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { color: var(--text-d); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { margin-left: 0.5rem; padding: 0.7rem 1.35rem; font-size: 0.75rem; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; cursor: pointer; color: inherit;
}
@media (min-width: 1000px) { .nav-toggle { display: none; } }
.nav-toggle__bar {
  display: block; width: 22px; height: 2px; background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink); color: var(--text-d);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2.5rem;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
@media (min-width: 1000px) { .drawer { display: none; } }
.drawer__item { border-top: 1px solid var(--line-d-soft); }
.drawer__item:last-of-type { border-bottom: 1px solid var(--line-d-soft); }
.drawer__link {
  display: block; padding: 1.05rem 0; text-decoration: none;
  font-size: 1.35rem; font-weight: 500; letter-spacing: -0.01em;
}
.drawer__foot { margin-top: 2rem; }
.drawer__foot .btn { width: 100%; }
body.is-locked { overflow: hidden; }

/* ---- 7. Metal treatment and plates ------------------------------------- */
.steel-text {
  background-image: var(--steel-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.steel-rule { height: 2px; background: var(--steel-grad); border: 0; }

.plate {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-plate);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.plate::before {
  content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 2px;
  background: var(--steel-grad);
}
.plate--dark { background: var(--navy-deep); border-color: rgba(226,231,236,0.12); color: var(--text-d); }

/* ---- 8. Hero ----------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(90svh, 880px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--ink);
  color: var(--text-d);
  padding-top: var(--header-h);
  padding-bottom: 0;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 42% 12%;
  filter: saturate(1.02) contrast(1.02);
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(9,13,19,0.28) 0%, rgba(9,13,19,0.10) 32%, rgba(9,13,19,0.00) 62%, rgba(9,13,19,0.10) 100%),
    linear-gradient(180deg, rgba(9,13,19,0.10) 0%, rgba(9,13,19,0.00) 44%, rgba(9,13,19,0.44) 100%);
}
.hero__inner {
  position: absolute;
  left: 50%;
  bottom: clamp(6.25rem, 8.2vw, 7.4rem);
  transform: translateX(-50%);
  width: min(calc(100% - (var(--gutter) * 2)), calc(var(--wrap) * 0.82));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(21rem, 1.45fr) minmax(18rem, 1fr) auto;
  column-gap: clamp(1rem, 1.55vw, 1.45rem);
  row-gap: 0.3rem;
  align-items: center;
  padding: clamp(0.75rem, 1.1vw, 0.95rem) clamp(1rem, 1.5vw, 1.25rem);
}
.hero__inner > * {
  position: relative;
  z-index: 1;
}
.hero__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, rgba(8,13,20,0.82), rgba(15,26,43,0.56));
  border: 1px solid rgba(226,231,236,0.16);
  box-shadow: 0 18px 46px rgba(0,0,0,0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero__eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}
.hero__title {
  grid-column: 1;
  max-width: 15ch;
  font-size: clamp(1.1rem, 1.55vw, 1.6rem);
  line-height: 1.06;
  margin: 0;
}
.hero__sub {
  grid-column: 2;
  align-self: center;
  margin-top: 0;
  max-width: 34ch;
  color: rgba(242,244,246,0.84);
  font-size: clamp(0.8rem, 0.82vw, 0.92rem);
  line-height: 1.38;
}
.hero__actions {
  grid-column: 3;
  margin-top: 0;
  align-self: center;
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.hero__actions .btn {
  min-height: 2.35rem;
  padding: 0.7rem 0.95rem;
  font-size: 0.76rem;
}
@media (min-width: 1100px) {
  .hero__media { object-position: 42% 6%; }
}
@media (max-width: 1220px) {
  .hero__inner {
    width: min(calc(100% - (var(--gutter) * 2)), calc(var(--wrap) * 0.86));
    grid-template-columns: minmax(18rem, 1.2fr) minmax(16rem, 0.95fr) auto;
    column-gap: 0.9rem;
  }
  .hero__title {
    max-width: 15ch;
    font-size: clamp(1.05rem, 1.45vw, 1.45rem);
  }
  .hero__sub {
    grid-column: 2;
    max-width: 30ch;
    font-size: 0.84rem;
  }
  .hero__actions {
    grid-column: 3;
    justify-self: end;
    margin-top: 0;
  }
}
@media (max-width: 1080px) {
  .hero__inner {
    width: min(calc(100% - (var(--gutter) * 2)), calc(var(--wrap) * 0.9));
    grid-template-columns: minmax(18rem, 1.1fr) minmax(15rem, 0.95fr);
    row-gap: 0.55rem;
  }
  .hero__sub {
    grid-column: 2;
    max-width: 29ch;
  }
  .hero__actions {
    grid-column: 1 / -1;
    justify-self: start;
  }
}
@media (max-width: 980px) {
  .hero__inner {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: min(100% - (var(--gutter) * 2), var(--wrap));
    grid-template-columns: 1fr;
    row-gap: 0.25rem;
    padding: 0 0 1.6rem;
  }
  .hero__eyebrow,
  .hero__title,
  .hero__sub,
  .hero__actions { grid-column: 1; }
  .hero__inner > * { max-width: min(100%, 32rem); }
  .hero__inner::before {
    inset: auto;
    left: -0.65rem;
    right: -0.65rem;
    top: -0.65rem;
    bottom: 0.7rem;
  }
  .hero__media { object-position: 46% 12%; }
  .hero__title {
    font-size: clamp(1.85rem, 6vw, 2.5rem);
    max-width: 13ch;
  }
  .hero__sub {
    margin-top: 0.8rem;
    max-width: 34ch;
    font-size: 0.98rem;
  }
  .hero__actions {
    margin-top: 1rem;
    justify-self: start;
  }
}
@media (max-width: 760px) {
  .hero { min-height: 820px; }
  .hero__media { object-position: 48% top; }
  .hero__inner > * { max-width: min(100%, 29rem); }
  .hero__inner::before {
    left: -0.65rem;
    right: -0.65rem;
    width: auto;
    bottom: 0.65rem;
  }
  .hero__title { font-size: clamp(2rem, 10vw, 2.7rem); max-width: 14ch; }
  .hero__sub { max-width: 36ch; }
}


.hero__strip {
  border-top: 1px solid var(--line-d-soft);
  background: rgba(9, 13, 19, 0.55);
}
.hero__strip-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 860px) {
  .hero__strip-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.hero__strip-item {
  padding: 1.35rem clamp(0.75rem, 2vw, 1.75rem) 1.35rem 0;
  border-left: 1px solid var(--line-d-soft);
  padding-left: clamp(0.9rem, 2vw, 1.75rem);
}
.hero__strip-item:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 859px) {
  .hero__strip-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero__strip-item:nth-child(n+3) { border-top: 1px solid var(--line-d-soft); }
}
.hero__strip-term {
  font-family: var(--mono); font-size: var(--fs-label);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-d-3);
}
.hero__strip-desc { margin-top: 0.4rem; font-size: var(--fs-sm); color: var(--text-d-2); }

/* Interior page header */
.page-head {
  position: relative;
  background: var(--navy-deep);
  color: var(--text-d);
  padding-top: calc(var(--header-h) + clamp(3.5rem, 9vw, 7rem));
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
}
.page-head::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 2px;
  background: var(--steel-grad); opacity: 0.65;
}
.page-head__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 100% at 82% 12%, rgba(120, 148, 184, 0.30) 0%, rgba(16, 26, 43, 0) 60%),
    linear-gradient(90deg, rgba(36, 24, 17, 0.55) 0%, rgba(16, 26, 43, 0) 46%);
  pointer-events: none;
}
.page-head__inner { position: relative; }
.page-head__title { max-width: 20ch; font-size: var(--fs-h2); }
.page-head__sub { margin-top: 1.35rem; max-width: 56ch; color: var(--text-d-2); font-size: var(--fs-lead); }

/* ---- 9. Bands ---------------------------------------------------------- */
.band { position: relative; overflow: hidden; }
.band--navy { background: var(--navy-deep); color: var(--text-d); }
.band--navy .lead, .band--navy .prose { color: var(--text-d-2); }
.band--walnut {
  background:
    radial-gradient(64% 118% at 50% -6%, rgba(255, 214, 162, 0.16) 0%, rgba(0, 0, 0, 0) 64%),
    repeating-linear-gradient(90deg,
      rgba(255, 236, 210, 0.035) 0px, rgba(255, 236, 210, 0.035) 1px,
      rgba(0, 0, 0, 0) 1px, rgba(0, 0, 0, 0) 3px,
      rgba(0, 0, 0, 0.07) 3px, rgba(0, 0, 0, 0.07) 4px,
      rgba(0, 0, 0, 0) 4px, rgba(0, 0, 0, 0) 10px),
    repeating-linear-gradient(90deg,
      rgba(0, 0, 0, 0.12) 0px, rgba(0, 0, 0, 0.12) 2px,
      rgba(255, 236, 210, 0.022) 2px, rgba(255, 236, 210, 0.022) 6px,
      rgba(0, 0, 0, 0) 6px, rgba(0, 0, 0, 0) 27px),
    linear-gradient(100deg, #1B120C 0%, #3C2718 34%, #2B1C12 58%, #452E1C 86%, #180F0A 100%);
  color: var(--text-d);
  box-shadow: inset 0 26px 64px -32px rgba(0, 0, 0, 0.95),
              inset 0 -26px 64px -32px rgba(0, 0, 0, 0.95);
  border-top: 1px solid rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}
.band--walnut .lead, .band--walnut .prose { color: rgba(233, 224, 214, 0.78); }
.band--walnut .eyebrow { color: rgba(233, 224, 214, 0.6); }

/* Signage moment: the metal lockup mounted on the wood wall */
.signage { display: grid; place-items: center; text-align: center; gap: 0.9rem; }
.signage__mark {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  padding-left: 0.16em;
  filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.75))
          drop-shadow(0 10px 18px rgba(0, 0, 0, 0.55));
}
.signage__rule { width: min(100%, 15rem); opacity: 0.8; filter: drop-shadow(0 2px 2px rgba(0,0,0,0.6)); }
.signage__word {
  font-size: clamp(0.66rem, 1.4vw, 0.82rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(236, 224, 210, 0.86);
  padding-left: 0.32em;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.7);
}
.signage .lead { color: rgba(233, 224, 214, 0.7) !important; }

/* ---- 10. Cards --------------------------------------------------------- */
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 680px) { .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 680px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 680px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card { display: flex; flex-direction: column; padding: clamp(1.6rem, 2.6vw, 2.25rem); }
.card__index {
  font-family: var(--mono); font-size: var(--fs-label);
  letter-spacing: 0.16em; color: var(--text-3); margin-bottom: 1.1rem;
}
.card__title { margin-bottom: 0.7rem; }
.card__desc { color: var(--text-2); font-size: var(--fs-sm); }
.card__link { margin-top: 1.5rem; }
a.card { text-decoration: none; color: inherit; }
a.card:hover, a.card:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card--flush { padding-inline: 0; box-shadow: none; border: 0; background: transparent; }
.card--flush::before { display: none; }

/* ---- 11. Ledger: named instruments and deliverables -------------------- */
.ledger { border-top: 1px solid var(--line); }
.band--navy .ledger, .band--walnut .ledger { border-top-color: var(--line-d-soft); }
.ledger__row {
  display: grid; gap: 0.35rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}
.band--navy .ledger__row, .band--walnut .ledger__row { border-bottom-color: var(--line-d-soft); }
@media (min-width: 760px) {
  .ledger__row { grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: baseline; }
  .ledger--services .ledger__row { grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); padding-block: clamp(1.75rem, 3vw, 2.5rem); }
}
.ledger--stack .ledger__row { grid-template-columns: 1fr; gap: 0.3rem; }
.ledger__term {
  font-family: var(--mono); font-size: var(--fs-label);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3);
}
.band--navy .ledger__term, .band--walnut .ledger__term { color: var(--text-d-3); }
.ledger__desc { color: var(--text-2); font-size: var(--fs-sm); }
.band--navy .ledger__desc { color: var(--text-d-2); }
.band--walnut .ledger__desc { color: rgba(233, 224, 214, 0.78); }

/* ---- 12. Leadership ---------------------------------------------------- */
.person { display: grid; gap: clamp(1.75rem, 4vw, 3rem); }
@media (min-width: 860px) {
  .person { grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
}
.person__plate {
  display: grid; place-items: center;
  aspect-ratio: 1122 / 1402;
  background:
    radial-gradient(120% 90% at 30% 10%, rgba(120, 148, 184, 0.18), rgba(0,0,0,0) 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  border: 1px solid rgba(226, 231, 236, 0.14);
  box-shadow: var(--shadow-plate);
}
.person__initials {
  font-size: clamp(2.75rem, 6vw, 4rem);
  font-weight: 700; letter-spacing: 0.12em; padding-left: 0.12em; line-height: 1;
}
.person__name { margin-bottom: 0.5rem; }
.person__role {
  font-family: var(--mono); font-size: var(--fs-label);
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3);
}
.person__body { margin-top: 1.75rem; }

.person__photo-frame {
  width: 100%;
  aspect-ratio: 1122 / 1402;
  overflow: hidden;
  background: var(--navy-deep);
  border: 1px solid rgba(18,36,58,0.12);
  box-shadow: var(--shadow-plate);
}
.person__photo {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center center;
  border: 0;
  box-shadow: none;
  background: var(--navy-deep);
}
.leadership-divider {
  margin-block: clamp(3.5rem, 7vw, 6rem);
  border: 0;
  border-top: 1px solid var(--line);
}

/* A note the client must replace before publishing */
.placeholder {
  margin-top: 1.75rem;
  padding: 1.15rem 1.35rem;
  border: 1px dashed rgba(18, 36, 58, 0.35);
  background: rgba(18, 36, 58, 0.035);
  font-size: var(--fs-sm);
  color: var(--text-2);
  max-width: 58ch;
}
.placeholder__label {
  display: block;
  font-family: var(--mono); font-size: var(--fs-label);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 0.5rem;
}

/* ---- 13. Inquiry form -------------------------------------------------- */
.form { display: grid; gap: 1.5rem; }
@media (min-width: 720px) {
  .form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1.75rem; }
  .form__field--full { grid-column: 1 / -1; }
}
.form__field { display: flex; flex-direction: column; gap: 0.5rem; }
.form__label {
  font-family: var(--mono); font-size: var(--fs-label);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3);
}
.form__req { color: var(--navy); }
.form__input, .form__select, .form__textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  background: var(--paper);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 0;
  font-size: var(--fs-body);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.form__select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%),
                    linear-gradient(135deg, var(--text-3) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.75rem;
}
.form__textarea { resize: vertical; min-height: 9rem; line-height: 1.6; }
.form__input:focus, .form__select:focus, .form__textarea:focus {
  outline: 0;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(22, 36, 58, 0.10);
}
.form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.form__note { grid-column: 1 / -1; font-size: var(--fs-sm); color: var(--text-3); }
.form__status { grid-column: 1 / -1; font-size: var(--fs-sm); min-height: 1.4rem; color: var(--text-2); }
.form__status[data-state="error"] { color: #96351F; }
.form__status[data-state="ok"] { color: #1F5B3A; }

/* ---- 14. Footer -------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--text-d-2); font-size: var(--fs-sm); }
.footer__top {
  display: grid; gap: clamp(2.25rem, 5vw, 3.5rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
@media (min-width: 900px) {
  .footer__top { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.9fr)); }
}
.footer__blurb { margin-top: 1.35rem; max-width: 34ch; color: var(--text-d-3); }
.footer__col-title { margin-bottom: 1.1rem; color: var(--text-d-3); }
.footer__links { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__link { text-decoration: none; color: var(--text-d-2); width: fit-content; transition: color 0.3s var(--ease); }
.footer__link:hover, .footer__link:focus-visible { color: var(--text-d); }
.footer__bottom {
  border-top: 1px solid var(--line-d-soft);
  padding-block: 1.75rem 2.25rem;
  display: grid; gap: 1rem;
  color: var(--text-d-3); font-size: 0.8125rem;
}
@media (min-width: 900px) {
  .footer__bottom { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(2rem, 5vw, 4rem); }
}

/* ---- 15. Motion and accessibility -------------------------------------- */
.has-js .reveal { opacity: 0; transform: translateY(16px); }
.has-js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.has-js .reveal[data-delay="1"].is-in { transition-delay: 0.07s; }
.has-js .reveal[data-delay="2"].is-in { transition-delay: 0.14s; }
.has-js .reveal[data-delay="3"].is-in { transition-delay: 0.21s; }

.has-js .hero__title, .has-js .hero__sub, .has-js .hero__actions,
.has-js .hero__eyebrow, .has-js .hero__strip { opacity: 0; }
.hero.is-loaded .hero__eyebrow,
.hero.is-loaded .hero__title,
.hero.is-loaded .hero__sub,
.hero.is-loaded .hero__actions,
.hero.is-loaded .hero__strip { animation: rise 0.9s var(--ease) forwards; }
.hero.is-loaded .hero__title { animation-delay: 0.08s; }
.hero.is-loaded .hero__sub { animation-delay: 0.18s; }
.hero.is-loaded .hero__actions { animation-delay: 0.28s; }
.hero.is-loaded .hero__strip { animation-delay: 0.38s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
  }
  .has-js .reveal { opacity: 1; transform: none; }
  .has-js .hero__title, .has-js .hero__sub, .has-js .hero__actions,
  .has-js .hero__eyebrow, .has-js .hero__strip { opacity: 1; }
}

/* ---- 16. Utility ------------------------------------------------------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}


/* ---- 18. First-screen scroll cue --------------------------------------- */
.scroll-cue {
  position: fixed;
  left: 50%;
  bottom: clamp(0.75rem, 1.5vw, 1.1rem);
  z-index: 86;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.34rem;
  min-width: 7.8rem;
  padding: 0.46rem 0.8rem 0.55rem;
  border: 1px solid rgba(226, 231, 236, 0.15);
  background: rgba(9, 13, 19, 0.43);
  color: rgba(242, 244, 246, 0.86);
  box-shadow: 0 8px 26px rgba(0,0,0,0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.scroll-cue:hover,
.scroll-cue:focus-visible {
  background: rgba(9, 13, 19, 0.58);
  border-color: rgba(226, 231, 236, 0.30);
}
.scroll-cue.is-hidden {
  opacity: 0;
  transform: translate(-50%, 0.65rem);
  pointer-events: none;
}
.scroll-cue__label {
  font-family: var(--mono);
  font-size: 0.58rem;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.scroll-cue__track {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 1rem;
  height: 1.55rem;
}
.scroll-cue__line {
  display: block;
  width: 1px;
  height: 1.05rem;
  background: linear-gradient(180deg, rgba(242,244,246,0.25), rgba(226,231,236,0.95));
  transform-origin: top;
  animation: cmc-scroll-line 1.8s var(--ease) infinite;
}
.scroll-cue__chevron {
  position: absolute;
  left: 50%;
  bottom: 0.05rem;
  width: 0.42rem;
  height: 0.42rem;
  border-right: 1px solid rgba(242,244,246,0.9);
  border-bottom: 1px solid rgba(242,244,246,0.9);
  transform: translateX(-50%) rotate(45deg);
  animation: cmc-scroll-chevron 1.8s var(--ease) infinite;
}
@keyframes cmc-scroll-line {
  0%, 100% { opacity: 0.35; transform: scaleY(0.35); }
  45% { opacity: 1; transform: scaleY(1); }
}
@keyframes cmc-scroll-chevron {
  0%, 100% { opacity: 0.45; bottom: 0.22rem; }
  50% { opacity: 1; bottom: 0; }
}
@media (max-width: 760px) {
  .scroll-cue {
    min-width: 2.7rem;
    padding: 0.42rem 0.7rem 0.5rem;
  }
  .scroll-cue__label { display: none; }
  .scroll-cue__track { height: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue__line,
  .scroll-cue__chevron { animation: none; }
}


.grid--1 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }

.signage__logo {
  width: clamp(8.25rem, 16vw, 12rem);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 1px rgba(0,0,0,0.72)) drop-shadow(0 12px 22px rgba(0,0,0,0.48));
}
.service-feature {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}
@media (min-width: 820px) {
  .service-feature { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
}
.service-list {
  margin: 1.4rem 0 1.5rem;
  padding-left: 1.25rem;
  color: var(--text-2);
}
.service-list li + li { margin-top: 0.85rem; }
.service-list strong { color: var(--text); font-weight: 600; }

.signage__wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  color: rgba(236, 224, 210, 0.92);
  text-transform: uppercase;
  text-shadow: 0 2px 3px rgba(0,0,0,0.7);
}
.signage__wordmark-main {
  font-size: clamp(0.82rem, 1.65vw, 1.1rem);
  font-weight: 500;
  letter-spacing: 0.08em;
}
.signage__wordmark-sub {
  margin-top: 0.35rem;
  font-size: clamp(0.56rem, 1vw, 0.72rem);
  letter-spacing: 0.28em;
  padding-left: 0.28em;
}


/* ---- Founder statement ------------------------------------------------ */
.founder-statement {
  position: relative;
  max-width: 48rem;
  padding-left: clamp(1.25rem, 2.4vw, 1.85rem);
  color: var(--text-2);
  font-size: clamp(1.02rem, 1.18vw, 1.16rem);
  line-height: 1.68;
}
.founder-statement::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 2px;
  background: var(--steel-grad);
}
.founder-statement__byline {
  margin-top: 1.2rem;
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}


/* ---- Inquiry page: principal-led private contact ---------------------- */
.inquiry-layout {
  display: grid;
  gap: clamp(2.75rem, 6vw, 5.5rem);
}
@media (min-width: 920px) {
  .inquiry-layout {
    grid-template-columns: minmax(0, 1.28fr) minmax(18rem, 0.72fr);
    align-items: start;
  }
}
.inquiry-main { min-width: 0; }
.form--inquiry { max-width: 48rem; }
.inquiry-aside {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}
@media (min-width: 920px) {
  .inquiry-aside {
    border-top: 0;
    border-left: 1px solid var(--line);
    padding-top: 0;
    padding-left: clamp(2rem, 4vw, 3.5rem);
  }
}
.detail-list { border-top: 1px solid var(--line); }
.detail-list__row {
  display: grid;
  gap: 0.45rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}
.detail-list__value {
  color: var(--text-2);
  font-size: var(--fs-sm);
  line-height: 1.55;
}

/* ---- v1.0.33 mobile hero/header refinements --------------------------- */
/* On phones and small tablets, present the boardroom image by itself first,
   then place the hero copy and actions in a separate block below it. */
@media (max-width: 900px) {
  .hero {
    min-height: 0;
    display: block;
    /* Reserve the fixed header as its own dark band so the mobile brand text
       never sits over the executives in the boardroom photo. */
    padding-top: var(--header-h);
    overflow: hidden;
    background: var(--ink);
  }

  .hero__media {
    position: relative;
    inset: auto;
    z-index: auto;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center center;
    filter: saturate(1.02) contrast(1.02);
  }

  .hero__scrim { display: none; }

  .hero__inner {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    margin: 0;
    display: block;
    padding: 2rem var(--gutter) 2.35rem;
    background: var(--navy-deep);
  }

  .hero__inner::before { display: none; }
  .hero__inner > * { max-width: 36rem; }
  .hero__eyebrow { margin-bottom: 0.75rem; }
  .hero__title {
    max-width: 16ch;
    font-size: clamp(1.9rem, 7.4vw, 2.6rem);
  }
  .hero__sub {
    margin-top: 1rem;
    max-width: 38ch;
    font-size: 1rem;
  }
  .hero__actions {
    margin-top: 1.25rem;
    justify-self: auto;
  }
}

/* Keep the full company name visible beside the mark on mobile. */
@media (max-width: 520px) {
  .site-header__inner { gap: 0.65rem; }
  .lockup {
    gap: 0.5rem;
    min-width: 0;
  }
  .lockup__mark-image {
    width: 2.9rem;
    height: 2.4rem;
  }
  .lockup__type {
    display: flex;
    min-width: 0;
  }
  .lockup__name {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    line-height: 1.18;
    white-space: nowrap;
  }
  .nav-toggle {
    flex: none;
    margin-right: -6px;
  }
}

@media (max-width: 350px) {
  .lockup__name {
    max-width: 9.25rem;
    font-size: 0.54rem;
    letter-spacing: 0.05em;
    white-space: normal;
  }
}
