/* Tier Rogue — gloss black + polished silver redesign */
:root {
  --black: #060607;
  --black-2: #0d0d0f;
  --black-3: #040405;
  --rule: #6b7178;
  --rule-card: #4a4f55;
  --rule-list: #3d4146;
  --pad-x: clamp(24px, 5vw, 96px);
  --pad-y: clamp(72px, 9vw, 140px);

  --silver: radial-gradient(ellipse 38% 90% at 22% 0%, rgba(255,255,255,.95), transparent 70%),
            radial-gradient(ellipse 30% 70% at 74% 100%, rgba(255,255,255,.7), transparent 72%),
            linear-gradient(100deg, #aeb3b9 0%, #f7f8f9 14%, #d5d8dc 28%, #9da3aa 42%, #e9ebed 56%, #ffffff 66%, #c3c7cc 80%, #a2a8af 100%);
  --chrome-text: linear-gradient(100deg, #7d838a 0%, #f1f2f3 34%, #a4aab0 52%, #ffffff 70%, #858b92 100%);
  --chevron: linear-gradient(100deg, #aeb3b9 0%, #f7f8f9 30%, #9da3aa 50%, #ffffff 70%, #a2a8af 100%);
  --gloss: linear-gradient(155deg, #2b2d31 0%, #0f1012 36%, #050506 100%);
  --steel: repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 3px),
           repeating-linear-gradient(0deg, rgba(0,0,0,.16) 0 2px, transparent 2px 9px),
           linear-gradient(180deg, #2a2c30 0%, #17181b 100%);
  --slash-angle: -49deg; /* matches the slash in the TR logo */
  --font: "Archivo", "Helvetica Neue", Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--black); color: #c9cdd1;
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
h1, h2, h3, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: #e6e8ea; }
a:hover { color: #fff; }
h1, h2, h3 { font-stretch: 112%; }
h1 { font-weight: 800; font-size: clamp(2.4rem, 4.6vw, 4.75rem); line-height: 1.02; letter-spacing: -.015em; max-width: 22ch; text-wrap: balance; }
h2 { font-weight: 800; font-size: clamp(2.2rem, 4.6vw, 4.4rem); line-height: 1.02; color: #f1f2f3; text-wrap: balance; }
h3 { font-weight: 700; color: #fff; }

.top-anchor { position: absolute; top: 0; left: 0; height: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #f1f2f3; color: #0a0a0b; padding: 10px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid #f1f2f3; outline-offset: 3px; }

/* Surfaces */
.silver { background: var(--silver); color: #0a0a0b; }
.chrome { background: var(--chrome-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gloss {
  background: var(--gloss);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 24px 40px -24px #000;
  transition: border-color .25s;
}

/* Sections */
.sec { position: relative; padding: var(--pad-y) var(--pad-x); }
.sec--black { background: linear-gradient(180deg, var(--black-2), var(--black-3)); }
.sec--a135 { background: repeating-linear-gradient(135deg, rgba(255,255,255,.022) 0 2px, transparent 2px 7px), linear-gradient(180deg, var(--black-2), var(--black-3)); }
.sec--a45  { background: repeating-linear-gradient(45deg,  rgba(255,255,255,.022) 0 2px, transparent 2px 7px), linear-gradient(180deg, var(--black-2), var(--black-3)); }
.sec--steel { background: var(--steel); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.sec--no-bottom { border-bottom: 0; }
.sec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 64px; margin-bottom: clamp(36px, 4vw, 64px); }
.sec__head-main { flex: 1 1 420px; }
.sec__sub { flex: 1 1 380px; max-width: 62ch; font-size: 1.08rem; color: #c3c7cb; }
.sec__sub--narrow { flex: 0 1 auto; max-width: 44ch; font-size: 1.1rem; }

/* Eyebrow */
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
  font-weight: 700; font-stretch: 118%; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: #aab0b6;
}
.eyebrow--hero { color: #c9cdd1; margin-bottom: 28px; }
.eyebrow--steel { color: #b4b9be; }
.slash { position: relative; flex: none; width: 20px; height: 18px; }
/* Drawn as a rotated hairline (not a skewed box) so it reads at exactly the logo/hero angle */
.slash::before { content: ""; position: absolute; left: 50%; top: 50%; width: 2px; height: 26px; background: #e9ebed; transform: translate(-50%, -50%) rotate(calc(-1 * var(--slash-angle))); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-stretch: 112%; font-size: 15px; line-height: 1.2;
  text-decoration: none; padding: 16px 28px; border: 0;
}
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--silver { background: var(--silver); color: #0a0a0b; box-shadow: inset 0 1px 0 rgba(255,255,255,.8); }
.btn--silver:hover { filter: brightness(1.1); color: #0a0a0b; }
.btn--lift { box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 10px 30px -10px rgba(255,255,255,.25); }
.btn--ghost { color: #fff; border: 1px solid rgba(255,255,255,.4); background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0) 50%); }
.btn--ghost:hover { border-color: #fff; color: #fff; }
.btn--black { align-self: flex-start; padding: 12px 20px; font-size: 14px; color: #fff; background: linear-gradient(180deg, #2e3034 0%, #0a0a0b 50%, #000 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.btn--black:hover { color: #fff; filter: brightness(1.4); }

/* Logo (TR lockup, transparent PNG/WebP) */
.brand-img { display: block; height: 52px; width: auto; }
.brand-img--footer { height: 48px; }
@media (max-width: 600px) { .brand-img { height: 44px; } }

/* Header */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px;
  padding: 14px var(--pad-x);
  background: linear-gradient(180deg, rgba(28,30,33,.94), rgba(8,8,9,.94));
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.nav__brand { display: flex; align-items: center; text-decoration: none; }
.nav__menu { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 30px; font-size: 14px; font-weight: 500; letter-spacing: .04em; }
.nav__menu a:not(.btn) { color: #c9cdd1; text-decoration: none; }
.nav__menu a:not(.btn):hover { color: #fff; }
.nav__toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav__toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; background: #f1f2f3; margin: 5px 0; transition: transform .2s; }
.nav__toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-3.5px) rotate(-45deg); }

/* Hero */
.hero {
  overflow: hidden;
  --hero-pb: clamp(36px, 4vw, 56px);
  padding: clamp(36px, 4vw, 64px) var(--pad-x) var(--hero-pb);
  background:
    radial-gradient(ellipse 60% 70% at 88% 0%, rgba(196,204,212,.2), transparent 62%),
    radial-gradient(ellipse 50% 50% at 0% 100%, rgba(150,158,166,.1), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.022) 0 2px, transparent 2px 7px),
    linear-gradient(180deg, var(--black-2), var(--black-3));
}
/* Anchored at the hero's top-right corner; skew sweeps the bottom down-left at the logo's angle */
.hero__line { position: absolute; top: 0; bottom: 0; transform-origin: top; transform: skewX(var(--slash-angle)); pointer-events: none; }
.hero__line--bright { left: calc(100% - 2px); width: 2px; background: #e9ebed; }
.hero__line--dim { left: calc(100% - 58px); width: 1px; background: #8a9097; }
.hero__inner { position: relative; }
.hero__sub { margin-top: clamp(16px, 1.8vw, 26px); font-weight: 600; font-stretch: 108%; font-size: clamp(1.25rem, 2vw, 2rem); line-height: 1.25; color: #e2e4e6; max-width: 40ch; text-wrap: balance; }
.hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 36px 64px; margin-top: clamp(36px, 4vw, 64px); }
.hero__lede { flex: 1 1 480px; max-width: 68ch; font-size: clamp(1.05rem, 1.4vw, 1.3rem); color: #c3c7cb; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__creds {
  display: flex; flex-wrap: wrap; gap: 10px 36px;
  /* Full-bleed solid band: the diagonal accent lines pass behind it and stop at the rule */
  margin: clamp(48px, 6vw, 88px) calc(-1 * var(--pad-x)) calc(-1 * var(--hero-pb));
  padding: 24px var(--pad-x) var(--hero-pb);
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.022) 0 2px, transparent 2px 7px), #060607;
  border-top: 1px solid var(--rule);
  font-size: 14px; color: #aeb3b8; letter-spacing: .02em;
}
.hero__creds li { display: flex; align-items: center; gap: 10px; }
.hero__creds li::before { content: ""; flex: none; width: 6px; height: 6px; background: #fff; transform: rotate(45deg); }

/* Stats band */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 32px clamp(24px, 3vw, 56px);
  padding: clamp(36px, 4vw, 56px) var(--pad-x);
  border-top: 1px solid rgba(255,255,255,.9); border-bottom: 1px solid #000;
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0,0,0,.35), inset 0 -14px 24px -14px rgba(60,66,74,.45);
}
.stat { border-left: 2px solid #0a0a0b; padding-left: 20px; }
.stat__num { display: block; font-weight: 800; font-stretch: 120%; font-size: clamp(2.1rem, 3.6vw, 3.4rem); line-height: 1; margin-bottom: 10px; }
.stat__label { display: block; font-size: 14.5px; font-weight: 500; line-height: 1.4; max-width: 28ch; color: #141416; }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 40px clamp(48px, 7vw, 140px); }
.about__head { flex: 1 1 300px; }
.about__body { flex: 2.2 1 480px; display: flex; flex-direction: column; gap: 24px; }
.about__lead { font-size: clamp(1.3rem, 2.2vw, 2.1rem); line-height: 1.35; font-weight: 500; color: #eceeef; text-wrap: pretty; }
.about__text { max-width: 78ch; color: #b4b9be; }

/* Services */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.card { padding: 32px 30px 34px; }
.card.gloss:hover { border-color: rgba(255,255,255,.55); }
.card__num { display: block; font-weight: 800; font-stretch: 120%; font-size: 13px; letter-spacing: .12em; color: #9aa0a6; margin-bottom: 24px; }
.card h3 { font-size: 1.4rem; line-height: 1.2; margin-bottom: 20px; }
.card__list { font-size: 15.5px; color: #c3c7cb; }
.card__list li { padding: 9px 0; border-top: 1px solid var(--rule-list); }
.card--cta {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 18px;
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 24px 40px -24px #000;
}
.card--cta h3 { color: #0a0a0b; font-weight: 800; font-size: 1.6rem; line-height: 1.15; margin: 0; }
.card--cta p { font-weight: 500; color: #141416; }

/* Founder */
.founder { background: radial-gradient(ellipse 50% 40% at 0% 0%, rgba(190,198,206,.12), transparent 70%), repeating-linear-gradient(135deg, rgba(255,255,255,.022) 0 2px, transparent 2px 7px), linear-gradient(180deg, #09090b, var(--black-3)); }
.founder__top { display: flex; flex-direction: column; align-items: center; gap: clamp(40px, 4vw, 64px); }
.founder__photo { width: 100%; max-width: 480px; padding: 10px; box-shadow: 0 30px 60px -30px #000; }
.founder__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; filter: grayscale(.2) contrast(1.04); }
.founder__body { width: 100%; }
.founder__name { font-size: clamp(2.4rem, 5.4vw, 5.4rem); line-height: 1; background-image: linear-gradient(100deg, #8a9097 0%, #f1f2f3 38%, #a4aab0 55%, #ffffff 72%, #8a9097 100%); }
.founder__title { font-stretch: 115%; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; color: #c9cdd1; margin: 18px 0 32px; }
.founder__bio { display: flex; flex-direction: column; gap: 18px; max-width: 82ch; color: #c3c7cb; font-size: clamp(1rem, 1.15vw, 1.15rem); }
.founder__meta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 48px clamp(32px, 4vw, 72px);
  margin-top: clamp(56px, 7vw, 104px); padding-top: clamp(40px, 4vw, 64px); border-top: 1px solid var(--rule);
}
.meta__head { font-size: 12.5px; font-weight: 700; font-stretch: 118%; text-transform: uppercase; letter-spacing: .18em; color: #aab0b6; margin-bottom: 20px; }
.ticks { font-size: 15.5px; color: #e2e4e6; }
.ticks li { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--rule-card); }
.ticks li::before { content: ""; flex: none; width: 8px; height: 2px; margin-top: 11px; background: #fff; transform: skewX(var(--slash-angle)); }
.entry { padding: 16px 0; border-top: 1px solid var(--rule-card); font-size: 15px; color: #b8bdc2; }
.entry__name { font-weight: 700; font-stretch: 110%; font-size: 17.5px; line-height: 1.3; color: #fff; }
.entry__from { color: #c9cdd1; margin: 4px 0 8px; font-size: 14px; }
.entry__from:last-child { margin-bottom: 0; }
.focus { margin-top: clamp(40px, 4vw, 64px); padding-top: clamp(40px, 4vw, 64px); border-top: 1px solid var(--rule); }
.focus .meta__head { margin-bottom: 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14.5px; color: #e2e4e6; }
.tags li { padding: 9px 15px; border: 1px solid rgba(255,255,255,.2); background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,0) 55%); }

/* Impact */
.impact { display: flex; flex-wrap: wrap; align-items: center; gap: 32px clamp(48px, 6vw, 120px); }
.impact__num {
  flex: 1 1 420px; font-weight: 900; font-stretch: 125%; font-size: clamp(4rem, 11.5vw, 13rem); line-height: .9; letter-spacing: -.03em;
  background: linear-gradient(180deg, #ffffff 0%, #b4b9be 42%, #5d636a 58%, #d3d6d9 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.impact__body { flex: 1 1 420px; }
.impact__body h2 { margin-bottom: 26px; }
.impact__lead { font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.45; font-weight: 500; color: #eceeef; margin-bottom: 18px; }
.impact__text { color: #c3c7cb; }
.programs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 18px; margin-top: clamp(48px, 5vw, 80px); }
.program { padding: 36px 34px 40px; }
.program__kicker { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #aab0b6; margin-bottom: 14px; }
.program h3 { font-size: 1.7rem; line-height: 1.15; margin-bottom: 16px; }
.program p:last-child { color: #c3c7cb; }

/* Why */
.why { background: radial-gradient(ellipse 50% 50% at 100% 100%, rgba(190,198,206,.1), transparent 70%), repeating-linear-gradient(45deg, rgba(255,255,255,.022) 0 2px, transparent 2px 7px), linear-gradient(180deg, #09090b, var(--black-3)); }
.why h2 { margin-bottom: clamp(36px, 4vw, 64px); }
.why__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14);
  font-weight: 700; font-stretch: 108%; font-size: 1.15rem; line-height: 1.3; color: #f1f2f3;
}
.why__grid li { padding: 28px 26px 34px; background: linear-gradient(160deg, #1c1d20, #070708 60%); }
.why__grid span { display: block; font-size: 12px; letter-spacing: .12em; color: #9aa0a6; margin-bottom: 18px; }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 0 clamp(32px, 4vw, 72px); }
.partner { padding: 30px 0; border-top: 1px solid var(--rule); }
.partner h3 { font-size: 1.35rem; line-height: 1.2; margin-bottom: 12px; }
.partner p { color: #c3c7cb; font-size: 16px; }
.collab {
  display: flex; flex-wrap: wrap; gap: 20px clamp(32px, 5vw, 96px);
  margin-top: clamp(40px, 4vw, 64px); padding: clamp(28px, 3.5vw, 56px);
  border-color: rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 24px 40px -24px #000;
}
.collab h3 { flex: 1 1 300px; font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.4rem); line-height: 1.1; text-wrap: balance; }
.collab p { flex: 1.6 1 380px; color: #c3c7cb; font-size: 1.08rem; }

/* Certifications */
.certs {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px;
  padding: clamp(32px, 3.5vw, 52px) var(--pad-x);
  border-top: 1px solid rgba(255,255,255,.6); border-bottom: 1px solid #000;
}
.certs__label { font-weight: 800; font-stretch: 118%; font-size: clamp(1.3rem, 2.2vw, 2rem); letter-spacing: .04em; text-transform: uppercase; }
.certs__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.certs__badges img { height: 124px; width: auto; mix-blend-mode: multiply; }

/* Contact */
.contact { overflow: hidden; padding: clamp(80px, 10vw, 160px) var(--pad-x); background: radial-gradient(ellipse 60% 70% at 90% 100%, rgba(196,204,212,.18), transparent 62%), repeating-linear-gradient(135deg, rgba(255,255,255,.022) 0 2px, transparent 2px 7px), linear-gradient(180deg, #0b0b0d, var(--black-3)); }
.contact .eyebrow { margin-bottom: 24px; }
.contact__title { font-size: clamp(2.3rem, 5.6vw, 5.8rem); max-width: 22ch; }
.contact__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 36px 64px; margin-top: clamp(32px, 4vw, 56px); }
.contact__lede { flex: 1 1 420px; max-width: 64ch; font-size: 1.15rem; color: #c3c7cb; }
.contact__card {
  flex: 1 1 420px; max-width: 640px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 30px; background: linear-gradient(155deg, #2b2d31 0%, #0f1012 40%, #050506 100%);
  border-color: rgba(255,255,255,.2); box-shadow: inset 0 1px 0 rgba(255,255,255,.26);
}
.contact__name { font-weight: 800; font-stretch: 112%; font-size: 1.45rem; color: #fff; }
.contact__role { color: #c9cdd1; font-size: 15px; }

/* Footer */
.footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px;
  padding: 40px var(--pad-x); background: #020202; border-top: 1px solid var(--rule); font-size: 14px; color: #9aa0a6;
}
.footer__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 13px; }
.footer a { color: #c9cdd1; }
.footer a:hover { color: #fff; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* Mobile nav */
@media (max-width: 860px) {
  .nav { flex-wrap: nowrap; }
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute; top: 100%; left: 0; right: 0; display: none;
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 8px var(--pad-x) 24px;
    background: linear-gradient(180deg, #141518, #050506);
    border-bottom: 1px solid var(--rule);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 24px 40px -24px #000;
    font-size: 16px;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu a:not(.btn) { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .nav__menu .btn { margin-top: 18px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .certs__badges img { height: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* Even-count grids: lock to 4 / 2 / 1 columns so 8 cells and 4 columns never leave orphans or empty cells */
.founder__meta, .why__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .founder__meta, .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .founder__meta, .why__grid { grid-template-columns: minmax(0, 1fr); } }
/* Phones: diagonal accent lines would cut through the lede and buttons */
@media (max-width: 1100px) { .hero__line { display: none; } }
