:root {
  --paper: #edf1f7;
  --ink: #121927;
  --blue: #2557e7;
  --coral: #ff5d57;
  --yellow: #ffd447;
  --teal: #37c7b7;
  --white: #fffefa;
  --line: rgba(18, 25, 39, 0.2);
  --display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --body: "Instrument Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.45;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 99;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}
.skip:focus { transform: translateY(0); }

.topbar {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 64px;
  padding: 0 3vw;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.topbar p { margin: 0; }
.brand {
  justify-self: start;
  font-family: var(--display);
  font-weight: 750;
  text-decoration: none;
}
.brand span { color: var(--blue); }
.small-link { justify-self: end; text-underline-offset: 4px; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  grid-template-rows: 1fr auto;
  gap: 42px 5vw;
  min-height: calc(100svh - 64px);
  padding: clamp(64px, 8vw, 128px) 5vw 46px;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(18,25,39,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18,25,39,.055) 1px, transparent 1px);
  background-size: 42px 42px;
}
.hero::after {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -28vw;
  width: 58vw;
  aspect-ratio: 1;
  border: clamp(50px, 8vw, 130px) solid rgba(37,87,231,.08);
  border-radius: 50%;
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 2; align-self: center; }
.plain-note { max-width: 34ch; margin: 0 0 34px; font-size: 15px; }
h1, h2, p { margin-top: 0; }
h1 {
  margin-bottom: 24px;
  font-family: var(--display);
  font-size: clamp(62px, 10.2vw, 178px);
  font-stretch: 75%;
  font-weight: 800;
  line-height: .73;
  letter-spacing: -.085em;
}
h1 span { display: block; }
h1 .indexed {
  width: max-content;
  padding-right: .1em;
  color: var(--blue);
  background: linear-gradient(transparent 67%, var(--yellow) 67% 92%, transparent 92%);
}
.hero-question {
  max-width: 27ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 44px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.raul-stage {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(100%, 620px);
  margin: 0;
}
.portrait-frame {
  position: relative;
  padding: clamp(18px, 2vw, 28px);
  background: var(--blue);
  box-shadow: 18px 18px 0 var(--ink);
}
.portrait-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: saturate(.9) contrast(1.04);
}
.focus-corner {
  position: absolute;
  width: 62px;
  height: 62px;
  border-color: var(--yellow);
  border-style: solid;
  pointer-events: none;
}
.focus-corner.top-left { top: 8px; left: 8px; border-width: 5px 0 0 5px; }
.focus-corner.bottom-right { right: 8px; bottom: 8px; border-width: 0 5px 5px 0; }
.annotation {
  position: absolute;
  padding: 7px 10px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 13px;
  font-weight: 700;
}
.annotation::after { content: ""; position: absolute; width: 48px; border-top: 2px solid var(--ink); }
.annotation-tech { top: 13%; left: -7%; }
.annotation-tech::after { top: 50%; left: 100%; }
.annotation-content { top: 40%; right: -6%; }
.annotation-content::after { top: 50%; right: 100%; }
.annotation-authority { left: -4%; bottom: 12%; }
.annotation-authority::after { top: 50%; left: 100%; }
.raul-stage figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 14px;
  border-top: 2px solid var(--ink);
}
.raul-stage figcaption strong { font-size: 22px; }
.raul-stage figcaption span { max-width: 24ch; text-align: right; font-size: 14px; }

.hero-actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 22px;
}
.primary {
  display: inline-flex;
  justify-content: center;
  padding: 15px 21px;
  background: var(--blue);
  color: white;
  border: 2px solid var(--blue);
  font-weight: 700;
  text-decoration: none;
}
.primary:hover { background: var(--ink); border-color: var(--ink); }
.text-button {
  padding: 0;
  background: transparent;
  border: 0;
  border-bottom: 2px solid currentColor;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
}
.honesty {
  position: relative;
  z-index: 2;
  align-self: center;
  justify-self: end;
  margin: 0;
  font-size: 13px;
}
.honesty strong { color: var(--blue); }

.raul-profile {
  display: grid;
  grid-template-columns: .35fr 1.15fr .75fr;
  gap: 5vw;
  padding: 9vw 6vw;
  background: var(--ink);
  color: white;
}
.profile-stamp {
  align-self: start;
  padding: 22px 14px;
  border: 2px solid var(--yellow);
  color: var(--yellow);
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 60px);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.06em;
  transform: rotate(-4deg);
}
.profile-copy > p:first-child { color: var(--yellow); font-size: 14px; }
.profile-copy h2, .growth h2 {
  margin-bottom: 34px;
  font-family: var(--display);
  font-size: clamp(44px, 6vw, 92px);
  font-weight: 750;
  line-height: .94;
  letter-spacing: -.055em;
}
.profile-copy > p:not(:first-child) { max-width: 47ch; font-size: 21px; }
.profile-copy blockquote {
  max-width: 21ch;
  margin: 50px 0 28px;
  color: var(--yellow);
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 700;
  line-height: 1.02;
}
.profile-copy a { color: white; text-underline-offset: 5px; }
.profile-facts { margin: 0; border-top: 1px solid rgba(255,255,255,.35); }
.profile-facts div { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.35); }
.profile-facts dt { color: rgba(255,255,255,.55); font-size: 13px; }
.profile-facts dd { margin: 4px 0 0; font-size: 19px; }

.raul-gallery {
  display: grid;
  grid-template-columns: .9fr 1.15fr .9fr;
  align-items: center;
  gap: 3vw;
  padding: 7vw 5vw;
  overflow: hidden;
}
.raul-gallery figure { margin: 0; }
.raul-gallery img { display: block; width: 100%; object-fit: cover; border: 3px solid var(--ink); }
.gallery-work { transform: rotate(-2.5deg); }
.gallery-life { transform: rotate(2.5deg); }
.gallery-work img, .gallery-life img { aspect-ratio: 4 / 5; }
.raul-gallery figcaption { margin-top: 12px; font-size: 13px; }
.gallery-statement { text-align: center; }
.gallery-statement p {
  margin-bottom: 22px;
  font-family: var(--display);
  font-size: clamp(38px, 5.2vw, 76px);
  font-weight: 800;
  line-height: .93;
  letter-spacing: -.06em;
}
.gallery-statement span { display: block; max-width: 27ch; margin: auto; }

.growth {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 6vw;
  padding: 9vw 6vw;
  background: var(--teal);
}
.growth .margin-word {
  margin-bottom: 26px;
  writing-mode: horizontal-tb;
  transform: none;
  font-size: clamp(30px, 4vw, 58px);
}
.growth-lines { border-top: 3px solid var(--ink); }
.growth-lines p { display: grid; grid-template-columns: .65fr 1.35fr; gap: 22px; margin: 0; padding: 28px 0; border-bottom: 1px solid var(--ink); }
.growth-lines strong { font-size: 24px; }
.growth-lines span { max-width: 38ch; }

.thesis {
  display: grid;
  grid-template-columns: minmax(110px, .35fr) 1.65fr;
  gap: 5vw;
  padding: 10vw 6vw;
  background: var(--coral);
}
.thesis > div { max-width: 960px; }
.thesis h2, .diagnostic h2, .agenda h2, .close h2 {
  margin-bottom: 28px;
  font-family: var(--display);
  font-size: clamp(42px, 6.4vw, 100px);
  font-weight: 750;
  line-height: .96;
  letter-spacing: -.055em;
}
.thesis p:not(.margin-word) { max-width: 43ch; margin-bottom: 0; font-size: clamp(22px, 2.5vw, 38px); line-height: 1.18; }
.margin-word {
  align-self: start;
  margin: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 74px);
  font-weight: 800;
  letter-spacing: -.05em;
  opacity: .2;
}

.diagnostic {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 5vw;
  padding: 9vw 6vw;
}
.diagnostic-heading p { max-width: 32ch; }
.switcher { grid-column: 2; display: flex; border-bottom: 2px solid var(--ink); }
.signal-tab {
  flex: 1;
  padding: 15px 8px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.signal-tab.active { background: var(--ink); color: white; }
.signal-board { grid-column: 2; min-height: 330px; padding: 45px 0 0; }
.signal-score { display: grid; grid-template-columns: 1fr .65fr; align-items: end; gap: 20px; }
.signal-score span { font-family: var(--display); font-size: clamp(76px, 12vw, 178px); font-weight: 800; line-height: .75; letter-spacing: -.085em; }
.signal-score small { max-width: 18ch; font-size: 17px; line-height: 1.2; }
.signal-bar { height: 20px; margin: 35px 0 24px; border: 2px solid var(--ink); }
.signal-bar span { display: block; height: 100%; width: 28%; background: var(--coral); transition: width .45s cubic-bezier(.2,.8,.2,1), background-color .2s; }
#signalFinding { max-width: 46ch; font-size: 22px; }
.source-note { max-width: 58ch; color: rgba(18,25,39,.68); font-size: 12px; }

.agenda { display: grid; grid-template-columns: .8fr 1.2fr; gap: 6vw; padding: 9vw 6vw; background: var(--yellow); }
.agenda-intro p { max-width: 35ch; }
.agenda-list { margin: 0; padding: 0; list-style: none; border-top: 3px solid var(--ink); }
.agenda-list li { display: grid; grid-template-columns: 100px 1fr; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--ink); }
.agenda-list time { font-family: var(--display); font-size: 28px; font-weight: 750; }
.agenda-list strong { display: block; margin-bottom: 6px; font-size: 26px; }
.agenda-list p { max-width: 42ch; margin-bottom: 0; }

.principle { padding: 11vw 6vw; background: var(--blue); color: white; text-align: center; }
.principle p { margin: 0 auto; font-family: var(--display); font-size: clamp(48px, 8vw, 130px); font-weight: 800; line-height: .9; letter-spacing: -.065em; }
.principle span { color: var(--yellow); }

.reference { display: grid; grid-template-columns: .65fr 1.35fr; gap: 7vw; padding: 8vw 6vw; }
.reference h2 { font-family: var(--display); font-size: clamp(40px, 5vw, 70px); line-height: 1; }
.reference > div { max-width: 700px; }
.reference > div > p:first-child { font-size: 26px; line-height: 1.25; }
.disclaimer { margin: 38px 0 20px; font-size: 14px; }
.reference a { color: var(--blue); text-underline-offset: 5px; }

.close { padding: 9vw 6vw 11vw; background: var(--ink); color: white; }
.close > p { margin-bottom: 45px; }
.close h2 { max-width: 1100px; }
.primary.light { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.primary.light:hover { background: white; border-color: white; }

footer { display: flex; justify-content: space-between; gap: 20px; padding: 24px 3vw; background: var(--ink); color: rgba(255,255,255,.65); border-top: 1px solid rgba(255,255,255,.2); font-size: 12px; }

:focus-visible { outline: 4px solid var(--coral); outline-offset: 4px; }

@media (max-width: 860px) {
  body { font-size: 16px; }
  .topbar { grid-template-columns: 1fr auto; padding: 0 18px; }
  .topbar p { display: none; }
  .hero { grid-template-columns: 1fr; grid-template-rows: auto; gap: 34px; padding: 64px 20px 30px; }
  .hero-copy, .raul-stage { align-self: auto; }
  h1 { font-size: clamp(62px, 21vw, 118px); }
  .plain-note { margin-bottom: 24px; }
  .raul-stage { width: calc(100% - 10px); margin-left: 10px; }
  .portrait-frame { box-shadow: 9px 9px 0 var(--ink); }
  .annotation-tech { left: -4%; }
  .annotation-content { right: -3%; }
  .hero-actions { flex-wrap: wrap; }
  .honesty { justify-self: start; }
  .raul-profile, .raul-gallery, .growth, .thesis, .diagnostic, .agenda, .reference { grid-template-columns: 1fr; padding: 80px 22px; }
  .raul-profile { gap: 48px; }
  .profile-stamp { width: max-content; }
  .raul-gallery { gap: 45px; }
  .raul-gallery figure { width: min(88%, 440px); }
  .gallery-work { justify-self: start; }
  .gallery-life { justify-self: end; }
  .gallery-statement { grid-row: 1; }
  .growth { gap: 32px; }
  .thesis { gap: 28px; }
  .margin-word { writing-mode: horizontal-tb; transform: none; }
  .switcher, .signal-board { grid-column: 1; }
  .diagnostic { gap: 32px; }
  .signal-score { grid-template-columns: 1fr; }
  .agenda { gap: 38px; }
  .reference { gap: 26px; }
  .principle, .close { padding: 90px 22px; }
}

@media (max-width: 520px) {
  .small-link { font-size: 12px; }
  .annotation { padding: 5px 7px; font-size: 11px; }
  .annotation::after { width: 28px; }
  .raul-stage figcaption { flex-direction: column; }
  .raul-stage figcaption span { text-align: left; }
  .growth-lines p { grid-template-columns: 1fr; gap: 8px; }
  .agenda-list li { grid-template-columns: 72px 1fr; gap: 14px; }
  .agenda-list time { font-size: 22px; }
  .agenda-list strong { font-size: 21px; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
