/* =====================================================================
   BRC Capital — main.css
   Ported from the approved brc-capital.html design.
   Fonts: Archivo (display) · Newsreader (body serif) · IBM Plex Mono
   Themes: html[data-theme="light|sepia|dark"]  (light is the default)
   ===================================================================== */

/* ============ theme tokens ============ */
:root {
  /* light (default) */
  --bg: #f6f5f2;
  --surface: #fdfdfc;
  --tint: #e9e7e2;
  --text: #16191c;
  --text2: #3a4249;
  --muted: #5c656c;
  --hair: rgba(22, 25, 28, .14);

  --panel: #e4e2dc;
  --panel2: #dcd9d2;
  --panel-text: #16191c;
  --panel-text-dim: rgba(22, 25, 28, .7);
  --panel-hair: rgba(22, 25, 28, .15);
  --panel-soft: rgba(22, 25, 28, .025);
  --panel-soft-hi: rgba(22, 25, 28, .06);

  --accent: #3f8a78;
  --accent-hover: #2f6a5c;
  --accent-text: #2f6a5c;
  --accent-panel: #2f6a5c;
  --accent-soft: rgba(63, 138, 120, .14);
  --brass: #b4894a;
  --brass-panel: #7d5a22;

  --display: "Archivo", system-ui, sans-serif;
  --body: "Newsreader", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --gut: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1180px;
  --swatch: #f6f5f2;
}

html[data-theme="sepia"] {
  --bg: #f2e9d8;
  --surface: #fbf5e9;
  --tint: #e7dcc4;
  --text: #2e2519;
  --text2: #4e412e;
  --muted: #6f6144;
  --hair: rgba(46, 37, 25, .17);

  --panel: #e8dbc0;
  --panel2: #dfd0ae;
  --panel-text: #2e2519;
  --panel-text-dim: rgba(46, 37, 25, .72);
  --panel-hair: rgba(46, 37, 25, .17);
  --panel-soft: rgba(46, 37, 25, .03);
  --panel-soft-hi: rgba(46, 37, 25, .07);

  --accent: #3f7a63;
  --accent-hover: #2f5c4a;
  --accent-text: #2f5c4a;
  --accent-panel: #2f5c4a;
  --accent-soft: rgba(63, 122, 99, .15);
  --brass: #9a6b2f;
  --brass-panel: #7d5522;
  --swatch: #efe3ca;
}

html[data-theme="dark"] {
  --bg: #101315;
  --surface: #171b1e;
  --tint: #1b2023;
  --text: #e7e9e7;
  --text2: #b6bdc1;
  --muted: #848d92;
  --hair: rgba(231, 233, 231, .14);

  --panel: #0a0c0d;
  --panel2: #171b1e;
  --panel-text: #e7e9e7;
  --panel-text-dim: rgba(231, 233, 231, .74);
  --panel-hair: rgba(231, 233, 231, .14);
  --panel-soft: rgba(231, 233, 231, .03);
  --panel-soft-hi: rgba(231, 233, 231, .07);

  --accent: #3f8a78;
  --accent-hover: #4fa891;
  --accent-text: #6ec4ac;
  --accent-panel: #6ec4ac;
  --accent-soft: rgba(78, 168, 145, .16);
  --brass: #c9a05f;
  --brass-panel: #c9a05f;
  --swatch: #16191c;
}

html {
  color-scheme: light
}

html[data-theme="dark"] {
  color-scheme: dark
}

* {
  box-sizing: border-box
}

[hidden] {
  display: none !important
}

html {
  -webkit-text-size-adjust: 100%
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  transition: background .25s ease, color .25s ease;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.02em;
  margin: 0
}

p {
  margin: 0 0 1rem
}

a {
  color: inherit
}

img {
  max-width: 100%;
  height: auto
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gut)
}

.eyebrow {
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 1.25rem;
}

.hero .eyebrow,
.phead .eyebrow {
  color: var(--accent-panel)
}

.eyebrow--brass {
  color: var(--brass)
}

.eyebrow--fog {
  color: var(--muted)
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--panel);
  color: var(--panel-text);
  padding: .75rem 1rem;
  z-index: 99
}

.skip:focus {
  left: 0
}

:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
  border-radius: 2px
}

/* ============ header ============ */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--panel);
  border-bottom: 1px solid var(--panel-hair);
}

.hdr__in {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: .9rem var(--gut)
}

.hdr__right {
  display: flex;
  align-items: center;
  gap: .75rem
}

.mark {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-right: auto;
  text-decoration: none;
  color: var(--panel-text)
}

.mark__b {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -.03em
}

.mark__c {
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent-panel)
}

/* ---- brand logo (WordPress custom logo) ---- */
.custom-logo {
  height: 120px;
  width: auto;
  display: block
}
/* Theme-aware swap: on the dark theme the header panel is near-black, so
   show the light-ink variant instead. Works on the <img class="custom-logo">
   that the_custom_logo() outputs — no markup change needed.
   Upload assets/brc-logo.svg as the site logo for the light/sepia default. */
html[data-theme="dark"] .custom-logo {
  content: url("../brc-logo-dark.svg")
}

/* Keep the brand hard-left in the header row, whether it renders as the
   WordPress custom-logo link or the text mark. */
.hdr__in > .mark,
.hdr__in > .custom-logo-link {
  margin-right: auto;
  display: flex;
  align-items: center;
}

.hdr .custom-logo { height: 120px; }    /* header — compact */
.ftr .custom-logo { height: 50px; }   /* footer — large */

@media(max-width:640px){
  .hdr .custom-logo{ height:64px }
  .ftr .custom-logo{ height:44px }
}

.nav {
  display: flex;
  align-items: center;
  gap: .25rem
}

/* Anchor styling works for both the hard-coded nav (flat <a>) and a
   WordPress-assigned menu (<ul><li><a>). */
.nav ul {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  margin: 0;
  padding: 0
}

.nav li {
  display: block
}

.nav a {
  position: relative;
  font-family: var(--display);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .005em;
  color: var(--panel-text);
  text-decoration: none;
  padding: .5rem .72rem;
  border-radius: 4px;
  opacity: 1;
  transition: color .18s, background .18s;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--accent-panel);
  background: var(--panel-soft-hi)
}

.nav a.is-on,
.nav .current-menu-item>a,
.nav .current_page_item>a,
.nav .current-menu-ancestor>a {
  opacity: 1
}

.nav a.is-on::after,
.nav .current-menu-item>a::after,
.nav .current_page_item>a::after,
.nav .current-menu-ancestor>a::after {
  content: "";
  position: absolute;
  left: .72rem;
  right: .72rem;
  bottom: .3rem;
  height: 1px;
  background: var(--accent-panel);
}

.nav .cta,
.nav .cta>a {
  background: var(--accent);
  color: #fff;
  opacity: 1;
  margin-left: .5rem;
  padding: .55rem 1rem;
}

.nav .cta:hover,
.nav .cta>a:hover {
  background: var(--accent-hover)
}

.nav .cta.is-on::after,
.nav .cta.current-menu-item>a::after {
  display: none
}

/* ---- theme switch ---- */
.theme {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .3rem .4rem;
  border: 1px solid var(--panel-hair);
  border-radius: 99px;
  background: var(--panel-soft)
}

.theme__opt {
  width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  border: 1px solid var(--panel-hair);
  background: var(--o);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  transition: box-shadow .18s, transform .18s;
}

.theme__opt:hover {
  transform: scale(1.12)
}

.theme__opt[aria-checked="true"] {
  box-shadow: 0 0 0 2px var(--panel), 0 0 0 3px var(--accent-panel)
}

.theme__opt--light {
  --o: #f6f5f2
}

.theme__opt--sepia {
  --o: #efe3ca
}

.theme__opt--dark {
  --o: #16191c
}

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap
}

.menubtn {
  display: none;
  background: none;
  border: 1px solid var(--panel-hair);
  color: var(--panel-text);
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .55rem .8rem;
  border-radius: 3px;
  cursor: pointer
}

@media(max-width:940px) {
  .menubtn {
    display: block
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--panel);
    border-bottom: 1px solid var(--panel-hair);
    flex-direction: column;
    align-items: stretch;
    padding: .5rem var(--gut) 1.25rem;
    gap: 0;
    display: none;
  }

  .nav.is-open {
    display: flex
  }

  .nav ul {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0
  }

  .nav a {
    padding: .8rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--panel-hair)
  }

  .nav a.is-on::after,
  .nav .current-menu-item>a::after,
  .nav .current_page_item>a::after {
    display: none
  }

  .nav .cta,
  .nav .cta>a {
    margin: .9rem 0 0;
    text-align: center;
    border: 0;
    border-radius: 3px
  }
}

/* ============ views / page transition ============ */
.view {
  display: block;
  animation: fade .35s ease both
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(6px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

/* ============ hero ============ */
.hero {
  background: var(--panel);
  color: var(--panel-text);
  padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid var(--panel-hair);
  overflow: hidden
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center
}

.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  letter-spacing: -.035em;
  color: var(--panel-text);
  margin-bottom: 1.5rem
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-panel)
}

.hero__lede {
  font-size: clamp(1.0625rem, 1.7vw, 1.25rem);
  color: var(--panel-text-dim);
  max-width: 34em;
  font-weight: 300
}

.btns {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem
}

.btn {
  display: inline-block;
  font-family: var(--display);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  padding: .85rem 1.5rem;
  border-radius: 3px;
  transition: .18s;
  letter-spacing: .005em;
  cursor: pointer;
}

.btn--fill {
  background: var(--accent);
  color: #fff;
  border: 1px solid transparent
}

.btn--fill:hover {
  background: var(--accent-hover)
}

.btn--line {
  border: 1px solid var(--panel-hair);
  color: var(--panel-text);
  background: none
}

.btn--line:hover {
  border-color: var(--panel-text);
  background: var(--panel-soft-hi)
}

.btn--dark {
  background: var(--text);
  color: var(--bg);
  border: 1px solid transparent
}

.btn--dark:hover {
  opacity: .86
}

.btn--ghost {
  border: 1px solid var(--hair);
  color: var(--text);
  background: none
}

.btn--ghost:hover {
  border-color: var(--text)
}

/* signature: capital stack */
.stack {
  display: flex;
  flex-direction: column;
  gap: 3px
}

.stack__cap {
  font-family: var(--mono);
  font-size: .625rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  margin-bottom: .9rem
}

.layer {
  position: relative;
  border: 1px solid var(--panel-hair);
  border-radius: 3px;
  padding: .7rem .9rem;
  background: var(--panel-soft);
  cursor: default;
  transition: background .22s ease, border-color .22s ease, transform .22s ease;
  animation: rise .55s cubic-bezier(.2, .7, .3, 1) both;
}

.layer:hover,
.layer:focus-within {
  background: var(--accent-soft);
  border-color: var(--accent-panel);
  transform: translateX(6px)
}

.layer:nth-child(2) {
  animation-delay: .28s
}

.layer:nth-child(3) {
  animation-delay: .21s
}

.layer:nth-child(4) {
  animation-delay: .14s
}

.layer:nth-child(5) {
  animation-delay: .07s
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.layer__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem
}

.layer__name {
  font-family: var(--display);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--panel-text)
}

.layer__pos {
  font-family: var(--mono);
  font-size: .625rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brass-panel);
  white-space: nowrap
}

.layer__note {
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--panel-text-dim);
  margin: .3rem 0 0
}

.layer--senior {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem
}

.layer--pref {
  padding-top: 1.05rem;
  padding-bottom: 1.05rem
}

@media(max-width:860px) {
  .hero__grid {
    grid-template-columns: 1fr
  }
}

/* ============ page head (inner pages) ============ */
.phead {
  background: var(--panel);
  color: var(--panel-text);
  padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(2.25rem, 5vw, 3.5rem)
}

.phead h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  color: var(--panel-text);
  max-width: 16ch
}

.phead p {
  color: var(--panel-text-dim);
  max-width: 48ch;
  margin-top: 1.25rem;
  font-weight: 300
}

/* ============ sections ============ */
.sec {
  padding: clamp(3rem, 7vw, 5.5rem) 0
}

.sec--tint {
  background: var(--tint)
}

.sec--white {
  background: var(--surface)
}

.sec__title {
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  max-width: 32ch;
  margin-bottom: 1.25rem
}

.sec__intro {
  max-width: 52ch;
  color: var(--text2);
  margin-bottom: 2.75rem
}

.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem)
}

.col h3 {
  font-size: 1.1875rem;
  margin-bottom: .6rem
}

.col p {
  font-size: .9688rem;
  color: var(--text2);
  margin: 0
}

.col__rule {
  height: 2px;
  width: 34px;
  background: var(--accent);
  margin-bottom: 1.1rem
}

/* source list */
.sources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0;
  border-top: 1px solid var(--hair);
  margin-top: 2rem
}

.sources li {
  list-style: none;
  border-bottom: 1px solid var(--hair);
  padding: 1.05rem .5rem 1.05rem 0;
  font-family: var(--display);
  font-size: .9375rem;
  font-weight: 500;
  display: flex;
  gap: .75rem;
  align-items: baseline;
}

.sources li span {
  font-family: var(--mono);
  font-size: .6875rem;
  color: var(--brass)
}

ul.sources {
  padding: 0;
  margin: 2rem 0 0
}

/* ============ term sheets ============ */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2.5rem
}

.chip {
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .55rem .95rem;
  border: 1px solid var(--hair);
  border-radius: 99px;
  background: none;
  cursor: pointer;
  color: var(--text2);
  transition: .18s;
}

.chip:hover {
  border-color: var(--text)
}

.chip.is-on {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg)
}

.sheets {
  display: grid;
  gap: 1.5rem
}

.sheet {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 4px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.sheet__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .75rem 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--text);
  margin-bottom: .25rem
}

.sheet__tag {
  font-family: var(--mono);
  font-size: .625rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .28rem .6rem;
  border-radius: 2px;
  background: var(--tint);
  color: var(--text2)
}

.sheet__tag--eq {
  background: var(--accent-soft);
  color: var(--accent-text)
}

.sheet__head h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  flex: 1 1 auto
}

.sheet__size {
  font-family: var(--mono);
  font-size: .9375rem;
  color: var(--brass);
  margin: 0;
  white-space: nowrap
}

.rows {
  margin: 0
}

.rows>div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--hair)
}

.rows>div:last-child {
  border-bottom: 0;
  padding-bottom: 0
}

.rows dt {
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: .25rem
}

.rows dd {
  margin: 0;
  font-size: .9688rem;
  color: var(--text2)
}

@media(max-width:640px) {
  .rows>div {
    grid-template-columns: 1fr;
    gap: .3rem
  }

  .rows dt {
    padding-top: 0
  }
}

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

@media(max-width:860px) {
  .pair {
    grid-template-columns: 1fr
  }
}

/* equity strategy cards */
.strats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem
}

.strat {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 4px;
  padding: 1.5rem;
  border-top: 3px solid var(--accent)
}

.strat h4 {
  font-size: 1.125rem;
  margin-bottom: .65rem
}

.strat p {
  font-size: .9375rem;
  color: var(--text2);
  margin-bottom: 1.25rem
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
  margin: 0;
  border-top: 1px solid var(--hair);
  padding-top: 1.1rem
}

.stats dt {
  font-family: var(--mono);
  font-size: .5938rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted)
}

.stats dd {
  margin: .15rem 0 0;
  font-family: var(--mono);
  font-size: .875rem;
  color: var(--text)
}

.note {
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--muted);
  margin-top: 1.75rem;
  line-height: 1.7
}

/* ============ form slots ============ */
.formslot {
  background: var(--surface);
  border: 0px dashed var(--accent-text);
  border-radius: 4px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

.formslot__mark {
  display: block;
  font-family: var(--mono);
  font-size: clamp(.9375rem, 2vw, 1.125rem);
  color: var(--accent-text);
  font-weight: 500;
  word-break: break-word;
}

.formslot__note {
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--muted);
  margin: 1.1rem 0 0;
  line-height: 1.75;
  max-width: 62ch
}

.formslot--sm {
  padding: 1.25rem;
  border-color: var(--panel-hair);
  background: transparent
}

.formslot--sm .formslot__mark {
  color: var(--accent-panel);
  font-size: .875rem
}

.formslot--sm .formslot__note {
  color: var(--muted)
}

/* ============ routes / paths ============ */
.paths {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: .5rem
}

.path {
  display: block;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 4px;
  padding: 1.75rem;
  transition: .2s;
  position: relative;
}

.path:hover {
  border-color: var(--accent);
  transform: translateY(-3px)
}

.path__n {
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .14em;
  color: var(--brass);
  text-transform: uppercase
}

.path h3 {
  font-size: 1.25rem;
  margin: .9rem 0 .55rem
}

.path p {
  font-size: .9375rem;
  color: var(--text2);
  margin: 0
}

.path__go {
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--accent-text);
  margin-top: 1.1rem;
  display: block
}

/* ============ team ============ */
/* Section label for on-page groups (replaces the eyebrow kicker here):
   a display-font heading with a hairline rule running to the edge, so it
   reads as a divider between groups rather than a small kicker. */
.group-title {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin: 0 0 1.75rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -.01em;
  color: var(--text);
}

.group-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hair);
}

.people+.group-title {
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

/* Team roster as cards — each member is separated by a bordered card + gap
   instead of one full-width rule. Top accent matches the strategy cards. */
.people {
  display: grid;
  /* auto-fill (not auto-fit) keeps empty columns, so a lone card — e.g. the
     single Strategic Partner — stays one column wide instead of stretching. */
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(1rem, 2.2vw, 1.5rem);
  align-items: start;
}

.person {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: clamp(1.5rem, 2.5vw, 1.9rem);
  background: var(--surface);
  border: 1px solid var(--hair);
  border-top: 3px solid var(--accent);
  border-radius: 6px;
  transition: transform .15s ease, border-color .2s ease;
}

.person:hover {
  transform: translateY(-3px);
}

.person h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem)
}

.person__role {
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: .5rem 0 0
}

.person__lines {
  font-family: var(--mono);
  font-size: .8125rem;
  line-height: 2.1;
  color: var(--text2);
  border-top: 1px solid var(--hair);
  padding-top: 1.1rem;
}

.person__lines a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--hair)
}

.person__lines a:hover {
  border-color: var(--accent-text);
  color: var(--accent-text)
}

.person__lines span {
  color: var(--muted);
  display: inline-block;
  width: 4.5rem
}

/* ============ contact ============ */
.contact__grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start
}

@media(max-width:860px) {
  .contact__grid {
    grid-template-columns: 1fr
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 4px;
  padding: 1.75rem
}

.card h3 {
  font-size: 1.0625rem;
  margin-bottom: 1rem
}

.card p {
  font-size: .9375rem;
  color: var(--text2)
}

.card a {
  color: var(--accent-text)
}

/* ============ band ============ */
.band {
  background: var(--panel2);
  color: var(--panel-text);
  padding: clamp(2.75rem, 6vw, 4rem) 0;
  border-top: 1px solid var(--panel-hair)
}

.band__in {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  align-items: center;
  justify-content: space-between
}

.band h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  color: var(--panel-text);
  max-width: 20ch
}

.band p {
  color: var(--panel-text-dim);
  margin: .75rem 0 0;
  max-width: 44ch;
  font-weight: 300
}

/* ============ footer ============ */
.ftr {
  background: var(--panel);
  color: var(--panel-text-dim);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  font-size: .9375rem
}

.ftr__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 3.5rem)
}

@media(max-width:860px) {
  .ftr__grid {
    grid-template-columns: 1fr
  }
}

.ftr h4 {
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--panel-text);
  font-weight: 500;
  margin-bottom: 1.1rem
}

.ftr ul {
  list-style: none;
  padding: 0;
  margin: 0
}

.ftr li {
  margin-bottom: .55rem
}

.ftr a {
  color: var(--panel-text-dim);
  text-decoration: none
}

.ftr a:hover {
  color: var(--panel-text)
}

.ftr__legal {
  border-top: 1px solid var(--panel-hair);
  margin-top: 3rem;
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 2rem;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: .6875rem;
  line-height: 1.9;
  color: var(--muted)
}

/* ============ editor content (page.php, posts, privacy) ============ */
.page-content {
  max-width: 70ch;
  font-size: 1.0625rem
}

.page-content>* {
  margin-bottom: 1.15em
}

.page-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 1.8em 0 .6em
}

.page-content h3 {
  font-size: 1.3rem;
  margin: 1.4em 0 .5em
}

.page-content ul,
.page-content ol {
  padding-left: 1.3em;
  color: var(--text2)
}

.page-content li {
  margin-bottom: .4em
}

.page-content a {
  color: var(--accent-text);
  text-decoration: underline
}

.page-content img {
  border-radius: 4px
}

.page-content blockquote {
  margin: 1.6em 0;
  padding: .4em 0 .4em 1.4em;
  border-left: 3px solid var(--accent);
  color: var(--muted);
  font-style: italic
}

.page-content code {
  font-family: var(--mono);
  background: var(--tint);
  padding: .1em .4em;
  border-radius: 3px;
  font-size: .9em
}

.post-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--hair)
}

.post-meta {
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: .4rem 0 0
}

.aligncenter {
  margin-inline: auto;
  text-align: center
}

.alignright {
  float: right;
  margin: 0 0 1rem 1.5rem
}

.alignleft {
  float: left;
  margin: 0 1.5rem 1rem 0
}

.wp-caption-text {
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--muted)
}

@media(prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important
  }
}

/* ============ forminator ============ */
.forminator-custom-form {
  font-family: var(--display) !important;
}

.forminator-custom-form input,
.forminator-custom-form textarea,
.forminator-custom-form select,
.forminator-custom-form label,
.forminator-custom-form button {
  font-family: var(--display) !important;
  font-size: .75em !important;
}