/* Elliott Forman — Brass B shared styles (internal pages) */
:root {
  --ink: #0D0E12;
  --ink-2: #15161C;
  --bone: #F4EFE6;
  --brass: #C6A14B;
  --line: rgba(198,161,75,.28);
  --muted: rgba(244,239,230,.72);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brass); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
img { display: block; }

.mono {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.wrap { max-width: 1240px; margin: 0 auto; }
.sec { padding: 110px 8vw; border-top: 1px solid var(--line); }
.sec.alt { background: var(--ink-2); }
.sec.light { background: var(--bone); color: var(--ink); }

.kicker {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.kicker::after { content: ""; height: 1px; width: 64px; background: var(--line); }

h1.display, h2.display, h3.display {
  font-family: 'Anton', Impact, sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: .95;
  margin: 0;
}
h1.display { font-size: clamp(42px, 6.4vw, 88px); }
h2.display { font-size: clamp(34px, 4.6vw, 58px); }
h3.display { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.05; }

.lede { font-size: 20px; font-weight: 300; color: rgba(244,239,230,.85); text-wrap: pretty; }
.body { font-size: 16px; color: var(--muted); line-height: 1.8; }
.warn { color: var(--brass); }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cell { background: var(--ink); padding: 44px 34px; display: flex; flex-direction: column; }
.cell.alt { background: var(--ink-2); }

.btn {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 14px 24px;
  border: 1px solid var(--brass);
  background: var(--brass);
  color: var(--ink);
  display: inline-block;
  cursor: pointer;
}
.btn.ghost { background: transparent; color: var(--bone); }
.btn.ghost:hover { color: var(--brass); }
.link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brass);
  border-bottom: 1px solid var(--brass);
  padding-bottom: 4px;
  align-self: flex-start;
}

/* header */
.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: linear-gradient(rgba(13,14,18,.94), rgba(13,14,18,.78) 70%, transparent);
  backdrop-filter: blur(6px);
}
.site-head .bar {
  max-width: 1240px; margin: 0 auto; padding: 20px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.wordmark { font-family: 'Anton', Impact, sans-serif; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; }
.wordmark span { color: var(--brass); }
.site-head ul { display: flex; gap: 30px; list-style: none; align-items: center; margin: 0; padding: 0; }
.site-head a.nav { opacity: .85; padding: 6px 0; border-bottom: 1px solid transparent; }
.site-head a.nav[aria-current="page"] { opacity: 1; color: var(--brass); border-bottom-color: var(--brass); }

/* page hero */
.page-hero {
  position: relative; min-height: 62vh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 190px 8vw 72px; overflow: hidden; border-bottom: 1px solid var(--line);
}
.page-hero img.bg {
  position: absolute; top: 0; bottom: 0; right: 0; left: auto;
  width: 58%; height: 100%; object-fit: cover;
  object-position: 50% 20%; filter: grayscale(.35) contrast(1.06) brightness(.74);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 22%, #000 48%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 22%, #000 48%, #000 100%);
}
.page-hero .veil {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #0D0E12 0%, rgba(13,14,18,.92) 38%, rgba(13,14,18,.42) 62%, rgba(13,14,18,.3) 100%),
              linear-gradient(0deg, rgba(13,14,18,.92) 2%, transparent 55%);
}
.page-hero .inner { position: relative; z-index: 2; max-width: 900px; }
.page-hero .inner > h1, .page-hero .inner > .lede, .page-hero .inner > p { max-width: min(100%, 640px); }
.page-hero .inner > .stat-row { max-width: 100%; }

/* footer */
.site-foot {
  border-top: 1px solid var(--line); padding: 44px 8vw;
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center;
}
.site-foot ul { display: flex; gap: 22px; list-style: none; align-items: center; margin: 0; padding: 0; flex-wrap: wrap; }

@media (max-width: 900px) {
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .sec { padding: 72px 7vw; }
  .site-head ul { display: none; }
  .page-hero { padding: 150px 7vw 56px; }
}

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brass);
}
.field input, .field select, .field textarea {
  background: var(--ink-2); border: 1px solid var(--line); color: var(--bone);
  font-family: 'Newsreader', Georgia, serif; font-size: 16px; padding: 14px 16px;
  width: 100%; border-radius: 0; transition: border-color .2s, background .2s;
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brass); background: #191a21;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(244,239,230,.32); }
.field select { appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--brass) 50%), linear-gradient(135deg, var(--brass) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
.field select option { background: var(--ink-2); color: var(--bone); }
.btn { transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: #dcb75f; color: var(--ink); }
.btn.ghost:hover { background: rgba(198,161,75,.12); border-color: var(--brass); }
.link { transition: opacity .2s; }
.link:hover { opacity: .75; }

/* ---------- cards & media ---------- */
.cell { transition: background .25s; }
a.cell:hover { background: #1b1c24; color: inherit; }
.photo { width: 100%; object-fit: cover; border: 1px solid var(--line); filter: grayscale(.2) contrast(1.05); }
.tile { position: relative; overflow: hidden; border: 1px solid var(--line); display: block; }
.tile img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2) contrast(1.05); transition: transform .5s ease; }
.tile:hover img { transform: scale(1.04); }
.tile .cap { position: absolute; inset: auto 0 0 0; padding: 24px;
  background: linear-gradient(180deg, transparent, rgba(13,14,18,.92)); }
.stat-row { display: flex; gap: 44px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 40px; }
.stat b { font-family: 'Anton', Impact, sans-serif; font-size: 30px; font-weight: 400; display: block; letter-spacing: .02em; }
.stat span { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #8E939C; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.quote { font-size: 22px; font-weight: 300; font-style: italic; line-height: 1.6; margin: 0 0 20px; }

/* ---------- newsletter band ---------- */
.news { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.news form { display: flex; gap: 2px; border: 1px solid var(--brass); }
.news input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 16px 18px; color: var(--bone);
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .08em; }
.news input:focus { outline: none; }
.news button { border: 0; }

@media (max-width: 900px) {
  .news { grid-template-columns: 1fr; }
}

/* ---------- shadow-box figures & overlays ---------- */
/* --fig-off: brass frame offset; --fig-over: how far the overbox hangs out.
   Both are reserved as margin so the frame never collides with neighbours. */
.figure {
  --fig-off: 22px;
  --fig-over: 24px;
  position: relative; display: block; z-index: 1;
  aspect-ratio: 4 / 5;
  margin: 0 var(--fig-over) calc(var(--fig-off) + var(--fig-over)) 0;
}
.figure.left { margin: 0 0 calc(var(--fig-off) + var(--fig-over)) var(--fig-over); }
.figure > img { width: 100%; height: 100%; object-fit: cover; border: 1px solid var(--line);
  filter: grayscale(.22) contrast(1.06); position: relative; z-index: 1; }
.figure::before { content: ""; position: absolute;
  inset: var(--fig-off) calc(-1 * var(--fig-off)) calc(-1 * var(--fig-off)) var(--fig-off);
  border: 1px solid var(--line); z-index: 0; }
.figure.brass::before { background: rgba(198,161,75,.14); border-color: transparent; }
.figure.left::before {
  inset: var(--fig-off) var(--fig-off) calc(-1 * var(--fig-off)) calc(-1 * var(--fig-off));
}
/* aspect variants (use instead of inline heights) */
.figure.wide { aspect-ratio: 3 / 2; }
.figure.square { aspect-ratio: 1 / 1; }
.figure.tall { aspect-ratio: 3 / 4; }

/* floating shadow box laid over an image */
.overbox {
  position: absolute; z-index: 3; display: block; background: rgba(13,14,18,.9);
  border: 1px solid var(--line); border-left: 2px solid var(--brass);
  padding: 20px 24px; width: min(300px, 82%);
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
}
.overbox b { font-family: 'Anton', Impact, sans-serif; font-weight: 400; font-size: clamp(24px, 2.1vw, 34px);
  display: block; line-height: 1.02; letter-spacing: .02em; text-wrap: balance; }
.overbox span { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: #8E939C; display: block; margin-top: 8px; }
.overbox p { margin: 10px 0 0; font-size: 15px; color: var(--muted); line-height: 1.68; }
.overbox.br { right: calc(-1 * var(--fig-over)); bottom: calc(-1 * var(--fig-over)); }
.overbox.bl { left: calc(-1 * var(--fig-over)); bottom: calc(-1 * var(--fig-over)); }
.overbox.tr { right: calc(-1 * var(--fig-over)); top: calc(-1 * var(--fig-over)); }
.overbox.tl { left: calc(-1 * var(--fig-over)); top: calc(-1 * var(--fig-over)); }


/* big numbers grid */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line);
  border: 1px solid var(--line); }
.numbers > div { background: var(--ink); padding: 34px 28px; transition: background .25s; }
.sec.alt .numbers > div { background: var(--ink-2); }
.numbers > div:hover { background: #1b1c24; }
.numbers b { font-family: 'Anton', Impact, sans-serif; font-weight: 400;
  font-size: clamp(34px, 3.6vw, 52px); line-height: 1; display: block; color: var(--bone); }
.numbers .lbl { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brass); display: block; margin: 14px 0 8px; }
.numbers p { margin: 0; font-size: 14.5px; color: rgba(244,239,230,.6); line-height: 1.68; }

/* full-bleed image band with a pull quote */
.band { position: relative; overflow: hidden; border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); min-height: 460px; display: flex; align-items: center;
  padding: 96px 8vw; }
.band img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.6) contrast(1.1) brightness(.42); }
.band .veil { position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13,14,18,.94) 0%, rgba(13,14,18,.6) 60%, rgba(13,14,18,.3) 100%); }
.band .inner { position: relative; z-index: 2; max-width: 820px; }
.band blockquote { font-family: 'Anton', Impact, sans-serif; text-transform: uppercase;
  font-size: clamp(28px, 3.6vw, 48px); line-height: 1.02; font-style: normal; margin: 0; }

@media (max-width: 1200px) {
  .figure { --fig-off: 16px; --fig-over: 16px; }
  .overbox { padding: 16px 18px; width: min(268px, 86%); }
}

@media (max-width: 900px) {
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .figure { aspect-ratio: auto; margin: 0 0 20px 0; }
  .figure.tall, .figure.square, .figure.wide { aspect-ratio: auto; }
  .figure > img { aspect-ratio: 4 / 3; height: auto; }
  .figure::before { display: none; }
  .overbox { position: static; display: block; width: auto; margin-top: 14px; padding: 18px 20px;
    box-shadow: none; backdrop-filter: none; background: var(--ink); }
  .sec.alt .overbox { background: var(--ink-2); }
}


/* ---------- testimonial / quote slider ---------- */
.tslider { position: relative; }
.tslider .track { position: relative; min-height: 260px; }
.tslider .slide { position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.tslider .slide.on { opacity: 1; visibility: visible; transform: none; position: relative; }
.tslider blockquote { font-family: 'Newsreader', Georgia, serif; font-style: italic;
  font-size: clamp(22px, 2.5vw, 34px); line-height: 1.32; margin: 0; max-width: 980px;
  color: var(--bone); }
.tslider blockquote::before { content: "“"; font-family: 'Anton', Impact, sans-serif;
  color: var(--brass); display: block; font-size: 64px; line-height: .6; margin-bottom: 18px; }
.tslider .who { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.tslider .who .rule { width: 46px; height: 1px; background: var(--brass); flex: none; }
.tslider .who b { font-family: 'Anton', Impact, sans-serif; font-weight: 400;
  letter-spacing: .04em; text-transform: uppercase; font-size: 15px; }
.tslider .who span { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px;
  letter-spacing: .14em; text-transform: uppercase; color: #8E939C; }
.tslider .ctrls { display: flex; align-items: center; gap: 10px; margin-top: 38px; }
.tslider .ctrls button { background: transparent; border: 1px solid var(--line); color: var(--bone);
  width: 44px; height: 44px; cursor: pointer; font-size: 16px; line-height: 1;
  transition: border-color .2s, background .2s, color .2s; }
.tslider .ctrls button:hover { border-color: var(--brass); color: var(--brass); }
.tslider .dots { display: flex; gap: 8px; margin-left: 14px; }
.tslider .dots i { width: 22px; height: 2px; background: var(--line); display: block;
  cursor: pointer; transition: background .25s; }
.tslider .dots i.on { background: var(--brass); }
.sec.light .tslider blockquote, .sec.light .tslider .who b { color: #0D0E12; }
@media (max-width: 700px) { .tslider .track { min-height: 340px; } }

/* ---------- animated stat cards ---------- */
.stat-card {
  position: relative;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease var(--d, 0ms), transform .6s cubic-bezier(.22,.8,.3,1) var(--d, 0ms),
              background .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.stat-card.on { opacity: 1; transform: none; }
.numbers > .stat-card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0;
  background: var(--brass); transition: width .45s cubic-bezier(.22,.8,.3,1);
}
.numbers > .stat-card:hover { background: #1b1c24; box-shadow: 0 22px 50px rgba(0,0,0,.45); }
.numbers > .stat-card:hover::after { width: 100%; }
.numbers > .stat-card:hover b { color: var(--brass); }
.numbers > .stat-card b { transition: color .28s ease; }
.numbers > .stat-card .lbl { transition: letter-spacing .28s ease; }
.numbers > .stat-card:hover .lbl { letter-spacing: .2em; }

.stat-row .stat-card.inline {
  padding: 14px 20px 14px 16px;
  border-left: 1px solid var(--line);
  cursor: default;
}
.stat-row .stat-card.inline:hover {
  border-left-color: var(--brass);
  background: rgba(198,161,75,.07);
}
.stat-row .stat-card.inline b { transition: color .28s ease, transform .28s ease; }
.stat-row .stat-card.inline:hover b { color: var(--brass); transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
  .stat-card { opacity: 1; transform: none; transition: none; }
}
