/* ==========================================================================
   vincerozierjr.com — one stylesheet for the whole site.
   Change a colour or a typeface here and every page follows.
   ========================================================================== */

:root {
  --red: #A8161C;
  --red-deep: #6E0C11;
  --ink: #000;
  --paper: #fff;
  --muted: #4A4A4A;
  --tint: #FBEDEE;
  --display: "Archivo", Arial, sans-serif;
  --text: "Spectral", Georgia, serif;
  --heavy: 3px solid var(--ink);
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 80px); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.1rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.skip {
  position: absolute; left: -9999px; background: var(--ink); color: var(--paper);
  padding: .75rem 1rem; font-family: var(--display); z-index: 99;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--paper); border-bottom: var(--heavy);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: .85rem; padding-bottom: .85rem;
}
.name {
  font-family: var(--display); font-weight: 900; font-stretch: 108%;
  font-size: 1.2rem; letter-spacing: -.02em; text-decoration: none; white-space: nowrap;
}
.name b { color: var(--red); font-weight: inherit; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.3rem; align-items: center; }
.site-nav a {
  font-family: var(--display); font-weight: 500; font-size: .95rem;
  text-decoration: none; position: relative; padding-bottom: 3px;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.site-nav a:hover::after, .site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.scrollbar { height: 4px; background: var(--red); width: 0; transition: width .1s linear; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-family: var(--display); font-weight: 700; font-size: .95rem;
  text-decoration: none; background: var(--red); color: var(--paper);
  border: var(--heavy); padding: .6rem 1.1rem; box-shadow: 5px 5px 0 var(--ink);
  cursor: pointer;
  transition: transform .14s ease, box-shadow .14s ease, background .2s ease;
}
.btn:hover { background: var(--red-deep); transform: translate(-1px,-1px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(5px,5px); box-shadow: 0 0 0 var(--ink); }
.btn-lg { font-size: 1.15rem; padding: .95rem 1.7rem; }
.text-link {
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  text-decoration: none; border-bottom: 3px solid var(--ink); padding-bottom: 2px;
}
.text-link:hover { color: var(--red); border-color: var(--red); }

/* ---------- hero (home) ---------- */
.hero { position: relative; overflow: hidden; border-bottom: var(--heavy); }
.hero::after {
  content: ""; position: absolute; top: 0; right: 0; width: 34vw; height: 100%;
  background: var(--red); z-index: 0;
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 4rem; padding-bottom: 3rem; }
.hero-grid { display: grid; grid-template-columns: 1.4fr .85fr; gap: 3rem; align-items: center; }
.display-stack {
  font-family: var(--display); font-weight: 900; font-stretch: 62%;
  font-size: clamp(3.8rem, 13vw, 9.5rem); line-height: .85; letter-spacing: -.03em;
  margin: 0 0 1.6rem;
}
.display-stack span { display: block; overflow: hidden; }
.display-stack span i {
  display: block; font-style: normal;
  transform: translateY(105%); opacity: 0;
  animation: rise .85s cubic-bezier(.16,.84,.34,1) forwards;
}
.display-stack span:nth-child(2) i { animation-delay: .1s; }
.display-stack span:nth-child(3) i { animation-delay: .2s; }
@keyframes rise { to { transform: translateY(0); opacity: 1; } }

.kicker {
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  display: inline-flex; align-items: center; gap: .7rem; margin: 0 0 1.4rem; color: var(--red);
}
.kicker::before { content: ""; width: 3rem; height: 4px; background: var(--red); display: block; }
.intro { max-width: 33em; margin: 0 0 2rem; font-size: 1.15rem; }
.intro strong { font-weight: 500; box-shadow: inset 0 -.5em 0 rgba(168,22,28,.14); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.portrait { position: relative; justify-self: center; width: min(100%, 330px); }
.portrait img {
  position: relative; z-index: 2; width: 100%; aspect-ratio: 1 / .92; object-fit: cover;
  object-position: center 18%; border: var(--heavy); background: var(--paper);
  filter: grayscale(100%) contrast(1.06); transition: filter .5s ease;
}
.portrait:hover img { filter: grayscale(0%); }
.portrait::before {
  content: ""; position: absolute; inset: 0; border: var(--heavy);
  background: var(--paper); transform: translate(16px, 16px); z-index: 1;
}

/* ---------- ticker ---------- */
.ticker {
  background: var(--ink); color: var(--paper); overflow: hidden;
  border-bottom: var(--heavy); padding: .85rem 0;
}
.ticker-track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; flex-shrink: 0; }
.ticker span {
  font-family: var(--display); font-weight: 500; font-size: 1rem;
  padding: 0 1.6rem; white-space: nowrap; display: flex; align-items: center; gap: 1.6rem;
}
.ticker span::after { content: ""; width: 9px; height: 9px; background: var(--red); display: block; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- lanes ---------- */
.lanes { border-bottom: var(--heavy); }
.lane {
  position: relative; border-bottom: var(--heavy); overflow: hidden;
  display: block; text-decoration: none; background: var(--paper);
  transition: color .35s ease;
}
.lane:last-child { border-bottom: 0; }
.lane::before {
  content: ""; position: absolute; inset: 0; background: var(--red);
  transform: translateY(101%); transition: transform .4s cubic-bezier(.4,0,.2,1); z-index: 0;
}
.lane:hover, .lane:focus-visible { color: var(--paper); }
.lane:hover::before, .lane:focus-visible::before { transform: translateY(0); }
.lane .wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.3fr) auto;
  gap: 2rem; align-items: center; padding-top: 2.6rem; padding-bottom: 2.6rem;
}
.lane h2 {
  font-family: var(--display); font-weight: 900; font-stretch: 62%;
  font-size: clamp(2.8rem, 7vw, 5rem); line-height: .9; margin: 0; letter-spacing: -.025em;
}
.lane p { margin: 0; font-size: 1.12rem; max-width: 34em; }
.lane .go {
  font-family: var(--display); font-weight: 700; font-size: .95rem;
  border: 3px solid currentColor; padding: .55rem 1rem; white-space: nowrap;
}

/* ---------- generic page header ---------- */
.page-head { border-bottom: var(--heavy); }
.page-head .wrap { padding-top: 3.5rem; padding-bottom: 3rem; }
.page-head h1 {
  font-family: var(--display); font-weight: 900; font-stretch: 62%;
  font-size: clamp(3rem, 9vw, 6.5rem); line-height: .88; margin: 0 0 1.2rem;
  letter-spacing: -.03em;
}
.page-head .standfirst { max-width: 34em; font-size: 1.2rem; margin: 0; }

/* ---------- section + headings ---------- */
.section .wrap { padding-top: 4rem; padding-bottom: 4rem; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 2rem; flex-wrap: wrap; margin-bottom: 2.5rem;
}
.section-head h2 {
  font-family: var(--display); font-weight: 900; font-stretch: 62%;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem); line-height: .95; margin: 0; letter-spacing: -.02em;
}
.section-head p { margin: 0; max-width: 28em; color: var(--muted); }

/* ---------- article list ---------- */
.article-list { list-style: none; margin: 0; padding: 0; border-top: var(--heavy); }
.article-list li { border-bottom: var(--heavy); }
.article-list a {
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: baseline;
  padding: 1.9rem 0; text-decoration: none;
}
.article-list a:hover h3 { color: var(--red); }
.article-list h3 {
  font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.12; margin: 0 0 .5rem; transition: color .2s ease;
}
.article-list .sub { margin: 0; color: var(--muted); max-width: 40em; }
.article-list .meta {
  font-family: var(--display); font-weight: 500; font-size: .9rem;
  color: var(--muted); white-space: nowrap;
}
.empty {
  border: var(--heavy); padding: 2.5rem 1.8rem; background: var(--tint);
  font-size: 1.1rem; max-width: 44em;
}
.empty p { margin: 0 0 1rem; }
.empty p:last-child { margin: 0; }

/* ---------- article page ---------- */
.article-head { border-bottom: var(--heavy); }
.article-head .wrap { padding-top: 3.5rem; padding-bottom: 2.5rem; max-width: 820px; }
.eyebrow {
  font-family: var(--display); font-weight: 700; font-size: .95rem;
  color: var(--red); margin: 0 0 1rem; display: block; text-decoration: none;
}
.article-head h1 {
  font-family: var(--display); font-weight: 900; font-stretch: 75%;
  font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1; margin: 0 0 1rem; letter-spacing: -.02em;
}
.article-head .sub { font-size: 1.3rem; margin: 0 0 1.5rem; color: var(--muted); max-width: 32em; }
.byline { font-family: var(--display); font-size: .95rem; margin: 0; color: var(--muted); }

.prose { max-width: 820px; margin: 0 auto; padding: 3rem 1.5rem; }
.prose > * { max-width: 36em; }
.prose p { margin: 0 0 1.5rem; }
.prose h2 {
  font-family: var(--display); font-weight: 800; font-size: 1.8rem;
  margin: 3rem 0 1rem; line-height: 1.15;
}
.prose h3 { font-family: var(--display); font-weight: 700; font-size: 1.3rem; margin: 2.2rem 0 .8rem; }
.prose blockquote {
  margin: 2rem 0; padding: .4rem 0 .4rem 1.5rem; border-left: 5px solid var(--red);
  font-style: italic;
}
.prose img, .prose figure { max-width: 100%; margin: 2.5rem 0; }
.prose figcaption { font-family: var(--display); font-size: .9rem; color: var(--muted); margin-top: .6rem; }
.prose hr { border: 0; border-top: var(--heavy); margin: 3rem 0; max-width: 100%; }
.prose a { text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* footnotes and sources — these matter for the research writing */
.footnotes, .sources { max-width: 36em; margin-top: 3.5rem; padding-top: 1.5rem; border-top: var(--heavy); }
.footnotes h2, .sources h2 {
  font-family: var(--display); font-weight: 700; font-size: 1.05rem; margin: 0 0 1rem;
}
.footnotes ol, .sources ol { padding-left: 1.3rem; margin: 0; }
.footnotes li, .sources li { font-size: .98rem; margin-bottom: .7rem; line-height: 1.5; }
.footnote-ref { font-size: .75em; vertical-align: super; text-decoration: none; color: var(--red); font-weight: 700; }

.article-foot { border-top: var(--heavy); }
.article-foot .wrap { padding-top: 3rem; padding-bottom: 3rem; }
.pager { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 3rem; }
.pager a { font-family: var(--display); font-weight: 700; text-decoration: none; max-width: 22em; }
.pager a:hover { color: var(--red); }
.pager .dir { display: block; font-size: .85rem; color: var(--muted); font-weight: 500; margin-bottom: .3rem; }
.share { font-family: var(--display); font-size: .95rem; display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: center; }

/* ---------- talks ---------- */
.talks { display: grid; grid-template-columns: repeat(3, 1fr); border: var(--heavy); }
.talk { padding: 2rem 1.6rem; border-right: var(--heavy); position: relative; }
.talk:last-child { border-right: 0; }
.talk .tag { font-family: var(--display); font-weight: 700; font-size: .8rem; color: var(--red); display: block; margin-bottom: .9rem; }
.talk h3 { font-family: var(--display); font-weight: 800; font-size: 1.35rem; line-height: 1.12; margin: 0 0 .8rem; }
.talk p { margin: 0; font-size: 1.05rem; }
.talk::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 6px; width: 100%;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.talk:hover::after { transform: scaleX(1); }

.topic-list { list-style: none; margin: 0; padding: 0; border-top: var(--heavy); max-width: 50em; }
.topic-list li {
  border-bottom: var(--heavy); padding: 1.3rem 0;
  font-family: var(--display); font-weight: 700; font-size: 1.2rem;
}
.topic-list li span { display: block; font-family: var(--text); font-weight: 400; font-size: 1.02rem; color: var(--muted); margin-top: .35rem; }

.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: var(--heavy); }
.audience { padding: 1.8rem 1.6rem; border-right: var(--heavy); border-bottom: var(--heavy); }
.audience:nth-child(2n) { border-right: 0; }
.audience:nth-last-child(-n+2) { border-bottom: 0; }
.audience h3 { font-family: var(--display); font-weight: 800; font-size: 1.1rem; margin: 0 0 .6rem; }
.audience p { margin: 0; font-size: 1.02rem; }

.formats { font-family: var(--display); font-weight: 500; font-size: 1.05rem; margin: 2rem 0 0; }

.speak-cta {
  margin-top: 2.5rem; border: var(--heavy); background: var(--ink); color: var(--paper);
  padding: 2.2rem 1.8rem; display: flex; justify-content: space-between; align-items: center;
  gap: 1.5rem; flex-wrap: wrap;
}
.speak-cta h3 {
  font-family: var(--display); font-weight: 900; font-stretch: 75%;
  font-size: clamp(1.6rem,3.5vw,2.4rem); margin: 0; line-height: 1;
}
.speak-cta p { margin: .6rem 0 0; color: #ddd; max-width: 34em; font-size: 1.02rem; }

/* ---------- about ---------- */
.bio-grid { display: grid; grid-template-columns: 1fr 320px; gap: 3.5rem; align-items: start; }
.bio p { margin: 0 0 1.5rem; max-width: 36em; }
.bio p:last-child { margin: 0; }
.facts { border: var(--heavy); padding: 1.8rem 1.5rem; }
.facts h2 { font-family: var(--display); font-weight: 800; font-size: 1.1rem; margin: 0 0 1rem; }
.facts dl { margin: 0; }
.facts dt { font-family: var(--display); font-weight: 700; font-size: .85rem; color: var(--red); margin-top: 1rem; }
.facts dt:first-child { margin-top: 0; }
.facts dd { margin: .2rem 0 0; font-size: 1rem; }

/* ---------- form ---------- */
.form-wrap { max-width: 720px; }
.field { margin-bottom: 1.6rem; }
.field label {
  display: block; font-family: var(--display); font-weight: 700; font-size: .95rem; margin-bottom: .45rem;
}
.field .hint { font-family: var(--text); font-weight: 400; color: var(--muted); font-size: .95rem; display: block; margin-top: .2rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--text); font-size: 1.05rem;
  padding: .75rem .85rem; border: var(--heavy); background: var(--paper); color: var(--ink);
  border-radius: 0;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--red); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-note { background: var(--tint); border: var(--heavy); padding: 1.4rem 1.3rem; margin-bottom: 2.2rem; font-size: 1.02rem; }
.form-note p { margin: 0; }

/* ---------- footer ---------- */
.site-footer { border-top: var(--heavy); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: 2.2rem 1.5rem 2.6rem; }
.footer-links { list-style: none; margin: .7rem 0 0; padding: 0; display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-links a { font-family: var(--display); font-size: .95rem; }
.disclaimer { max-width: 32em; font-size: .93rem; color: var(--muted); margin: 0; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero::after { width: 100%; height: 42%; top: auto; bottom: 0; clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%); opacity: .95; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .portrait { justify-self: start; width: min(72%, 290px); }
  .lane .wrap { grid-template-columns: 1fr; gap: 1rem; padding-top: 2rem; padding-bottom: 2rem; }
  .lane .go { justify-self: start; }
  .lane::before { transform: translateY(0); background: none; }
  .talks { grid-template-columns: 1fr; }
  .talk { border-right: 0; border-bottom: var(--heavy); }
  .talk:last-child { border-bottom: 0; }
  .bio-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience { border-right: 0; }
  .audience:last-child { border-bottom: 0; }
  .article-list a { grid-template-columns: 1fr; gap: .5rem; }
  .field-row { grid-template-columns: 1fr; }
  .site-nav .links { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .display-stack span i { transform: none; opacity: 1; }
  .reveal { opacity: 1; transform: none; }
}

/* speaking page: feature row collapses on small screens */
@media (max-width: 900px) {
  .talks-feature { grid-template-columns: 1fr !important; gap: 2rem !important; }
}

/* highlight a source when you jump to it from a footnote number */
.sources li:target { background: var(--tint); box-shadow: -6px 0 0 var(--red); padding-left: .6rem; }

/* speaking page hero band */
.speaking-hero { margin: 0; border-bottom: var(--heavy); }
.speaking-hero img { width: 100%; max-height: 460px; object-fit: cover; object-position: center 42%; }

/* photographs inside the audience grid */
.audience img {
  width: calc(100% + 3.2rem); margin: -1.8rem -1.6rem 1.4rem;
  height: 220px; object-fit: cover; object-position: center 30%;
  border-bottom: var(--heavy);
}
@media (max-width: 900px) {
  .speaking-hero img { max-height: 280px; }
  .audience img { height: 200px; }
}
