/* ============ FONTS ============ */
@font-face {
  font-family: "Victory Striker Sans";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/victory-striker-sans.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/Montserrat-Regular.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/Montserrat-Medium.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/Montserrat-SemiBold.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/Montserrat-Bold.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800;
  src: url("../fonts/Montserrat-ExtraBold.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 900;
  src: url("../fonts/Montserrat-Black.woff2") format("woff2");
  font-display: swap;
}

/* ============ TOKENS ============ */
:root {
  --paper: #f7f2e6;
  --paper-2: #ece3ce;
  --ink: #18171b;
  --ink-soft: rgba(24, 23, 27, 0.64);
  --ink-faint: rgba(24, 23, 27, 0.38);
  --flame: #fbb03b;
  --flame-deep: #c98d2f;
  --cobalt: #1e4fe0;
  --cobalt-deep: #12329b;
  --yolk: #f0b429;
  --available: #2e9e52;
  --line: rgba(24, 23, 27, 0.15);
  --reg-blend: multiply;
  --flame-ink: #192b39;

  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, sans-serif;
  --font-mono: "Montserrat", system-ui, sans-serif;
  --font-victory: "Victory Striker Sans", var(--font-display);

  --fs-hero: clamp(2rem, 4.9vw, 4.1rem);
  --fs-h2: clamp(1.05rem, 1.8vw, 1.4rem);
  --fs-h3: 1rem;

  --maxw: 1240px;
  --pad: clamp(1.25rem, 5vw, 3.5rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #192b39;
    --paper-2: #22394a;
    --ink: #f3ecda;
    --ink-soft: rgba(243, 236, 218, 0.68);
    --ink-faint: rgba(243, 236, 218, 0.4);
    --flame: #fbb03b;
    --flame-deep: #ffc966;
    --flame-ink: #192b39;
    --cobalt: #7c97ff;
    --cobalt-deep: #aebfff;
    --yolk: #ffd23f;
    --available: #4fcb74;
    --line: rgba(243, 236, 218, 0.16);
    --reg-blend: screen;
  }
}
:root[data-theme="dark"] {
  --paper: #192b39;
  --paper-2: #22394a;
  --ink: #f3ecda;
  --ink-soft: rgba(243, 236, 218, 0.68);
  --ink-faint: rgba(243, 236, 218, 0.4);
  --flame: #fbb03b;
  --flame-deep: #ffc966;
  --cobalt: #7c97ff;
  --cobalt-deep: #aebfff;
  --yolk: #ffd23f;
  --available: #4fcb74;
  --line: rgba(243, 236, 218, 0.16);
  --reg-blend: screen;
  --flame-ink: #192b39;
}
:root[data-theme="light"] {
  --paper: #f7f2e6;
  --paper-2: #ece3ce;
  --ink: #18171b;
  --ink-soft: rgba(24, 23, 27, 0.64);
  --ink-faint: rgba(24, 23, 27, 0.38);
  --flame: #fbb03b;
  --flame-deep: #c98d2f;
  --cobalt: #1e4fe0;
  --cobalt-deep: #12329b;
  --yolk: #f0b429;
  --available: #2e9e52;
  --line: rgba(24, 23, 27, 0.15);
  --reg-blend: multiply;
  --flame-ink: #192b39;
}

/* ============ RESET / BASE ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  background: var(--paper);
  transition: background-color 0.4s ease;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
html {
  scroll-padding-top: 5rem;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition:
    background-color 0.4s ease,
    color 0.4s ease;
  overflow-x: hidden;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  text-wrap: balance;
  letter-spacing: 0;
  line-height: 1.3;
}
h2 {
  font-size: var(--fs-h2);
}
@media (max-width: 900px) {
  h2 {
    font-size: 1.2rem;
  }
}
h3 {
  font-size: var(--fs-h3);
}
p {
  margin: 0;
  font-size: 1rem;
}
a {
  color: inherit;
}
img,
svg {
  display: block;
  max-width: 100%;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
::selection {
  background: var(--flame);
  color: var(--flame-ink);
}

/* Montserrat weight tuning — SemiBold for interactive/CTA elements,
   Medium for small mono-style labels/eyebrows/meta text */
nav,
.btn,
.tab-btn {
  font-weight: 600;
}
.eyebrow,
.theme-toggle-label,
.badge-pill,
.hero-social,
.stat-label,
.spec-sheet,
.work-tag,
.work-link,
cite,
.track-year,
.form-field label,
.form-success,
.form-error,
.availability,
.info-label,
.footer-heading,
.footer-social-links,
.footer-bottom,
.skip-link,
.t-attr {
  font-weight: 500;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow .dot {
  width: 0.65em;
  height: 0.65em;
  border-radius: 50%;
  flex: none;
  box-shadow: 0 0 0 1px var(--line);
}
.dot--flame {
  background: var(--flame);
}
.dot--cobalt {
  background: var(--cobalt);
}
.dot--yolk {
  background: var(--yolk);
}

/* ============ REVEAL ============ */
.reveal {
  animation: revealIn 0.8s cubic-bezier(0.16, 0.8, 0.3, 1) both;
  animation-play-state: paused;
}
.reveal.is-visible {
  animation-play-state: running;
}
@keyframes revealIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none !important;
  }
  .hero-anim {
    animation: none !important;
  }
}

/* ============ REGISTRATION MARKS (fixed corners) ============ */
.reg-mark {
  position: fixed;
  width: 26px;
  height: 26px;
  z-index: 40;
  pointer-events: none;
  opacity: 0.4;
}
.reg-mark::before,
.reg-mark::after {
  content: "";
  position: absolute;
  background: var(--ink);
}
.reg-mark::before {
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  transform: translateX(-50%);
}
.reg-mark::after {
  top: 50%;
  left: 0;
  height: 1px;
  width: 100%;
  transform: translateY(-50%);
}
.reg-mark span {
  position: absolute;
  inset: 5px;
  border: 1px solid var(--ink);
  border-radius: 50%;
}
.reg-tl {
  top: 14px;
  left: 14px;
}
.reg-tr {
  top: 14px;
  right: 14px;
}
.reg-bl {
  bottom: 14px;
  left: 14px;
}
.reg-br {
  bottom: 14px;
  right: 14px;
}
@media (max-width: 640px) {
  .reg-mark {
    display: none;
  }
}

/* ============ GRAIN OVERLAY ============ */
.grain {
  position: fixed;
  inset: 0;
  z-index: 38;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: var(--reg-blend);
}

/* ============ CURSOR ============ */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--flame);
}
.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--cobalt);
  transition:
    width 0.18s,
    height 0.18s,
    border-color 0.18s,
    background-color 0.18s;
}
.cursor-ring.is-active {
  width: 56px;
  height: 56px;
  background: rgba(30, 79, 224, 0.08);
}
html.has-fine-cursor,
html.has-fine-cursor body,
html.has-fine-cursor a,
html.has-fine-cursor button {
  cursor: none;
}

@media (max-width: 900px) {
  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
  html.has-fine-cursor,
  html.has-fine-cursor body,
  html.has-fine-cursor a,
  html.has-fine-cursor button {
    cursor: auto;
  }
}

/* ============ HEADER ============ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  backdrop-filter: blur(10px) saturate(1.1);
  border-bottom: 1px solid var(--line);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) header {
    background: rgba(15, 26, 43, 0.7);
  }
}
:root[data-theme="dark"] header {
  background: rgba(15, 26, 43, 0.7);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.9rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.brandmark {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brandmark-full {
  height: 1.1rem;
  width: auto;
  display: block;
}
.brandmark-mark {
  height: 1.3rem;
  width: auto;
  display: none;
}

.brandmark-full--dark {
  display: none;
}
@media (prefers-color-scheme: dark) {
  .brandmark-full--light {
    display: none;
  }
  .brandmark-full--dark {
    display: block;
  }
}
:root[data-theme="dark"] .brandmark-full--light {
  display: none;
}
:root[data-theme="dark"] .brandmark-full--dark {
  display: block;
}
:root[data-theme="light"] .brandmark-full--light {
  display: block;
}
:root[data-theme="light"] .brandmark-full--dark {
  display: none;
}

@media (max-width: 900px) {
  .brandmark-full {
    display: none !important;
  }
  .brandmark-mark {
    display: block;
  }
}
nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 3vw, 2.2rem);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
}
nav a {
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  color: var(--ink-soft);
  transition: color 0.2s;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--flame);
  transition: width 0.25s ease;
}
nav a:hover {
  color: var(--ink);
}
nav a:hover::after {
  width: 100%;
}
nav a.is-current {
  color: var(--ink);
}
nav a.is-current::after {
  width: 100%;
  background: var(--ink);
}

nav a.nav-cta {
  color: var(--flame-ink);
  background: var(--flame);
  border-radius: 999px;
  padding: 0.5em 1.1em;
  margin-left: 0.2rem;
}
nav a.nav-cta::after {
  display: none;
}
nav a.nav-cta:hover {
  background: var(--ink);
  color: var(--paper);
}
nav a.nav-cta.is-current {
  background: var(--ink);
  color: var(--paper);
}

/* ============ MOBILE NAV (hamburger) ============ */
.nav-toggle {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}
.nav-toggle span {
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition:
    transform 0.3s cubic-bezier(0.16, 0.8, 0.3, 1),
    opacity 0.2s;
}
.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }
  #siteNav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 0.8, 0.3, 1);
  }
  #siteNav.is-open {
    max-height: 26rem;
  }
  #siteNav a {
    display: block;
    width: 100%;
    padding: 0.9rem var(--pad);
  }
  #siteNav a::after {
    display: none;
  }
  #siteNav a.nav-cta {
    margin: 0.5rem var(--pad);
    width: calc(100% - 2 * var(--pad));
    text-align: center;
    border-radius: 8px;
  }
}

/* ============ THEME TOGGLE ============ */
.theme-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.theme-toggle-label {
  display: none;
}

.theme-toggle {
  position: relative;
  width: 3.4rem;
  height: 1.8rem;
  flex: none;
  padding: 0;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--paper-2);
  cursor: pointer;
  transition:
    border-color 0.25s,
    background-color 0.25s;
}
.theme-toggle:hover {
  border-color: var(--flame);
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--flame);
  outline-offset: 3px;
}

.theme-toggle-bgicon {
  position: absolute;
  top: 50%;
  width: 0.8rem;
  height: 0.8rem;
  transform: translateY(-50%);
  stroke: var(--ink-faint);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  transition: stroke 0.3s;
}
.theme-toggle-bgicon--moon {
  left: 0.4rem;
}
.theme-toggle-bgicon--sun {
  right: 0.4rem;
}

.theme-toggle-thumb {
  position: absolute;
  top: 1px;
  left: 1px;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--flame);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.4s cubic-bezier(0.16, 0.8, 0.3, 1),
    background-color 0.3s;
}
.theme-toggle[aria-checked="false"] .theme-toggle-thumb {
  transform: translateX(1.6rem);
  background: var(--yolk);
}

.theme-toggle-thumb-icon {
  position: absolute;
  width: 0.9rem;
  height: 0.9rem;
  stroke: var(--flame-ink);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    opacity 0.25s ease,
    transform 0.4s cubic-bezier(0.16, 0.8, 0.3, 1);
}
.theme-toggle-thumb-icon--moon {
  opacity: 1;
  transform: rotate(0deg);
}
.theme-toggle-thumb-icon--sun {
  opacity: 0;
  transform: rotate(-90deg);
}
.theme-toggle[aria-checked="false"] .theme-toggle-thumb-icon--moon {
  opacity: 0;
  transform: rotate(90deg);
}
.theme-toggle[aria-checked="false"] .theme-toggle-thumb-icon--sun {
  opacity: 1;
  transform: rotate(0deg);
}

@media (max-width: 900px) {
  .theme-toggle-wrap {
    width: 100%;
    justify-content: space-between;
    padding: 0.9rem var(--pad);
    margin-top: 0.3rem;
    border-top: 1px solid var(--line);
  }
  .theme-toggle-label {
    display: inline-block;
    color: var(--ink-soft);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.95em 1.6em;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid var(--ink);
  transition:
    transform 0.35s cubic-bezier(0.16, 0.8, 0.3, 1),
    background-color 0.25s,
    color 0.25s;
  will-change: transform;
}
.btn--solid {
  background: var(--ink);
  color: var(--paper);
}
.btn--solid:hover {
  background: var(--flame);
  border-color: var(--flame);
  color: var(--flame-ink);
  transform: translateY(-3px);
}
.btn--outline {
  background: transparent;
  color: var(--ink);
}
.btn--outline:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-3px);
}
.btn:active {
  transform: scale(0.96) !important;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: clamp(6.5rem, 14vw, 9rem) 0 clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}
@media (max-width: 900px) {
  .hero {
    padding-bottom: 5.5rem;
  }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 3rem);
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-blob {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.16, 0.8, 0.3, 1);
  will-change: transform;
}
.hero-blob::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.32;
  mix-blend-mode: var(--reg-blend);
}
.hero-blob--flame {
  width: 420px;
  height: 420px;
  top: -120px;
  left: -140px;
}
.hero-blob--flame::before {
  background: var(--flame);
  animation: blobDriftA 17s ease-in-out infinite;
}
.hero-blob--cobalt {
  width: 380px;
  height: 380px;
  bottom: -140px;
  right: 8%;
}
.hero-blob--cobalt::before {
  background: var(--cobalt);
  animation: blobDriftB 21s ease-in-out infinite;
}
@keyframes blobDriftA {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(34px, -24px) scale(1.1);
  }
  66% {
    transform: translate(-22px, 26px) scale(0.94);
  }
}
@keyframes blobDriftB {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-28px, 22px) scale(1.06);
  }
  66% {
    transform: translate(24px, -18px) scale(0.96);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-blob--flame::before,
  .hero-blob--cobalt::before {
    animation: none;
  }
}

/* Outer .tool-chip is a free-roaming physics body (JS sets its transform every
   frame — no CSS transition on transform, so movement stays perfectly fluid
   at 60fps). Its pop-in entrance instead uses the standalone `scale`/`opacity`
   properties, which composite independently of `transform` and so never
   fight with the physics loop. Inner .tool-chip-inner carries its own small
   ambient bob/spin on `transform`, layered on top of the outer's position. */
.tool-chip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 2.6rem;
  height: 2.6rem;
  cursor: pointer;
  pointer-events: auto;
  will-change: transform;
  scale: 0;
  opacity: 0;
  transition:
    scale 0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.4s ease;
}
.tool-chip.is-visible {
  scale: 1;
  opacity: 1;
}
.tool-chip.is-visible.is-dimmed {
  opacity: 0.16;
}
@media (prefers-reduced-motion: reduce) {
  .tool-chip {
    scale: 1;
    opacity: 1;
    transition: none;
  }
}
.tool-chip.sm {
  width: 2.05rem;
  height: 2.05rem;
}
.tool-chip-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1.5px solid var(--chip-accent, var(--flame));
  color: var(--chip-accent, var(--flame));
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  opacity: 0.8;
  animation: chipDrift var(--chip-dur, 8s) ease-in-out infinite;
  transition:
    background-color 0.25s,
    color 0.25s;
}
.tool-chip:hover .tool-chip-inner {
  background: var(--chip-accent, var(--flame));
  color: var(--paper);
  opacity: 1;
}
.tool-chip-inner svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tool-chip.sm .tool-chip-inner svg {
  width: 1rem;
  height: 1rem;
}
@keyframes chipDrift {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-16px) rotate(180deg);
  }
  100% {
    transform: translateY(0) rotate(360deg);
  }
}

.chip-flame {
  --chip-accent: var(--flame);
}
.chip-cobalt {
  --chip-accent: var(--cobalt);
}
.chip-yolk {
  --chip-accent: var(--yolk);
}

@media (max-width: 900px) {
  .tool-chip {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tool-chip-inner {
    animation: none;
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  margin-bottom: 5px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5em 1.1em 0.5em 0.85em;
  background: color-mix(in srgb, var(--paper-2) 55%, transparent);
}
.badge-pill .dot {
  width: 0.65em;
  height: 0.65em;
  border-radius: 50%;
  flex: none;
}
.misreg {
  position: relative;
  display: inline-block;
  font-family: var(--font-victory);
  font-weight: 400;
}
.misreg .layer {
  display: block;
  font-size: var(--fs-hero);
  line-height: 1.3;
  letter-spacing: 0.2rem;
}
@media (max-width: 900px) {
  .misreg .layer {
    font-size: clamp(2.8rem, 13vw, 3.6rem);
  }
}
.misreg .layer-flame,
.misreg .layer-cobalt {
  position: absolute;
  top: 0;
  left: 0;
  color: transparent;
  -webkit-text-stroke: 2px var(--flame);
  mix-blend-mode: var(--reg-blend);
  user-select: none;
}
.misreg .layer-cobalt {
  -webkit-text-stroke-color: var(--cobalt);
}
.misreg .layer-main {
  position: relative;
  color: var(--ink);
}
.hero-anim {
  animation: heroSettle 1s cubic-bezier(0.16, 0.8, 0.3, 1) both;
}
.hero-anim.d2 {
  animation-delay: 0.08s;
}
.hero-anim.d3 {
  animation-delay: 0.18s;
}
@keyframes heroSettle {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.misreg .layer-flame {
  animation: regFlame 1.1s cubic-bezier(0.16, 0.8, 0.3, 1) both;
}
.misreg .layer-cobalt {
  animation: regCobalt 1.1s cubic-bezier(0.16, 0.8, 0.3, 1) both;
}
@keyframes regFlame {
  from {
    transform: translate(16px, -12px);
    opacity: 0;
  }
  to {
    transform: translate(-6px, 4px);
    opacity: 1;
  }
}
@keyframes regCobalt {
  from {
    transform: translate(-16px, 12px);
    opacity: 0;
  }
  to {
    transform: translate(6px, -4px);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .misreg .layer-flame {
    transform: translate(-6px, 4px);
  }
  .misreg .layer-cobalt {
    transform: translate(6px, -4px);
  }
}

.hero-lead {
  font-size: 1rem;
  color: var(--ink-soft);
  width: 100%;
  font-weight: 400;
  margin-top: 0.5rem;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.stat-row {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-top: 1.6rem;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-family: var(--font-victory);
  font-weight: 400;
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: 2px;
  color: var(--ink);
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  line-height: 1.3;
  margin-top: 0.35rem;
}
.stat-divider {
  width: 1px;
  height: 2.4rem;
  background: var(--line);
  flex: none;
}

.hero-social {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}
.hero-social-label {
  color: var(--ink-faint);
}

.social-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.social-badge {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--ink);
  transition:
    background-color 0.25s,
    color 0.25s,
    transform 0.25s,
    border-color 0.25s;
}
.social-badge svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
  stroke: none;
}
.social-badge:hover {
  background: var(--flame);
  border-color: var(--flame);
  color: var(--flame-ink);
  transform: translateY(-3px) rotate(-6deg);
}
.social-badge:active {
  transform: scale(0.9) rotate(0deg);
}

.hero-portrait {
  position: relative;
}
.portrait-block {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  transition: transform 0.4s cubic-bezier(0.16, 0.8, 0.3, 1);
  will-change: transform;
}
.portrait-offset {
  position: absolute;
  inset: 5% -5% -5% 5%;
  border-radius: 9999px;
  background: var(--flame);
  z-index: 0;
}
.portrait-block img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}

/* ============ MARQUEE ============ */
.marquee-band {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.marquee-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: marqueeScroll 52s linear infinite;
  padding: 1.1rem 0;
}
.marquee-band:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  padding: 0 2.6rem;
  display: flex;
  align-items: center;
  gap: 2.6rem;
  text-transform: uppercase;
}
.marquee-track span i {
  color: var(--flame);
  font-style: normal;
}
@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    overflow-x: auto;
  }
}

.marquee-band--reverse {
  background: var(--flame);
  color: var(--flame-ink);
}
.marquee-band--reverse .marquee-track span i {
  color: var(--flame-ink);
}
.marquee-track--reverse {
  animation-direction: reverse;
}

/* ============ SECTIONS ============ */
section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}
#about {
  padding-top: 130px;
}
@media (max-width: 900px) {
  section {
    padding: 60px 0;
  }
  #about {
    padding-top: 100px;
  }
}

.section-head {
  position: relative;
  margin-bottom: clamp(2.2rem, 5vw, 3.5rem);
  --head-accent: var(--flame);
}
.section-head--cobalt {
  --head-accent: var(--cobalt);
}
.section-head--yolk {
  --head-accent: var(--yolk);
}
.section-head h2 {
  margin-top: 0.6rem;
}
.section-head h2::after {
  content: "";
  display: block;
  width: 0;
  height: 4px;
  margin-top: 1.1rem;
  background: var(--head-accent);
  animation: underlineSweep 0.9s cubic-bezier(0.16, 0.8, 0.3, 1) 0.25s both;
  animation-play-state: paused;
}
.section-head h2.is-visible::after {
  animation-play-state: running;
}
@keyframes underlineSweep {
  from {
    width: 0;
  }
  to {
    width: 64px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .section-head h2::after {
    animation: none;
    width: 64px;
  }
}
.section-lead {
  margin-top: 1.1rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
  width: 100%;
}

.accent-cross {
  position: absolute;
  top: -8px;
  right: 2%;
  width: 48px;
  height: 48px;
  opacity: 0.16;
  pointer-events: none;
  color: var(--head-accent);
  animation: spin 42s linear infinite;
}
.accent-cross::before,
.accent-cross::after {
  content: "";
  position: absolute;
  background: currentColor;
}
.accent-cross::before {
  width: 100%;
  height: 3px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.accent-cross::after {
  height: 100%;
  width: 3px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}
@media (max-width: 700px) {
  .accent-cross {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .accent-cross {
    animation: none;
  }
}

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}
@media (min-width: 840px) {
  .about-grid {
    grid-template-columns: 0.6fr 1.4fr;
  }
}

.about-photo {
  position: relative;
  width: 100%;
  transition: transform 0.4s cubic-bezier(0.16, 0.8, 0.3, 1);
  will-change: transform;
}
.about-photo::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 4% 8%;
  border-radius: 50%;
  background: #fbb03b;
  filter: blur(60px);
  opacity: 0.4;
  mix-blend-mode: var(--reg-blend);
  animation: aboutGlow 5s ease-in-out infinite;
}
.about-photo::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 22% -6% 10% 34%;
  border-radius: 50%;
  background: var(--cobalt);
  filter: blur(70px);
  opacity: 0.2;
  mix-blend-mode: var(--reg-blend);
  animation: aboutGlowDrift 8s ease-in-out infinite;
}
@keyframes aboutGlow {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.34;
  }
  50% {
    transform: scale(1.18) rotate(6deg);
    opacity: 0.58;
  }
}
@keyframes aboutGlowDrift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.16;
  }
  50% {
    transform: translate(-16px, 14px) scale(1.12);
    opacity: 0.3;
  }
}
.about-photo-float {
  position: relative;
  z-index: 1;
  animation: aboutFloat 5.5s ease-in-out infinite;
}
@keyframes aboutFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-14px) rotate(-1deg);
  }
}
.about-photo img {
  display: block;
  width: 100%;
  height: auto;
}
@media (prefers-reduced-motion: reduce) {
  .about-photo::before,
  .about-photo::after,
  .about-photo-float {
    animation: none;
  }
}

.about-copy .section-head {
  margin-bottom: 1rem;
}
.about-copy .eyebrow {
  font-size: 0.85rem;
  margin-bottom: 0;
}
.about-copy p {
  color: var(--ink-soft);
  width: 100%;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.spec-sheet {
  margin-top: 1.8rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}
.spec-sheet .row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7em 0;
  border-bottom: 1px solid var(--line);
}
.spec-sheet .row dt {
  color: var(--ink-faint);
  letter-spacing: 0.06em;
}
.spec-sheet .row dd {
  margin: 0;
  text-align: right;
  color: var(--ink);
}

/* ============ TAB BUTTONS (reused by work filters) ============ */
.tab-btn {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.75em 1.3em;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition:
    background-color 0.25s,
    color 0.25s,
    transform 0.25s;
}
.tab-btn:hover {
  transform: translateY(-2px);
}
.tab-btn.is-active {
  background: var(--ink);
  color: var(--paper);
}

/* ============ SERVICES ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.3rem, 2.5vw, 2rem);
}
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
.service-card {
  --accent: var(--flame);
  position: relative;
  isolation: isolate;
  border: 1.5px solid var(--line);
  padding: 1.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition:
    border-color 0.3s,
    transform 0.3s;
}
.service-card--flame {
  --accent: var(--flame);
}
.service-card--cobalt {
  --accent: var(--cobalt);
}
.service-card--yolk {
  --accent: var(--yolk);
}
.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent,
    color-mix(in srgb, var(--accent) 35%, transparent),
    transparent
  );
  transform: skewX(-18deg);
  transition: left 0.65s cubic-bezier(0.16, 0.8, 0.3, 1);
  z-index: -1;
}
.service-card:hover::before {
  left: 120%;
}

.card-frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cf {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--accent);
  opacity: 0;
  transition:
    opacity 0.3s,
    transform 0.4s cubic-bezier(0.16, 0.8, 0.3, 1);
}
.cf-tl {
  top: 9px;
  left: 9px;
  border-right: none;
  border-bottom: none;
  transform: translate(-8px, -8px);
}
.cf-tr {
  top: 9px;
  right: 9px;
  border-left: none;
  border-bottom: none;
  transform: translate(8px, -8px);
}
.cf-bl {
  bottom: 9px;
  left: 9px;
  border-right: none;
  border-top: none;
  transform: translate(-8px, 8px);
}
.cf-br {
  bottom: 9px;
  right: 9px;
  border-left: none;
  border-top: none;
  transform: translate(8px, 8px);
}
.service-card:hover .cf {
  opacity: 1;
  transform: translate(0, 0);
}
.service-card:hover .cf-tr {
  transition-delay: 0.06s;
}
.service-card:hover .cf-bl {
  transition-delay: 0.12s;
}
.service-card:hover .cf-br {
  transition-delay: 0.18s;
}

.service-icon {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition:
    background-color 0.3s,
    color 0.3s,
    transform 0.35s cubic-bezier(0.16, 0.8, 0.3, 1);
}
.service-card:hover .service-icon {
  background: var(--accent);
  color: var(--paper);
  transform: rotate(-10deg) scale(1.08);
}
.service-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.service-card-head {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}
.service-card-head button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: default;
}
.service-card-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0;
}
.service-card-chevron {
  display: none;
}
.service-card-desc > p {
  margin: 0;
}

/* collapsible accordion behaviour (mobile only) */
@media (max-width: 900px) {
  .service-card {
    gap: 0;
    padding: 1.5rem;
  }
  .service-card-head button {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
  }
  .service-card-head button:hover .service-card-title {
    color: var(--accent);
  }
  .service-icon {
    width: 2.9rem;
    height: 2.9rem;
  }
  .service-icon svg {
    width: 1.45rem;
    height: 1.45rem;
  }
  .service-card-chevron {
    display: block;
    width: 1.2rem;
    height: 1.2rem;
    flex: none;
    color: var(--ink-faint);
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition:
      transform 0.35s cubic-bezier(0.16, 0.8, 0.3, 1),
      color 0.25s;
  }
  .service-card.is-open .service-card-chevron {
    transform: rotate(180deg);
    color: var(--accent);
  }

  .service-card-desc {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.16, 0.8, 0.3, 1);
  }
  .service-card-desc > p {
    overflow: hidden;
    padding-top: 0.9rem;
  }
  .service-card.is-open .service-card-desc {
    grid-template-rows: 1fr;
  }
}

/* ============ WORK ============ */
.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: clamp(2rem, 4vw, 2.8rem);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 1.8rem);
}
@media (max-width: 820px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}

.work-card {
  border: 1.5px solid var(--line);
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.3s,
    transform 0.3s;
}
.work-card:hover {
  border-color: var(--ink);
  transform: translateY(-5px);
}
.work-card.is-hidden {
  display: none;
}

.work-card-media {
  position: relative;
  aspect-ratio: 404/316;
  overflow: hidden;
  isolation: isolate;
  background: var(--paper-2);
}
.work-card-media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  overflow: hidden;
}
.work-tag {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  border: 1px solid var(--line);
  padding: 0.3em 0.6em;
}

.work-card-body {
  padding: 1.3rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.work-card-body h3 {
  font-size: 1rem;
  line-height: 1.3;
}
.work-card-body p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.55;
}
.work-link {
  margin-top: auto;
  padding-top: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  width: fit-content;
}
.work-link svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform 0.25s;
}
.work-link:hover {
  color: var(--flame);
}
.work-link:hover svg {
  transform: translateX(4px);
}

/* ============ QUOTE (speech-bubble cards) ============ */
.quote-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
}
@media (min-width: 760px) {
  .quote-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    column-gap: 3rem;
  }
}
.quote-item {
  position: relative;
  margin: 0;
  width: 100%;
  font-family: var(--font-body);
  border: 1.5px solid var(--line);
  background: var(--paper-2);
  padding: 2rem 2rem 1.8rem;
  border-radius: 4px 22px 22px 22px;
  transition:
    transform 0.3s cubic-bezier(0.16, 0.8, 0.3, 1),
    border-color 0.3s;
}
/* identical card design for both quotes — only a small vertical stagger
   differentiates them, consistent at every breakpoint */
.quote-item--a {
  transform: translateY(-10px);
}
.quote-item--b {
  transform: translateY(10px);
}
.quote-item--a:hover {
  transform: translateY(-15px);
  border-color: var(--ink);
}
.quote-item--b:hover {
  transform: translateY(5px);
  border-color: var(--ink);
}
.quote-tail {
  position: absolute;
  bottom: -10px;
  left: 26px;
  width: 18px;
  height: 18px;
  background: var(--paper-2);
  border-right: 1.5px solid var(--line);
  border-bottom: 1.5px solid var(--line);
  transform: rotate(45deg);
  transition: border-color 0.3s;
}
.quote-item--b .quote-tail {
  left: auto;
  right: 26px;
}
.quote-item:hover .quote-tail {
  border-color: var(--ink);
}
.quote-mark {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.6;
  display: block;
  margin-bottom: 0.5rem;
  font-size: clamp(2.6rem, 7vw, 4.5rem);
}
.quote-mark--flame {
  color: var(--flame);
}
.quote-mark--cobalt {
  color: var(--cobalt);
}
.quote-item p {
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.35;
  text-wrap: balance;
}
cite {
  display: block;
  margin-top: 1.4rem;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.quote-item.reveal {
  animation-duration: 0.75s;
  animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
  animation-fill-mode: both;
  animation-play-state: paused;
}
.quote-item.reveal.is-visible {
  animation-play-state: running;
}
.quote-item--a.reveal {
  animation-name: quotePopA;
}
.quote-item--b.reveal {
  animation-name: quotePopB;
  animation-delay: 0.15s;
}
@keyframes quotePopA {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.8) rotate(-4deg);
  }
  100% {
    opacity: 1;
    transform: translateY(-10px) scale(1) rotate(0deg);
  }
}
@keyframes quotePopB {
  0% {
    opacity: 0;
    transform: translateY(34px) scale(0.8) rotate(-4deg);
  }
  100% {
    opacity: 1;
    transform: translateY(10px) scale(1) rotate(0deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .quote-item.reveal {
    animation: none;
  }
}

/* ============ EDUCATION & EXPERIENCE ============ */
.track-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 4rem);
}
@media (min-width: 840px) {
  .track-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.track-heading {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 1.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.track-items {
  position: relative;
}
.track-items::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 5px;
  width: 1.5px;
  background: var(--line);
  transform-origin: top;
  transform: scaleY(0);
  pointer-events: none;
  animation: trackLineGrow 1.1s cubic-bezier(0.16, 0.8, 0.3, 1) 0.1s both;
  animation-play-state: paused;
}
.track-items.is-visible::before {
  animation-play-state: running;
}
@keyframes trackLineGrow {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .track-items::before {
    animation: none;
    transform: scaleY(1);
  }
}

.track-item {
  position: relative;
  padding: 0.9rem 1rem 0.9rem 1.7rem;
  margin-left: 5px;
  margin-bottom: 0.3rem;
  border-radius: 3px;
  cursor: default;
  transition:
    background-color 0.3s,
    transform 0.3s cubic-bezier(0.16, 0.8, 0.3, 1);
}
.track-item:last-child {
  margin-bottom: 0;
}
.track-item:hover {
  background: var(--paper-2);
  transform: translateX(8px);
}
.track-dot {
  position: absolute;
  left: -6.5px;
  top: 1.45rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--paper);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.track-item:hover .track-dot {
  transform: scale(1.6);
}
.track-item.reveal.is-visible .track-dot {
  animation: dotPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s both;
}
@keyframes dotPop {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}
.track-year {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}
.track-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.12rem;
  margin: 0 0 0.8rem;
  text-transform: none;
}
.track-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.track-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.track-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink-faint);
}

/* ============ TESTIMONIALS ============ */
.testimonial-viewport {
  overflow: hidden;
  padding: 6px;
  margin: -6px;
}
.testimonial-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.55s cubic-bezier(0.16, 0.8, 0.3, 1);
}
.testimonial-card {
  --accent: var(--flame);
  flex: 0 0 calc(50% - 0.75rem);
  border: 1.5px solid var(--line);
  background: var(--paper-2);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  min-height: 220px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.16, 0.8, 0.3, 1),
    border-color 0.3s,
    box-shadow 0.3s;
}
.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
}
.testimonial-card:hover {
  transform: translateY(-6px) rotate(-0.6deg);
  border-color: var(--accent);
}
.t-flame {
  --accent: var(--flame);
}
.t-cobalt {
  --accent: var(--cobalt);
}
.t-yolk {
  --accent: var(--yolk);
}
@media (max-width: 700px) {
  .testimonial-card {
    flex: 0 0 100%;
  }
}
.t-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.t-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--paper);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
}
.t-quote {
  width: 2rem;
  height: 2rem;
  color: var(--accent);
  flex: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.testimonial-card:hover .t-quote {
  transform: scale(1.15) rotate(-8deg);
}
.testimonial-card p {
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 500;
  text-wrap: balance;
}
.t-attr {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  font-family: var(--font-mono);
}
.t-name {
  font-weight: 700;
  font-size: 0.85rem;
}
.t-role {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 0.15rem;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.3rem;
  margin-top: 2.2rem;
}
.carousel-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background-color 0.25s,
    color 0.25s,
    transform 0.2s;
}
.carousel-btn svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
.carousel-btn:hover {
  background: var(--ink);
  color: var(--paper);
}
.carousel-btn:active {
  transform: scale(0.9);
}
.carousel-dots {
  display: flex;
  gap: 0.5rem;
}
.carousel-dots .dot-btn {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  padding: 0;
  cursor: pointer;
  transition:
    background-color 0.25s,
    transform 0.25s;
}
.carousel-dots .dot-btn.is-active {
  background: var(--flame);
  transform: scale(1.35);
}

/* ============ CONTACT ============ */
.contact {
  position: relative;
}
.contact h2 {
  max-width: none;
  width: 100%;
  line-height: 1.3;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 4rem);
}
@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
}
@media (min-width: 560px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-field label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.form-field input,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: transparent;
  border: 1.5px solid var(--line);
  padding: 0.8em 0.9em;
  transition: border-color 0.25s;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--flame);
}
.form-submit {
  align-self: flex-start;
  margin-top: 0.3rem;
  cursor: pointer;
  border: none;
}
.form-success {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--cobalt-deep);
  margin-top: 0.2rem;
}
.form-success[hidden],
.form-error[hidden] {
  display: none;
}
.form-error {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--flame-deep);
  margin-top: 0.2rem;
}
.form-field--hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 0.2rem;
}
.contact-info address {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-style: normal;
}
.availability {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55em 1.1em;
  width: fit-content;
}
.avail-dot {
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background: var(--available);
  animation: pulseAvail 2s ease-in-out infinite;
}
@keyframes pulseAvail {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
@media (prefers-reduced-motion: reduce) {
  .avail-dot {
    animation: none;
  }
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.info-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.info-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}
.info-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.25rem;
}
.info-row a,
.info-row span {
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
}
.info-row a:hover {
  color: var(--flame);
}

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid var(--line);
  margin-top: 1rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) footer {
    background: rgba(15, 26, 43, 0.7);
  }
}
:root[data-theme="dark"] footer {
  background: rgba(15, 26, 43, 0.7);
}
footer .wrap {
  padding-left: 20px;
  padding-right: 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
  padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem;
}
@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr;
  }
}

.footer-about {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-lockup {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-logo-img {
  height: 4.6rem;
  width: auto;
  display: block;
}
.footer-logo-img--dark {
  display: none;
}
@media (prefers-color-scheme: dark) {
  .footer-logo-img--light {
    display: none;
  }
  .footer-logo-img--dark {
    display: block;
  }
}
:root[data-theme="dark"] .footer-logo-img--light {
  display: none;
}
:root[data-theme="dark"] .footer-logo-img--dark {
  display: block;
}
:root[data-theme="light"] .footer-logo-img--light {
  display: block;
}
:root[data-theme="light"] .footer-logo-img--dark {
  display: none;
}
.footer-lockup-text {
  color: #fff;
  font-size: 0.8125rem;
  line-height: 1.6;
  max-width: 32ch;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
}
.footer-email {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  transition: color 0.2s;
  width: fit-content;
  display: inline-block;
}
.footer-email:hover {
  color: var(--ink);
}

.footer-heading {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0;
}

.footer-social-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-social-row {
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.footer-social-links a {
  text-decoration: none;
  color: var(--ink-soft);
  transition:
    color 0.2s,
    letter-spacing 0.2s;
}
.footer-social-links a:hover {
  color: var(--flame);
  letter-spacing: 0.12em;
}
.footer-social-links span {
  color: var(--ink-faint);
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--ink-faint);
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: center;
    gap: 150px;
  }
}
.footer-bottom a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.footer-bottom a:hover {
  color: var(--flame);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--flame);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 9998;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 0.8em 1.3em;
  border-radius: 4px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
}
