/* ==========================================================================
   Justin Brazeau — Portfolio
   ========================================================================== */

@font-face {
  font-family: "OS Sans";
  src: url("fonts/OS-Sans-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "OS Sans";
  src: url("fonts/OS-Sans-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "OS Sans Expanded";
  src: url("fonts/OS-Sans-Expanded-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "OS Sans Condensed";
  src: url("fonts/OS-Sans-Condensed-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand tokens */
  --primary-50:  #9395FD;
  --primary-100: #7E81FD;
  --primary-200: #696CFE;
  --primary-300: #5457FD;
  --primary-400: #4042FD;
  --primary-500: #2B2EFD;
  --primary-600: #2326CB;
  --primary-700: #1B1D9A;
  --primary-800: #131467;
  --primary-900: #0B0B36;

  --secondary-500: #F6244A;
  --secondary-400: #F7395C;
  --secondary-600: #C61E3C;

  --neutral-black: #030304;
  --gray-dark:     #37373D;
  --gray-medium:   #7B7C80;
  --gray-light:    #C2C5C9;
  --neutral-white: #FBFCFD;

  /* Type */
  --font-display:   "OS Sans Expanded", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-sans:      "OS Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-condensed: "OS Sans Condensed", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Layout */
  --max-w: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
}

/* Theme: dark (default) */
:root,
:root.theme-dark {
  --bg:           #030304;
  --bg-elev:      #0a0a0c;
  --bg-section:   #060608;
  --fg:           #FBFCFD;
  --fg-muted:     #C2C5C9;
  --fg-subtle:    #7B7C80;
  --rule:         rgba(251, 252, 253, 0.10);
  --rule-strong:  rgba(251, 252, 253, 0.18);
  --tile-bg:      #0e0e11;
  --tile-bg-2:    #15151a;
  --link:         #7E81FD;
  --link-hover:   #9395FD;
  --accent:       #2B2EFD;
  --secondary:    #F6244A;
  --shadow:       0 1px 0 rgba(255,255,255,0.04) inset;
}

:root.theme-light {
  --bg:           #FBFCFD;
  --bg-elev:      #FFFFFF;
  --bg-section:   #F4F5F7;
  --fg:           #030304;
  --fg-muted:     #37373D;
  --fg-subtle:    #7B7C80;
  --rule:         rgba(3, 3, 4, 0.10);
  --rule-strong:  rgba(3, 3, 4, 0.20);
  --tile-bg:      #EEEFF2;
  --tile-bg-2:    #E4E6EA;
  --link:         #2B2EFD;
  --link-hover:   #2326CB;
  --accent:       #2B2EFD;
  --secondary:    #F6244A;
  --shadow:       0 1px 0 rgba(0,0,0,0.02);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  background: var(--bg);
  color: var(--fg);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
}

/* Selection */
::selection { background: var(--primary-500); color: #fff; }

/* Type utilities */
.t-display    { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; line-height: 1.02; }
.t-medium     { font-family: var(--font-sans); font-weight: 500; }
.t-condensed  { font-family: var(--font-condensed); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.t-mono-num   { font-family: var(--font-condensed); font-weight: 500; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }

/* Layout */
.page {
  width: 100%;
  margin: 0 auto;
}
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.topbar.scrolled { border-bottom-color: var(--rule); }
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo-slot {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  text-decoration: none;
  color: var(--fg);
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  /* background: var(--fg); */
  color: var(--bg);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.logo-name {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
}
.topbar-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.topbar-nav a {
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  text-decoration: none;
  transition: color 150ms ease;
}
.topbar-nav a:hover { color: var(--fg); }
@media (max-width: 720px) {
  .topbar-nav .nav-link { display: none; }
}

/* Theme toggle */
.theme-toggle {
  appearance: none;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--fg-muted);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease;
}
.theme-toggle:hover {
  color: var(--fg);
  border-color: var(--rule-strong);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding-top: clamp(80px, 12vh, 140px);
  padding-bottom: clamp(80px, 14vh, 160px);
  overflow: hidden;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 36px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: #45E53A; /* status indicator only — non-chrome */
  box-shadow: 0 0 0 3px rgba(69, 229, 58, 0.18);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.98;
  margin: 0;
  font-size: clamp(40px, 7.2vw, 92px);
  max-width: 18ch;
}
.hero h1 .accent { color: var(--link); }
.hero-name {
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin: 0 0 18px 0;
}
.hero-summary {
  margin: 32px 0 0 0;
  max-width: 56ch;
  color: var(--fg-muted);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.6;
}
.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.btn .arrow {
  display: inline-block;
  transition: transform 200ms ease;
}
.btn:hover .arrow { transform: translate(2px, -2px); }

.btn-primary {
  background: var(--fg);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--link);
  color: var(--neutral-white);
}
.btn-ghost {
  border-color: var(--rule-strong);
  color: var(--fg);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--fg);
  background: transparent;
}

/* Hero ambient — very subtle */
.hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
.hero-ambient::before,
.hero-ambient::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
}
.hero-ambient::before {
  width: 520px; height: 520px;
  background: var(--primary-500);
  top: -120px;
  right: -120px;
}
.hero-ambient::after {
  width: 380px; height: 380px;
  background: var(--secondary-500);
  bottom: -160px;
  left: 10%;
  opacity: 0.07;
}
:root.theme-light .hero-ambient::before { opacity: 0.10; }
:root.theme-light .hero-ambient::after  { opacity: 0.05; }

.hero-meta {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid var(--rule);
  padding-top: 28px;
}
@media (max-width: 720px) {
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
}
.hero-meta-item .k {
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 8px;
}
.hero-meta-item .v {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--fg);
  letter-spacing: -0.005em;
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.section {
  padding-top: clamp(72px, 10vh, 120px);
  padding-bottom: clamp(72px, 10vh, 120px);
  border-top: 1px solid var(--rule);
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.section-head .label {
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}
.section-head .index {
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--fg-subtle);
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 12px 0 0 0;
}
.section-head .head-left { max-width: 60ch; }
.section-head .head-right { color: var(--fg-muted); font-size: 14px; max-width: 28ch; text-align: right; }

/* ==========================================================================
   WORK GRID
   ========================================================================== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}
@media (max-width: 960px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 18px; }
}
@media (max-width: 560px) {
  .work-grid { grid-template-columns: 1fr; }
}

.work-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 0;
  color: var(--fg);
  font: inherit;
}
.work-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--tile-bg);
  border: 1px solid var(--rule);
  transition: border-color 200ms ease, transform 240ms ease;
}
.work-thumb svg {
  display: block;
  width: 100%;
  height: 100%;
}
.work-card:hover .work-thumb {
  border-color: var(--link);
  transform: translateY(-2px);
}
.work-card:focus-visible { outline: none; }
.work-card:focus-visible .work-thumb {
  border-color: var(--link);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--link) 35%, transparent);
}

.work-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.work-name {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.005em;
  margin: 0;
}
.work-year {
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fg-subtle);
  text-transform: uppercase;
}
.work-role {
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fg-subtle);
  text-transform: uppercase;
  margin-top: -8px;
}
.work-outcome {
  margin: 0;
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* ==========================================================================
   PROJECT MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: color-mix(in oklab, var(--bg) 60%, rgba(0,0,0,0.35));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 60;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  animation: fade 160ms ease both;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  position: relative;
  width: 100%;
  max-width: 980px;
  max-height: 90vh;
  overflow: auto;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: clamp(24px, 3.4vw, 40px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.modal-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: flex;
  width: fit-content;
  appearance: none;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--fg-muted);
  border-radius: 999px;
  padding: 6px 12px;
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  align-items: center;
  gap: 8px;
}
.modal-close:hover { color: var(--fg); border-color: var(--rule-strong); }
.modal-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 24px;
  align-items: end;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 24px;
  margin-bottom: 28px;
}
.modal-head .role {
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 10px;
}
.modal-head h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.05;
}
.modal-nav {
  display: flex;
  gap: 6px;
}
.modal-nav button {
  width: 34px; height: 34px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--fg-muted);
  cursor: pointer;
  display: grid; place-items: center;
}
.modal-nav button:hover { color: var(--fg); border-color: var(--rule-strong); }

.modal-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.modal-shots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.modal-shots .shot:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }
.modal-shots .shot {
  aspect-ratio: 4/3;
  background: var(--tile-bg);
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
}
.modal-shots .shot svg { display:block; width:100%; height:100%; }
.modal-context p {
  margin: 0 0 12px 0;
  color: var(--fg-muted);
  line-height: 1.65;
}
.modal-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
}
@media (max-width: 720px) {
  .modal-grid { grid-template-columns: 1fr; }
}
.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.tag {
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding: 4px 9px;
  border: 1px solid var(--rule);
  border-radius: 999px;
}

.kv-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  border-left: 1px solid var(--rule);
  padding-left: 24px;
}
.kv-list .kv .k {
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 4px;
}
.kv-list .kv .v {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--fg);
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
}
@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}
.about-bio p {
  margin: 0 0 14px 0;
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 56ch;
}
.about-bio p:first-child { color: var(--fg); font-size: 17px; }

.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 8px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.timeline-item:last-child { border-bottom: 1px solid var(--rule); }
.timeline-item .dates {
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}
.timeline-item .company {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  color: var(--fg);
}
.timeline-item .role {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 13px;
  color: var(--fg-muted);
  text-align: right;
}
@media (max-width: 640px) {
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .timeline-item .role { text-align: left; }
}

/* Skills */
.skills {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 44px;
}
.skill-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}
.skill-row:last-child { 
  /* border-bottom: 1px solid var(--rule);  */
  border-bottom: none;
}
.skill-row .label {
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  padding-top: 4px;
}
.skill-row .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
@media (max-width: 640px) {
  .skill-row { grid-template-columns: 1fr; gap: 8px; }
}

/* ==========================================================================
   STUDIO
   ========================================================================== */
.studio {
  position: relative;
  padding: clamp(72px, 10vh, 120px) 0;
  border-top: 1px solid var(--rule);
  overflow: hidden;
}
.studio::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 80% 0%, color-mix(in oklab, var(--primary-500) 18%, transparent), transparent 60%),
    radial-gradient(60% 60% at 0% 100%, color-mix(in oklab, var(--primary-500) 10%, transparent), transparent 60%);
  pointer-events: none;
}
:root.theme-light .studio::before {
  background:
    radial-gradient(80% 60% at 80% 0%, color-mix(in oklab, var(--primary-500) 12%, transparent), transparent 60%),
    radial-gradient(60% 60% at 0% 100%, color-mix(in oklab, var(--primary-500) 8%, transparent), transparent 60%);
}
.studio-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 880px) {
  .studio-inner { grid-template-columns: 1fr; gap: 32px; }
}
.studio-rule {
  height: 1px;
  background: var(--secondary-500);
  width: 60px;
  margin-bottom: 28px;
  opacity: 0.9;
}
.studio h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.025em;
  line-height: 1.0;
  margin: 0 0 24px 0;
}
.studio p {
  color: var(--fg-muted);
  font-size: 16px;
  max-width: 52ch;
  margin: 0 0 32px 0;
  line-height: 1.6;
}
.studio-card {
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 28px;
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  backdrop-filter: blur(8px);
}
.studio-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.025em;
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 14px;
}
.studio-wordmark .glyph {
  width: 44px; height: 44px; border-radius: 8px;
  background: var(--primary-500);
  display: grid; place-items: center;
  color: white;
  font-size: 18px;
}
.studio-tag {
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 28px;
}
.studio-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 28px;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact {
  padding: clamp(80px, 12vh, 140px) 0 64px;
  border-top: 1px solid var(--rule);
}
.contact h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 80px);
  letter-spacing: -0.025em;
  line-height: 1.0;
  margin: 0 0 36px 0;
  max-width: 14ch;
}
.contact h2 .underline {
  background: linear-gradient(transparent 78%, var(--link) 78%, var(--link) 92%, transparent 92%);
  background-size: 100% 100%;
  padding: 0 4px;
}
.contact-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.contact-link {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: var(--fg);
  transition: padding 200ms ease, color 200ms ease;
}
.contact-link-bottom { border-bottom: none; }
.contact-link:hover {
  padding-left: 12px;
  color: var(--link);
}
.contact-link .label {
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}
.contact-link:hover .label { color: var(--fg-muted); }
.contact-link .handle {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(18px, 2.4vw, 28px);
  letter-spacing: -0.01em;
}
.contact-link .arrow { color: var(--fg-subtle); transition: color 200ms ease, transform 200ms ease; }
.contact-link:hover .arrow { color: var(--link); transform: translate(4px, -4px); }

@media (max-width: 640px) {
  .contact-link { grid-template-columns: 1fr auto; }
  .contact-link .label { display: none; }
}

/* Footer */
.footer {
  padding: 32px 0 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--rule);
}
.footer .col {
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}
.footer .col strong { color: var(--fg-muted); font-weight: 500; }

/* Misc */
button, a {
  -webkit-tap-highlight-color: transparent;
}
[hidden] { display: none !important; }

.section-bio {
  position: relative;
}
.section-bio::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 80% 0%,
  color-mix(in oklab, var(--secondary-500) 9%, transparent), transparent 60%), radial-gradient(60% 60% at 0% 100%,
  color-mix(in oklab, var(--secondary-500) 5%, transparent), transparent 60%);
  pointer-events: none;
}

.section-work {
  background-image: url(/uploads/bg-line-half.png);
  background-attachment: fixed;
}
:root.theme-light .section-work {
  background-image: url(/uploads/bg-line-ten.png);
}