/* Gregory Candelario — personal site
   Structure and feel modeled on a dark, full-bleed founder site:
   black canvas, oversized uppercase headlines, one tagline, stacked ventures. */

:root {
  --bg: #050505;
  --bg-2: #0d0d0d;
  --ink: #ffffff;
  --ink-2: #b5b5b5;
  --ink-3: #8a8a8a;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #ffffff;
  --gutter: clamp(20px, 5vw, 72px);
  --head: "Archivo", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; margin: 0; line-height: 0.95; }
h1 { font-size: clamp(2.4rem, 7.2vw, 6.4rem); }
h2 { font-size: clamp(1.8rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.9rem); line-height: 1.05; }
.eyebrow { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; color: var(--ink-2); }
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  background: linear-gradient(to bottom, rgba(5,5,5,0.85), rgba(5,5,5,0));
  mix-blend-mode: normal;
}
.site-header.solid { background: rgba(5,5,5,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { font-family: var(--head); font-weight: 800; letter-spacing: 0.06em; font-size: 0.95rem; text-transform: uppercase; display: flex; align-items: center; gap: 12px; }
.brand .mark { width: 34px; height: 34px; border: 2px solid var(--ink); display: grid; place-items: center; font-size: 0.8rem; letter-spacing: 0; }
.nav-links { display: flex; gap: 34px; }
.nav-links a { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.74rem; color: var(--ink); opacity: 0.85; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; border-bottom: 1px solid var(--ink); }
.socials { display: flex; gap: 18px; align-items: center; }
.socials a { opacity: 0.8; display: inline-flex; }
.socials a:hover { opacity: 1; }
.socials svg { width: 18px; height: 18px; fill: var(--ink); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--ink); font-family: var(--head); font-weight: 700; letter-spacing: 0.14em; font-size: 0.72rem; padding: 10px 14px; text-transform: uppercase; cursor: pointer; }
.mobile-menu { display: none; position: fixed; inset: 0; z-index: 60; background: var(--bg); padding: 90px var(--gutter) 40px; flex-direction: column; gap: 28px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: 2.2rem; letter-spacing: -0.01em; }
.mobile-menu .close { position: absolute; top: 18px; right: var(--gutter); }
.mobile-menu .socials { margin-top: auto; }

@media (max-width: 860px) {
  .nav-links, .site-header .socials { display: none; }
  .menu-btn { display: inline-block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding: 140px var(--gutter) 70px; overflow: hidden; isolation: isolate;
}
.hero.short { min-height: 72svh; }
.hero .media { position: absolute; inset: 0; z-index: -1; }
.hero .media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0.45) 45%, rgba(5,5,5,0.15) 100%);
}
.hero .kicker { margin-bottom: 18px; }
.hero h1 { max-width: 15ch; }
.hero .scroll-cue { position: absolute; right: var(--gutter); bottom: 70px; font-family: var(--head); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--ink-2); writing-mode: vertical-rl; }
@media (max-width: 860px) { .hero .scroll-cue { display: none; } .hero { padding-bottom: 56px; } }

/* Photo placeholders: dark industrial gradients with a light grain, sized for the real shoot. */
.ph {
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(255,255,255,0.10), transparent 55%),
    radial-gradient(80% 70% at 85% 80%, rgba(255,255,255,0.06), transparent 60%),
    linear-gradient(160deg, #1a1a1a 0%, #0a0a0a 55%, #121212 100%);
  position: relative;
}
.ph::before {
  content: ""; position: absolute; inset: 0; opacity: 0.35; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.ph .spec {
  position: absolute; left: 18px; bottom: 18px; z-index: 1;
  font-family: var(--head); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.18); padding: 6px 9px;
}
.hero .ph .spec { bottom: auto; top: 100px; }

/* ---------- Intro statement ---------- */
.statement { padding: 110px var(--gutter) 90px; border-top: 1px solid var(--line); }
.statement h2 { max-width: 22ch; }
.statement p { max-width: 58ch; color: var(--ink-2); font-size: 1.1rem; margin: 26px 0 0; }

/* ---------- Ventures stack ---------- */
.ventures { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.venture { display: grid; grid-template-columns: 1fr 1fr; min-height: 78vh; border-bottom: 1px solid var(--line); }
.venture:nth-child(even) .v-media { order: 2; }
.v-media { position: relative; min-height: 46vh; }
.v-body { display: flex; flex-direction: column; justify-content: flex-end; padding: 60px var(--gutter); gap: 22px; }
.v-logo { font-family: var(--head); font-weight: 800; letter-spacing: 0.22em; font-size: 0.82rem; text-transform: uppercase; color: var(--ink); display: inline-flex; align-items: center; gap: 12px; }
.v-logo::before { content: ""; width: 26px; height: 2px; background: var(--ink); }
.v-logo-img::before { display: none; }
.v-logo-img img { display: block; height: auto; }
.partners { display: flex; flex-direction: column; gap: 12px; }
.plus { font-family: var(--head); font-weight: 800; color: #c6ff00; font-size: 1.6rem; line-height: 1; }
.plus-after { margin-left: 10px; }
.p-t { font-family: var(--head); font-weight: 700; letter-spacing: 0.18em; font-size: 0.66rem; text-transform: uppercase; color: var(--ink-3); }
.p-row { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.p-row img { display: block; width: auto; }

.p-row .p-creo { height: 30px; }
.partners + .v-sub { margin-top: 2px; }
.v-body h3 { max-width: 24ch; font-size: clamp(1.5rem, 3vw, 2.5rem); }
.v-text { color: var(--ink-2); font-size: 1rem; line-height: 1.55; max-width: 52ch; margin: 0; }
.v-sub { font-family: var(--head); font-weight: 700; letter-spacing: 0.16em; font-size: 0.7rem; text-transform: uppercase; color: var(--ink-3); margin-top: -8px; }
.oem-grid { display: grid; gap: 14px; margin-top: 6px; }
.oem-row { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.oem-lab { font-family: var(--head); font-weight: 700; letter-spacing: 0.16em; font-size: 0.68rem; text-transform: uppercase; color: var(--ink-3); }
.oem-logos { display: flex; align-items: center; gap: 20px; flex-wrap: nowrap; overflow: hidden; }
.oem-logos img { display: block; width: auto; max-width: 100%; opacity: 0.92; flex: 0 1 auto; }
.oem-logos .oem-extrufood { height: 20px; } .oem-logos .oem-proform { height: 32px; } .oem-logos .oem-pinco { height: 16px; } .oem-logos .oem-wds { height: 44px; } .oem-logos .oem-tanis { height: 42px; } .oem-logos .oem-orangeworks { height: 26px; }
@media (max-width: 520px) { .oem-row { grid-template-columns: 1fr; gap: 8px; } }
.v-body .more { font-family: var(--head); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); margin-top: 6px; display: inline-flex; align-items: center; gap: 10px; }
.v-body .more::after { content: "\2192"; font-size: 1rem; transition: transform .2s; }
.v-body .more:hover::after { transform: translateX(4px); }
.v-body .more:hover { color: var(--ink); }
@media (max-width: 860px) {
  .venture { grid-template-columns: 1fr; min-height: auto; }
  .venture:nth-child(even) .v-media { order: 0; }
  .v-body { padding: 36px var(--gutter) 48px; }
}

.cta-row { padding: 70px var(--gutter); text-align: center; border-bottom: 1px solid var(--line); }
.btn {
  display: inline-block; font-family: var(--head); font-weight: 800; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem;
  border: 1px solid var(--ink); padding: 16px 28px; color: var(--ink); transition: background .2s, color .2s;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn.solid { background: var(--ink); color: var(--bg); }
.btn.solid:hover { background: transparent; color: var(--ink); }

/* ---------- Feed ---------- */
.feed { padding: 90px var(--gutter); }
.feed-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 36px; }
.feed-head a { font-family: var(--head); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.feed-head a:hover { color: var(--ink); }
.feed-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.feed-list li { border-bottom: 1px solid var(--line); }
.feed-list a { display: grid; grid-template-columns: 150px 1fr auto; gap: 28px; align-items: center; padding: 28px 0; }
.feed-list a:has(.thumb) { grid-template-columns: 168px 1fr auto; }
.feed-list .thumb { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #0a0a0a; }
.feed-list .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.85); }
.feed-list .meta { display: flex; flex-direction: column; gap: 8px; }
.feed-list .tag { font-family: var(--head); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); border: 0; padding: 0; display: block; white-space: normal; }
.feed-list .title { font-family: var(--head); font-weight: 700; font-size: clamp(1.05rem, 1.8vw, 1.4rem); letter-spacing: -0.01em; }
.feed-list .date { font-size: 0.82rem; color: var(--ink-3); white-space: nowrap; }
.feed-list a:hover .title { text-decoration: underline; text-underline-offset: 6px; }
@media (max-width: 720px) { .feed-list a, .feed-list a:has(.thumb) { grid-template-columns: 1fr; gap: 12px; } .feed-list .thumb { max-width: 240px; } }

/* ---------- By the numbers ---------- */
.numbers { padding: 90px var(--gutter) 60px; border-top: 1px solid var(--line); }
.numbers h2 { margin-bottom: 44px; }
.num-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.num-grid.secondary { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); grid-template-columns: repeat(3, 1fr); }
.num { border-left: 1px solid var(--line); padding-left: 22px; }
.num .val { font-family: var(--head); font-weight: 800; font-size: clamp(3rem, 7vw, 6rem); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.num .lbl { font-family: var(--head); font-weight: 700; letter-spacing: 0.16em; font-size: 0.72rem; text-transform: uppercase; color: var(--ink-2); margin-top: 10px; }
.num .sub { font-size: 0.82rem; color: var(--ink-3); margin-top: 6px; }
@media (max-width: 860px) { .num-grid, .num-grid.secondary { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .num-grid, .num-grid.secondary { grid-template-columns: 1fr; } }

/* ---------- Backstory timeline ---------- */
.backstory { padding: 70px var(--gutter) 40px; }
.backstory h2 { margin-bottom: 20px; }
.chapter { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); padding: 70px 0; border-top: 1px solid var(--line); align-items: center; }
.chapter:nth-child(odd) .c-media { order: 2; }
.c-media { aspect-ratio: 4 / 5; position: relative; }
.c-body .years { font-family: var(--head); font-weight: 700; letter-spacing: 0.16em; font-size: 0.74rem; color: var(--ink-2); text-transform: uppercase; }
.c-body h3 { margin: 14px 0 6px; font-size: clamp(1.7rem, 3.4vw, 2.8rem); }
.c-body .role { font-family: var(--head); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.c-body p { color: var(--ink-2); font-size: 1.05rem; margin: 22px 0 0; max-width: 56ch; }
.c-body p + p { margin-top: 16px; }
@media (max-width: 860px) {
  .chapter { grid-template-columns: 1fr; padding: 48px 0; }
  .chapter:nth-child(odd) .c-media { order: 0; }
  .c-media { aspect-ratio: 16 / 10; }
  .c-media img { object-position: center 20%; }
  .c-media.c-portrait { aspect-ratio: 4 / 5; }
  .c-media.c-portrait img { object-position: center 15%; }
  .c-media.c-contractor img { object-position: 42% 18%; }
}

/* ---------- Contact ---------- */
.contact { padding: 160px var(--gutter) 90px; min-height: 80svh; }
.contact h1, .page-intro h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); margin-bottom: 20px; }
.contact .lede, .page-intro .lede { color: var(--ink-2); max-width: 56ch; font-size: 1.08rem; margin: 0 0 48px; }
.form { max-width: 760px; display: grid; gap: 30px; }
.field label { display: block; font-family: var(--head); font-weight: 700; letter-spacing: 0.16em; font-size: 0.7rem; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--ink);
  font-family: var(--body); font-size: 1.05rem; padding: 12px 0; outline: none; border-radius: 0;
}
.field input:focus, .field textarea:focus { border-bottom-color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span { display: inline-block; font-family: var(--head); font-weight: 700; letter-spacing: 0.14em; font-size: 0.7rem; text-transform: uppercase; border: 1px solid var(--line); padding: 12px 18px; transition: .15s; }
.pill input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.form .fine { font-size: 0.78rem; color: #9a9a9a; }
.form-ok { display: none; font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: 1.4rem; margin-top: 20px; }
.form.sent .form-ok { display: block; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 70px var(--gutter) 40px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.foot-grid h4, .foot-grid .foot-h { font-family: var(--head); font-weight: 700; letter-spacing: 0.16em; font-size: 0.7rem; text-transform: uppercase; color: var(--ink-3); margin: 0 0 18px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.foot-grid li a { font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: 1.1rem; letter-spacing: 0.02em; }
.foot-grid li a:hover { text-decoration: underline; text-underline-offset: 6px; }
.foot-brand { font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 3vw, 2.2rem); letter-spacing: -0.01em; }
.foot-brand small { display: block; font-size: 0.72rem; letter-spacing: 0.16em; color: var(--ink-3); margin-top: 10px; font-weight: 700; }
.foot-bottom { display: flex; justify-content: space-between; margin-top: 60px; font-size: 0.78rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 22px; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Real media ---------- */
.hero .media picture, .hero .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero .media { filter: saturate(0.9); }
.v-media img, .v-media video, .c-media img, .c-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.v-media { overflow: hidden; }
.v-media.v-video video, .c-media.c-video video { filter: brightness(0.72); }
.v-media.v-badges { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: clamp(28px, 5vw, 64px); background: #0a0a0a; }
.v-media.v-badges .inset-video { width: 100%; max-width: 560px; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border: 1px solid var(--line); filter: brightness(0.85); }
.v-media.v-badges img { width: 100%; max-width: 560px; height: auto; object-fit: contain; }
.c-media { overflow: hidden; }
.offclock { padding: 20px var(--gutter) 60px; border-top: 1px solid var(--line); }
.offclock .eyebrow { padding: 40px 0 22px; }
.otc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.otc-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; filter: grayscale(0.15); }
@media (max-width: 600px) { .otc-grid { grid-template-columns: 1fr; } .otc-grid img { aspect-ratio: 4 / 3; } }
.hero.align-right > div:not(.media) { margin-left: auto; width: min(100%, 52%); }
.hero.align-right h1 { font-size: clamp(2.4rem, 5.2vw, 5rem); max-width: 16ch; }
.hero.align-right .media img { object-position: 20% center; }
@media (max-width: 860px) { .hero.align-right > div:not(.media) { width: 100%; } .hero.align-right .media img { object-position: 35% center; } }
.v-media.v-signage img { object-position: 62% center; }
.oem-lab { display: flex; flex-direction: column; gap: 3px; }
.oem-lab-tag { color: #c6ff00; }
@media (max-width: 1100px) { .oem-logos { gap: 16px; } .oem-logos .oem-pinco { height: 13px; } .oem-logos .oem-proform { height: 27px; } .oem-logos .oem-wds { height: 38px; } }
@media (max-width: 520px) { .oem-logos { gap: 12px; } .oem-logos .oem-wds { height: 30px; } .oem-logos .oem-proform { height: 22px; } .oem-logos .oem-pinco { height: 10px; } .oem-logos .oem-extrufood { height: 16px; } .oem-logos .oem-tanis { height: 30px; } .oem-logos .oem-orangeworks { height: 18px; } }

/* ---------- Executive education ---------- */
.edu { padding: 70px var(--gutter) 60px; border-top: 1px solid var(--line); }
.edu h2 { margin-top: 14px; max-width: 24ch; }
.edu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
.edu-tile { border: 1px solid var(--line); padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.edu-logo { height: 56px; display: flex; align-items: center; gap: 16px; }
.edu-logo img { height: 56px; width: auto; display: block; }
.edu-hbs { font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: 1.25rem; line-height: 1; letter-spacing: -0.01em; }
.edu-prog { font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: 1.35rem; line-height: 1.05; }
.edu-status { font-family: var(--head); font-weight: 700; letter-spacing: 0.16em; font-size: 0.68rem; text-transform: uppercase; color: #c6ff00; }
.edu-tile p { color: var(--ink-2); font-size: 0.98rem; line-height: 1.5; margin: 0; max-width: 46ch; }
.edu-caption { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 32px; }
.edu-caption .wm { font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: 1.3rem; border-left: 3px solid #c6ff00; padding-left: 16px; }
.edu-caption .wm small { display: block; font-size: 0.68rem; letter-spacing: 0.16em; color: var(--ink-2); margin-top: 6px; font-weight: 700; }
.edu-caption .wm small b { color: #c6ff00; font-weight: 700; }
.edu-strip { display: flex; align-items: center; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.edu-strip .t { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.68rem; color: var(--ink-3); margin-right: 12px; }
.edu-strip img { height: 40px; width: auto; display: block; opacity: 0.92; }
.edu-strip img.edu-hbs-img { height: 48px; }
.edu-strip .edu-hbs-wrap { display: inline-flex; align-items: center; gap: 0; white-space: nowrap; }
.edu-strip .edu-hbs-wrap .edu-hbs-s { margin-left: 2px; }
@media (max-width: 600px) { .edu-strip { flex-direction: column; align-items: flex-start; gap: 16px; } .edu-strip .t { margin: 0; } }
.edu-hbs-s { font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: 0.95rem; letter-spacing: -0.01em; margin: 0 24px 0 -14px; }
@media (max-width: 860px) { .edu-grid { grid-template-columns: 1fr; } .num-grid.secondary { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .num-grid.secondary { grid-template-columns: 1fr; } }
.edu-caption-bottom { margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--line); }

/* ---------- Memberships ---------- */
.assoc { display: flex; align-items: center; gap: 40px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.assoc-t { font-family: var(--head); font-weight: 700; letter-spacing: 0.16em; font-size: 0.68rem; text-transform: uppercase; color: var(--ink-3); }
.assoc-logos { display: flex; align-items: center; gap: 44px; flex-wrap: wrap; }
.assoc-logos a { display: inline-flex; opacity: 0.92; }
.assoc-logos a:hover { opacity: 1; }
.assoc-logos img { display: block; width: auto; }
.a-aact { height: 46px; } .a-ift { height: 58px; } .a-nca { height: 56px; } .a-pmmi { height: 44px; } .a-asq { height: 52px; } .a-pmca { height: 56px; }
@media (max-width: 600px) { .assoc-logos { gap: 28px; } .a-aact { height: 38px; } .a-ift { height: 46px; } .a-nca { height: 46px; } .a-pmmi { height: 36px; } .a-asq { height: 44px; } .a-pmca { height: 44px; } }
.a-nca-lock { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.a-nca-name { font-family: var(--head); font-weight: 700; font-size: 0.56rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.a-nca { height: 34px; }
.co { border-left: 3px solid #c6ff00; padding-left: 16px; }
.co-name { font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: 2rem; letter-spacing: -0.01em; line-height: 1; }
.co-role { font-family: var(--head); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); margin-top: 6px; }
.co-stack { display: grid; gap: 18px; margin-top: 28px; }
.c-media.c-contractor img { object-position: 42% 30%; }
.co-logos { display: flex; gap: 44px; align-items: flex-end; flex-wrap: wrap; margin-top: 30px; }
.co-logo { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.co-logo img { display: block; width: auto; }
.l-bw { height: 96px; } .l-tc { height: 118px; }
@media (max-width: 520px) { .l-bw { height: 72px; } .l-tc { height: 90px; } }
.c-body h3.h3-logo { margin: 18px 0 12px; }
.c-body h3.h3-logo img { display: block; width: 300px; max-width: 100%; height: auto; }

/* ---------- Ask ---------- */
.ask { padding: 90px var(--gutter); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ask h2 { margin-top: 14px; max-width: 22ch; }
.ask-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 34px; }
.form-err { display: none; color: var(--ink-2); margin-top: 20px; }
.form.error .form-err { display: block; }
.form-err a { text-decoration: underline; text-underline-offset: 4px; }
.btn.busy { opacity: .6; pointer-events: none; }
.pressB { padding: 70px var(--gutter); border-top: 1px solid var(--line); text-align: center; }
.pressB .t { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.68rem; color: var(--ink-3); }
.pressB .row { display: flex; justify-content: center; align-items: center; gap: 64px; flex-wrap: wrap; margin-top: 34px; }
.pressB .w { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; font-size: 1.9rem; color: #fff; letter-spacing: -0.02em; line-height: 1; }
.pressB .pl { display: inline-flex; align-items: center; opacity: 0.92; transition: opacity 0.2s; }
.pressB .pl:hover { opacity: 1; }
.pressB .pl img { display: block; width: auto; }
.pressB .p-forbes { height: 28px; }
.pressB .p-fortune { height: 22px; }
.pressB .p-inc { height: 26px; }
.pressB .p-ent { height: 30px; }
.pressB .p-bbg { height: 26px; }
.pressB .p-wsj { height: 22px; }
@media (max-width: 700px) {
  .pressB .row { gap: 26px 32px; }
  .pressB .w { font-size: 1.4rem; }
  .pressB .p-forbes { height: 21px; } .pressB .p-fortune { height: 16px; } .pressB .p-inc { height: 19px; } .pressB .p-ent { height: 22px; } .pressB .p-bbg { height: 19px; } .pressB .p-wsj { height: 16px; }
}
.v-media.v-contain { display: flex; align-items: center; justify-content: center; background: #0a0a0a; padding: 32px; max-height: 78vh; }
.v-media.v-contain img { width: auto; max-width: 100%; height: 100%; max-height: calc(78vh - 64px); object-fit: contain; }
@media (max-width: 860px) { .v-media.v-contain { max-height: 70vh; } .v-media.v-contain img { max-height: calc(70vh - 64px); } }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid #c6ff00; outline-offset: 3px; }

.page-intro { padding: 160px var(--gutter) 40px; }
@media (max-width: 860px) { .page-intro { padding-top: 120px; } }

.c-media.c-logo-panel { display: flex; align-items: center; justify-content: center; background: #0a0a0a; border: 1px solid var(--line); }
.c-media.c-logo-panel img { width: 46%; max-width: 260px; height: auto; object-fit: contain; }
@media (max-width: 860px) { .c-media.c-logo-panel img { width: 34%; } }

a.tx { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
a.tx:hover { text-decoration-color: #c6ff00; }

.c-card { margin-top: 28px; padding: 22px 24px; border: 1px solid var(--line); border-left: 3px solid #c6ff00; background: #0a0a0a; max-width: 56ch; }
.c-card-k { font-family: var(--head); font-weight: 700; letter-spacing: 0.16em; font-size: 0.66rem; text-transform: uppercase; color: #c6ff00; }
.c-card-t { font-family: var(--head); font-weight: 800; font-size: 1.05rem; margin-top: 8px; color: var(--ink); }
.c-card p { margin-top: 10px; font-size: 0.95rem; }
.c-card-links { margin-top: 12px; font-size: 0.85rem; color: var(--ink-3); }

.c-body .role-2 { margin-top: 6px; }

.c-media.c-stat-panel { display: flex; align-items: center; justify-content: center; background: #0a0a0a; border: 1px solid var(--line); }
.c-stat { text-align: center; }
.c-stat-n { display: block; font-family: var(--head); font-weight: 800; font-size: clamp(4rem, 10vw, 9rem); line-height: 1; color: var(--ink); letter-spacing: -0.03em; }
.c-stat-l { display: block; margin-top: 10px; font-family: var(--head); font-weight: 700; letter-spacing: 0.18em; font-size: 0.72rem; text-transform: uppercase; color: var(--ink-3); }

.c-media.c-napa img { object-position: center 60%; }

.facts { padding: 64px var(--gutter) 80px; border-top: 1px solid var(--line); }
.facts h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
.facts h2 { margin-top: 10px; font-size: clamp(1.8rem, 3.6vw, 3rem); }
.facts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 48px; margin: 36px 0 0; max-width: 1100px; }
.facts-grid div { border-top: 1px solid var(--line); padding-top: 14px; }
.facts-grid dt { font-family: var(--head); font-weight: 700; letter-spacing: 0.16em; font-size: 0.68rem; text-transform: uppercase; color: var(--ink-3); }
.facts-grid dd { margin: 8px 0 0; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
@media (max-width: 700px) { .facts-grid { grid-template-columns: 1fr; } }

/* Candy technology block */
.candy { padding: 70px var(--gutter) 70px; border-top: 1px solid var(--line); }
.candy h2 { margin-top: 14px; max-width: 26ch; }
.candy .lede { max-width: 62ch; margin-top: 14px; color: var(--ink-2); }
.candy-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 28px; margin-top: 40px; align-items: stretch; }
.candy-photo { position: relative; min-height: 420px; overflow: hidden; border: 1px solid var(--line); }
.candy-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }
.candy-photo .cap { position: absolute; left: 18px; bottom: 16px; font-family: var(--head); font-weight: 700; letter-spacing: .16em; font-size: .66rem; text-transform: uppercase; color: #fff; background: rgba(0,0,0,.55); padding: 6px 10px; }
.school { border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.school .edu-logo img { height: 48px; }
.school .edu-logo img.zds { height: 54px; }
.school .where { font-family: var(--head); font-weight: 700; letter-spacing: .16em; font-size: .68rem; text-transform: uppercase; color: #c6ff00; }
.school .name { font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: 1.15rem; line-height: 1.1; }
.school ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.school li { color: var(--ink-2); font-size: .95rem; line-height: 1.45; padding-left: 16px; position: relative; }
.school li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; background: #c6ff00; }
.school li b { color: var(--ink); font-weight: 600; }
@media (max-width: 1100px) { .candy-grid { grid-template-columns: 1fr 1fr; } .candy-photo { grid-column: 1 / -1; min-height: 320px; } }
@media (max-width: 700px) { .candy-grid { grid-template-columns: 1fr; } .candy-photo { min-height: 260px; } }

/* ---------- Industry firsts: patent card, tape, bio rail ---------- */
.eyebrow-lime { color: #c6ff00; }
.v-media.v-patent { display: flex; align-items: center; justify-content: center; background: #0a0a0a; padding: clamp(20px, 3vw, 44px); background-image: radial-gradient(rgba(255,255,255,.08) .8px, transparent .8px); background-size: 22px 22px; }
.v-media.v-patent img { width: 100%; max-width: 640px; height: auto; object-fit: contain; }
.spec-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { display: inline-block; font-family: var(--head); font-weight: 700; letter-spacing: .14em; font-size: .62rem; text-transform: uppercase; padding: 5px 9px; border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.tag.lime { border-color: #c6ff00; color: #c6ff00; }
.tag.done { border-color: rgba(255,255,255,.5); color: #fff; }
/* tape */
.tape { display: flex; align-items: center; border-bottom: 1px solid var(--line); background: #0a0a0a; min-height: 0; overflow: hidden; }
.tape-lab { flex: 0 0 auto; padding: 16px 22px 16px var(--gutter); color: #c6ff00; font-family: var(--head); font-weight: 700; letter-spacing: .16em; font-size: .7rem; text-transform: uppercase; border-right: 1px solid var(--line); }
.tape-track { flex: 1 1 auto; overflow: hidden; white-space: nowrap; }
.tape-run { display: inline-block; padding-left: 10px; animation: tape 60s linear infinite; }
.tape:hover .tape-run { animation-play-state: paused; }
.tape .i { display: inline-block; padding: 16px 26px; color: var(--ink-2); font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: 1rem; letter-spacing: .04em; }
.tape .i i { font-style: normal; color: #c6ff00; margin-right: 12px; }
.tape .i.now { color: #fff; }
@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tape-run { animation: none; } }
@media (max-width: 860px) { .tape-lab { display: none; } .tape .i { font-size: .9rem; padding: 14px 20px; } }
/* bio rail */
.rail { padding: 20px var(--gutter) 90px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.rail h2 { max-width: 14ch; margin-top: 14px; }
.rail .lede { color: var(--ink-2); max-width: 40ch; margin-top: 18px; }
.rail ol { list-style: none; margin: 0; padding: 0 0 0 34px; border-left: 1px solid var(--line); position: relative; }
.rail li { position: relative; padding: 0 0 34px; }
.rail li:last-child { padding-bottom: 0; }
.rail li::before { content: ""; position: absolute; left: -40px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: #050505; border: 1px solid #fff; }
.rail li.now::before { background: #c6ff00; border-color: #c6ff00; box-shadow: 0 0 0 6px rgba(198,255,0,.18); }
.rail li.done::before { background: #fff; }
.rail .k { font-family: var(--head); font-weight: 700; letter-spacing: .16em; font-size: .64rem; text-transform: uppercase; color: var(--ink-3); display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.rail .t { font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: 1.1rem; line-height: 1.1; margin-top: 8px; }
.rail li.now .t { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.rail .d { color: var(--ink-2); font-size: .95rem; margin: 8px 0 0; max-width: 54ch; }
@media (max-width: 860px) { .rail { grid-template-columns: 1fr; gap: 36px; } }

.v-media.v-badges .badge-more { font-family: var(--head); font-weight: 700; letter-spacing: .18em; font-size: .68rem; text-transform: uppercase; color: var(--ink-2); margin-top: -10px; }

.c-body h3.h3-logo.h3-sourheads img { width: auto; height: 84px; }

.dl-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 44px; }

.c-media.c-video.c-logo-video video { filter: none; }

/* ---------- Bio FAQ ---------- */
.faq { padding: 90px var(--gutter); border-top: 1px solid var(--line); }
.faq h2 { margin-top: 14px; }
.faq-list { margin-top: 40px; border-top: 1px solid var(--line); max-width: 980px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: 1.05rem; letter-spacing: -.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: #c6ff00; font-size: 1.4rem; font-weight: 700; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p { color: var(--ink-2); max-width: 72ch; margin: 0 0 24px; line-height: 1.6; }

/* Beginnings chapter: frame matches the photo's own shape so nothing is cropped */
.c-media.c-beginnings { aspect-ratio: 1290 / 1234; }

/* Small equipment label hung under an OEM logo (Extruded Lab: Proform kitchen) */
.oem-row.oem-row-tagged { padding-bottom: 10px; }
.oem-row.oem-row-tagged .oem-logos { overflow: visible; }
.oem-tagged { position: relative; display: block; flex: 0 1 auto; }
.oem-tag { position: absolute; left: 0; top: calc(100% + 5px); font-family: Inter, system-ui, sans-serif; font-size: 7px; font-weight: 700; line-height: 1; letter-spacing: 0.3em; text-transform: uppercase; color: #fff; white-space: nowrap; }
