/* billiehawkins.com — 2026 personal site */

:root {
  --paper: #f3eee4;
  --paper-2: #e8e0d2;
  --ink: #1b1714;
  --ink-soft: #5b534a;
  --line: rgba(27, 23, 20, 0.12);
  --accent: #4b35e8;
  --accent-2: #e23d8a;
  --window: #fffdf8;
  --shadow: 0 24px 60px rgba(27, 23, 20, 0.12);
  --sans: "Manrope", "Segoe UI", sans-serif;
  --display: "Manrope", "Segoe UI", sans-serif;
  --mono: "Manrope", "Segoe UI", sans-serif;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-2); }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; letter-spacing: -0.025em; margin: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 20; }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 8;
  opacity: 0.18;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");
}

.sky {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.55;
  will-change: transform;
}
.blob-a {
  width: min(52vw, 620px);
  height: min(52vw, 620px);
  left: -12%;
  top: -14%;
  background: radial-gradient(circle, rgba(75, 53, 232, 0.38), transparent 68%);
  animation: drift 18s ease-in-out infinite alternate;
}
.blob-b {
  width: min(46vw, 540px);
  height: min(46vw, 540px);
  right: -10%;
  top: 8%;
  background: radial-gradient(circle, rgba(226, 61, 138, 0.28), transparent 70%);
  animation: drift 22s ease-in-out infinite alternate-reverse;
}
.blob-c {
  width: min(38vw, 420px);
  height: min(38vw, 420px);
  left: 28%;
  bottom: -12%;
  background: radial-gradient(circle, rgba(75, 53, 232, 0.18), transparent 72%);
  animation: drift 26s ease-in-out infinite alternate;
}
.layer {
  position: absolute;
  inset: 0;
  will-change: transform;
}
.floater {
  position: absolute;
  display: block;
  animation: floaty 9s ease-in-out infinite;
  opacity: 0.58;
  color: var(--accent);
}
img.floater { height: auto; }
svg.floater { overflow: visible; }
.s1 { width: 72px; top: 14%; left: 5%; animation-delay: -1s; }
.s2 { width: 54px; top: 22%; left: 30%; animation-delay: -2s; }
.s3 { width: 48px; top: 8%; left: 48%; animation-delay: -3s; opacity: 0.45; }
.s4 { width: 90px; top: 16%; right: 16%; animation-duration: 11s; }
.s5 { width: 86px; top: 44%; left: 3%; animation-delay: -4s; color: var(--accent-2); }
.s6 { width: 88px; top: 58%; right: 7%; animation-delay: -1.5s; }
.s7 { width: 28px; bottom: 22%; left: 18%; color: var(--accent); }
.s8 { width: 64px; bottom: 16%; left: 42%; animation-delay: -5s; }
.s9 { width: 70px; top: 72%; left: 88%; color: var(--accent-2); }
.s10 { width: 110px; bottom: 5%; right: 20%; opacity: 0.28; animation-duration: 14s; }

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4%, 6%, 0) scale(1.08); }
}
@keyframes floaty {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(10px, -16px, 0) rotate(8deg); }
}

.mono { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em; }

.kicker {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 6vw;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark .dot { color: var(--accent-2); }
.wordmark .tld {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.72em;
  letter-spacing: 0;
  color: var(--ink-soft);
}

#site-nav { display: flex; gap: 1.4rem; }
#site-nav a {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
#site-nav a:hover { color: var(--accent); }

.menu-btn {
  display: none;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  color: var(--ink);
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.2rem 6vw 4.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 3rem;
  align-items: start;
}

.hey {
  display: block;
  font-family: var(--sans);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}

.name {
  display: block;
  font-size: clamp(2.6rem, 5.4vw, 4.8rem);
  font-weight: 800;
  background: linear-gradient(120deg, var(--ink) 62%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 28ch;
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin: 1.4rem 0 1.8rem;
}

.cta-row { display: flex; align-items: center; gap: 1.2rem; }
.btn {
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
}
.btn:hover { background: var(--accent); color: #fff; }
.text-link {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.portrait {
  margin: 0.6rem 0 0 auto;
  width: 100%;
  max-width: 460px;
  background: var(--window);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(1.1deg);
}
.portrait-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #efe8db;
  border-bottom: 1px solid var(--line);
}
.traffic { display: flex; gap: 6px; }
.traffic i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: block;
}
.traffic i:nth-child(1) { background: #ff5f57; }
.traffic i:nth-child(2) { background: #febc2e; }
.traffic i:nth-child(3) { background: #28c840; }
.portrait-frame { aspect-ratio: 4 / 5; overflow: hidden; }
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}
.portrait figcaption {
  padding: 0.7rem 0.9rem 0.9rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 6vw;
  border-top: 1px solid var(--line);
  scroll-margin-top: 72px;
}

.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.section-head h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}
.prose { color: var(--ink-soft); }
.prose strong { color: var(--ink); font-weight: 600; }

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 0;
}
.facts > div {
  background: var(--paper);
  padding: 1.2rem 1rem 1.1rem;
}
.facts dt {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
}
.facts dd { margin: 0.2rem 0 0; font-size: 0.92rem; color: var(--ink-soft); }

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  list-style: none;
  padding: 1.8rem 0 0;
  margin: 2.2rem 0 0;
  border-top: 1px solid var(--line);
}
.contact-strip span {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.2rem;
}
.contact-strip a { color: var(--ink); text-decoration: none; }
.contact-strip a:hover { color: var(--accent); }

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--line);
}
.role { position: relative; padding: 0 0 2.4rem 1.6rem; }
.role:last-child { padding-bottom: 0; }
.role::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0.45rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 2px solid var(--ink);
}
.role.current::before { background: var(--accent); border-color: var(--accent); }
.when {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.25rem;
}
.role h3 { font-size: 1.55rem; font-weight: 700; margin-bottom: 0.2rem; }
.org { font-weight: 600; margin-bottom: 0.55rem; }
.role p { color: var(--ink-soft); }
.muted { color: var(--ink-soft); font-weight: 400; }

.earlier { list-style: none; margin: 0.6rem 0 0; padding: 0; }
.earlier li { margin-bottom: 0.7rem; color: var(--ink-soft); }
.earlier span {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink);
  margin-bottom: 0.1rem;
}

.studio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.window {
  display: flex;
  flex-direction: column;
  background: var(--window);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  min-height: 230px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.window:hover {
  transform: translateY(-4px) rotate(-0.4deg);
  box-shadow: var(--shadow);
  color: var(--ink);
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: #efe8db;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--ink-soft);
}
.window-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cfc6b8;
}
.window-bar i:nth-child(1) { background: #ff5f57; }
.window-bar i:nth-child(2) { background: #febc2e; }
.window-bar i:nth-child(3) { background: #28c840; }
.window-bar em { flex: 1; font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.window-icon {
  display: block;
  width: 48px;
  height: 48px;
  margin: 1.3rem 1.1rem 0.4rem;
  color: var(--accent);
}
.window h3 { font-size: 1.2rem; padding: 0 1.1rem; margin-bottom: 0.35rem; }
.window p { padding: 0 1.1rem 1.2rem; color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

.contact-links { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; margin-top: 1rem; }
.form-wrap {
  background: var(--window);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.5rem;
  overflow: hidden;
}

.site-footer {
  padding: 3rem 6vw 4rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.4rem;
}
.site-footer p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.site-footer .wordmark { color: var(--ink); font-size: 1.2rem; }

@media (max-width: 1080px) {
  .hero,
  .about-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero { min-height: auto; padding-top: 2.4rem; }
  .portrait { max-width: 420px; margin-left: 0; transform: none; }
  .studio-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .menu-btn { display: inline-flex; }
  .wordmark { font-size: 1.02rem; }
  #site-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 4vw;
    left: 4vw;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem;
    background: var(--window);
    border: 1px solid var(--line);
    border-radius: 12px;
  }
  body.nav-open #site-nav { display: flex; }
  .studio-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .section-head { max-width: none; }
  .s3, .s5, .s8, .s10 { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .window { transition: none; }
  .blob,
  .floater { animation: none; }
}
