/* David Dante Frank. Black and white lead; founder blue is used once at full strength (the Building band) and otherwise as a point of colour. */
:root {
  --black: #000;
  --ink: #161616;
  --white: #fff;
  --paper: #f4f3ef;
  --dim: rgba(255,255,255,0.62);
  --faint: rgba(255,255,255,0.14);
  --paper-dim: rgba(22,22,22,0.68);
  --blue: #5992C6;
  --blue-ink: #2f6a9f;
  --display: 'League Spartan', 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Libre Baskerville', Georgia, serif;
  --gutter: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.2,.7,.1,1);
}
* { box-sizing: border-box; }
html { background: var(--black); scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--white); font-family: var(--body); font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1; }
img, video { max-width: 100%; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--black); font-family: var(--display); padding: 10px 14px; border-radius: 6px; }
.skip:focus { top: 12px; }

/* header */
.top { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px var(--gutter); font-family: var(--display); font-size: 15px; transition: background .4s var(--ease), padding .4s var(--ease); }
.top.solid { background: rgba(0,0,0,0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 12px; }
.top .left { display: flex; align-items: baseline; gap: 18px; }
.top .home { color: var(--white); font-weight: 500; }
.top .clock { color: var(--dim); font-variant-numeric: tabular-nums; }
.top .clock b { color: var(--white); font-weight: 500; }

/* opening: his name set huge, his face in front of it */
.open { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: radial-gradient(120% 80% at 50% 70%, #101010 0%, #000 60%); }
.name { position: absolute; left: 0; right: 0; top: 8svh; z-index: 1; text-align: center; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.035em; line-height: .82; font-size: clamp(76px, min(16vw, 26svh), 300px); color: var(--white); }
.name span { display: block; overflow: hidden; }
.name i { display: block; font-style: normal; }
/* the photo's own edges cut the shoulders 68% of the way down, so the name sits above that line and the sides fade into the black */
.face { position: absolute; z-index: 2; left: 50%; bottom: -4svh; transform: translateX(-50%); height: 86svh; width: auto; max-width: none; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 99%), linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 72%, transparent 99%), linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%); mask-composite: intersect; }
.open-copy { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: clamp(24px, 5svh, 56px); display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.line { max-width: 440px; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; }
.line em { color: var(--blue); font-style: italic; }
.line small { display: block; margin-top: 12px; font-size: 14.5px; color: var(--dim); line-height: 1.6; }
.exit { font-family: var(--display); font-size: 15px; color: var(--dim); text-align: right; line-height: 1.6; white-space: nowrap; }
.exit a { color: var(--white); border-bottom: 1.5px solid var(--blue); }
@media (max-width: 640px) {
  .name { top: 11svh; font-size: 23vw; }
  .face { height: 64svh; bottom: 0; }
  .open-copy { flex-direction: column; align-items: start; background: linear-gradient(transparent, #000 30%); padding-top: 40px; left: 0; right: 0; padding-inline: var(--gutter); bottom: 0; padding-bottom: 28px; }
  .exit { text-align: left; }
}

/* four things he keeps coming back to */
.beliefs { padding: clamp(90px, 14vw, 180px) var(--gutter); background: var(--black); }
.kicker { font-family: var(--display); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 40px; }
.belief { display: grid; grid-template-columns: 64px 1fr; gap: 0 20px; padding: clamp(26px, 4vw, 44px) 0; border-top: 1px solid var(--faint); }
.belief .n { font-family: var(--display); font-size: 15px; color: var(--dim); padding-top: .9em; }
.belief h2 { font-size: clamp(36px, 6.4vw, 96px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.02; text-wrap: balance; }
.belief h2 b { font-weight: 500; color: var(--blue); }
@media (max-width: 640px) { .belief { grid-template-columns: 1fr; } .belief .n { padding: 0 0 8px; } }

/* about: plain talk on paper */
.about { background: var(--paper); color: var(--ink); padding: clamp(90px, 12vw, 160px) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 96px); }
.about h2 { font-size: clamp(44px, 6vw, 88px); font-weight: 600; letter-spacing: -0.03em; line-height: .98; }
.about h2 em { font-style: normal; color: var(--blue-ink); }
.talk { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.7; max-width: 34em; }
.talk p + p { margin-top: 1.1em; }
.talk .aside { color: var(--paper-dim); font-style: italic; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } }

/* building: the one full blue moment */
.build { background: var(--blue); color: var(--ink); padding: clamp(80px, 11vw, 150px) var(--gutter); position: relative; overflow: hidden; }
.build .kicker { color: var(--ink); opacity: .75; }
.build h2 { font-size: clamp(64px, 13vw, 220px); font-weight: 700; letter-spacing: -0.045em; line-height: .86; text-transform: uppercase; }
@media (max-width: 640px) { .build h2 { font-size: 15vw; } }
.build .row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px 48px; margin-top: clamp(28px, 4vw, 52px); }
.build p { max-width: 30em; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; }
.build .links { display: grid; gap: 12px; font-family: var(--display); font-size: 17px; }
.build .links a { border-bottom: 1.5px solid var(--ink); justify-self: start; padding-bottom: 2px; }
.build .soon { margin-top: clamp(32px, 4vw, 48px); padding-top: 18px; border-top: 1px solid rgba(22,22,22,.25); font-family: var(--display); font-size: 15px; opacity: .8; }

/* now */
.now { background: var(--paper); color: var(--ink); padding: clamp(80px, 10vw, 140px) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(28px, 6vw, 96px); }
.now h2, .now h1 { font-size: clamp(40px, 5vw, 72px); font-weight: 600; letter-spacing: -0.03em; }
.stamp { font-family: var(--display); font-size: 15px; color: var(--paper-dim); margin-top: 14px; display: flex; align-items: center; gap: 10px; }
.stamp::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(89,146,198,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(89,146,198,0); } 100% { box-shadow: 0 0 0 0 rgba(89,146,198,0); } }
.now ul { list-style: none; margin: 0; padding: 0; }
.now li { display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid rgba(22,22,22,.14); font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; }
.now li span { font-family: var(--display); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--paper-dim); padding-top: 4px; }
.now li a { border-bottom: 1.5px solid var(--blue-ink); }
.now-body { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.7; max-width: 34em; }
.now-body p + p { margin-top: 1.1em; }
.now .fine { margin-top: 28px; font-size: 15px; color: var(--paper-dim); }
.now .fine a { border-bottom: 1px solid var(--paper-dim); }
@media (max-width: 760px) { .now { grid-template-columns: 1fr; } .now li { grid-template-columns: 1fr; gap: 4px; } }

/* talks page */
.page-head { padding: clamp(130px, 15vw, 200px) var(--gutter) clamp(40px, 6vw, 72px); }
.page-head h1 { font-size: clamp(64px, 12vw, 200px); font-weight: 700; letter-spacing: -0.045em; line-height: .86; }
.page-head p { margin-top: 24px; max-width: 34em; color: var(--dim); font-size: clamp(17px, 1.6vw, 20px); }
.talk-item { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: 0 var(--gutter) clamp(80px, 10vw, 130px); }
.talk-item video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 14px; background: #111; display: block; }
.talk-item .when { font-family: var(--display); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.talk-item h2 { margin-top: 14px; font-size: clamp(36px, 5vw, 72px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.02; }
.talk-item h2 small { display: block; font-size: .42em; color: var(--dim); letter-spacing: 0; margin-bottom: 10px; }
.talk-item p { margin-top: 20px; max-width: 30em; color: var(--dim); font-size: clamp(17px, 1.5vw, 19px); }
@media (max-width: 760px) { .talk-item { grid-template-columns: 1fr; } .talk-item video { max-width: 360px; } }

.hosts { background: var(--paper); color: var(--ink); padding: clamp(80px, 10vw, 140px) var(--gutter); }
.hosts .kicker { color: var(--blue-ink); }
.hosts h2 { font-size: clamp(40px, 5vw, 72px); font-weight: 600; letter-spacing: -0.03em; margin-bottom: clamp(32px, 4vw, 56px); }
.kit { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.card { border: 1px solid rgba(22,22,22,.16); border-radius: 16px; padding: 26px; display: grid; gap: 14px; align-content: start; }
.card p { font-size: 16.5px; line-height: 1.7; }
.card .mailto { font-family: var(--display); font-size: 18px; border-bottom: 1.5px solid var(--blue-ink); justify-self: start; }

/* hello */
.hello { position: relative; background: var(--black); padding: clamp(90px, 12vw, 170px) var(--gutter) 32px; overflow: hidden; min-height: 92svh; display: flex; flex-direction: column; }
.hello .face2 { position: absolute; right: -4vw; bottom: 0; height: 88%; width: auto; max-width: none; opacity: .9; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 98%), linear-gradient(to right, transparent, #000 30%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, #000 60%, transparent 98%), linear-gradient(to right, transparent, #000 30%); mask-composite: intersect; }
.hello .say { position: relative; z-index: 2; font-family: var(--display); font-weight: 600; font-size: clamp(80px, 15vw, 250px); letter-spacing: -0.045em; line-height: .86; }
.hello .say em { font-style: normal; color: var(--blue); display: block; }
.hello .mail { position: relative; z-index: 2; margin-top: 36px; font-family: var(--display); font-size: clamp(20px, 2.2vw, 28px); border-bottom: 2px solid var(--blue); align-self: start; padding-bottom: 4px; }
.hello .more { position: relative; z-index: 2; margin-top: 28px; display: grid; gap: 8px; font-family: var(--display); font-size: 16px; color: var(--dim); max-width: 26em; }
.hello .more a { color: var(--white); }
.hello .foot { position: relative; z-index: 2; margin-top: auto; padding-top: 72px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--display); font-size: 14px; color: var(--dim); }
.hello .foot a { color: var(--white); }
@media (max-width: 640px) { .hello .face2 { height: 52%; right: -18vw; opacity: .55; } }

/* motion: content is visible by default and only animates once the script has run */
.js [data-rise] { opacity: 0; transform: translateY(38px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js [data-rise].in { opacity: 1; transform: none; }
.js .name i { transform: translateY(105%); transition: transform 1.2s var(--ease); }
.js .name.in i { transform: none; }
.js .name span:nth-child(2) i { transition-delay: .09s; }
.js .name span:nth-child(3) i { transition-delay: .18s; }
.js .face { opacity: 0; transform: translateX(-50%) translateY(30px) scale(1.02); transition: opacity 1.4s var(--ease) .35s, transform 1.6s var(--ease) .35s; }
.js .face.in { opacity: 1; transform: translateX(-50%); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-rise], .js .name i, .js .face { opacity: 1 !important; transition: none !important; }
  .js [data-rise], .js .name i { transform: none !important; }
  .js .face { transform: translateX(-50%) !important; }
  .stamp::before { animation: none; }
}
