:root {
  font-family: "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  color-scheme: dark;
  min-height: 100%;
  background-color: #000;
  background-repeat: no-repeat;
  background-position: top center;
  /* Keep upward gestures from repeatedly bouncing past the page boundary. */
  overscroll-behavior-y: none;
}
* { box-sizing: border-box; }
button { font: inherit; color: inherit; cursor: pointer; }
body {
  --page-bg: #000;
  --ink: #f5f5f4;
  --muted: #b7babb;
  --button: #272a2c;
  --button-hover: #34383a;
  margin: 0;
  min-height: 100vh;
  /* Stay stable while mobile browser controls expand or collapse. */
  min-height: 100svh;
  color: var(--ink);
  background: transparent;
  position: relative;
  isolation: isolate;
}
/* Paint the page canvas itself so the backdrop reaches every exposed edge. */
html[data-variant="variant-color"] {
  background-image: linear-gradient(145deg, #151517 0%, #09090b 30%, #000 68%);
  background-size: 100% 540px;
}
.variant-split {
  --button: #1d1d20;
  --button-hover: #29292d;
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
button:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 5; padding: 12px 18px; background: #fff; color: #111; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg .solid { fill: currentColor; stroke: none; }
.page {
  width: 100%;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
main { display: block; }
/* Portrait dimensions and their inner spacing are 75% of the previous size. */
.portrait { width: min(345px, 75%); aspect-ratio: 1; margin: 0 auto; padding: 18px 27px 0; }
/* A soft studio glow follows the portrait without changing the supplied photo. */
.variant-centered .portrait { position: relative; isolation: isolate; }
.variant-centered .portrait::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -4%;
  left: 50%;
  width: min(390px, 125%);
  height: 110%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 46% 44% at 50% 46%,
    #3b4146 0%, #282d31 26%, #171a1d 48%, #090b0d 68%, transparent 100%);
  pointer-events: none;
}
.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  /* Preserve the supplied PNG cutout; apply only the existing bottom fade. */
  mask-image: linear-gradient(to bottom, #000 88%, #000d 92%, #0009 95%, #0003 98%, transparent 99.7%);
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  mask-position: center bottom;
  -webkit-mask-image: linear-gradient(to bottom, #000 88%, #000d 92%, #0009 95%, #0003 98%, transparent 99.7%);
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center bottom;
}
.content { max-width: 460px; margin: 0 auto; padding: 8px 24px 36px; text-align: center; }
h1 { margin: 0; font-family: inherit; font-size: clamp(23px, 6.45vw, 29px); font-weight: 500; line-height: 1.25; letter-spacing: -.7px; }
.bio { max-width: 310px; margin: 16px auto; color: var(--muted); font-size: 15px; line-height: 1.5; }
.socials { display: flex; justify-content: center; align-items: center; gap: 12px; }
.social { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; }
.social[href]:hover { background: var(--button); }
.social[aria-disabled=true], .link-card[aria-disabled=true] { cursor: default; }
.links { display: grid; gap: 12px; margin-top: 30px; scroll-margin-top: 24px; }
.link-card { display: flex; justify-content: center; align-items: center; min-height: 58px; padding: 15px 20px; background: var(--button); border: 0; border-radius: 999px; font-size: 16px; font-weight: 400; line-height: 1.4; transition: background .16s; }
.link-card[href]:hover, button.link-card:hover { background: var(--button-hover); }
.availability-dialog {
  width: min(420px, calc(100% - 48px));
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 48px 28px 28px;
  border: 0;
  border-radius: 24px;
  background: #18181b;
  color: var(--ink);
  text-align: center;
}
.availability-dialog::backdrop { background: rgb(0 0 0 / .72); }
.availability-dialog h2 { margin: 0 0 12px; font-size: 24px; font-weight: 500; line-height: 1.25; letter-spacing: -.4px; }
/* Initial focus announces the message without highlighting an action. */
.availability-dialog h2:focus { outline: none; }
.availability-dialog p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.dialog-dismiss { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; }
.dialog-dismiss:hover { background: var(--button); }
.dialog-copy { width: 100%; margin-top: 24px; }
#consulting-email { color: var(--ink); white-space: nowrap; }
.variant-studio .portrait::before { content: none; }
.variant-studio .portrait { display: flex; justify-content: center; align-items: flex-end; }
.variant-studio .portrait img { width: min(100%, 258.75px); height: auto; aspect-ratio: 1; border-radius: 16px 16px 0 0; }
@media (max-width: 859px) {
  .page { padding-top: 32px; padding-top: calc(32px + env(safe-area-inset-top, 0px)); }
  html[data-variant="variant-split"] {
    background-image: linear-gradient(180deg, transparent, #000),
      linear-gradient(115deg, #34373b 0%, #181b1e 42%, #020303 88%);
    background-size: 100% 420px;
    background-size: 100% calc(420px + env(safe-area-inset-top, 0px));
  }
}
@media (min-width: 860px) {
  /* Together with the portrait's 15px inset, leave 60px above the image. */
  .variant-centered .page { padding-top: 45px; }
  h1 { font-size: 30px; line-height: 1.2; letter-spacing: -1.15px; }
  .bio { font-size: 17px; max-width: 370px; margin: 20px auto; }
  .variant-centered .bio { max-width: none; }
  .links .link-card { min-height: 56px; padding: 12px 20px; }
  .variant-split { display: grid; align-items: center; }
  .variant-split main { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; width: min(1120px, 100%); margin: 0 auto; padding: 60px 48px; }
  .variant-split .portrait { width: 75%; height: 420px; max-height: 57svh; aspect-ratio: auto; padding: 0 16.5px; }
  .variant-split .content { width: 100%; padding: 0; text-align: center; }
  .variant-split h1 { font-size: clamp(28px, 2.35vw, 34px); white-space: nowrap; }
  html[data-variant="variant-color"] { background-size: 100% 650px; }
  .variant-centered .portrait, .variant-color .portrait { width: 75%; height: 273.75px; aspect-ratio: auto; padding: 15px 0 0; }
  .variant-centered .content, .variant-color .content { max-width: 560px; padding: 24px 24px 72px; }
  .variant-centered .links, .variant-color .links { max-width: 400px; margin: 42px auto 0; }
}
/* Alternative button treatments share the approved portrait and page layout. */
.buttons-gradient .links .link-card {
  position: relative;
  padding-inline: 48px;
  border: 1px solid #303030;
  background: linear-gradient(180deg, #141414 0%, #090909 65%, #050505 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .06);
}
.buttons-gradient .links .link-card:hover { background: linear-gradient(180deg, #1d1d1d, #0d0d0d); border-color: #454545; }
.buttons-gradient .link-arrow { position: absolute; right: 22px; width: 18px; height: 18px; color: #b7babb; }
.buttons-icons .links .link-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  gap: 14px;
  padding: 8px 18px 8px 8px;
  border: 1px solid #292b2e;
  border-radius: 16px;
  background: #121416;
  text-align: left;
}
.buttons-icons .links .link-card:hover { background: #1a1d20; border-color: #393d41; }
.buttons-icons .link-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #24272b; color: #c9cdd1; }
.buttons-icons .link-glyph { width: 20px; height: 20px; stroke-width: 1.7; }
.buttons-icons .link-arrow { width: 16px; height: 16px; color: #858a91; stroke-width: 1.8; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
