/* ==========================================================================
   Davis Higgins · Links
   A single centered column over an animated ASCII background rendered in
   white/grey with black lines. Mobile-first; on larger screens the column
   becomes a floating card.
   ========================================================================== */

@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* monochrome palette */
  --ink: #0A0A0A;          /* text and the darkest surfaces */
  --ink-2: #3F3F3F;        /* secondary text */
  --ink-3: #6E6E6E;        /* tertiary text */
  --paper: #E9E9E9;        /* page base, shown before the video draws */
  --white: #FFFFFF;
  --line: #DADADA;         /* hairlines and input borders */

  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.45, .64, 1);

  --gutter: 12px;
  --radius-card: 20px;
  --focus: 0 0 0 2px var(--white), 0 0 0 4px var(--ink);

  /* Background video colour. The video is made grayscale, then contrast pushes its bright field to
     white/grey and its lines to black. main.js samples the video's poster when the CDN allows it;
     if the source turns out to be mostly dark, it adds .bg-src-dark and the inverted recipe below
     is used instead, so the page stays light with black lines either way. */
  --bg-ink: grayscale(1) brightness(1.1) contrast(1.3);
  --bg-ink-inverted: grayscale(1) invert(1) contrast(1.5) brightness(.92);
}

*, *::before, *::after { box-sizing: border-box; }

/* No pinch or double-tap zoom anywhere: every element allows scrolling only. Set on each element
   (not just html) because ScrollSmoother's wrapper is its own scroll container. */
* { touch-action: pan-x pan-y; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button, input, textarea { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
::selection { background: var(--ink); color: var(--white); }

/* --------------------------------------------------------------------------
   Backdrop: 21st.dev AsciiArt "ocean-perk" video in white/grey and black
   -------------------------------------------------------------------------- */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--paper);
}
.bd-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--bg-ink);
  transform: translateZ(0);
}
html.bg-src-dark .bd-video { filter: var(--bg-ink-inverted); }
/* a light veil so the lines stay present without fighting the content */
.bd-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, .18) 60%, rgba(255, 255, 255, .26) 100%);
}

/* --------------------------------------------------------------------------
   Smooth-scroll shell + column
   -------------------------------------------------------------------------- */
#smooth-wrapper { position: relative; z-index: 1; }
/* flow-root keeps the first and last children's margins inside the content, so ScrollSmoother measures
   the full page height and the © line at the bottom is always reachable */
#smooth-content { display: flow-root; }

.column {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 var(--gutter) 6px;
}

/* --------------------------------------------------------------------------
   Profile: full-bleed photo that fades into the page, identity on top
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  margin: 0 calc(var(--gutter) * -1);
}
/* washes out the background lines behind the name, handle, and icons */
.hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -28px;
  height: 66%;
  z-index: -1;
  background: linear-gradient(180deg, rgba(236, 236, 236, 0) 0%, rgba(236, 236, 236, .9) 42%, rgba(236, 236, 236, .9) 78%, rgba(236, 236, 236, 0) 100%);
  pointer-events: none;
}
.hero-media {
  position: relative;
  aspect-ratio: 6 / 5;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 52%, rgba(0, 0, 0, .5) 78%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 52%, rgba(0, 0, 0, .5) 78%, rgba(0, 0, 0, 0) 100%);
}
/* main.js holds the photo still and fades it while the page scrolls over it; the zoom layer
   eases in slightly as it goes. Both are composited layers only while that effect is armed. */
.hero-zoom {
  width: 100%;
  height: 100%;
  transform-origin: 50% 0;
}
html.hero-fx .hero-media,
html.hero-fx .hero-zoom { will-change: transform, opacity; }
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 14%;
  transform-origin: 50% 30%;
}
/* lightens the lower photo so the black name reads; masked with the photo, so it leaves no edge */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(240, 240, 240, 0) 40%, rgba(240, 240, 240, .5) 66%, rgba(240, 240, 240, .9) 100%);
}

.hero-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 var(--gutter) 2px;
  text-align: center;
}

.name {
  margin: 0;
  color: var(--ink);
  font-size: clamp(26px, 7vw, 34px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.032em;
  text-shadow: 0 1px 16px rgba(255, 255, 255, .7);
  padding-bottom: .06em;
  overflow: hidden;
}
.name .ch { display: inline-block; white-space: pre; }

.handle {
  margin: 2px 0 0;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.005em;
}

/* one-line bio under the @ */
.bio {
  margin: 5px 0 0;
  max-width: 40ch;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.008em;
  text-wrap: balance;
  text-shadow: 0 1px 10px rgba(255, 255, 255, .8);
}

/* white circular buttons with each brand's mark */
.socials {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 11px 0 0;
  padding: 0;
  list-style: none;
}
.social {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .08),
    0 8px 18px -10px rgba(0, 0, 0, .45);
  outline: none;
  transition: transform .5s var(--ease-spring), box-shadow .5s var(--ease-out);
  touch-action: pan-x pan-y;
}
.social svg { width: 20px; height: 20px; }
.social:focus-visible { box-shadow: var(--focus); }
@media (hover: hover) and (pointer: fine) {
  .social:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 12px 22px -10px rgba(0, 0, 0, .5); }
}
.social:active { transform: scale(.92); transition-duration: .14s; }


/* --------------------------------------------------------------------------
   Featured: large cards, each in its own site's brand gradient, with a soft
   brand-coloured light, a hairline highlight, and a sheen on hover
   -------------------------------------------------------------------------- */
.featured,
.more { position: relative; z-index: 1; }

.links,
.rows {
  list-style: none;
  margin: 0;
  padding: 0;
}
.links {
  display: grid;
  gap: 12px;
}

.card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: 15px 16px 16px;
  border-radius: 22px;
  overflow: hidden;
  color: var(--fg, #fff);
  background: var(--g);
  box-shadow:
    inset 0 0 0 1px var(--edge, rgba(255, 255, 255, .07)),
    0 2px 6px -2px rgba(0, 0, 0, .28),
    0 26px 44px -26px rgba(0, 0, 0, .7);
  transform: translateZ(0);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
  touch-action: pan-x pan-y;
  outline: none;
}
/* the brand-coloured light in the top-right corner */
.card::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: -46%;
  right: -30%;
  width: 92%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow, #fff), rgba(0, 0, 0, 0));
  opacity: .32;
  transition: opacity .7s var(--ease-out), transform .9s var(--ease-out);
  pointer-events: none;
}
/* hairline highlight: brightest along the top-left edge, gone by the middle */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(155deg, rgba(255, 255, 255, .42) 0%, rgba(255, 255, 255, .1) 32%, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, .08) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
/* a band of light that sweeps across once on hover */
.card-shine {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}
.card-shine::before {
  content: "";
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: 0;
  width: 42%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .13) 50%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-120%) skewX(-16deg);
}
.card:focus-visible { box-shadow: var(--focus); }

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.card-logo {
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  box-shadow:
    0 0 0 1px var(--ring, rgba(255, 255, 255, .18)),
    0 12px 22px -12px rgba(0, 0, 0, .7);
}
.card-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
  margin-top: 12px;
}
.card-name {
  font-size: clamp(18px, 5vw, 20px);
  font-weight: 750;
  letter-spacing: -.03em;
  line-height: 1.1;
}
/* the domain gets an underline that draws in from the left on hover */
.card-domain {
  color: var(--dm, rgba(255, 255, 255, .75));
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.35;
  overflow-wrap: anywhere;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease-out);
}
/* arrow badge: on hover it fills with the card's text colour and the arrow slides out
   top-right while a second one slides in from bottom-left */
.card-go,
.row-go {
  position: relative;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  transition: background-color .35s ease, color .35s ease;
}
.card-go {
  width: 32px;
  height: 32px;
  color: var(--fg, #fff);
  background: var(--chip, rgba(255, 255, 255, .13));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.card-go svg,
.row-go svg {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .45s var(--ease-out);
}
.card-go svg + svg,
.row-go svg + svg { transform: translate(-22px, 22px); }
.card-desc {
  margin-top: 9px;
  font-size: 13.5px;
  line-height: 1.48;
  font-weight: 450;
  letter-spacing: -.004em;
  opacity: .84;
  text-wrap: pretty;
  transition: opacity .35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-3px);
    box-shadow:
      inset 0 0 0 1px var(--edge-hover, rgba(255, 255, 255, .16)),
      0 4px 10px -4px rgba(0, 0, 0, .3),
      0 34px 54px -28px rgba(0, 0, 0, .75);
  }
  .card:hover::before { opacity: .5; transform: scale(1.12); }
  .card:hover .card-shine::before { transform: translateX(340%) skewX(-16deg); transition: transform 1.15s var(--ease-out); }
  .card:hover .card-go { background: var(--fg, #fff); color: var(--go-ink, #0B0E14); }
  .card:hover .card-go svg,
  .row:hover .row-go svg { transform: translate(22px, -22px); }
  .card:hover .card-go svg + svg,
  .row:hover .row-go svg + svg { transform: translate(0, 0); transition-delay: .06s; }
  .card:hover .card-domain,
  .row:hover .row-domain { background-size: 100% 1px; }
  .card:hover .card-desc { opacity: .97; }
}
/* keyboard focus shows the same cues as hover */
.card:focus-visible .card-go { background: var(--fg, #fff); color: var(--go-ink, #0B0E14); }
.card:focus-visible .card-go svg,
.row:focus-visible .row-go svg { transform: translate(22px, -22px); }
.card:focus-visible .card-go svg + svg,
.row:focus-visible .row-go svg + svg { transform: translate(0, 0); }
.card:focus-visible .card-domain,
.row:focus-visible .row-domain { background-size: 100% 1px; }
.card:active { transform: scale(.985); transition-duration: .15s; }

/* --------------------------------------------------------------------------
   More from me: a 2×2 grid of square tiles. Each tile's cover image fills it,
   a scrim darkens the lower half for the text, the logo sits top-left and the
   arrow badge top-right.
   -------------------------------------------------------------------------- */
.rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.row-link { min-width: 0; }
.row {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 1 / 1;
  padding: 12px;
  border-radius: var(--radius-card);
  overflow: hidden;
  color: var(--white);
  background: #1A1A1A;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .08),
    0 14px 28px -18px rgba(0, 0, 0, .6);
  transform: translateZ(0);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
  touch-action: pan-x pan-y;
  outline: none;
}
.row-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
/* scrim: a light shade at the top for the logo, deep at the bottom for the text */
.row::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, .12) 46%, rgba(0, 0, 0, .74) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.row:focus-visible { box-shadow: var(--focus); }
.row-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.row-logo {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, .85),
    0 8px 18px -8px rgba(0, 0, 0, .7);
}
.row-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
}
.row-name {
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -.02em;
  line-height: 1.15;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .55);
}
.row-desc {
  color: rgba(255, 255, 255, .88);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.004em;
  text-wrap: pretty;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}
.row-go {
  width: 30px;
  height: 30px;
  color: var(--white);
  background: rgba(255, 255, 255, .16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
@media (hover: hover) and (pointer: fine) {
  .row:hover {
    transform: translateY(-3px);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, .14),
      0 24px 40px -22px rgba(0, 0, 0, .7);
  }
  .row:hover .row-bg { transform: scale(1.07); }
  .row:hover .row-go { background: var(--white); color: var(--ink); box-shadow: none; }
}
.row:focus-visible .row-go { background: var(--white); color: var(--ink); }
.row:active { transform: scale(.97); transition-duration: .15s; }

/* --------------------------------------------------------------------------
   Section titles (Featured, More from me, Brands & Socials, Connect): compact
   white chips with a small leading dot
   -------------------------------------------------------------------------- */
.section-title {
  display: flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin: 36px auto 14px;
  padding: 8px 17px 8px 14px;
  border-radius: 999px;
  background: var(--white);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .07),
    0 10px 22px -14px rgba(0, 0, 0, .45);
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: .13em;
  text-transform: uppercase;
  outline: none;
}
.section-title::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}
/* the first section sits closer to the profile */
.featured .section-title { margin-top: 26px; }

/* --------------------------------------------------------------------------
   Brands & Socials: Instagram tiles with each account's cover image as the background
   -------------------------------------------------------------------------- */
.accounts { position: relative; z-index: 1; }
.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.tile {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background: #2A2A2A;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .08),
    0 12px 24px -16px rgba(0, 0, 0, .55);
  transition: transform .5s var(--ease-out);
  touch-action: pan-x pan-y;
  outline: none;
  transform: translateZ(0);
}
.tile-feature { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
/* an odd small tile out (the feature is child 1) spans the row instead of sitting alone */
.tile:not(.tile-feature):last-child:nth-child(even) { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
.tile-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1s var(--ease-out);
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(0, 0, 0, .12) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .62) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.tile-icon {
  position: absolute;
  top: 9px;
  left: 9px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .85), 0 3px 8px rgba(0, 0, 0, .35);
}
.tile-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
}
.tile-icon svg .dot { fill: #fff; stroke: none; }
.tile-label {
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
}
.tile-feature .tile-label,
.tile:not(.tile-feature):last-child:nth-child(even) .tile-label { font-size: 15px; bottom: 12px; }
.tile:focus-visible { box-shadow: var(--focus); }
@media (hover: hover) and (pointer: fine) {
  .tile:hover { transform: translateY(-2px); }
  .tile:hover .tile-bg { transform: scale(1.06); }
}
.tile:active { transform: scale(.97); transition-duration: .15s; }

/* --------------------------------------------------------------------------
   Connect: black-and-white message form, delivered by /api/contact
   -------------------------------------------------------------------------- */
.connect { position: relative; z-index: 1; }
.connect-card {
  position: relative;
  padding: 20px 18px 20px;
  border-radius: var(--radius-card);
  background: var(--white);
  color: var(--ink);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .07),
    0 20px 40px -26px rgba(0, 0, 0, .45);
}
.connect-intro {
  margin: 0 0 18px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
  text-wrap: pretty;
}

.connect-form { display: grid; gap: 14px; }
.connect-form[hidden] { display: none; }
/* the form needs JavaScript to send; without it, the noscript line offers the email address */
html:not(.js) .connect-form { display: none; }
.connect-noscript {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
}
.connect-noscript a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.field-row { display: grid; gap: 14px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .005em;
  color: var(--ink);
}
.field input,
.field textarea {
  width: 100%;
  margin: 0;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #F6F6F6;
  color: var(--ink);
  font-size: 16px;          /* 16px keeps iOS from zooming on focus */
  line-height: 1.4;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #9A9A9A; }
.field input:hover,
.field textarea:hover { border-color: #BDBDBD; }
.field input:focus,
.field textarea:focus {
  border-color: var(--ink);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(10, 10, 10, .08);
}
.field input:-webkit-autofill,
.field textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px #F1F1F1 inset;
  caret-color: var(--ink);
}
.field.is-invalid input,
.field.is-invalid textarea { border-color: #B3261E; }
.field.is-invalid input:focus,
.field.is-invalid textarea:focus { box-shadow: 0 0 0 3px rgba(179, 38, 30, .12); }
.field-err {
  margin: 0;
  color: #B3261E;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.35;
}
.field-err:empty { display: none; }

/* off-screen spam trap */
.hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-foot {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-top: 4px;
}
.send {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -.01em;
  cursor: pointer;
  outline: none;
  box-shadow: 0 12px 24px -16px rgba(0, 0, 0, .6);
  transition: transform .45s var(--ease-spring), background-color .25s ease, opacity .25s ease;
  touch-action: pan-x pan-y;
}
.send-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .45s var(--ease-spring);
}
.send:focus-visible { box-shadow: var(--focus); }
@media (hover: hover) and (pointer: fine) {
  .send:hover { background: #262626; }
  .send:hover .send-icon { transform: translateX(3px); }
}
.send:active { transform: scale(.97); transition-duration: .14s; }
.send[disabled] { cursor: progress; opacity: .7; }
.form-note {
  margin: 0;
  text-align: center;
  color: var(--ink-3);
  font-size: 12.5px;
}
.form-status {
  margin: 0;
  color: #B3261E;
  font-size: 14px;
  line-height: 1.5;
}
.form-status:empty { display: none; }
.form-status a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.connect-done {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 6px 4px;
  text-align: center;
  outline: none;
}
.connect-done[hidden] { display: none; }
.done-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 0 0 7px rgba(10, 10, 10, .06);
}
.done-mark svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.done-title {
  margin: 18px 0 0;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -.02em;
}
.done-text {
  margin: 6px 0 0;
  max-width: 34ch;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.55;
}
.done-again {
  margin-top: 18px;
  padding: 11px 18px;
  border: 1px solid #D4D4D4;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: background-color .25s ease, border-color .25s ease;
}
.done-again:focus-visible { box-shadow: var(--focus); }
@media (hover: hover) and (pointer: fine) {
  .done-again:hover { background: #F3F3F3; border-color: #BDBDBD; }
}

.colophon {
  position: relative;
  z-index: 1;
  display: block;
  width: fit-content;
  margin: 26px auto 0;
  /* the space below it is part of the page, so it can never sit flush against (or under) the bottom edge */
  margin-bottom: calc(env(safe-area-inset-bottom, 0px) + 22px);
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
}

/* --------------------------------------------------------------------------
   Wider phones and up: two-column name/email, roomier cards
   -------------------------------------------------------------------------- */
@media (min-width: 480px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .form-foot { flex-direction: row; align-items: center; justify-content: space-between; }
  .form-note { order: -1; text-align: left; }
  .card { padding: 17px 18px 18px; }
  .card-logo { width: 54px; height: 54px; border-radius: 15px; }
  .card-title { margin-top: 13px; }
  .card-desc { font-size: 14px; }
  .rows { gap: 12px; }
  .row { padding: 15px; }
  .row-logo { width: 50px; height: 50px; border-radius: 14px; }
  .row-go { width: 32px; height: 32px; }
  .row-name { font-size: 18px; }
  .row-desc { font-size: 13.5px; }
  .connect-card { padding: 24px 24px 22px; }
}

/* --------------------------------------------------------------------------
   Larger screens: the column floats as a light card over the lines
   -------------------------------------------------------------------------- */
@media (min-width: 680px) {
  :root { --gutter: 20px; }
  .column {
    margin: 32px auto 0;
    padding-bottom: 30px;
    border-radius: 30px;
    background: rgba(240, 240, 240, .9);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, .6),
      0 0 0 1px rgba(0, 0, 0, .06),
      0 40px 90px -40px rgba(0, 0, 0, .45);
  }
  /* the photo's own corners match the card; the hero doesn't clip, so the photo can hold
     still while the card scrolls up past it */
  .hero::before { display: none; }
  .hero-media { aspect-ratio: 7 / 5; border-radius: 30px 30px 0 0; }
  .hero-img { object-position: 42% 12%; }
  .hero-body { padding-bottom: 4px; }
  .social { width: 44px; height: 44px; }
  .social svg { width: 21px; height: 21px; }
  .links { gap: 14px; }
  .card { padding: 18px 20px 20px; border-radius: 24px; }
  .card-logo { width: 56px; height: 56px; border-radius: 15px; }
  .card-name { font-size: 21px; }
}
@media (max-width: 360px) {
  :root { --gutter: 10px; }
  .socials { gap: 6px; }
  .social { width: 40px; height: 40px; }
  .card { padding: 14px 14px 15px; }
  .card-logo { width: 46px; height: 46px; border-radius: 13px; }
  .card-desc { font-size: 13px; }
  .row { padding: 11px; }
  .row-logo { width: 40px; height: 40px; border-radius: 11px; }
  .row-go { width: 28px; height: 28px; }
  .row-name { font-size: 15px; }
  .row-desc { font-size: 12px; }
}

/* ==========================================================================
   Motion. Hidden starting states only apply while JS is running and the
   safety timer has not fired; GSAP animates every element in from here.
   ========================================================================== */
html.js:not(.reveal-all) .hero-img,
html.js:not(.reveal-all) .name .ch,
html.js:not(.reveal-all) .handle,
html.js:not(.reveal-all) .bio,
html.js:not(.reveal-all) .social,
html.js:not(.reveal-all) .link,
html.js:not(.reveal-all) .row-link,
html.js:not(.reveal-all) .section-title,
html.js:not(.reveal-all) .tile,
html.js:not(.reveal-all) .connect-card,
html.js:not(.reveal-all) .colophon { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; }
}
