@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/fonts/6b7254b8-5d83-4a3b-aac2-049815b0c4af.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/fonts/6efe7d61-bc16-4aa0-8992-213091f143c1.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/fonts/c79cafd8-caad-4ae4-b388-97ff77f6eed5.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/4dcee1ae-3f58-4674-880a-58a84522c8a2.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/258b9357-6f24-42ef-b818-a7edd0cf29b3.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/45fc1a79-87fb-4d38-83e8-08b17ede198b.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/8a09da1e-db4f-4e20-99dd-50eec63ceac0.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/fce5ddcd-ba00-4905-9b82-ee93e78d5f4c.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/e9f756b4-09b9-46b3-951b-45ca67052ec3.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Public Sans';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/61a388b8-6d4e-4eed-8657-77f3c4b24677.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Public Sans';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/4cb41d9e-fef1-41a9-8ca4-7e96846a5b88.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Public Sans';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/4fa47503-d9c0-4011-a35b-2a10086475ea.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/53eaff8e-bc3c-48b8-94d8-650da081eada.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/b663ccda-ffab-4692-ac88-0d7a65257860.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/2c8631ae-56b0-4f1c-a890-d81b0fde2616.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ==========================================================================
   CyrusAlcala.com — Evolved Editorial Design System
   Inspired by kiaradigregorio.com with elevated typography, tactile canvas,
   delight micro-interactions, and responsive art direction.
   ========================================================================== */

:root {
  /* Surface & Canvas Tokens */
  --canvas-paper: #ece7de;
  --canvas-surface: #f5f0e6;
  --canvas-panel: rgba(246, 243, 237, 0.95);
  --paper: #ece7de;
  --surface: #f5f0e6;
  --ink: #141312;
  --ink-secondary: #595349;
  --ink-tertiary: #8a8376;
  --muted: #6b6458;
  --rule: #cfc7bc;
  --rule-subtle: #ded8ce;
  --shadow-subtle: 0 2px 6px rgba(20, 19, 18, 0.04);
  --shadow-card: 0 10px 30px rgba(20, 19, 18, 0.07), 0 1px 3px rgba(20, 19, 18, 0.04);
  --shadow-hover: 0 18px 45px rgba(20, 19, 18, 0.12), 0 3px 8px rgba(20, 19, 18, 0.06);
  --shadow-modal: 0 30px 80px rgba(20, 19, 18, 0.22);

  /* Electric Playground Tokens */
  --accent: #0c30ff;
  --accent-hover: #0824cb;
  --accent-warm: #e65c00;
  --accent-soft: rgba(12, 48, 255, 0.08);

  /* Typography Stacks */
  --font-display: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --font-serif: Georgia, 'Times New Roman', serif;

  /* Spacing Scale */
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 14px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 96px;
  --gutter: 32px;

  /* Border Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 13px;
  --radius-lg: 18px;
  --radius-pill: 9999px;

  /* Motion & Easings */
  --ease-editorial: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.22, 1.15, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 160ms;
  --duration-medium: 320ms;
  --duration-slow: 540ms;
}

/* Base Reset & Standards */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  background: var(--canvas-paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body, :where(button, a, p, h1, h2, h3, time, span, b, strong, small) {
  letter-spacing: -0.025em;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
}

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

img, video {
  display: block;
  max-width: 100%;
  height: auto;
}

::selection {
  background: var(--accent);
  color: #fff;
}

.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-xs);
  transition: top 0.2s ease;
}
.skip:focus {
  top: 16px;
}

/* ==========================================================================
   Homepage Interactive Canvas Architecture
   ========================================================================== */

.canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--canvas-paper);
  user-select: none;
}

/* Top Navigation Header Wrap */
.top-header-wrap {
  position: fixed;
  z-index: 100;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.top-header-wrap > * {
  pointer-events: auto;
}

/* Mode Switcher */
.switcher {
  display: flex;
  align-items: center;
  padding: 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.04);
  font-size: 13.5px;
  line-height: 1;
  animation: navAppear 1.2s var(--ease-editorial) both;
}

.switcher button {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink-secondary);
  font-weight: 500;
  white-space: nowrap;
  transition: all var(--duration-fast) var(--ease-editorial);
}

.switcher button.active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.switcher .nav-separator {
  color: var(--rule);
  font-size: 12px;
  padding: 0 2px;
}

@keyframes navAppear {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Top-Right Bar: Scope & Interactive Eyes */
.top-right-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  animation: navAppear 1.2s var(--ease-editorial) both;
}

.lab-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.04);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-secondary);
  transition: all var(--duration-fast) var(--ease-editorial);
}

.lab-pill-btn:hover {
  color: var(--ink);
  background: #fff;
  transform: translateY(-1px);
}

.lab-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Tracking Eyes Widget in Playground */
.layout-eyes-btn {
  display: none;
  background: rgba(255, 255, 255, 0.92);
  padding: 6px 10px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(12, 48, 255, 0.15);
  cursor: pointer;
  transition: transform var(--duration-fast) ease;
}

.layout-eyes-btn:hover {
  transform: scale(1.06);
}

.canvas.fun-mode .layout-eyes-btn {
  display: flex;
  align-items: center;
  animation: eyePop 0.5s var(--ease-bounce) both;
}

@keyframes eyePop {
  0% { transform: scale(0.6) rotate(-15deg); opacity: 0; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

/* Mode Switching */
.real-field, .fun-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity var(--duration-medium) ease, visibility 0s linear var(--duration-medium);
}

.real-field {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.fun-field {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: var(--canvas-paper);
}

/* Playground Mode Activation */
.canvas.fun-mode .real-field {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.canvas.fun-mode .fun-field {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.4s var(--ease-editorial);
}

.canvas.fun-mode .top-nav {
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  padding: 0;
  gap: 4px;
}

.canvas.fun-mode .top-nav button {
  background: var(--accent);
  color: rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  padding: 9px 14px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(12, 48, 255, 0.25);
  animation: funNavDrop 0.5s var(--ease-bounce) both;
}

.canvas.fun-mode .top-nav button.active {
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius-pill);
}

.canvas.fun-mode .top-nav .nav-separator {
  display: none;
}

@keyframes funNavDrop {
  0% { transform: translateY(-10px) scale(0.9); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* ==========================================================================
   Real Work Cards: Tactile Editorial Collage
   ========================================================================== */

.project-card {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--canvas-surface);
  box-shadow: var(--shadow-card);
  cursor: grab;
  touch-action: none;
  user-select: none;
  transition: transform 0.25s var(--ease-editorial), box-shadow 0.25s var(--ease-editorial);
  will-change: transform, left, top;
}

.project-card:hover {
  box-shadow: var(--shadow-hover);
  transform: scale(1.018);
  z-index: 20 !important;
}

.project-card.dragging {
  cursor: grabbing !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  z-index: 50 !important;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.project-card .card-label {
  position: absolute;
  z-index: 3;
  left: 14px;
  top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: rgba(20, 19, 18, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Hover pill: "CLICK TO OPEN" */
@media (hover: hover) and (pointer: fine) {
  .project-card::after {
    content: "CLICK TO OPEN ↗";
    position: absolute;
    z-index: 4;
    right: 14px;
    bottom: 14px;
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    background: rgba(20, 19, 18, 0.82);
    backdrop-filter: blur(8px);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateY(4px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.25s var(--ease-editorial);
  }

  .project-card:hover::after {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
  }
}

/* Project Zero Art Card */
.project-card.art-card {
  background: var(--ink);
  color: var(--canvas-paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}

.project-card.art-card .art-headline {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 600;
}

.project-card.art-card .art-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--rule);
  margin-top: 10px;
}

.project-card.art-card .art-swatches {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.project-card.art-card .art-swatches span {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-card.art-card .art-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--rule);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 12px;
}

/* Desktop Coordinates */
.card-hvac {
  left: 6%;
  top: 12%;
  width: 44%;
  height: 72%;
}

.card-va {
  left: 53%;
  top: 12%;
  width: 41%;
  height: 38%;
}

.card-tw {
  left: 53%;
  top: 53%;
  width: 23%;
  height: 34%;
}

.card-art {
  left: 78%;
  top: 53%;
  width: 16%;
  height: 34%;
}

/* ==========================================================================
   Playground Sandbox (Freely Arranged Experiments)
   ========================================================================== */

.fun-item {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  cursor: grab;
  touch-action: none;
  user-select: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  will-change: left, top, transform;
}

.fun-item:hover {
  box-shadow: var(--shadow-hover);
  z-index: 25 !important;
}

.fun-item.dragging {
  cursor: grabbing !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  z-index: 60 !important;
}

.fun-video-1 {
  left: 8%;
  top: 14%;
  width: 24%;
  height: 48%;
  transform: rotate(-3deg);
  background: var(--ink);
}

.fun-video-1 video, .fun-video-2 video, .fun-video-3 video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fun-video-2 {
  left: 35%;
  top: 18%;
  width: 22%;
  height: 42%;
  transform: rotate(2deg);
  background: var(--ink);
}

.fun-video-3 {
  right: 9%;
  top: 12%;
  width: 22%;
  height: 40%;
  transform: rotate(-2deg);
  background: var(--ink);
}

.fun-sticker-1 {
  left: 18%;
  top: 65%;
  width: 220px;
  height: auto;
  padding: 16px 20px;
  background: #ff5c35;
  color: #fff;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  transform: rotate(4deg);
  box-shadow: 0 10px 24px rgba(255, 92, 53, 0.35);
}

.fun-sticker-2 {
  left: 60%;
  top: 55%;
  width: 240px;
  padding: 18px;
  background: #fff;
  border: 2px solid var(--accent);
  color: var(--accent);
  border-radius: var(--radius-md);
  transform: rotate(-4deg);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  box-shadow: 0 12px 30px rgba(12, 48, 255, 0.15);
}

.fun-sticker-2 strong {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  font-family: var(--font-display);
}

/* Ambient Audio Player */
.now-playing {
  position: absolute;
  left: 36%;
  top: 64%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px 10px 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
  z-index: 30;
  transform: rotate(1deg);
  transition: transform var(--duration-fast) ease;
}

.now-playing:hover {
  transform: rotate(0) scale(1.02);
}

.track-disc {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #111;
  overflow: hidden;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.track-disc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.track-disc.is-playing img {
  animation: discSpin 3.5s linear infinite;
}

@keyframes discSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.track-info {
  display: flex;
  flex-direction: column;
}

.track-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.track-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.track-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
}

.track-play-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  transition: background var(--duration-fast) ease, transform var(--duration-fast) ease;
}

.track-play-btn:hover {
  background: var(--accent);
  transform: scale(1.06);
}

.track-bars {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
  padding-left: 4px;
}

.track-bars i {
  display: block;
  width: 2.5px;
  height: 4px;
  background: var(--accent);
  border-radius: 1px;
}

.track-bars.is-active i:nth-child(1) { animation: barDance 0.8s ease-in-out infinite alternate; }
.track-bars.is-active i:nth-child(2) { animation: barDance 0.6s ease-in-out infinite 0.15s alternate; }
.track-bars.is-active i:nth-child(3) { animation: barDance 0.9s ease-in-out infinite 0.3s alternate; }
.track-bars.is-active i:nth-child(4) { animation: barDance 0.7s ease-in-out infinite 0.45s alternate; }

@keyframes barDance {
  0% { height: 3px; }
  100% { height: 14px; }
}

/* ==========================================================================
   Bottom Dock: Status Pill & Avatar Portrait (.bio)
   ========================================================================== */

.bio {
  position: fixed;
  z-index: 120;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  width: min(calc(100% - 24px), 540px);
  justify-content: center;
  animation: bioAppear 1.2s var(--ease-editorial) both;
}

@keyframes bioAppear {
  from { opacity: 0; transform: translate(-50%, 14px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.bio-copy {
  position: relative;
  height: 46px;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.bio p {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 13px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.04);
  font-size: 13.5px;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--ink);
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--duration-medium) ease, background var(--duration-medium) ease;
}

.bio-text-fun {
  display: none;
}

.fun-bottom-shape {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scaleX(0.92);
  transition: opacity 0.4s var(--ease-editorial), transform 0.55s var(--ease-bounce);
  pointer-events: none;
}

.canvas.fun-mode .bio p {
  background: transparent;
  color: #fff;
  box-shadow: none;
}

.canvas.fun-mode .bio-text-real {
  display: none;
}

.canvas.fun-mode .bio-text-fun {
  display: inline;
}

.canvas.fun-mode .fun-bottom-shape {
  opacity: 1;
  transform: scaleX(1);
}

.portrait {
  width: 46px;
  height: 46px;
  min-width: 46px;
  padding: 2px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  cursor: pointer;
  transition: border-radius 0.3s var(--ease-editorial), transform 0.2s ease, border 0.3s ease;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  flex-shrink: 0;
}

.portrait:hover {
  transform: scale(1.05);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 8px;
  transition: border-radius 0.25s var(--ease-editorial), transform 0.25s var(--ease-editorial);
}

.portrait:active img {
  border-radius: 50%;
  transform: scale(0.95);
}

.canvas.fun-mode .portrait {
  border-radius: 50%;
  border: 3px solid var(--accent);
  padding: 2px;
}

.canvas.fun-mode .portrait img {
  border-radius: 50%;
}

.canvas.fun-mode .portrait.is-spinning img {
  animation: portraitSpin 2.4s linear infinite;
}

@keyframes portraitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   Profile Popover: Context & Let's Talk
   ========================================================================== */

.profile-popover {
  position: fixed;
  z-index: 110;
  left: 50%;
  bottom: 76px;
  width: 360px;
  max-width: calc(100vw - 32px);
  background: var(--canvas-panel);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px) scale(0.96);
  transform-origin: 50% 100%;
  transition: opacity 0.22s ease, transform 0.35s var(--ease-editorial), height 0.35s var(--ease-editorial);
  overflow: hidden;
}

.profile-popover.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.profile-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--rule-subtle);
  background: rgba(255, 255, 255, 0.5);
}

.profile-tabs button {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-secondary);
  transition: all var(--duration-fast) ease;
}

.profile-tabs button.active {
  color: var(--ink);
  background: #fff;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.profile-panel {
  display: none;
  padding: 18px 20px 22px;
  max-height: 480px;
  overflow-y: auto;
}

.profile-panel.active {
  display: block;
  animation: panelIn 0.3s var(--ease-editorial) both;
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-heading {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-tertiary);
  margin-bottom: 12px;
}

.career-list {
  display: flex;
  flex-direction: column;
}

.career-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule-subtle);
  font-size: 13px;
}

.career-item:last-of-type {
  border-bottom: 0;
}

.career-item-main {
  display: flex;
  flex-direction: column;
  padding-right: 12px;
}

.career-item-title {
  font-weight: 600;
  color: var(--ink);
}

.career-item-role {
  color: var(--ink-secondary);
  font-size: 12px;
}

.career-item-location {
  color: var(--ink-tertiary);
  font-size: 11.5px;
}

.career-item time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-tertiary);
  white-space: nowrap;
}

.about-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--rule-subtle);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  transition: all var(--duration-fast) ease;
}

.about-link-btn:hover {
  background: #fff;
  border-color: var(--rule);
  color: var(--accent);
}

.talk-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.talk-prompt {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.talk-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.talk-inquiry-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  transition: background var(--duration-fast) ease;
}

.talk-inquiry-btn:hover {
  background: var(--accent);
}

.talk-email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink);
  padding: 4px 0;
  border-bottom: 1px solid var(--rule);
  width: fit-content;
}

.talk-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 8px;
  border-top: 1px solid var(--rule-subtle);
  font-size: 12.5px;
  color: var(--ink-secondary);
}

.talk-social-links a:hover {
  color: var(--accent);
}

/* ==========================================================================
   Cinematic About Takeover (.about-field)
   ========================================================================== */

.about-field {
  position: fixed;
  inset: 0;
  z-index: 150;
  width: 100%;
  height: 100%;
  background: var(--canvas-paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px var(--gutter);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-editorial), visibility 0s linear 0.4s;
  overflow-y: auto;
}

.canvas.about-mode .about-field {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.4s var(--ease-editorial);
}

.about-story {
  max-width: 720px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
  text-align: center;
}

.about-story-paragraph {
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.7;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: -0.015em;
}

.about-story-paragraph span {
  display: block;
}

.about-story-closing {
  margin-top: 16px;
  position: relative;
  display: inline-block;
  align-self: center;
}

.about-story-closing .hand-underline {
  display: block;
  width: 220px;
  height: 12px;
  margin: 6px auto 0;
}

.about-back-btn {
  margin-top: 36px;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  transition: all var(--duration-fast) ease;
}

.about-back-btn:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Project Detail Slide View (.project-view)
   ========================================================================== */

.project-view {
  position: fixed;
  inset: 0;
  z-index: 200;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  visibility: hidden;
  pointer-events: none;
}

.project-view.preparing, .project-view.open {
  visibility: visible;
}

.view-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(236, 231, 222, 0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  opacity: 0;
  transition: opacity 0.5s var(--ease-editorial), background-color 0.5s var(--ease-editorial), backdrop-filter 0.5s var(--ease-editorial);
  pointer-events: none;
}

.project-view.open .view-backdrop {
  opacity: 1;
  background: rgba(236, 231, 222, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: auto;
}

.project-view.open {
  pointer-events: auto;
}

.project-scroll {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  opacity: 0;
  padding: 40px 0 80px;
  transition: opacity 0.35s ease;
}

.project-scroll::-webkit-scrollbar {
  display: none;
}

.project-view.open .project-scroll {
  opacity: 1;
}

.slide {
  min-height: 50vh;
  margin: 0;
  padding: 24px 0;
  display: grid;
  place-items: center;
}

.slide-media {
  position: relative;
  width: min(55vw, 920px);
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.14);
  background: #111;
}

.slide-media img, .slide-media video {
  width: 100%;
  height: auto;
  display: block;
}

.project-info {
  position: absolute;
  z-index: 220;
  right: 24px;
  top: 24px;
  width: 340px;
  max-width: calc(100vw - 48px);
  padding: 28px 24px 24px;
  border-radius: var(--radius-lg);
  background: var(--canvas-panel);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transform-origin: 100% 0;
  transition: opacity 0.3s ease, transform 0.45s var(--ease-editorial);
}

.project-view.open .project-info {
  opacity: 1;
  transform: none;
}

.project-info .close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
  transition: background var(--duration-fast) ease, color var(--duration-fast) ease;
}

.project-info .close:hover {
  background: var(--ink);
  color: #fff;
}

.project-info h1 {
  font-size: 26px;
  line-height: 1.1;
  margin-bottom: 8px;
}

.project-info .year {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-secondary);
}

.project-info .year strong {
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  background: var(--ink);
  color: #fff;
  font-weight: 500;
}

.project-info .rule {
  height: 1px;
  margin: 18px 0;
  background: var(--rule-subtle);
}

.project-info .desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-secondary);
}

.project-info .actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.project-info .btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: background var(--duration-fast) ease;
}

.project-info .btn-action:hover {
  background: var(--accent);
}

.project-info .btn-sub {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--rule);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 500;
  transition: all var(--duration-fast) ease;
}

.project-info .btn-sub:hover {
  background: #fff;
  border-color: var(--ink);
}

.scroll-hint {
  position: absolute;
  z-index: 220;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 84px;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-view.open .scroll-hint {
  opacity: 1;
}

.scroll-hint i {
  display: block;
  width: 8px;
  height: 22px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  transition: transform 0.1s linear;
}

/* ==========================================================================
   Subpages & Reading Views (Work, Services, About, Hire)
   ========================================================================== */

.subpage-body {
  background: var(--canvas-paper);
  min-height: 100vh;
}

.wrap {
  width: min(100% - var(--gutter) * 2, 1280px);
  margin-inline: auto;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 28px;
  border-bottom: 1px solid var(--rule-subtle);
}

.brand {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-tertiary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand .accent {
  color: var(--accent);
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13.5px;
  font-weight: 500;
}

.navlinks a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink-secondary);
}

.navlinks a:hover, .navlinks a[aria-current="page"] {
  color: var(--ink);
}

.navlinks a[aria-current="page"] {
  font-weight: 600;
  border-bottom: 2px solid var(--accent);
}

.navlinks .nav-contact {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  transition: background var(--duration-fast) ease;
}

.navlinks .nav-contact:hover {
  background: var(--accent);
}

.mobile-nav {
  display: none;
}

.page-intro {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--rule-subtle);
}

.page-intro .label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.page-intro h1 {
  font-size: clamp(40px, 6vw, 76px);
  max-width: 980px;
}

.page-intro .lead {
  max-width: 680px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-secondary);
  margin-top: 24px;
}

.reading-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 64px;
  padding-block: 64px;
}

.reading-grid aside {
  font-size: 13px;
  color: var(--ink-secondary);
}

.reading-grid dl {
  margin: 0 0 28px;
}

.reading-grid dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  color: var(--ink-tertiary);
  margin-bottom: 6px;
}

.reading-grid dd {
  margin: 0 0 24px;
  font-weight: 600;
  color: var(--ink);
}

.prose {
  max-width: 68ch;
}

.prose h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.prose p {
  color: var(--ink-secondary);
  font-size: 16px;
  margin-bottom: 20px;
}

.prose ul {
  padding-left: 24px;
  margin-bottom: 24px;
  color: var(--ink-secondary);
}

.prose li {
  margin-bottom: 8px;
}

.contact {
  background: var(--ink);
  color: var(--canvas-paper);
  padding: 64px 0 40px;
  margin-top: 96px;
}

.contact-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact h2 {
  font-size: clamp(38px, 5.5vw, 76px);
  line-height: 1.05;
}

.contact .eyebrow {
  color: var(--rule);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  display: block;
}

.contact-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 32px;
  font-size: 13px;
  color: var(--rule);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-name {
  font-family: var(--font-display);
  font-size: clamp(48px, 12vw, 160px);
  font-weight: 700;
  letter-spacing: -0.05em;
  margin-top: 48px;
  color: rgba(255, 255, 255, 0.07);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

.form-button {
  background: var(--canvas-paper);
  color: var(--ink);
  border-radius: var(--radius-xs);
  padding: 12px 24px;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: background var(--duration-fast) ease;
}

.form-button:hover {
  background: #fff;
}

/* ==========================================================================
   Responsive Mobile & Tablet Polish (<768px)
   ========================================================================== */

@media (max-width: 900px) {
  .card-hvac {
    left: 4%;
    top: 10%;
    width: 50%;
    height: 64%;
  }

  .card-va {
    left: 56%;
    top: 10%;
    width: 40%;
    height: 36%;
  }

  .card-tw {
    left: 56%;
    top: 48%;
    width: 40%;
    height: 26%;
  }

  .card-art {
    display: none;
  }
}

@media (max-width: 768px) {
  .canvas {
    position: relative;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 96px;
    -webkit-overflow-scrolling: touch;
  }

  .top-header-wrap {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    padding: 12px 14px 10px;
    background: rgba(236, 231, 222, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
  }

  .real-field {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 16px 14px 40px;
    position: relative;
    inset: auto;
    width: 100%;
  }

  .fun-field {
    display: none;
    position: relative;
    inset: auto;
    flex-direction: column;
    gap: 20px;
    padding: 16px 14px 40px;
    width: 100%;
  }

  .canvas.fun-mode .real-field {
    display: none;
  }

  .canvas.fun-mode .fun-field {
    display: flex;
  }

  .project-card {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    height: 300px !important;
    transform: none !important;
    cursor: pointer;
  }

  .project-card.art-card {
    display: flex;
    height: 230px !important;
  }

  .fun-item {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    width: 100% !important;
    height: 270px !important;
    transform: none !important;
  }

  .now-playing {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    transform: none !important;
    justify-content: space-between;
  }

  .fun-sticker-1, .fun-sticker-2 {
    height: auto !important;
    width: 100% !important;
  }

  .bio {
    bottom: 14px;
    width: calc(100% - 20px);
    height: 48px;
  }

  .bio p {
    font-size: 12px;
    padding: 12px 14px;
  }

  .profile-popover {
    width: calc(100vw - 20px);
    bottom: 72px;
  }

  .slide-media {
    width: calc(100vw - 28px);
  }

  .project-info {
    position: relative;
    top: auto;
    right: auto;
    width: calc(100vw - 28px);
    margin: 16px auto 0;
  }

  .scroll-hint {
    display: none;
  }

}

/* ==========================================================================
   Global Button & Direct-Response Interactive Components
   ========================================================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius-xs);
  background: var(--ink);
  color: #fff !important;
  font-weight: 600;
  font-size: 14.5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover {
  background: var(--accent);
  color: #fff !important;
  transform: translateY(-1px);
}

.button.secondary {
  background: #fff;
  color: var(--ink) !important;
  border: 1px solid var(--rule);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.button.secondary:hover {
  background: var(--surface);
  border-color: var(--ink);
  color: var(--ink) !important;
}

.form-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius-xs);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  border: none;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  box-shadow: 0 4px 14px rgba(12, 48, 255, 0.2);
  white-space: nowrap;
}

.form-button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(12, 48, 255, 0.3);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

.text-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.section {
  padding-block: 72px;
  border-bottom: 1px solid var(--rule-subtle);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(30px, 4.5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-head p {
  max-width: 460px;
  font-size: 15.5px;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Storefront Editorial Design System
   ========================================================================== */

/* HVAC Commercial Ad Gallery */
.hvac-ad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hvac-ad-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-subtle);
}

.hvac-ad-card .video-wrapper {
  background: #141312;
  overflow: hidden;
  position: relative;
}

.hvac-ad-card video {
  width: 100%;
  aspect-ratio: 9 / 12;
  object-fit: cover;
  background: #141312;
  display: block;
}

.hvac-ad-card .ad-meta {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.hvac-ad-card .ad-meta .label {
  margin-bottom: 0;
  font-size: 11px;
}

.hvac-ad-card .ad-angle {
  font-size: 16.5px;
  line-height: 1.3;
  color: var(--ink);
  font-weight: 600;
}

.hvac-ad-card .ad-why {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-secondary);
}

.hvac-ad-card .ad-quote {
  font-size: 12.5px;
  line-height: 1.5;
  font-style: italic;
  color: var(--muted);
  border-left: 2px solid var(--accent);
  padding-left: 10px;
  margin-top: auto;
}

/* About Section Side-by-Side */
.about-large {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}

.builder-image-wrap img,
.about-large img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--rule);
  background: var(--surface);
  display: block;
}

/* ==========================================================================
   Core Subpage Layout Components (Work, Services, Hire, Case Studies)
   ========================================================================== */

.page-intro {
  padding: 40px 0 48px;
  margin-top: 0;
}

.page-intro .lead {
  font-size: 18px;
  margin-top: 20px;
  max-width: 65ch;
  color: var(--ink-secondary);
}

.stage {
  display: block;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.stage:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.stage.screenshot {
  padding: 24px;
}

.stage.screenshot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xs);
  border: 1px solid var(--rule-subtle);
}

.project-feature {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
}

.project-info h3 {
  font-size: 28px;
  margin-block: 8px 12px;
}

.project-info p {
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-row {
  display: grid;
  grid-template-columns: 36px 1fr 1.2fr 24px;
  gap: 24px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule-subtle);
  text-decoration: none;
  transition: background var(--duration-fast) ease;
}

.service-row:hover h3 {
  color: var(--accent);
}

.service-row h3 {
  font-size: 26px;
}

.service-row p {
  font-size: 15px;
  color: var(--ink-secondary);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-block: 32px;
}

.workflow > div {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
}

.workflow h3 {
  font-size: 20px;
  margin-block: 8px 10px;
}

.workflow p {
  font-size: 14.5px;
  color: var(--ink-secondary);
  line-height: 1.55;
}

.offer {
  display: grid;
  grid-template-columns: 48px 1.1fr 1fr;
  gap: 36px;
  padding: 56px 0;
  border-bottom: 1px solid var(--rule-subtle);
  align-items: start;
}

.offer h2 {
  font-size: 38px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.offer p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-secondary);
}

.offer .price {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 16px;
}

.offer .note {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 8px;
}

.offer ul {
  padding-left: 20px;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.offer li {
  font-size: 14.5px;
  color: var(--ink-secondary);
  line-height: 1.55;
}

.reading-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
}

.reading-grid aside dl {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 0 24px 0;
}

.reading-grid aside dt {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.reading-grid aside dd {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin: 2px 0 0 0;
}

.case-image {
  margin-block: 0 48px;
}

.case-image figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 12px;
}

.case-image figcaption a {
  color: var(--accent);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 24px;
}

.timeline-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule-subtle);
}

.timeline-row .date {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
}

.timeline-row h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.timeline-row p {
  font-size: 14.5px;
  color: var(--ink-secondary);
  line-height: 1.55;
}

.video-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 32px;
}

.video-list article video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--surface);
  border-radius: var(--radius-xs);
  border: 1px solid var(--rule);
}

.video-list article h3 {
  font-size: 18px;
  margin-block: 12px 6px;
}

.video-list article p {
  font-size: 14px;
  color: var(--ink-secondary);
}

.video-reel {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-block: 24px;
}

.video-reel video {
  width: 100%;
  display: block;
  border-radius: var(--radius-xs);
}

.website-art {
  background: var(--ink);
  color: var(--paper);
  padding: 48px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-sm);
  border: 1px solid var(--rule);
}

.website-art .art-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 5.5vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: #fff;
}

.website-art .art-type {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 26px;
  line-height: 1.2;
  margin-top: 16px;
  color: #ded8ce;
}

.website-art .art-line {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #363029;
  padding-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #b8b0a5;
  letter-spacing: 0.06em;
}

.website-art .swatches {
  display: flex;
  gap: 8px;
  margin-top: 28px;
}

.website-art .swatches span {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  border: 1px solid #363029;
}

.note-box {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.55;
  margin-block: 24px;
}

.gallery-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}

.disclosure {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-xs);
  padding: 16px 20px;
  margin-block: 20px;
}

.disclosure summary {
  font-weight: 600;
  cursor: pointer;
  font-size: 14.5px;
}

.disclosure div {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Responsive Overrides
   ========================================================================== */

@media (max-width: 1000px) {
  .broadsheet-headline-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .showroom-flagship-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .showroom-asymmetric-spread {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .showroom-spread-item.span-7,
  .showroom-spread-item.span-5 {
    grid-column: span 1;
  }
  .showroom-motion-strip {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .reality-ledger-row {
    grid-template-columns: 36px 1fr;
    gap: 16px;
  }
  .prospectus-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .process-editorial-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .cap-ledger-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .cap-col-link {
    justify-content: flex-start;
  }
  .about-editorial-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-portrait-col img {
    max-width: 280px;
  }
  .final-invitation-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hvac-ad-grid, .video-list {
    grid-template-columns: 1fr;
  }
  .project-feature {
    grid-template-columns: 1fr;
  }
  .service-row {
    grid-template-columns: 28px 1fr 24px;
  }
  .service-row p {
    grid-column: 2;
    grid-row: 2;
  }
  .service-row .arrow {
    grid-column: 3;
    grid-row: 1;
  }
  .offer {
    grid-template-columns: 32px 1fr;
    gap: 20px;
  }
  .offer > div:last-child {
    grid-column: 2;
  }
  .reading-grid {
    grid-template-columns: 1fr;
  }
  .timeline-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .about-large {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-large img,
  .builder-image-wrap img {
    max-width: 280px;
  }
}

@media (max-width: 768px) {
  .navlinks {
    display: none;
  }
  .mobile-nav {
    display: block;
    position: relative;
  }
  .mobile-nav summary {
    list-style: none;
    cursor: pointer;
    padding: 8px 14px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    border: 1px solid var(--rule);
    background: var(--surface);
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 6px;
    user-select: none;
  }
  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }
  .mobile-nav[open] nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-card);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 200;
  }
  .mobile-nav[open] nav a {
    padding: 10px 14px;
    border-radius: var(--radius-xs);
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    min-height: 40px;
    display: flex;
    align-items: center;
    text-decoration: none;
  }
  .mobile-nav[open] nav a:hover {
    background: var(--surface);
    color: var(--accent);
  }
  .mobile-contact-btn {
    width: 100%;
    margin-top: 6px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-xs);
    cursor: pointer;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .broadsheet-hero {
    padding-block: 28px 48px;
  }
  .broadsheet-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .broadsheet-title-col h1 {
    font-size: clamp(32px, 8.5vw, 42px);
    letter-spacing: -0.04em;
  }
  .broadsheet-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .broadsheet-cta-group .form-button,
  .broadsheet-cta-group .button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .broadsheet-quick-spec {
    white-space: normal;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .broadsheet-quick-spec .spec-dot {
    display: none;
  }
  .stage-frame-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .stage-frame-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .showroom-header-line {
    font-size: 11px;
    gap: 8px;
  }
  .showroom-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .showroom-actions .button,
  .showroom-actions .text-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .reality-statement-block h2 {
    font-size: clamp(28px, 6.8vw, 36px);
  }
  .reality-ledger-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .prospectus-tier {
    padding: 32px 24px;
  }
  .process-editorial-timeline {
    grid-template-columns: 1fr;
  }
  .credentials-editorial-bar {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .about-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .about-actions .form-button,
  .about-actions .text-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .final-invitation-container {
    padding: 40px 24px;
  }
  .workflow {
    grid-template-columns: 1fr;
  }
  .brand small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .track-disc.is-playing img, .portrait.is-spinning img {
    animation: none !important;
  }
}
