/* derekbolt.com: one stylesheet for every page. */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0a090d; --ink-2: #15131b; --white: #fff; --soft: #d9d5df; --dim: #a9a4b3; --line: #2a2731;
  --o: #f96722; --m: #e82c72; --v: #cb17d7; --b: #0098d8;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--ink); color-scheme: dark; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.menu-open { overflow: hidden; }
body { background: var(--ink); color: var(--white); font-family: "Archivo", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
[hidden] { display: none !important; }
picture { display: contents; }
::selection { background: var(--m); color: var(--white); }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; border-radius: 6px; }
.wide { font-stretch: 125%; text-transform: uppercase; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 40; padding: 10px 14px; border-radius: 10px; background: var(--white); color: var(--ink); font-weight: 800; }
.skip:focus { top: 12px; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; height: 60px; display: flex; align-items: center; gap: 28px; padding: 0 18px;
  background: linear-gradient(180deg, rgba(10, 9, 13, .7), rgba(10, 9, 13, 0)); transition: background .25s, box-shadow .25s; }
.nav.scrolled { background: rgb(10, 9, 13); box-shadow: 0 1px 0 var(--line); }
@supports (animation-timeline: scroll()) {
  .nav { animation: solid linear both; animation-timeline: scroll(); animation-range: 0 240px; }
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 850; font-size: 15px; letter-spacing: .14em; }
.brand img { height: 26px; width: auto; }
.menu-links, .nav .nav-icons { display: none; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; place-content: center; gap: 6px; }
html.js .burger { display: grid; }
.burger i { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.sheet { position: fixed; inset: 0; z-index: 15; background: var(--ink); padding: 96px 22px 32px; display: flex; flex-direction: column;
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .45s var(--ease), visibility 0s .45s; }
.sheet.open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .45s var(--ease), visibility 0s; }
.sheet a.big { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 850; font-size: 30px; letter-spacing: .04em;
  opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease); }
.sheet.open a.big { opacity: 1; transform: none; }
.sheet.open a.big:nth-child(2) { transition-delay: .06s; }
.sheet.open a.big:nth-child(3) { transition-delay: .12s; }
.sheet.open a.big:nth-child(4) { transition-delay: .18s; }
.sheet .age { margin-top: auto; margin-bottom: 16px; color: var(--dim); font-size: 13px; }
.icons { display: flex; gap: 22px; }
.icons a { display: grid; place-items: center; min-width: 44px; min-height: 44px; margin: -11px; }
.icons svg { width: 22px; height: 22px; fill: var(--white); }

/* hero */
.hero { position: relative; height: 100svh; min-height: 660px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.hero .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
.gel { position: absolute; inset: -20%; mix-blend-mode: soft-light; opacity: .8; pointer-events: none;
  background: radial-gradient(40% 30% at 30% 30%, var(--m), transparent 70%), radial-gradient(45% 35% at 75% 55%, var(--b), transparent 70%);
  animation: gel 16s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 9, 13, 0) 30%, rgba(10, 9, 13, .55) 50%, var(--ink) 82%); }
.copy { position: relative; z-index: 4; padding: 0 20px 18px; text-align: center; }
.lockup { position: relative; width: 112px; aspect-ratio: 380 / 647; margin: 0 auto 20px; }
.lockup img { position: absolute; inset: 0; width: 100%; height: 100%; }
.lockup .bolt { position: absolute; inset: 0; filter: drop-shadow(0 0 14px rgba(232, 44, 114, .5)); animation: flicker 9s linear 5s infinite; }
.lockup .bolt img { clip-path: inset(0 0 34% 0); }
.lockup .words { clip-path: inset(67% 0 0 0); }
h1 { font-weight: 850; font-size: 27px; line-height: 1.06; letter-spacing: .02em; }
.sub { margin: 12px auto 0; max-width: 30ch; color: var(--soft); font-size: 15px; line-height: 1.45; }
.cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; margin-top: 22px; height: 62px; padding: 0 22px;
  border-radius: 14px; background: var(--white); color: var(--ink); font-weight: 850; font-size: clamp(13px, 3.85vw, 15px); letter-spacing: .04em;
  white-space: nowrap; transition: transform .15s; }
.cta:active { transform: scale(.98); }
.cta svg { width: 22px; height: 22px; flex: none; transition: transform .25s var(--ease); }
.cta:hover svg { transform: translateX(4px); }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(232, 44, 114, .28) 50%, transparent 60%);
  transform: translateX(-100%); animation: sheen 5.5s ease-in-out 3s 3; }
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.quick a { position: relative; display: flex; align-items: center; justify-content: center; height: 31px; border-radius: 9px;
  background: var(--white); color: var(--ink); font-weight: 850; font-size: 11px; letter-spacing: .1em; transition: background .2s, transform .15s; }
.quick a::before { content: ""; position: absolute; inset: -7px 0; }
.quick a:hover { background: #e9e6ee; }
.quick a:active { transform: scale(.96); }
.ticker { position: relative; z-index: 4; height: 38px; display: flex; align-items: center; overflow: hidden; border-top: 1px solid var(--line); background: var(--ink); }
.track { display: flex; align-items: center; gap: 22px; white-space: nowrap; padding-left: 22px; animation: run 114s linear infinite; } /* 3 sets per half: 3x the distance, same speed */
.ticker:hover .track, .ticker.paused .track { animation-play-state: paused; }
.track span { font-weight: 750; font-size: 12px; letter-spacing: .22em; color: var(--dim); }
.track img { height: 16px; width: auto; }

/* the strike: these states exist only while intro.js has set html.intro */
.sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 30; pointer-events: none; }
.whiteout { position: fixed; inset: 0; z-index: 29; background: #eef5ff; opacity: 0; pointer-events: none; }
html.intro .hero .photo { filter: brightness(.05) saturate(.3); }
html.intro .gel { opacity: 0; }
html.intro .lockup .bolt, html.intro .lockup .words, html.intro h1, html.intro .sub, html.intro .cta, html.intro .quick { opacity: 0; }
html.lit .hero .photo { animation: lit 1.8s var(--ease) both; }
html.lit .gel { transition: opacity 1.4s; }
html.bolt-in .lockup .bolt { animation: appear .9s var(--ease) both, flicker 9s linear 5s infinite; }
html.copy-in .lockup .words { animation: words .7s var(--ease) both; }
html.copy-in h1 { animation: rise .7s var(--ease) .1s both; }
html.copy-in .sub { animation: rise .7s var(--ease) .18s both; }
html.copy-in .cta { animation: rise .7s var(--ease) .26s both; }
html.copy-in .quick { animation: rise .7s var(--ease) .34s both; }

/* more of me */
.more { padding: 56px 20px 8px; max-width: 1100px; margin: 0 auto; scroll-margin-top: 60px; }
.more h2 { font-weight: 850; font-size: 26px; letter-spacing: .04em; margin-bottom: 22px; }
.row { position: relative; display: grid; grid-template-columns: 1fr 76px; grid-template-areas: "t i" "p i"; column-gap: 16px; align-items: center;
  margin: 0 -12px; padding: 20px 12px; border-radius: 14px; transition: background .2s; }
.row:hover, .row:active { background: var(--ink-2); }
.row > div { grid-area: t; align-self: end; }
.row > p { grid-area: p; align-self: start; }
.row img { grid-area: i; }
.row::before { content: ""; position: absolute; left: 12px; right: 12px; top: 0; height: 1px; background: var(--line); }
.row::after { content: ""; position: absolute; left: 12px; right: 12px; top: 0; height: 1px;
  background: linear-gradient(90deg, var(--o), var(--m), var(--v)); transform-origin: left; transform: scaleX(1); }
@supports (animation-timeline: view()) {
  .row::after { transform: scaleX(0); animation: charge linear both; animation-timeline: view(); animation-range: entry 20% cover 40%; }
}
.row b { display: block; font-weight: 850; font-size: 20px; letter-spacing: .04em; }
.row p { margin-top: 6px; color: var(--dim); font-size: 14px; line-height: 1.45; }
.row img { width: 76px; height: 96px; object-fit: cover; border-radius: 10px; }
.dest { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; color: var(--white); font-weight: 700; font-size: 14px; letter-spacing: .02em; }
.go { width: 18px; height: 18px; flex: none; margin-left: -2px; color: var(--m); transition: transform .25s var(--ease); }
.row:hover .go { transform: translateX(4px); }
.soon { display: inline-block; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--dim); }
.band { position: relative; height: 78svh; margin-top: 48px; overflow: hidden; }
.band img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 30%; }
@supports (animation-timeline: view()) {
  .band img { animation: drift linear both; animation-timeline: view(); }
}
footer.foot { padding: 36px 20px 44px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
footer.foot img.mark { height: 44px; width: auto; }
footer.foot p { color: var(--dim); font-size: 13px; }

@keyframes appear { 0% { opacity: 0; transform: scale(1.12); filter: brightness(5) drop-shadow(0 0 22px #fff); }
  25% { opacity: 1; } 100% { opacity: 1; transform: none; filter: drop-shadow(0 0 14px rgba(232, 44, 114, .5)); } }
@keyframes flicker { 0%, 90%, 92.5%, 95%, 100% { opacity: 1; } 91% { opacity: .3; } 94% { opacity: .55; } }
@keyframes lit { 0% { filter: brightness(2.4) saturate(.6); } 100% { filter: none; } }
@keyframes words { from { opacity: 0; transform: translateY(10px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes gel { from { transform: translate(-4%, -2%) rotate(-3deg); } to { transform: translate(5%, 3%) rotate(4deg); } }
@keyframes sheen { 0%, 70% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes run { to { transform: translateX(-50%); } }
@keyframes solid { to { background: rgb(10, 9, 13); box-shadow: 0 1px 0 var(--line); } }
@keyframes charge { to { transform: scaleX(1); } }
@keyframes drift { from { transform: translateY(-9%); } to { transform: translateY(0); } }

/* short phones (iPhone SE height): keep his face clear and the button on one line */
@media (max-width: 899px) and (max-height: 760px) {
  .lockup { width: 78px; margin-bottom: 14px; }
  h1 { font-size: 24px; }
  .sub { margin-top: 8px; font-size: 14px; }
  .cta { margin-top: 16px; height: 56px; }
  .quick a { height: 28px; }
  .hero .photo { object-position: 50% 0%; }
}

/* real iPhone SE / small phones once browser bars take their share (~550-620px tall):
   every link stays on the first screen and the bolt stays below his chin */
@media (max-width: 899px) and (max-height: 620px) {
  .hero { min-height: 0; }
  .copy { padding-bottom: 12px; }
  .lockup { width: 48px; margin-bottom: 8px; }
  h1 { font-size: 20px; }
  .sub { margin-top: 6px; font-size: 13px; }
  .cta { margin-top: 12px; height: 50px; }
  .quick { margin-top: 10px; }
  .quick a { height: 28px; }
}

@media (min-width: 900px) {
  .nav { height: 76px; padding: 0 48px; }
  .brand { font-size: 17px; }
  .brand img { height: 30px; }
  .menu-links { display: flex; gap: 30px; margin-left: auto; font-size: 14px; font-weight: 600; letter-spacing: .06em; color: var(--soft); }
  .menu-links a { display: flex; align-items: center; min-height: 44px; }
  .menu-links a:hover { color: var(--white); }
  .nav .nav-icons { display: flex; gap: 18px; }
  .nav-icons svg { width: 19px; height: 19px; }
  html.js .burger { display: none; }
  .hero .photo { left: auto; width: 70%; object-position: 50% 14%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .35) 18%, #000 46%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .35) 18%, #000 46%); }
  .gel { left: 36%; }
  .hero::after { background: linear-gradient(0deg, var(--ink) 0, rgba(10, 9, 13, 0) 22%); }
  .copy { position: absolute; left: 48px; bottom: 96px; width: 460px; padding: 0; text-align: left; }
  .lockup { width: 150px; margin: 0 0 30px; }
  h1 { font-size: 48px; }
  .sub { margin-left: 0; font-size: 18px; }
  .cta { display: inline-flex; gap: 22px; height: 66px; padding: 0 28px; font-size: 17px; }
  .quick { display: none; }
  .ticker { position: absolute; left: 0; right: 0; bottom: 0; height: 44px; }
  .more { max-width: 1196px; margin: 0; padding: 96px 48px 16px; scroll-margin-top: 76px; }
  .more h2 { font-size: 46px; margin-bottom: 34px; }
  .row { grid-template-columns: 1fr 1.2fr 110px; grid-template-areas: "t p i"; gap: 40px; padding: 28px 12px; }
  .row > div, .row > p { align-self: center; }
  .row b { font-size: 30px; }
  .row p { margin: 0; font-size: 16px; }
  .row img { width: 110px; height: 138px; }
  .band img { object-position: 50% 50%; }
}

/* short laptop screens (1366x768, 1280x800, 1536x864 with browser chrome): the logo clears the nav */
@media (min-width: 900px) and (max-height: 820px) {
  .copy { bottom: 72px; }
  .lockup { width: 104px; margin-bottom: 20px; }
  h1 { font-size: 40px; }
  .sub { font-size: 16px; }
  .cta { height: 58px; margin-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .row::after { transform: scaleX(1); }
}

/* under construction pages */
.soon-page { min-height: 100svh; display: flex; flex-direction: column; }
.soon-page .nav { position: static; background: none; box-shadow: none; animation: none; }
.home { margin-left: auto; display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--soft); }
.home:hover { color: var(--white); }
.home svg { width: 18px; height: 18px; }
.soon-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 8px 20px 32px; }
.rig { width: min(68vw, 280px); aspect-ratio: 260 / 300; }
.rig svg { width: 100%; height: 100%; overflow: visible; }
.soon-main h1 { margin-top: 18px; font-size: clamp(24px, 7.9vw, 30px); line-height: 1.02; } /* CONSTRUCTION fits at 320 */
.lede { margin-top: 12px; max-width: 30ch; color: var(--soft); font-size: 16px; line-height: 1.45; }
.soon-main .cta { width: 100%; max-width: 420px; margin-top: 28px; }
.back { margin-top: 14px; display: inline-flex; align-items: center; min-height: 44px; color: var(--dim); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.back:hover { color: var(--white); }
.soon-foot { padding: 0 20px 28px; text-align: center; color: var(--dim); font-size: 13px; }
@media (min-width: 900px) {
  .soon-main h1 { font-size: 46px; }
  .lede { font-size: 18px; }
  .rig { width: 300px; }
}
