:root {
  color-scheme: light;
    --toggle-light: #fceae2;
  --toggle-dark: #1d2532;
  --noise-layer: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.18'/%3E%3C/svg%3E");
  --bg: var(--toggle-light);
  --bg-soft: #f9d4ed;
  --scribble-pink: #ee719e;
  --surface: var(--toggle-light);
  --surface-strong: #e8e4dc;
  --text: var(--toggle-dark);
  --muted: #5d6470;
  --line: rgba(29, 37, 50, 0.14);
  --accent: #8b8177;
  --accent-strong: var(--toggle-dark);
  --rose: #9c756c;
  --folder: #c7c1b7;
  --folder-deep: #a9a197;
  --shadow: 0 24px 70px rgba(29, 37, 50, 0.15);
  --shadow-tight: 0 12px 34px rgba(29, 37, 50, 0.14);
  --radius: 8px;
  --window-radius: 18px;
  --panel-radius: 24px;
  --max: 1160px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: var(--toggle-dark);
  --bg-soft: #252f3d;
  --surface: var(--toggle-dark);
  --surface-strong: #273242;
  --text: var(--toggle-light);
  --muted: #bbb5ab;
  --line: rgba(222, 218, 211, 0.15);
  --accent: #b8b2aa;
  --accent-strong: var(--toggle-light);
  --rose: #dedad3;
  --folder: #343f50;
  --folder-deep: #4a5668;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.42);
  --shadow-tight: 0 14px 44px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    var(--noise-layer),
    radial-gradient(
      circle at 14% 12%,
      rgba(255, 255, 255, 0.82) 0%,
      rgba(255, 255, 255, 0) 32%
    ),
    radial-gradient(
      circle at 88% 18%,
      rgba(238, 113, 158, 0.38) 0%,
      rgba(238, 113, 158, 0.12) 27%,
      rgba(238, 113, 158, 0) 55%
    ),
    radial-gradient(
      circle at 18% 82%,
      rgba(238, 113, 158, 0.28) 0%,
      rgba(238, 113, 158, 0.08) 30%,
      rgba(238, 113, 158, 0) 58%
    ),
    linear-gradient(
      125deg,
      #fceae2 0%,
      #f9d4ed 32%,
      #fff3ee 63%,
      #fceae2 100%
    );
  background-size: 160px 160px, 150% 150%, 175% 175%, 165% 165%, 220% 220%;
  background-position: 0 0, 0% 0%, 100% 8%, 12% 100%, 0% 50%;
  background-blend-mode: soft-light, normal, normal, normal, normal;
  background-attachment: scroll, fixed, fixed, fixed, fixed;
  animation: portfolio-gradient-flow 18s ease-in-out infinite alternate;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

[data-theme="dark"] body {
  background:
    var(--noise-layer),
    radial-gradient(
      circle at 14% 12%,
      rgba(255, 236, 226, 0.10) 0%,
      rgba(255, 236, 226, 0) 34%
    ),
    radial-gradient(
      circle at 88% 18%,
      rgba(238, 113, 158, 0.30) 0%,
      rgba(238, 113, 158, 0.10) 28%,
      rgba(238, 113, 158, 0) 56%
    ),
    radial-gradient(
      circle at 18% 82%,
      rgba(238, 113, 158, 0.22) 0%,
      rgba(238, 113, 158, 0.07) 31%,
      rgba(238, 113, 158, 0) 59%
    ),
    linear-gradient(
      125deg,
      #1d2532 0%,
      #2a2130 34%,
      #202938 66%,
      #302232 100%
    );
  background-size: 160px 160px, 150% 150%, 175% 175%, 165% 165%, 220% 220%;
  background-position: 0 0, 0% 0%, 100% 8%, 12% 100%, 0% 50%;
  background-blend-mode: soft-light, normal, normal, normal, normal;
  background-attachment: scroll, fixed, fixed, fixed, fixed;
}

@keyframes portfolio-gradient-flow {
  0% {
    background-position: 0 0, 0% 0%, 100% 8%, 12% 100%, 0% 50%;
  }

  50% {
    background-position: 24px 14px, 24% 18%, 72% 34%, 42% 72%, 52% 50%;
  }

  100% {
    background-position: 0 0, 46% 30%, 54% 58%, 72% 40%, 100% 50%;
  }
}

/* Video gallery polish: bigger centered previews, hidden native scrollbar and custom year picker */
.home-video-strip,
.motion-block {
  justify-items: center !important;
}

.home-video-strip .media-arrow-carousel,
.motion-block .media-arrow-carousel {
  width: min(100%, 1120px) !important;
  padding-inline: 54px !important;
}

.motion-featured-grid,
.motion-year-grid,
.home-video-grid,
.media-arrow-carousel .motion-featured-grid,
.media-arrow-carousel .motion-year-grid,
.media-arrow-carousel .home-video-grid {
  justify-content: center !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.motion-featured-grid::-webkit-scrollbar,
.motion-year-grid::-webkit-scrollbar,
.home-video-grid::-webkit-scrollbar,
.media-arrow-carousel .motion-featured-grid::-webkit-scrollbar,
.media-arrow-carousel .motion-year-grid::-webkit-scrollbar,
.media-arrow-carousel .home-video-grid::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.media-arrow-carousel.is-scrollable .motion-featured-grid,
.media-arrow-carousel.is-scrollable .motion-year-grid,
.media-arrow-carousel.is-scrollable .home-video-grid {
  justify-content: flex-start !important;
}

.motion-featured-item,
.home-video-grid .video-showcase-card {
  flex: 0 0 clamp(300px, 31vw, 370px) !important;
  width: clamp(300px, 31vw, 370px) !important;
}

.motion-year-grid .motion-video-card {
  flex: 0 0 clamp(280px, 28vw, 350px) !important;
  width: clamp(280px, 28vw, 350px) !important;
}

.video-showcase-poster,
.motion-poster-wrap,
.motion-video-card-featured[data-format="portrait"] .motion-poster-wrap,
.motion-video-card-featured[data-format="square"] .motion-poster-wrap,
.motion-video-card-featured[data-format="landscape"] .motion-poster-wrap {
  aspect-ratio: 4 / 3 !important;
  border-radius: 16px !important;
  background:
    radial-gradient(circle at 24% 16%, rgba(238, 113, 158, 0.22), transparent 36%),
    #080711 !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 16px 40px rgba(29, 37, 50, 0.16) !important;
}

.video-showcase-poster img,
.motion-poster-wrap img {
  filter: saturate(1.08) contrast(1.04) brightness(1.02) !important;
  object-fit: cover !important;
  object-position: center 38% !important;
}

.motion-video-card[data-video-id="edit-2022-01"] .motion-poster-wrap img,
.motion-video-card[data-video-id="edit-2024-01"] .motion-poster-wrap img,
.motion-video-card[data-video-id="edit-2025-02"] .motion-poster-wrap img {
  object-position: center 30% !important;
}

.motion-video-card[data-video-id="outro-2026"] .motion-poster-wrap img,
.video-showcase-card[data-video-id="outro-2026"] .video-showcase-poster img {
  object-position: center 42% !important;
}

.motion-year-note {
  width: min(680px, 100%) !important;
  margin: -4px auto 10px !important;
  color: var(--muted) !important;
  font-size: clamp(13px, 1.1vw, 15px) !important;
  font-weight: 750 !important;
  line-height: 1.45 !important;
  text-align: center !important;
}

.motion-year-select-wrap {
  width: min(100%, 230px) !important;
}

.motion-year-picker {
  position: relative !important;
  width: min(100%, 230px) !important;
  margin-inline: auto !important;
}

.motion-year-picker .motion-year-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.motion-year-picker__button {
  display: flex !important;
  width: 100% !important;
  min-height: 44px !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 0 16px !important;
  border: 1px solid color-mix(in srgb, var(--text) 16%, transparent) !important;
  border-radius: 16px !important;
  background: color-mix(in srgb, var(--surface) 88%, transparent) !important;
  color: var(--text) !important;
  box-shadow: var(--shadow-tight) !important;
  cursor: pointer !important;
  font: inherit !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

.motion-year-picker__button::after {
  width: 8px !important;
  height: 8px !important;
  border-right: 2px solid currentColor !important;
  border-bottom: 2px solid currentColor !important;
  content: "" !important;
  transform: translateY(-2px) rotate(45deg) !important;
}

.motion-year-picker__menu {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  z-index: 30 !important;
  display: grid !important;
  width: 100% !important;
  gap: 4px !important;
  padding: 8px !important;
  border: 1px solid color-mix(in srgb, var(--text) 16%, transparent) !important;
  border-radius: 16px !important;
  background: color-mix(in srgb, var(--surface) 94%, transparent) !important;
  box-shadow: var(--shadow) !important;
  backdrop-filter: blur(18px) !important;
}

.motion-year-picker__menu[hidden] {
  display: none !important;
}

.motion-year-picker__option {
  min-height: 34px !important;
  padding: 0 11px !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: transparent !important;
  color: var(--text) !important;
  cursor: pointer !important;
  font: inherit !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  text-align: left !important;
}

.motion-year-picker__option:hover,
.motion-year-picker__option[aria-selected="true"] {
  background: color-mix(in srgb, var(--scribble-pink) 18%, var(--surface) 82%) !important;
}

.video-modal-copy {
  width: min(100%, 760px) !important;
  margin: 0 auto 12px !important;
  text-align: center !important;
}

.video-modal-copy span {
  display: none !important;
}

.video-modal-copy h2 {
  margin-bottom: 8px !important;
}

.video-modal-copy p {
  width: min(100%, 620px) !important;
  margin: 0 auto !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
}

.video-modal-copy a {
  color: #fff !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

@media (max-width: 760px) {
  .home-video-strip .media-arrow-carousel,
  .motion-block .media-arrow-carousel {
    padding-inline: 42px !important;
  }

  .motion-featured-item,
  .home-video-grid .video-showcase-card,
  .motion-year-grid .motion-video-card {
    flex-basis: min(76vw, 320px) !important;
    width: min(76vw, 320px) !important;
  }

  .video-showcase-poster,
  .motion-poster-wrap,
  .motion-video-card-featured[data-format="portrait"] .motion-poster-wrap,
  .motion-video-card-featured[data-format="square"] .motion-poster-wrap,
  .motion-video-card-featured[data-format="landscape"] .motion-poster-wrap {
    aspect-ratio: 1 / 1 !important;
  }
}

/* end-of-file final overrides anchor */

/* Absolute last note override: photo-reference paper notes and top click arrows. */
.featured-web-note,
.website-note,
.website-card:nth-child(even) .website-note {
  overflow: visible !important;
  border: 1px solid rgba(32, 38, 48, 0.08) !important;
  border-radius: 9px !important;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.88), transparent 34%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.42), transparent 42%),
    var(--sticky-fibers),
    var(--note-paper-final, #fff8e8) !important;
  box-shadow:
    0 22px 46px rgba(38, 31, 22, 0.12),
    0 4px 12px rgba(38, 31, 22, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
  color: var(--note-ink-final, #162033) !important;
}

.featured-web-note::before,
.website-note::before,
.website-card:nth-child(even) .website-note::before {
  display: block !important;
  position: absolute !important;
  top: 9px !important;
  left: 19px !important;
  z-index: 0 !important;
  width: 32px !important;
  height: 6px !important;
  border-radius: 999px !important;
  background: rgba(76, 63, 45, 0.055) !important;
  content: "" !important;
  transform: rotate(-4deg) !important;
}

.featured-web-note::after,
.website-note::after,
.website-card:nth-child(even) .website-note::after {
  display: block !important;
  position: absolute !important;
  right: 18px !important;
  bottom: 17px !important;
  z-index: 2 !important;
  width: 34px !important;
  height: 40px !important;
  background-color: var(--note-line-final, #ff6e9c) !important;
  content: "" !important;
  opacity: 0.94 !important;
  transform: rotate(-5deg) !important;
  mask-position: center !important;
  mask-repeat: no-repeat !important;
  mask-size: contain !important;
  -webkit-mask-position: center !important;
  -webkit-mask-repeat: no-repeat !important;
  -webkit-mask-size: contain !important;
}

.featured-web-note::after,
.website-card:nth-child(1) .website-note::after {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 42 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 42C11 31 5 22 8 14c2-5 8-6 13 2 5-8 12-7 14-2 3 8-4 17-14 28Z' fill='none' stroke='black' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 42 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 42C11 31 5 22 8 14c2-5 8-6 13 2 5-8 12-7 14-2 3 8-4 17-14 28Z' fill='none' stroke='black' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

.website-card:nth-child(2) .website-note::after {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 44 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M23 5l4 14 13 2-11 8 4 14-11-9-12 9 5-14L4 21l14-2 5-14Z' fill='none' stroke='black' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 44 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M23 5l4 14 13 2-11 8 4 14-11-9-12 9 5-14L4 21l14-2 5-14Z' fill='none' stroke='black' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

.website-card:nth-child(3) .website-note::after {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 36 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 3L7 27h12l-5 18 16-26H18l3-16Z' fill='none' stroke='black' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 36 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 3L7 27h12l-5 18 16-26H18l3-16Z' fill='none' stroke='black' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

.website-card:nth-child(4) .website-note::after {
  width: 38px !important;
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 42 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 5v24M11 18v15M27 18v14M35 23v12c0 6-5 10-12 10h-3c-8 0-13-5-13-12v-5c0-3 5-3 6 0l2 5M8 39l-5 3M8 35H2M12 42l-3 4' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 42 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 5v24M11 18v15M27 18v14M35 23v12c0 6-5 10-12 10h-3c-8 0-13-5-13-12v-5c0-3 5-3 6 0l2 5M8 39l-5 3M8 35H2M12 42l-3 4' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

.sticky-tape {
  top: -17px !important;
  left: 50% !important;
  width: 62px !important;
  height: 26px !important;
  border-radius: 2px !important;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 5px, rgba(172, 154, 118, 0.055) 5px 10px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), var(--note-tape-final, rgba(232, 222, 198, 0.64))) !important;
  box-shadow:
    0 7px 13px rgba(46, 34, 20, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
  opacity: 0.86 !important;
  transform: translateX(-50%) rotate(-2deg) !important;
}

.website-card:nth-child(even) .sticky-tape {
  transform: translateX(-50%) rotate(2deg) !important;
}

.featured-web-note h3,
.website-note h2,
.website-card:nth-child(even) .website-note h2 {
  position: relative !important;
  display: inline-block !important;
  margin-bottom: 18px !important;
  color: var(--note-ink-final, #162033) !important;
  font-family: "Indie Flower", "Patrick Hand", "Segoe Print", cursive !important;
  font-size: clamp(22px, 1.75vw, 27px) !important;
  font-weight: 600 !important;
  line-height: 1.05 !important;
}

.featured-web-note h3::after,
.website-note h2::after,
.website-card:nth-child(even) .website-note h2::after {
  position: absolute !important;
  left: 0 !important;
  bottom: -8px !important;
  width: 112% !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: var(--note-line-final, #ff6e9c) !important;
  content: "" !important;
  transform: rotate(-1deg) !important;
}

.featured-web-note p,
.website-note p,
.website-card:nth-child(even) .website-note p {
  color: var(--note-muted-final, #233146) !important;
  font-family: "Indie Flower", "Patrick Hand", "Segoe Print", cursive !important;
  font-size: clamp(13.5px, 1vw, 15.8px) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

.websites-top-click {
  gap: 8px !important;
  width: min(390px, 90vw) !important;
  min-height: 96px !important;
  margin: clamp(8px, 1.8vw, 20px) auto clamp(20px, 3vw, 36px) !important;
}

.websites-top-click .click-text-asset {
  width: clamp(156px, 19vw, 228px) !important;
}

.websites-top-click .click-arrow-asset {
  width: clamp(112px, 13vw, 168px) !important;
  transform: translateY(4px) rotate(4deg) !important;
}

.websites-top-click::before,
.websites-top-click::after {
  display: block !important;
  position: absolute !important;
  top: 54px !important;
  width: 84px !important;
  height: 48px !important;
  background-color: var(--note-line-final, #ff6e9c) !important;
  content: "" !important;
  opacity: 0.8 !important;
  pointer-events: none !important;
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 92 54' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8c28 5 52 15 77 35M70 25l13 18-23 2' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  mask-position: center !important;
  mask-repeat: no-repeat !important;
  mask-size: contain !important;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 92 54' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8c28 5 52 15 77 35M70 25l13 18-23 2' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  -webkit-mask-position: center !important;
  -webkit-mask-repeat: no-repeat !important;
  -webkit-mask-size: contain !important;
}

.websites-top-click::before {
  left: -74px !important;
  transform: scaleX(-1) rotate(-4deg) !important;
}

.websites-top-click::after {
  right: -74px !important;
  transform: rotate(-4deg) !important;
}

@media (max-width: 760px) {
  .websites-top-click::before,
  .websites-top-click::after {
    display: none !important;
  }

  .websites-top-click {
    width: min(304px, 90vw) !important;
    min-height: 86px !important;
  }

  .websites-top-click .click-text-asset {
    width: clamp(132px, 42vw, 164px) !important;
  }

  .websites-top-click .click-arrow-asset {
    width: clamp(86px, 26vw, 110px) !important;
  }
}

/* Final sticky-note pass from the photo references. */
:root {
  --note-paper-final: #fff8e8;
  --note-ink-final: #162033;
  --note-muted-final: #233146;
  --note-line-final: #ff6e9c;
  --note-tape-final: rgba(232, 222, 198, 0.64);
}

[data-theme="dark"] {
  --note-paper-final: #efe8d9;
  --note-ink-final: #141b2a;
  --note-muted-final: #243046;
  --note-line-final: #f06a98;
  --note-tape-final: rgba(239, 232, 214, 0.64);
}

.featured-web-note,
.website-note,
.website-card:nth-child(even) .website-note {
  overflow: visible !important;
  border: 1px solid rgba(32, 38, 48, 0.08) !important;
  border-radius: 9px !important;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.88), transparent 34%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.42), transparent 42%),
    var(--sticky-fibers),
    var(--note-paper-final) !important;
  box-shadow:
    0 22px 46px rgba(38, 31, 22, 0.12),
    0 4px 12px rgba(38, 31, 22, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
  color: var(--note-ink-final) !important;
}

.featured-web-note::before,
.website-note::before,
.website-card:nth-child(even) .website-note::before {
  display: block !important;
  position: absolute !important;
  top: 9px !important;
  left: 19px !important;
  z-index: 0 !important;
  width: 32px !important;
  height: 6px !important;
  border-radius: 999px !important;
  background: rgba(76, 63, 45, 0.055) !important;
  content: "" !important;
  transform: rotate(-4deg) !important;
}

.featured-web-note::after,
.website-note::after,
.website-card:nth-child(even) .website-note::after {
  display: block !important;
  position: absolute !important;
  right: 18px !important;
  bottom: 17px !important;
  z-index: 2 !important;
  width: 34px !important;
  height: 40px !important;
  background-color: var(--note-line-final) !important;
  content: "" !important;
  opacity: 0.94 !important;
  transform: rotate(-5deg) !important;
  mask-position: center !important;
  mask-repeat: no-repeat !important;
  mask-size: contain !important;
  -webkit-mask-position: center !important;
  -webkit-mask-repeat: no-repeat !important;
  -webkit-mask-size: contain !important;
}

.featured-web-note::after,
.website-card:nth-child(1) .website-note::after {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 42 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 42C11 31 5 22 8 14c2-5 8-6 13 2 5-8 12-7 14-2 3 8-4 17-14 28Z' fill='none' stroke='black' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 42 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 42C11 31 5 22 8 14c2-5 8-6 13 2 5-8 12-7 14-2 3 8-4 17-14 28Z' fill='none' stroke='black' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.website-card:nth-child(2) .website-note::after {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 44 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M23 5l4 14 13 2-11 8 4 14-11-9-12 9 5-14L4 21l14-2 5-14Z' fill='none' stroke='black' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 44 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M23 5l4 14 13 2-11 8 4 14-11-9-12 9 5-14L4 21l14-2 5-14Z' fill='none' stroke='black' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.website-card:nth-child(3) .website-note::after {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 36 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 3L7 27h12l-5 18 16-26H18l3-16Z' fill='none' stroke='black' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 36 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 3L7 27h12l-5 18 16-26H18l3-16Z' fill='none' stroke='black' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.website-card:nth-child(4) .website-note::after {
  width: 38px !important;
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 42 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 5v24M11 18v15M27 18v14M35 23v12c0 6-5 10-12 10h-3c-8 0-13-5-13-12v-5c0-3 5-3 6 0l2 5M8 39l-5 3M8 35H2M12 42l-3 4' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 42 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 5v24M11 18v15M27 18v14M35 23v12c0 6-5 10-12 10h-3c-8 0-13-5-13-12v-5c0-3 5-3 6 0l2 5M8 39l-5 3M8 35H2M12 42l-3 4' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.sticky-tape {
  top: -17px !important;
  left: 50% !important;
  width: 62px !important;
  height: 26px !important;
  border-radius: 2px !important;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 5px, rgba(172, 154, 118, 0.055) 5px 10px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), var(--note-tape-final)) !important;
  box-shadow:
    0 7px 13px rgba(46, 34, 20, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
  opacity: 0.86 !important;
  transform: translateX(-50%) rotate(-2deg) !important;
}

.website-card:nth-child(even) .sticky-tape {
  transform: translateX(-50%) rotate(2deg) !important;
}

.featured-web-note h3,
.website-note h2,
.website-card:nth-child(even) .website-note h2 {
  position: relative !important;
  display: inline-block !important;
  margin-bottom: 18px !important;
  color: var(--note-ink-final) !important;
  font-family: "Indie Flower", "Patrick Hand", "Segoe Print", cursive !important;
  font-size: clamp(22px, 1.75vw, 27px) !important;
  font-weight: 600 !important;
  line-height: 1.05 !important;
}

.featured-web-note h3::after,
.website-note h2::after,
.website-card:nth-child(even) .website-note h2::after {
  position: absolute !important;
  left: 0 !important;
  bottom: -8px !important;
  width: 112% !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: var(--note-line-final) !important;
  content: "" !important;
  transform: rotate(-1deg) !important;
}

.featured-web-note p,
.website-note p,
.website-card:nth-child(even) .website-note p {
  color: var(--note-muted-final) !important;
  font-family: "Indie Flower", "Patrick Hand", "Segoe Print", cursive !important;
  font-size: clamp(13.5px, 1vw, 15.8px) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

.websites-top-click {
  gap: 8px !important;
  width: min(390px, 90vw) !important;
  min-height: 96px !important;
  margin: clamp(8px, 1.8vw, 20px) auto clamp(20px, 3vw, 36px) !important;
}

.websites-top-click .click-text-asset {
  width: clamp(156px, 19vw, 228px) !important;
}

.websites-top-click .click-arrow-asset {
  width: clamp(112px, 13vw, 168px) !important;
  transform: translateY(4px) rotate(4deg) !important;
}

.websites-top-click::before,
.websites-top-click::after {
  display: block !important;
  position: absolute !important;
  top: 54px !important;
  width: 84px !important;
  height: 48px !important;
  background-color: var(--note-line-final) !important;
  content: "" !important;
  opacity: 0.8 !important;
  pointer-events: none !important;
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 92 54' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8c28 5 52 15 77 35M70 25l13 18-23 2' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-position: center !important;
  mask-repeat: no-repeat !important;
  mask-size: contain !important;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 92 54' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8c28 5 52 15 77 35M70 25l13 18-23 2' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-position: center !important;
  -webkit-mask-repeat: no-repeat !important;
  -webkit-mask-size: contain !important;
}

.websites-top-click::before {
  left: -74px !important;
  transform: scaleX(-1) rotate(-4deg) !important;
}

.websites-top-click::after {
  right: -74px !important;
  transform: rotate(-4deg) !important;
}

@media (max-width: 760px) {
  .websites-top-click::before,
  .websites-top-click::after {
    display: none !important;
  }

  .websites-top-click {
    width: min(304px, 90vw) !important;
    min-height: 86px !important;
  }

  .websites-top-click .click-text-asset {
    width: clamp(132px, 42vw, 164px) !important;
  }

  .websites-top-click .click-arrow-asset {
    width: clamp(86px, 26vw, 110px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body {
    animation: none;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.theme-asset {
  display: block;
  pointer-events: none;
  user-select: none;
}

.theme-asset img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.theme-asset img.theme-asset-dark {
  display: none;
}

[data-theme="dark"] .theme-asset img.theme-asset-light {
  display: none;
}

[data-theme="dark"] .theme-asset img.theme-asset-dark {
  display: block;
}

[data-theme="dark"] .click-arrow-link .theme-asset img.theme-asset-dark {
  filter:
    brightness(0)
    saturate(100%)
    invert(92%)
    sepia(9%)
    saturate(205%)
    hue-rotate(353deg)
    brightness(98%)
    contrast(88%)
    drop-shadow(0 2px 4px rgba(0, 0, 0, 0.28));
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 40;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 0;
  pointer-events: none;
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 54px;
  pointer-events: none;
}

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

.brand,
.nav-shell,
.header-actions {
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  box-shadow: 0 18px 48px rgba(61, 43, 36, 0.14);
  backdrop-filter: blur(22px) saturate(1.35);
}

[data-theme="dark"] .brand,
[data-theme="dark"] .nav-shell,
[data-theme="dark"] .header-actions {
  background: color-mix(in srgb, var(--surface) 72%, transparent);
}

.nav-shell {
  position: relative;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding: 8px;
  border-radius: 999px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  min-height: 46px;
  overflow: hidden;
  flex: 0 0 auto;
  padding: 0;
  border-radius: 50%;
  font-weight: 800;
  white-space: nowrap;
}

.brand-memoji {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.62) translateY(8%);
  transform-origin: center;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.site-nav a {
  position: relative;
  padding: 8px 12px;
  border-radius: 999px;
}

.site-nav a::after {
  content: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: color-mix(in srgb, var(--surface-strong) 72%, transparent);
}

.theme-toggle,
.nav-toggle {
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  box-shadow: none;
}

.header-actions {
  display: grid;
  width: 76px;
  height: 46px;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.theme-toggle {
  position: relative;
  display: grid;
  width: 70px;
  height: 36px;
  place-items: center;
  padding: 0;
  overflow: hidden;
  border-radius: 999px;
  background: var(--toggle-light);
  box-shadow:
    8px 8px 18px color-mix(in srgb, var(--toggle-dark) 20%, transparent),
    -8px -8px 18px rgba(255, 255, 255, 0.4),
    inset 1px 1px 2px rgba(255, 255, 255, 0.48),
    inset -1px -1px 2px color-mix(in srgb, var(--toggle-dark) 14%, transparent);
}

[data-theme="dark"] .theme-toggle {
  background: var(--toggle-dark);
  box-shadow:
    8px 8px 18px rgba(0, 0, 0, 0.3),
    -8px -8px 18px rgba(222, 218, 211, 0.04),
    inset 1px 1px 2px rgba(222, 218, 211, 0.08),
    inset -1px -1px 2px rgba(0, 0, 0, 0.42);
}

.theme-thumb {
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 1;
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--toggle-dark);
  box-shadow:
    3px 3px 8px rgba(29, 37, 50, 0.24),
    -2px -2px 6px rgba(255, 255, 255, 0.25),
    inset 1px 1px 1px rgba(222, 218, 211, 0.12),
    inset -1px -1px 1px rgba(0, 0, 0, 0.3);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.theme-thumb::after {
  content: none;
}

[data-theme="dark"] .theme-thumb {
  transform: translateX(34px);
  background: var(--toggle-light);
  box-shadow:
    3px 3px 8px rgba(0, 0, 0, 0.32),
    -2px -2px 6px rgba(222, 218, 211, 0.08),
    inset 1px 1px 1px rgba(255, 255, 255, 0.28),
    inset -1px -1px 1px rgba(29, 37, 50, 0.18);
}

[data-theme="dark"] .theme-thumb::after {
  content: none;
}

.nav-toggle {
  position: relative;
  display: none;
  width: 48px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.34)),
    color-mix(in srgb, var(--surface) 78%, transparent);
}

[data-theme="dark"] .nav-toggle {
  background:
    linear-gradient(135deg, rgba(155, 124, 255, 0.18), rgba(255, 255, 255, 0.06)),
    color-mix(in srgb, var(--surface-strong) 82%, transparent);
}

.nav-toggle::before,
.nav-toggle span {
  position: absolute;
  left: 14px;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease, top 180ms ease;
}

.nav-toggle::before {
  top: 20px;
  content: "";
}

.nav-toggle span:first-child {
  top: 15px;
}

.nav-toggle span:last-child {
  top: 25px;
}

.nav-toggle[aria-expanded="true"]::before {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  top: 20px;
  transform: rotate(42deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  top: 20px;
  transform: rotate(-42deg);
}

main {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.cover {
  min-height: calc(100svh - 82px);
  padding: 26px 0 86px;
}

.home-cover {
  min-height: auto;
  padding: 10px 0 18px;
}

.hero-preview {
  position: relative;
  width: min(96%, 1100px);
  margin: 14px auto 0;
  overflow: hidden;
  border: 0;
  border-radius: 28px;
  background: transparent;
  box-shadow: none;
}

.hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1672 / 941;
  object-fit: cover;
  image-rendering: auto;
}

.hero-image-dark {
  display: none;
}

[data-theme="dark"] .hero-image-light {
  display: none;
}

[data-theme="dark"] .hero-image-dark {
  display: block;
}

.cover-kicker {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.desktop-board {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.home-desktop {
  min-height: 640px;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.desktop-board::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, transparent 0 58%, color-mix(in srgb, var(--accent) 16%, transparent) 58% 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 62%, transparent), transparent);
  content: "";
}

.home-desktop::before {
  inset: 32px 0 16px;
  border: 1px solid color-mix(in srgb, var(--line) 54%, transparent);
  border-radius: 30px;
  background:
    linear-gradient(135deg, transparent 0 58%, color-mix(in srgb, var(--accent) 13%, transparent) 58% 100%),
    color-mix(in srgb, var(--surface) 42%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(4px);
}

[data-theme="dark"] .desktop-board::before {
  background:
    linear-gradient(135deg, transparent 0 56%, rgba(111, 141, 255, 0.12) 56% 100%),
    linear-gradient(180deg, rgba(155, 124, 255, 0.12), transparent);
}

[data-theme="dark"] .home-desktop::before {
  background:
    linear-gradient(135deg, transparent 0 58%, rgba(111, 141, 255, 0.12) 58% 100%),
    color-mix(in srgb, var(--surface) 48%, transparent);
}

.cover-title {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: min(760px, 88%);
  text-align: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cover-title p {
  position: absolute;
  top: -42px;
  left: 8%;
  margin: 0;
  color: var(--accent-strong);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(46px, 8vw, 104px);
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}

.cover-title h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(61px, 11.2vw, 142px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.9;
}

[data-theme="dark"] .cover-title h1 {
  -webkit-text-stroke: 1px rgba(11, 6, 20, 0.5);
  text-shadow: 0 14px 28px rgba(11, 6, 20, 0.72);
}

.cover-title span {
  display: block;
  margin-top: 22px;
  font-size: clamp(24px, 5vw, 44px);
  font-weight: 700;
}

.desktop-folder,
.desktop-file,
.desktop-window,
.desktop-app {
  position: absolute;
  z-index: 2;
}

.desktop-folder {
  display: grid;
  gap: 10px;
  justify-items: center;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.folder-shape {
  position: relative;
  display: block;
  width: 112px;
  height: 78px;
  border: 1px solid color-mix(in srgb, var(--folder-deep) 48%, var(--line));
  border-radius: 7px;
  background: linear-gradient(180deg, var(--folder), var(--folder-deep));
  box-shadow: var(--shadow-tight);
}

.folder-shape::before {
  position: absolute;
  top: -13px;
  left: 10px;
  width: 48px;
  height: 18px;
  border: 1px solid color-mix(in srgb, var(--folder-deep) 48%, var(--line));
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  background: var(--folder);
  content: "";
}

.folder-web {
  top: 120px;
  left: 94px;
}

.folder-media {
  right: 84px;
  bottom: 92px;
}

.desktop-file,
.desktop-window {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow-tight);
}

.desktop-file {
  width: 132px;
  padding: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.desktop-file img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
}

.file-video {
  top: 86px;
  right: 184px;
}

.desktop-window {
  right: 184px;
  bottom: 150px;
  width: 260px;
  padding: 10px;
  font-size: 12px;
  font-weight: 700;
}

.desktop-window img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
}

.desktop-app {
  top: 178px;
  right: 90px;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--line) 76%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface-strong) 86%, transparent);
  color: var(--text);
  box-shadow: var(--shadow-tight);
  font-weight: 800;
}

.desktop-app svg {
  display: block;
  width: 100%;
  height: 100%;
}

.home-desktop .bg-app {
  z-index: 1;
  width: 60px;
  height: 60px;
  padding: 9px;
  opacity: 0.78;
}

.bg-html { top: 94px; left: 22%; }
.bg-css { top: 120px; left: 60%; }
.bg-js { right: 19%; top: 254px; }
.bg-php { left: 22%; bottom: 180px; }
.bg-ae { left: 33%; bottom: 96px; }
.bg-ps { right: 33%; bottom: 86px; }
.bg-canva { right: 9%; bottom: 185px; }
.bg-pr { left: 7%; top: 300px; }

.home-desktop .bg-folder {
  z-index: 1;
  opacity: 0.72;
}

.bg-folder-one {
  left: 48%;
  top: 84px;
}

.bg-folder-two {
  right: 26%;
  bottom: 120px;
}

.home-desktop .folder-web,
.home-desktop .file-video,
.home-desktop .folder-media,
.home-desktop .desktop-window,
.home-desktop .app-figma {
  z-index: 2;
}

.cursor-arrow {
  position: absolute;
  right: 320px;
  bottom: 198px;
  z-index: 3;
  width: 0;
  height: 0;
  border-top: 34px solid var(--text);
  border-right: 20px solid transparent;
  border-left: 12px solid transparent;
  transform: rotate(-38deg);
}

.cursor-arrow::after {
  position: absolute;
  top: -30px;
  left: -7px;
  width: 0;
  height: 0;
  border-top: 22px solid var(--surface);
  border-right: 13px solid transparent;
  border-left: 8px solid transparent;
  content: "";
}

.cover-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  width: min(96%, 1100px);
  margin: 18px auto 0;
}

.cover-footer p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
}

.section {
  padding: 84px 0;
}

.home-cover + .intro-grid {
  padding-top: 56px;
}

.intro-grid,
.about-slice,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.home-intro {
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.home-intro h2 {
  max-width: 820px;
  margin-inline: auto;
}

.home-intro .section-note {
  max-width: 720px;
  margin: 0 auto;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: min(72vw, 920px);
  margin-bottom: 22px;
  font-size: clamp(37px, 5.6vw, 67px);
  font-weight: 800;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 800;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.25;
}

.lead,
.section-note,
.project-card p,
.media-card p,
.bio-window p,
.contact-links p,
.about-slice p {
  color: var(--muted);
}

.lead {
  max-width: 680px;
  margin-bottom: 0;
  font-size: clamp(18px, 2.2vw, 22px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.text-link::after {
  width: 34px;
  height: 2px;
  margin-left: 12px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translateX(5px);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid var(--text);
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 800;
  cursor: pointer;
}

.button:hover {
  background: transparent;
  color: var(--text);
}

.button-small {
  min-height: 40px;
  padding: 0 15px;
  font-size: 13px;
}

.button-secondary {
  border-color: var(--line);
  background: color-mix(in srgb, var(--surface-strong) 76%, transparent);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--text);
  background: var(--text);
  color: var(--bg);
}

.button-symbol {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.play-symbol::before {
  position: absolute;
  top: 3px;
  left: 5px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
  content: "";
}

.external-symbol::before {
  position: absolute;
  top: 3px;
  right: 2px;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
}

.external-symbol::after {
  position: absolute;
  right: 4px;
  bottom: 3px;
  width: 11px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transform: rotate(-45deg);
  transform-origin: right center;
}

.next-symbol::before {
  position: absolute;
  top: 7px;
  left: 2px;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.next-symbol::after {
  position: absolute;
  top: 4px;
  right: 2px;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.mail-symbol::before {
  position: absolute;
  inset: 3px 1px;
  border: 2px solid currentColor;
  border-radius: 3px;
  content: "";
}

.mail-symbol::after {
  position: absolute;
  top: 5px;
  left: 3px;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 94px;
}

.featured-web {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  grid-column: 1 / -1;
  align-items: start;
  overflow: visible;
  --web-window: min(70vw, 840px);
  --web-half: min(35vw, 420px);
  --side-note: 200px;
  --side-gap: 18px;
}

.featured-web-screen {
  position: relative;
  display: block;
  grid-column: 1;
  grid-row: 1;
  width: var(--web-window);
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--window-radius);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 82%, transparent), color-mix(in srgb, var(--surface) 94%, transparent));
  box-shadow: var(--shadow-tight);
}

.featured-web-screen .browser-bar {
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 62%, transparent);
  border-radius: 0;
  background: color-mix(in srgb, var(--surface-strong) 82%, transparent);
}

.featured-web-viewport {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 0;
  background: color-mix(in srgb, var(--surface-strong) 80%, transparent);
}

.featured-web-viewport img {
  width: calc(100% + 32px);
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: translateX(-16px);
}

.featured-web-note {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: calc(50% - var(--web-half) - var(--side-note) - var(--side-gap));
  width: var(--side-note);
  padding: 16px 18px;
  border: 1px solid color-mix(in srgb, var(--line) 68%, transparent);
  border-radius: 12px;
  background:
    linear-gradient(180deg, color-mix(in srgb, #fff8cf 72%, var(--surface-strong)), color-mix(in srgb, #fff2b8 34%, var(--surface))),
    var(--surface);
  box-shadow: 0 18px 38px rgba(31, 18, 40, 0.16);
  transform: translateY(-50%) rotate(-1.2deg);
}

[data-theme="dark"] .featured-web-note {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 84%, #f58ac2 8%), color-mix(in srgb, var(--surface) 86%, #882043 12%)),
    var(--surface);
}

.featured-web-note::before {
  position: absolute;
  top: -10px;
  left: 22px;
  width: 56px;
  height: 18px;
  border: 1px solid color-mix(in srgb, var(--line) 50%, transparent);
  border-radius: 4px;
  background: color-mix(in srgb, var(--surface-strong) 62%, transparent);
  content: "";
  transform: rotate(4deg);
}

.featured-web-note h3,
.featured-web-note p {
  margin-bottom: 0;
}

.featured-web-note p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.featured-web-button {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: calc(50% + var(--web-half) + var(--side-gap));
}

.home-video-strip {
  display: grid;
  grid-column: 1 / -1;
  gap: clamp(16px, 2vw, 22px);
  justify-items: center;
  width: min(100%, 820px);
  margin-inline: auto;
}

.home-video-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 36px);
  width: 100%;
  text-align: center;
}

.home-video-heading h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 0.95;
}

.home-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  gap: clamp(14px, 2vw, 22px);
  width: 100%;
}

.showcase-card {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-tight);
}

.showcase-card.wide {
  grid-row: span 2;
}

.showcase-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.showcase-card span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
  backdrop-filter: blur(14px);
}

.showcase-card strong {
  font-size: 20px;
}

.showcase-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.video-showcase-card {
  display: grid;
  justify-items: stretch;
  overflow: hidden;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--window-radius);
  background: var(--surface);
  box-shadow: var(--shadow-tight);
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease;
}

.video-showcase-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.video-showcase-poster {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--text) 18%, transparent);
  border-radius: calc(var(--window-radius) - 6px);
  background: #080711;
}

.video-showcase-poster img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-showcase-placeholder,
.media-placeholder {
  display: grid;
  min-height: 260px;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface-strong) 72%, transparent), color-mix(in srgb, var(--rose) 10%, var(--surface))),
    var(--surface);
  color: var(--muted);
  font-family: Caveat, "Bradley Hand", cursive;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.year-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border-top: 1px solid var(--line);
}

.year-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-tight);
}

.year-card span,
.timeline-year {
  color: var(--rose);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(42px, 6vw, 74px);
  font-style: italic;
  font-weight: 700;
  line-height: 0.95;
}

.year-card p {
  margin: 18px 0 0;
  font-weight: 800;
}

.ios-profile-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 360px;
  padding: 32px;
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  border-radius: var(--panel-radius);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--surface-strong) 92%, transparent), color-mix(in srgb, var(--accent) 8%, var(--surface))),
    var(--surface);
  box-shadow: var(--shadow);
}

[data-theme="dark"] .ios-profile-card {
  background:
    radial-gradient(circle at 34% 18%, rgba(155, 124, 255, 0.28), transparent 32%),
    linear-gradient(145deg, var(--surface-strong), var(--surface));
}

.about-profile-card {
  min-height: 420px;
  grid-template-columns: 1fr;
  align-content: center;
  justify-items: center;
  grid-row: auto;
  text-align: center;
}

.about-profile-card .memoji-photo-card.large {
  width: min(100%, 260px);
}

.about-profile-card h2 {
  font-size: clamp(34px, 4vw, 52px);
}

.ios-profile-card h2,
.ios-profile-card h3,
.ios-profile-card p {
  margin-bottom: 0;
}

.ios-profile-card h2 {
  font-size: clamp(36px, 4.5vw, 64px);
}

.memoji-photo-card {
  display: grid;
  width: clamp(150px, 18vw, 230px);
  aspect-ratio: 1;
  place-items: end center;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.memoji-photo-card.large {
  width: min(100%, 300px);
}

.memoji-photo-card img {
  width: 112%;
  max-width: none;
  filter: drop-shadow(0 20px 26px rgba(61, 43, 36, 0.14));
  transform: translateY(5%);
}

.profile-lines {
  display: grid;
  gap: 2px;
  margin: 8px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.35;
  list-style: none;
}

.about-copy {
  display: grid;
  justify-items: center;
  align-content: center;
  max-width: 720px;
  text-align: center;
}

.about-copy p {
  max-width: 620px;
}

.about-copy .text-link {
  justify-self: end;
}

.portrait-panel {
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--folder) 26%, transparent), transparent),
    var(--surface);
  box-shadow: var(--shadow-tight);
  display: grid;
  place-items: center;
}

.portrait-shape {
  display: grid;
  width: min(70%, 320px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 28% 42% 34% 46%;
  background: linear-gradient(145deg, var(--text), color-mix(in srgb, var(--rose) 58%, var(--text)));
  color: var(--surface);
  font-size: clamp(54px, 9vw, 108px);
  font-weight: 800;
  box-shadow: var(--shadow);
}

.contact-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  justify-items: center;
  align-items: center;
  padding: 58px 0 72px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.contact-band h2 {
  max-width: 820px;
  margin: 0;
}

.pricing-preview {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 28px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.pricing-preview-heading {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.pricing-preview-heading h2 {
  margin-bottom: 0;
}

.pricing-mini-grid {
  display: grid;
  gap: 14px;
  width: min(620px, 100%);
}

.price-mini {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  box-shadow: var(--shadow-tight);
}

.price-mini span {
  color: var(--muted);
  font-weight: 800;
}

.price-mini strong {
  font-size: 18px;
}

.site-footer {
  display: grid;
  justify-items: center;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.footer-icon {
  display: grid;
  place-items: center;
  width: 46px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  box-shadow: var(--shadow-tight);
  color: var(--text);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.footer-icon:hover {
  border-color: rgba(238, 113, 158, 0.54);
  background: color-mix(in srgb, var(--surface-strong) 88%, var(--rose) 8%);
  transform: translateY(-2px);
}

.footer-icon svg,
.footer-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.footer-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

[data-theme="dark"] .footer-icon img {
  filter: invert(1);
}

.page-cover {
  padding: 92px 0 74px;
  border-bottom: 1px solid var(--line);
  margin-inline: auto;
  text-align: center;
}

.page-cover h1,
.page-cover .lead {
  margin-inline: auto;
}

.about-cover,
.contact-cover,
.websites-cover,
.pricing-cover {
  max-width: min(900px, 100%);
}

.timeline-board {
  display: grid;
  gap: 0;
  padding: 70px 0 20px;
  border-bottom: 1px solid var(--line);
}

.timeline-group {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.timeline-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 138px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-tight);
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease;
}

.timeline-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.timeline-card img {
  width: 128px;
  aspect-ratio: 1.18;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.work-category {
  padding: 78px 0;
  border-bottom: 1px solid var(--line);
}

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

.section-heading h2 {
  margin: 0;
}

.centered-heading {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.centered-heading h2 {
  max-width: 860px;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card,
.media-card,
.bio-window,
.mail-window,
.contact-links,
.skill-folder,
.ios-skill-folder,
.website-card {
  border: 1px solid var(--line);
  border-radius: var(--window-radius);
  background: var(--surface);
  box-shadow: var(--shadow-tight);
}

.project-card {
  overflow: hidden;
}

.project-card img,
.media-card img,
.media-placeholder {
  width: 100%;
  aspect-ratio: 1.32;
  object-fit: cover;
}

.project-copy,
.media-card {
  padding: 22px;
}

.project-title {
  display: flex;
  gap: 14px;
  align-items: baseline;
  justify-content: space-between;
}

.project-title h3 {
  margin-bottom: 8px;
}

.project-title span {
  color: var(--rose);
  font-size: 14px;
  font-weight: 800;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.video-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.more-videos {
  margin-top: 18px;
  animation: revealVideos 220ms ease both;
}

.more-videos[hidden] {
  display: none;
}

@keyframes revealVideos {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .more-videos {
    animation: none;
  }
}

.media-card {
  display: grid;
  gap: 14px;
}

.media-card img {
  margin: -22px -22px 2px;
  width: calc(100% + 44px);
}

.equal-grid > * {
  min-height: 100%;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-self: end;
  margin-top: auto;
}

/* Video work section */
.motion-section {
  display: grid;
  gap: clamp(28px, 5vw, 52px);
  text-align: center;
}

.motion-heading {
  display: grid;
  justify-items: center;
  text-align: center;
}

.motion-heading h2 {
  margin-bottom: 14px;
}

.motion-heading p {
  width: min(100%, 720px);
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
}

.motion-block {
  display: grid;
  gap: 20px;
  justify-items: center;
}

.motion-subheading {
  display: grid;
  gap: 18px;
  justify-items: center;
  width: 100%;
  text-align: center;
}

.motion-subheading h2,
.motion-subheading h3 {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 0.95;
}

.motion-subheading-filtered {
  align-items: center;
}

.motion-featured-grid,
.motion-year-grid {
  display: grid;
  align-items: start;
  gap: clamp(14px, 2vw, 22px);
}

.motion-featured-grid {
  grid-template-columns: repeat(3, minmax(0, 220px));
  justify-content: center;
  width: min(100%, 860px);
  margin-inline: auto;
}

.motion-featured-item {
  display: grid;
  align-content: start;
  gap: 12px;
  justify-items: center;
  min-width: 0;
}

.motion-year-groups {
  display: grid;
  gap: clamp(28px, 5vw, 48px);
}

.motion-year-group {
  display: grid;
  gap: 16px;
  justify-items: center;
  width: 100%;
  animation: motionReveal 180ms ease both;
}

.motion-year-heading {
  display: grid;
  gap: 8px;
  justify-items: center;
  min-height: 54px;
  text-align: center;
}

.motion-year-heading h4 {
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
}

.motion-year-heading p {
  width: min(100%, 560px);
  min-height: 1.35em;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: lowercase;
}

.motion-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.motion-filters button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  box-shadow: var(--shadow-tight);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.motion-filters button[aria-pressed="true"] {
  border-color: rgba(238, 113, 158, 0.68);
  background: rgba(238, 113, 158, 0.16);
  color: var(--text);
}

.motion-filters button:hover {
  transform: translateY(-2px);
}

.motion-filters button:focus-visible,
.motion-video-card:focus-visible,
.video-modal-close:focus-visible {
  outline: 3px solid rgba(238, 113, 158, 0.42);
  outline-offset: 4px;
}

.motion-year-grid {
  grid-template-columns: repeat(auto-fit, minmax(clamp(130px, 14vw, 168px), clamp(130px, 14vw, 168px)));
  justify-content: center;
  width: 100%;
}

.motion-video-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: clamp(9px, 1.2vw, 12px);
  border: 1px solid color-mix(in srgb, var(--text) 18%, transparent);
  border-radius: var(--window-radius);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: var(--shadow-tight);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.motion-video-card-featured {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.motion-video-card-featured:hover {
  box-shadow: none;
}

.motion-video-card-featured[data-format="portrait"] .motion-poster-wrap {
  aspect-ratio: 9 / 16;
}

.motion-video-card-featured[data-format="landscape"] .motion-poster-wrap {
  aspect-ratio: 16 / 9;
}

.motion-video-card-featured[data-format="square"] .motion-poster-wrap {
  aspect-ratio: 1;
}

.motion-video-card:hover {
  border-color: rgba(238, 113, 158, 0.52);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.motion-poster-wrap {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--text) 20%, transparent);
  border-radius: calc(var(--window-radius) - 6px);
  background: #171521;
}

.motion-poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.motion-featured-caption {
  min-height: 2.7em;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.motion-featured-caption a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.motion-play-icon {
  position: absolute;
  inset: auto 12px 12px auto;
  display: grid;
  place-items: center;
  width: clamp(34px, 4vw, 44px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(12, 9, 15, 0.58);
  backdrop-filter: blur(10px);
  transition: transform 180ms ease;
}

.motion-play-icon::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #fff;
}

.motion-video-card:hover .motion-play-icon {
  transform: scale(1.08);
}

[data-theme="dark"] .motion-filters button,
[data-theme="dark"] .motion-video-card {
  background: color-mix(in srgb, var(--surface-strong) 74%, transparent);
}

[data-theme="dark"] .motion-video-card-featured {
  background: transparent;
}

[data-theme="dark"] .motion-poster-wrap {
  border-color: rgba(222, 218, 211, 0.12);
  background: #080711;
}

body.video-modal-open {
  overflow: hidden;
}

.video-modal[hidden] {
  display: none;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 13, 0.72);
  backdrop-filter: blur(14px);
}

.video-modal-panel {
  position: relative;
  display: grid;
  gap: 16px;
  width: min(100%, 960px);
  max-height: calc(100vh - 28px);
  padding: clamp(16px, 3vw, 24px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow);
}

[data-theme="dark"] .video-modal-panel {
  background: color-mix(in srgb, var(--toggle-dark) 94%, transparent);
}

.video-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(238, 113, 158, 0.16);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.video-modal-copy {
  display: grid;
  gap: 4px;
  padding-right: 42px;
}

.video-modal-copy span {
  color: #ee719e;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.video-modal-copy h2 {
  margin: 0;
  font-size: clamp(24px, 4vw, 40px);
}

.video-modal-media {
  display: grid;
  place-items: center;
  justify-self: center;
  width: 100%;
  max-height: calc(100vh - 170px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--panel-radius) - 8px);
  background: #080711;
}

.video-modal-media[data-format="portrait"] {
  width: min(100%, 430px);
  aspect-ratio: 9 / 16;
}

.video-modal-media[data-format="square"] {
  width: min(100%, 620px);
  aspect-ratio: 1;
}

.video-modal-media[data-format="landscape"] {
  aspect-ratio: 16 / 9;
}

.video-modal-media video {
  display: block;
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 170px);
  background: #080711;
  object-fit: contain;
}

@keyframes motionReveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-year-group,
  .motion-filters button,
  .motion-video-card,
  .motion-play-icon {
    animation: none;
    transition: none;
  }
}

@media (max-width: 1120px) {
  .motion-year-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .home-video-grid,
  .motion-featured-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .motion-year-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 150px));
    justify-content: center;
  }

  .home-video-grid .video-showcase-card:nth-child(3),
  .motion-featured-grid .motion-video-card:nth-child(3) {
    grid-column: auto;
    width: 100%;
    justify-self: center;
  }

  .motion-subheading-filtered {
    align-items: center;
  }

  .motion-filters {
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .home-video-heading {
    display: grid;
    justify-items: center;
  }

  .home-video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: stretch;
  }

  .motion-section {
    gap: 32px;
  }

  .home-video-grid,
  .motion-featured-grid,
  .motion-year-grid {
    gap: 12px;
  }

  .motion-video-card {
    padding: 9px;
  }

  .video-modal-panel {
    width: 100%;
    padding: 16px;
  }

  .video-modal-media,
  .video-modal-media video {
    max-height: calc(100vh - 150px);
  }
}

@media (max-width: 380px) {
  .home-video-grid,
  .motion-featured-grid,
  .motion-year-grid {
    grid-template-columns: 1fr;
  }

  .home-video-grid .video-showcase-card:nth-child(3),
  .motion-featured-grid .motion-video-card:nth-child(3) {
    grid-column: auto;
    width: 100%;
  }
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: stretch;
  max-width: 1040px;
  margin-inline: auto;
  padding: 72px 0 96px;
}

.bio-window {
  position: relative;
  display: grid;
  align-content: start;
  align-self: stretch;
  min-height: 420px;
  padding: 28px;
  border-radius: var(--panel-radius);
}

.window-bar {
  display: flex;
  width: 100%;
  gap: 7px;
  align-items: center;
  justify-content: flex-start;
  margin: 0 0 24px;
  padding: 0;
}

.window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--line);
}

.window-bar span:nth-child(1) {
  background: var(--rose);
}

.window-bar span:nth-child(2) {
  background: var(--folder);
}

.window-bar span:nth-child(3) {
  background: var(--accent-strong);
}

.skills-desktop {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.skill-folder {
  padding: 28px;
}

.skill-folder .folder-shape {
  width: 86px;
  height: 60px;
  margin-bottom: 22px;
}

.skill-folder p {
  margin-bottom: 0;
  color: var(--muted);
}

.skills-preview-section,
.skills-section {
  border-top: 1px solid var(--line);
}

.skills-section {
  padding: 0 0 96px;
}

.skills-section .section-heading {
  justify-content: center;
  text-align: center;
}

.skills-section .ios-folders-preview {
  max-width: 1040px;
  margin-inline: auto;
}

.ios-folders-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ios-skill-folder {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: var(--panel-radius);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--surface-strong) 74%, transparent), color-mix(in srgb, var(--folder) 18%, var(--surface))),
    var(--surface);
}

[data-theme="dark"] .ios-skill-folder {
  background:
    radial-gradient(circle at 20% 12%, rgba(155, 124, 255, 0.24), transparent 34%),
    var(--surface);
}

.ios-skill-folder h3 {
  margin-bottom: 22px;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 14px;
}

.apps-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.app {
  display: flex;
  min-height: clamp(104px, 9vw, 128px);
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  min-width: 0;
  text-align: center;
}

.app p {
  width: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.app-icon {
  display: grid;
  width: clamp(64px, 5vw, 88px);
  aspect-ratio: 1;
  place-items: center;
  margin-bottom: 14px;
  overflow: hidden;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface-strong) 86%, transparent);
  color: var(--text);
  box-shadow: 0 12px 24px rgba(30, 20, 45, 0.12);
  font-size: 14px;
  font-weight: 900;
}

.app-icon img {
  display: block;
  width: 62%;
  height: 62%;
  object-fit: contain;
  object-position: center;
}

.app-icon .logo-wide {
  width: 72%;
  height: 72%;
}

.app-icon .logo-tall {
  width: 56%;
  height: 72%;
}

.app-icon .logo-small {
  width: 58%;
  height: 58%;
}

.app-icon .logo-github {
  width: 66%;
  height: 66%;
}

.app-icon .logo-real {
  width: 78%;
  height: 78%;
  border-radius: 12px;
}

.logo-github-box {
  background: #fff;
  color: #181717;
}

[data-theme="dark"] .logo-github-box,
[data-theme="dark"] .logo-figma-box,
[data-theme="dark"] .logo-blender-box {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.055);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 12px 26px rgba(0, 0, 0, 0.28);
}

[data-theme="dark"] .logo-github {
  filter: invert(1);
}

[data-theme="dark"] .logo-figma,
[data-theme="dark"] .logo-blender {
  filter: drop-shadow(0 5px 9px rgba(0, 0, 0, 0.32));
}

.os-strip {
  display: flex;
  width: min(100%, 1040px);
  margin: 18px auto 0;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  padding: clamp(14px, 2vw, 18px) clamp(18px, 3vw, 28px);
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  border-radius: 20px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--surface-strong) 72%, transparent), color-mix(in srgb, var(--folder) 10%, var(--surface))),
    var(--surface);
  box-shadow: 0 14px 34px rgba(30, 20, 45, 0.08);
}

[data-theme="dark"] .os-strip {
  background:
    radial-gradient(circle at 18% 0%, rgba(155, 124, 255, 0.16), transparent 32%),
    color-mix(in srgb, var(--surface) 92%, transparent);
}

.os-strip h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(15px, 1.4vw, 18px);
  white-space: nowrap;
}

.os-list {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.4vw, 26px);
  flex-wrap: wrap;
}

.os-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.os-item img {
  display: block;
  width: clamp(28px, 3vw, 38px);
  aspect-ratio: 1;
  border-radius: 10px;
  object-fit: contain;
}

.os-item.os-wordmark {
  width: clamp(88px, 9vw, 116px);
  height: clamp(30px, 3vw, 38px);
  justify-content: center;
}

.os-logo-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--toggle-dark);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(20px, 2.15vw, 28px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.os-ios .os-logo-text {
  font-size: clamp(20px, 2.15vw, 28px);
}

[data-theme="dark"] .os-logo-text {
  color: var(--toggle-light);
}

.contact-layout {
  padding: 72px 0 96px;
  align-items: start;
  max-width: 980px;
  margin-inline: auto;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: var(--panel-radius);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  color: var(--text);
  outline: 0;
}

.contact-form input {
  min-height: 54px;
  padding: 0 16px;
}

.contact-form textarea {
  resize: vertical;
  padding: 14px 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
}

.contact-form .button {
  justify-self: center;
}

.mail-toolbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 8px;
}

.mail-toolbar .window-bar {
  margin-bottom: 0;
}

.mail-title {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.send-mail-btn {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
}

.contact-links {
  padding: 28px;
  border-radius: var(--panel-radius);
  text-align: center;
}

.contact-links h2 {
  font-size: clamp(32px, 4vw, 48px);
}

.contact-links a {
  display: block;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  font-weight: 800;
}

.contact-links a:last-of-type {
  border-bottom: 1px solid var(--line);
}

.contact-links p {
  margin: 22px 0 0;
}

.websites-grid {
  position: relative;
  left: 50%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 4vw, 56px) clamp(32px, 4vw, 62px);
  width: min(1480px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 72px 0 72px;
  transform: translateX(-50%);
}

.website-card {
  position: relative;
  display: grid;
  grid-template-columns: clamp(118px, 9vw, 145px) minmax(0, 1fr);
  gap: clamp(14px, 1.5vw, 24px);
  justify-items: stretch;
  align-items: center;
  align-self: start;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  width: 100%;
  min-width: 0;
  padding: 0;
  --side-note: 100%;
}

.website-card:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) clamp(118px, 9vw, 145px);
}

.website-side-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  grid-column: 1;
  grid-row: 1;
  justify-self: stretch;
}

.website-card:nth-child(even) .website-side-info {
  grid-column: 2;
}

.website-screen {
  position: relative;
  display: block;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--window-radius);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 82%, transparent), color-mix(in srgb, var(--surface) 94%, transparent));
  box-shadow: var(--shadow-tight);
}

.website-card:nth-child(even) .website-screen {
  grid-column: 1;
}

.website-screen .browser-bar {
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 62%, transparent);
  border-radius: 0;
  background: color-mix(in srgb, var(--surface-strong) 82%, transparent);
}

.browser-bar {
  display: flex;
  gap: 7px;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--line) 62%, transparent);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
}

.browser-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--muted) 46%, transparent);
}

.browser-bar span:first-child {
  background: var(--rose);
}

.browser-bar span:nth-child(2) {
  background: var(--accent);
}

.website-viewport {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 0;
  border-radius: 0;
  background: color-mix(in srgb, var(--surface-strong) 80%, transparent);
}

.website-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.website-note {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 6px;
  width: var(--side-note);
  padding: 10px 11px;
  border: 1px solid color-mix(in srgb, var(--line) 68%, transparent);
  border-radius: 10px;
  background:
    linear-gradient(180deg, color-mix(in srgb, #fff8cf 72%, var(--surface-strong)), color-mix(in srgb, #fff2b8 34%, var(--surface))),
    var(--surface);
  box-shadow: 0 12px 24px rgba(31, 18, 40, 0.12);
  transform: rotate(1.3deg);
}

[data-theme="dark"] .website-note {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 84%, #f58ac2 8%), color-mix(in srgb, var(--surface) 86%, #882043 12%)),
    var(--surface);
}

.website-note::before {
  position: absolute;
  top: -10px;
  left: 18px;
  width: 44px;
  height: 14px;
  border: 1px solid color-mix(in srgb, var(--line) 50%, transparent);
  border-radius: 4px;
  background: color-mix(in srgb, var(--surface-strong) 62%, transparent);
  content: "";
  transform: rotate(4deg);
}

.website-card:nth-child(even) .website-note {
  left: auto;
  transform: rotate(-1.2deg);
}

.website-open-button {
  position: static;
  white-space: nowrap;
}

.website-card:nth-child(even) .website-open-button {
  left: auto;
}

.click-arrow-link {
  display: grid;
  width: clamp(72px, 6vw, 96px);
  gap: 0;
  justify-items: center;
  filter: drop-shadow(0 1px 2px rgba(80, 55, 45, 0.25));
  transform: rotate(-5deg);
}

.featured-web-button.click-arrow-link,
.website-open-button.click-arrow-link {
  width: clamp(78px, 6vw, 102px);
}

.featured-web-button.click-arrow-link {
  width: clamp(104px, 8vw, 138px);
}

.website-open-button.click-arrow-link {
  transform: rotate(-4deg);
}

.click-arrow-asset {
  width: 74%;
  margin-bottom: -2px;
  transform: scaleX(-1) scaleY(-1);
}

.website-card:nth-child(even) .click-arrow-asset {
  transform: scaleY(-1);
}

.websites-page .click-arrow-asset {
  transform: scaleX(-1);
}

.websites-page .website-card:nth-child(even) .click-arrow-asset {
  transform: none;
}

.featured-web-button .click-arrow-asset {
  transform: none;
}

.website-card:nth-child(even) .click-arrow-link {
  transform: rotate(4deg);
}

.click-text-asset {
  width: 100%;
}

.website-card h2,
.website-card p {
  margin-bottom: 0;
}

.website-card h2 {
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.08;
}

.website-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.pricing-table-section {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 72px 0 96px;
}

.pricing-note {
  width: min(980px, 100%);
  max-width: 980px;
  margin: 0;
  padding: 0 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.pricing-contact {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  width: min(980px, 100%);
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--line) 76%, transparent);
  border-radius: var(--panel-radius);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow-tight);
}

.pricing-contact p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.pricing-table-wrap {
  width: min(980px, 100%);
  overflow-x: auto;
  border: 1px solid color-mix(in srgb, var(--line) 76%, transparent);
  border-radius: var(--panel-radius);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow-tight);
}

.pricing-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.pricing-table th {
  color: var(--rose);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing-table td:first-child,
.pricing-table td:last-child {
  color: var(--text);
  font-weight: 900;
}

.pricing-table td:nth-child(2) {
  color: var(--muted);
}

.pricing-table td:last-child {
  white-space: nowrap;
}

.pricing-table tr:last-child td {
  border-bottom: 0;
}

.collaboration-cover {
  display: flex;
  max-width: min(930px, 100%);
  flex-direction: column;
  align-items: center;
  padding: 86px 0 80px;
  text-align: center;
}

.collaboration-cover h1,
.collaboration-cover .lead {
  margin-inline: auto;
}

.collaboration-cover h1 {
  max-width: 920px;
}

.collaboration-cover .lead {
  max-width: 850px;
}

.collaboration-cover-copy {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.collaboration-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.collaboration-intro {
  display: grid;
  justify-items: center;
  gap: 18px;
  align-items: center;
  max-width: 820px;
  margin-inline: auto;
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.collaboration-intro h2 {
  max-width: 720px;
  margin-bottom: 16px;
}

.collaboration-intro p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.process-timeline {
  position: relative;
  display: grid;
  left: 50%;
  width: min(1500px, calc(100vw - 32px));
  max-width: 1500px;
  gap: clamp(30px, 4vw, 56px);
  margin-inline: auto;
  padding: 76px 0 36px;
  transform: translateX(-50%);
}

.process-axis {
  position: absolute;
  top: 82px;
  bottom: 48px;
  left: 50%;
  z-index: 0;
  width: clamp(34px, 3.8vw, 54px);
  overflow: hidden;
  transform: translateX(-50%);
}

.process-axis img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(72px, 6.8vw, 104px) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: center;
  width: 100%;
  min-height: clamp(236px, 23vw, 340px);
}

.process-window {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  width: min(96%, 820px);
  padding: clamp(26px, 3.2vw, 46px);
  overflow: visible;
  border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  border-radius: var(--panel-radius);
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--surface-strong) 84%, transparent), color-mix(in srgb, var(--surface) 94%, transparent));
  box-shadow: var(--shadow-tight);
}

.process-step:nth-of-type(even) .process-window {
  grid-column: 3;
  justify-self: start;
}

.process-window-grid {
  display: block;
}

.process-copy {
  display: grid;
  align-content: center;
  gap: 20px;
}

.process-copy h2 {
  width: 100%;
  min-width: 0;
  max-width: 760px;
  margin: 0;
  font-size: clamp(28px, 3.1vw, 44px);
  line-height: 1.06;
  overflow-wrap: anywhere;
}

.process-copy p {
  width: 100%;
  min-width: 0;
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.process-copy .process-small-copy {
  max-width: 760px;
  padding-top: 0;
  font-size: 14px;
}

.process-optional {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 40px 0 82px;
  border-bottom: 1px solid var(--line);
}

.optional-window {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--surface-strong) 88%, var(--rose) 4%), color-mix(in srgb, var(--surface) 92%, var(--accent) 5%));
}

.process-optional .process-step {
  display: block;
  min-height: auto;
  max-width: 900px;
  margin-inline: auto;
}

.process-optional .process-window {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
}

.process-optional .process-copy {
  justify-items: center;
  text-align: center;
}

.optional-handwritten {
  width: min(100%, 430px);
  margin: 0 auto 4px;
  transform: rotate(-1deg);
}

.collaboration-cta {
  padding-top: 72px;
}

.collaboration-cta p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.websites-process-cta {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(820px, 100%);
  margin: 10px auto 82px;
  padding: 34px clamp(20px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: var(--shadow-tight);
  text-align: center;
}

.websites-process-cta h2 {
  margin: 0;
  font-size: clamp(28px, 3.8vw, 46px);
}

.websites-process-cta p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

@media (max-width: 1120px) {
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .header-shell {
    justify-content: center;
  }

  .cover {
    min-height: auto;
  }

  .desktop-board {
    min-height: 560px;
  }

  .home-desktop {
    min-height: 620px;
  }

  .folder-web {
    top: 92px;
    left: 44px;
  }

  .folder-media {
    right: 36px;
    bottom: 68px;
  }

  .file-video {
    top: 72px;
    right: 96px;
  }

  .desktop-window {
    right: 92px;
    bottom: 142px;
    width: 220px;
  }

  .desktop-app {
    right: 34px;
  }

  .home-desktop .bg-app {
    opacity: 0.58;
  }

  .cursor-arrow {
    right: 256px;
  }

  .intro-grid,
  .about-slice,
  .contact-layout,
  .about-layout,
  .timeline-group {
    grid-template-columns: 1fr;
  }

  .showcase-grid,
  .project-grid,
  .media-grid,
  .year-strip,
  .ios-folders-preview,
  .pricing-preview {
    grid-template-columns: 1fr;
  }

  .websites-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 22px;
  }

  .website-card {
    grid-template-columns: clamp(96px, 22vw, 128px) minmax(0, 1fr);
    gap: clamp(10px, 1.8vw, 16px);
  }

  .website-card:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) clamp(96px, 22vw, 128px);
  }

  .featured-web-screen,
  .featured-web-note,
  .featured-web-button {
    position: static;
    inset: auto;
    transform: none;
  }

  .featured-web {
    grid-template-columns: clamp(96px, 22vw, 128px) minmax(0, 1fr) clamp(70px, 12vw, 94px);
    grid-template-rows: auto;
    gap: clamp(10px, 1.8vw, 16px);
    align-items: center;
  }

  .featured-web-screen {
    grid-column: 2;
    grid-row: 1;
  }

  .featured-web-note {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    margin: 0;
    padding: 10px 11px;
    align-self: end;
    transform: rotate(1deg);
  }

  .website-side-info {
    grid-column: 1;
    grid-row: 1;
    justify-self: stretch;
    width: 100%;
  }

  .website-card:nth-child(even) .website-side-info {
    grid-column: 2;
    grid-row: 1;
    justify-self: stretch;
    width: 100%;
  }

  .website-screen {
    grid-column: 2;
    grid-row: 1;
  }

  .website-card:nth-child(even) .website-screen {
    grid-column: 1;
    grid-row: 1;
  }

  .website-note,
  .website-card:nth-child(even) .website-note {
    transform: rotate(1deg);
  }

  .featured-web-button {
    grid-column: 3;
    grid-row: 1;
    width: clamp(70px, 12vw, 94px);
    margin: 12px 0 0;
    justify-self: center;
    align-self: start;
    transform: rotate(-4deg);
  }

  .website-open-button.click-arrow-link {
    width: 102px;
    transform: rotate(-4deg);
  }

  .website-screen {
    border: 1px solid var(--line);
  }

  .showcase-card.wide {
    grid-row: auto;
  }

  .timeline-grid,
  .skills-desktop {
    grid-template-columns: 1fr;
  }

  .contact-band {
    grid-template-columns: 1fr;
  }

  .contact-band .button {
    justify-self: center;
  }

  .collaboration-cover {
    padding: 78px 0 64px;
  }

  .collaboration-actions {
    justify-content: center;
  }

  .process-timeline {
    gap: 34px;
    padding-top: 68px;
  }

  .process-axis {
    top: 66px;
    bottom: 34px;
    left: clamp(44px, 8vw, 78px);
    width: clamp(28px, 5vw, 42px);
  }

  .process-step {
    grid-template-columns: clamp(76px, 11vw, 104px) minmax(0, 1fr);
    gap: clamp(14px, 3vw, 24px);
    min-height: auto;
  }

  .process-window,
  .process-step:nth-of-type(even) .process-window {
    grid-column: 2;
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }

}

@media (max-width: 900px) {
  .websites-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 760px) {
  .process-optional {
    padding-bottom: 66px;
  }

  .collaboration-cta {
    padding-top: 60px;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: min(100% - 18px, var(--max));
  }

  .header-shell {
    justify-content: center;
    gap: 6px;
  }

  .brand {
    width: 44px;
    height: 44px;
    min-height: 44px;
  }

  .header-actions {
    width: 68px;
    height: 44px;
    min-height: 44px;
  }

  .theme-toggle {
    width: 62px;
    height: 32px;
  }

  [data-theme="dark"] .theme-thumb {
    transform: translateX(28px);
  }

  .nav-shell {
    padding: 6px;
  }

  .nav-toggle {
    display: grid;
    gap: 5px;
    width: 42px;
    height: 32px;
  }

  .nav-toggle::before,
  .nav-toggle span {
    left: 12px;
  }

  .nav-toggle::before,
  .nav-toggle[aria-expanded="true"] span:first-child,
  .nav-toggle[aria-expanded="true"] span:last-child {
    top: 15px;
  }

  .nav-toggle span:first-child {
    top: 10px;
  }

  .nav-toggle span:last-child {
    top: 20px;
  }

  .site-nav {
    position: absolute;
    top: 52px;
    left: 50%;
    display: none;
    flex-direction: column;
    gap: 8px;
    width: min(300px, calc(100vw - 24px));
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    transform: translateX(-50%);
  }

  .site-nav.is-open {
    display: flex;
  }
}

@media (max-width: 620px) {
  body {
    background-size: 160px 160px, auto;
  }

  [data-theme="dark"] body {
    background-size: 160px 160px, auto;
  }

  .site-header,
  main,
  .site-footer {
    width: min(100% - 24px, var(--max));
  }

  .collaboration-cover {
    padding: 58px 0 52px;
  }

  .collaboration-cover-copy {
    gap: 18px;
  }

  .collaboration-actions {
    display: grid;
    width: 100%;
  }

  .collaboration-actions .button,
  .collaboration-cta .button {
    width: 100%;
  }

  .collaboration-intro {
    padding: 58px 0;
  }

  .collaboration-intro p,
  .collaboration-cta p {
    font-size: 16px;
  }

  .process-timeline {
    gap: 26px;
    padding: 50px 0 22px;
  }

  .process-axis {
    top: 50px;
    bottom: 22px;
    left: clamp(29px, 10vw, 46px);
    width: clamp(22px, 7vw, 32px);
  }

  .process-step {
    grid-template-columns: clamp(46px, 15vw, 62px) minmax(0, 1fr);
    gap: 10px;
  }

  .process-window {
    padding: 24px;
    border-radius: 20px;
  }

  .process-copy h2 {
    font-size: clamp(26px, 10vw, 34px);
  }

  .video-showcase-placeholder,
  .media-placeholder {
    min-height: clamp(150px, 46vw, 180px);
  }

  .video-showcase-card {
    width: min(100%, 300px);
    min-height: 0;
    justify-self: center;
  }

  .video-grid {
    justify-items: center;
  }

  .video-grid .media-card {
    width: min(100%, 320px);
  }

  .video-grid .media-card img,
  .video-grid .media-card video,
  .video-grid .media-card iframe {
    width: 100%;
    min-height: 0;
    aspect-ratio: 1.32;
    object-fit: cover;
  }

  .video-showcase-poster img {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .website-card {
    grid-template-columns: clamp(84px, 28vw, 108px) minmax(0, 1fr);
    gap: 8px;
  }

  .website-card:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) clamp(84px, 28vw, 108px);
  }

  .website-note {
    gap: 4px;
    padding: 8px;
  }

  .website-note::before {
    top: -7px;
    left: 14px;
    width: 34px;
    height: 11px;
  }

  .website-card h2 {
    font-size: clamp(12px, 3.8vw, 15px);
  }

  .website-card p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 10px;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }

  .website-open-button.click-arrow-link {
    width: clamp(64px, 22vw, 84px);
  }

  .click-arrow-asset {
    width: 82%;
  }

  .websites-process-cta {
    margin-bottom: 64px;
  }

  .brand span:last-child {
    display: none;
  }

  .cover-kicker {
    flex-direction: column;
    gap: 6px;
  }

  .desktop-board {
    min-height: 500px;
  }

  .cover-title {
    top: 44%;
    width: 94%;
  }

  .cover-title p {
    top: -42px;
    left: 5%;
    font-size: 48px;
  }

  .cover-title h1 {
    font-size: clamp(46px, 14.4vw, 59px);
  }

  .cover-title span {
    margin-top: 12px;
    font-size: 30px;
  }

  .folder-shape {
    width: 86px;
    height: 60px;
  }

  .folder-web {
    top: 74px;
    left: 24px;
  }

  .folder-media {
    right: 22px;
    bottom: 58px;
  }

  .file-video {
    top: 78px;
    right: 22px;
    width: 96px;
  }

  .desktop-window {
    right: auto;
    bottom: 42px;
    left: 50%;
    width: 162px;
    transform: translateX(-50%);
  }

  .desktop-app {
    display: none;
  }

  .home-desktop .bg-app,
  .home-desktop .bg-folder {
    display: grid;
  }

  .home-desktop .bg-app {
    opacity: 0.36;
  }

  .bg-html { top: 74px; left: 36px; }
  .bg-css { top: 82px; left: auto; right: 28px; }
  .bg-js { top: 250px; right: 26px; }
  .bg-php { left: 28px; bottom: 160px; }
  .home-desktop .bg-ae,
  .home-desktop .bg-ps,
  .home-desktop .bg-canva,
  .home-desktop .bg-pr,
  .home-desktop .bg-folder-one,
  .home-desktop .bg-folder-two {
    display: none;
  }

  .cursor-arrow {
    display: none;
  }

  .cover-footer {
    grid-template-columns: 1fr;
  }

  .featured-web {
    grid-template-columns: clamp(96px, 26vw, 118px) minmax(0, 1fr);
    grid-template-rows: auto;
  }

  .featured-web-screen {
    grid-column: 2;
    grid-row: 1;
  }

  .featured-web-note {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    margin: 0;
    transform: rotate(1deg);
  }

  .featured-web-note::before {
    display: block;
  }

  .featured-web-button {
    position: absolute;
    top: 8px;
    right: 0;
    bottom: auto;
    left: auto;
    grid-column: auto;
    grid-row: auto;
    width: clamp(64px, 22vw, 84px);
    margin: 0;
    transform: rotate(-4deg);
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-actions,
  .card-actions {
    justify-content: flex-start;
  }

  .pricing-contact {
    flex-direction: column;
    align-items: center;
  }

  h1 {
    max-width: 100%;
    font-size: 35px;
  }

  h2 {
    font-size: 36px;
  }

  .section,
  .work-category {
    padding: 58px 0;
  }

  .page-cover {
    padding: 64px 0 52px;
  }

  .timeline-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .timeline-card img {
    width: 96px;
  }

  .project-title {
    align-items: flex-start;
  }

  .site-footer {
    flex-direction: column;
  }

  .ios-profile-card,
  .about-profile-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .memoji-photo-card.large,
  .memoji-photo-card {
    width: min(100%, 210px);
  }

  .apps-grid,
  .apps-grid.compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .app-icon {
    width: clamp(54px, 14vw, 62px);
    border-radius: 14px;
  }

  .os-strip {
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    text-align: center;
  }

  .os-list {
    width: 100%;
    gap: 12px 14px;
  }

  .os-item {
    font-size: 11px;
  }

  .pricing-table {
    min-width: 0;
  }

  .pricing-table thead {
    display: none;
  }

  .pricing-table,
  .pricing-table tbody,
  .pricing-table tr,
  .pricing-table td {
    display: block;
    width: 100%;
  }

  .pricing-table tr {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }

  .pricing-table tr:last-child {
    border-bottom: 0;
  }

  .pricing-table td {
    padding: 5px 18px;
    border-bottom: 0;
  }

  .pricing-table td:last-child {
    padding-top: 12px;
  }
}

@media (max-width: 360px) {
  body {
    min-width: 0;
  }
}

/* ===== CONSOLIDATED PORTFOLIO OVERRIDES ===== */

/* Source: content-overrides.css */
/* Compact typography, spacing and media layout — 2026-07-08 */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  font-size: 15px;
}

h1 {
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 0.98;
}

h2 {
  font-size: clamp(27px, 3.6vw, 44px);
  line-height: 1;
}

h3 {
  font-size: clamp(19px, 2.2vw, 28px);
  line-height: 1.08;
}

.lead {
  font-size: clamp(16px, 1.8vw, 20px);
}

hr {
  display: none;
}

.page-cover,
.work-category,
.skills-preview-section,
.skills-section,
.contact-band,
.pricing-preview,
.site-footer,
.timeline-board,
.timeline-group,
.year-strip,
.home-intro,
.websites-process-cta,
.process-optional,
.pricing-table-section {
  border-top: 0 !important;
  border-bottom: 0 !important;
}

.section,
.work-category {
  padding-block: clamp(38px, 5vw, 58px);
}

.page-cover {
  padding: clamp(48px, 7vw, 70px) 0 clamp(34px, 5vw, 48px);
}

.home-cover + .intro-grid {
  padding-top: 32px;
}

.showcase-grid {
  gap: 14px;
  padding-bottom: 54px;
}

.about-layout,
.contact-layout {
  padding: 48px 0 64px;
}

.skills-section {
  padding-bottom: 64px;
}

.websites-grid {
  gap: 30px 36px;
  padding: 48px 0 54px;
}

.websites-process-cta {
  margin-bottom: 54px;
  padding: 26px clamp(18px, 3vw, 32px);
}

.pricing-table-section {
  padding: 44px 0 62px;
}

.pricing-preview {
  gap: 18px;
}

.contact-band {
  gap: 14px;
  padding: 38px 0 50px;
}

.process-timeline {
  gap: 24px;
  padding-top: 48px;
}

.process-window {
  padding: clamp(20px, 3vw, 28px);
}

.process-optional {
  padding-bottom: 52px;
}

.site-footer {
  padding: 24px 0 30px;
  text-align: center;
}

/* Make important text links read as buttons */
.text-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid color-mix(in srgb, var(--text) 22%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  box-shadow: 0 10px 26px rgba(30, 20, 45, 0.09);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.text-link::after {
  display: inline-block;
  content: "→";
  transition: transform 180ms ease;
}

.text-link:hover {
  background: color-mix(in srgb, var(--surface-strong) 88%, var(--rose) 7%);
  box-shadow: 0 14px 30px rgba(30, 20, 45, 0.14);
  transform: translateY(-2px);
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* Home profile */
.home-profile-card {
  grid-column: 1 / -1;
  width: min(860px, 100%);
  margin-inline: auto;
  padding: clamp(22px, 3.5vw, 34px);
  border-radius: 24px;
}

.home-profile-content {
  display: grid;
  gap: 11px;
  min-width: 0;
}

.home-profile-content h3,
.home-profile-content p {
  margin: 0;
}

.home-profile-content p {
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
}

.home-profile-content .text-link {
  justify-self: start;
}

.home-profile-card .profile-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.home-profile-card .profile-lines li:not(:last-child)::after {
  margin-left: 12px;
  color: color-mix(in srgb, var(--muted) 55%, transparent);
  content: "/";
}

/* Clean video presentation */
.home-video-strip {
  width: min(100%, 940px);
}

.home-video-grid,
.motion-featured-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 940px);
}

.video-showcase-card,
.motion-video-card {
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
}

.video-showcase-card:hover,
.motion-video-card:hover {
  border-color: transparent;
  box-shadow: none;
  transform: translateY(-3px);
}

.video-showcase-poster,
.motion-poster-wrap,
.motion-video-card-featured[data-format="portrait"] .motion-poster-wrap,
.motion-video-card-featured[data-format="square"] .motion-poster-wrap,
.motion-video-card-featured[data-format="landscape"] .motion-poster-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 10px;
  background: #080711;
}

.video-showcase-poster img,
.motion-poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.video-showcase-copy,
.motion-featured-caption {
  display: none;
}

.motion-featured-item {
  gap: 0;
}

.motion-play-icon {
  right: 9px;
  bottom: 9px;
  width: 34px;
}

/* Selected-work placeholders */
.featured-placeholder-card {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.featured-placeholder-visual {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background:
    radial-gradient(circle at 22% 18%, rgba(238, 113, 158, 0.35), transparent 36%),
    linear-gradient(135deg, color-mix(in srgb, var(--surface-strong) 78%, transparent), color-mix(in srgb, var(--toggle-dark) 84%, var(--rose) 16%));
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(30px, 5vw, 58px);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.featured-placeholder-copy {
  display: grid;
  gap: 4px;
  text-align: left;
}

.featured-placeholder-copy h3,
.featured-placeholder-copy p {
  margin: 0;
}

.featured-placeholder-copy h3 {
  font-size: 17px;
}

.featured-placeholder-copy p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

/* Year selector and horizontal edit row */
.motion-year-select-wrap {
  position: relative;
  width: min(100%, 300px);
  margin-inline: auto;
}

.motion-year-select {
  width: 100%;
  min-height: 44px;
  padding: 0 44px 0 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--text) 50%) calc(100% - 20px) 19px / 6px 6px no-repeat,
    linear-gradient(135deg, var(--text) 50%, transparent 50%) calc(100% - 14px) 19px / 6px 6px no-repeat,
    color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--text);
  box-shadow: var(--shadow-tight);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.motion-year-select:focus-visible {
  outline: 3px solid rgba(238, 113, 158, 0.38);
  outline-offset: 3px;
}

.motion-filters {
  display: none;
}

.motion-year-groups,
.motion-year-group {
  width: 100%;
  margin-inline: auto;
}

.motion-year-heading {
  display: none;
}

.motion-year-grid {
  display: flex;
  width: fit-content;
  max-width: 100%;
  gap: clamp(12px, 1.8vw, 18px);
  justify-content: center;
  margin-inline: auto;
  padding: 4px 2px 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
}

.motion-year-grid .motion-video-card {
  flex: 0 0 clamp(210px, 24vw, 285px);
  scroll-snap-align: center;
}

/* Lighter full-screen video modal */
.video-modal-panel {
  width: min(100%, 1080px);
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

[data-theme="dark"] .video-modal-panel {
  background: transparent;
}

.video-modal-copy {
  color: #fff;
}

.video-modal-copy span {
  color: rgba(255, 255, 255, 0.72);
}

.video-modal-media {
  border: 0;
  border-radius: 10px;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.45);
}

.video-modal-close {
  top: -8px;
  right: -8px;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(10, 8, 13, 0.72);
  color: #fff;
  backdrop-filter: blur(12px);
}

@media (max-width: 760px) {
  h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  h2 {
    font-size: clamp(25px, 8vw, 34px);
  }

  .section,
  .work-category {
    padding-block: 36px;
  }
}

@media (max-width: 620px) {
  body,
  [data-theme="dark"] body {
    background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat;
    background-attachment: scroll;
    background-size: 160px 160px, 175% 175%, 190% 190%, 190% 190%, 230% 230%;
  }

  .page-cover {
    padding: 44px 0 30px;
  }

  .home-profile-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .home-profile-content {
    justify-items: center;
  }

  .home-profile-content .text-link {
    justify-self: center;
  }

  .home-profile-card .profile-lines {
    justify-content: center;
  }

  .home-video-grid,
  .motion-featured-grid {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    padding: 2px 2px 12px;
    overflow-x: auto;
    scroll-snap-type: inline mandatory;
  }

  .home-video-grid .video-showcase-card,
  .motion-featured-grid .motion-featured-item {
    flex: 0 0 min(82vw, 300px);
    width: min(82vw, 300px);
    scroll-snap-align: center;
  }

  .motion-year-grid {
    width: 100%;
    justify-content: flex-start;
    margin-inline: 0;
  }

  .motion-year-grid .motion-video-card {
    flex-basis: min(82vw, 300px);
  }

  .video-modal {
    padding: 12px;
  }

  .video-modal-copy {
    padding-inline: 4px 44px;
  }

  .video-modal-close {
    top: 0;
    right: 0;
  }
}

/* Source: responsive-fixes.css */
/* Responsive presentation fixes, paper notes and full footer. */

[data-theme="dark"] body {
  background:
    var(--noise-layer),
    radial-gradient(circle at 82% 14%, rgba(155, 124, 255, 0.18), transparent 38%),
    radial-gradient(circle at 16% 84%, rgba(238, 113, 158, 0.09), transparent 42%),
    linear-gradient(135deg, #1d2532 0%, #222c3b 52%, #1d2532 100%);
  background-size: 160px 160px, 160% 160%, 170% 170%, 100% 100%;
  background-position: 0 0, 100% 0%, 0% 100%, 0 0;
  background-attachment: scroll, fixed, fixed, fixed;
}

/* Paper notes on desktop */
.website-note {
  isolation: isolate;
  border-color: rgba(109, 82, 53, 0.20);
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.48), transparent 28%),
    radial-gradient(circle at 82% 78%, rgba(100, 68, 38, 0.07), transparent 36%),
    linear-gradient(180deg, #ead9b8 0%, #dfc99e 100%);
  box-shadow:
    0 12px 24px rgba(64, 42, 24, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.website-note::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='130' height='130' viewBox='0 0 130 130'%3E%3Cfilter id='paper'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' seed='8' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='130' height='130' filter='url(%23paper)' opacity='.30'/%3E%3C/svg%3E");
  background-size: 130px 130px;
  content: "";
  mix-blend-mode: multiply;
  opacity: 0.20;
  pointer-events: none;
}

[data-theme="dark"] .website-note {
  border-color: rgba(171, 211, 239, 0.30);
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.45), transparent 28%),
    radial-gradient(circle at 82% 78%, rgba(40, 79, 112, 0.10), transparent 38%),
    linear-gradient(180deg, #bfdcf0 0%, #9fc5df 100%);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.50);
  color: #1d2532;
}

[data-theme="dark"] .website-note h2 {
  color: #1d2532;
}

[data-theme="dark"] .website-note p {
  color: #40566c;
}

[data-theme="dark"] .website-note::after {
  opacity: 0.15;
}

/* Mobile text link replacing the hand-drawn Click me artwork */
.featured-web-mobile-link {
  display: none !important;
  justify-self: center;
  margin-top: 4px;
}

/* Arrow-controlled media carousel */
.media-arrow-carousel {
  position: relative;
  width: 100%;
  min-width: 0;
}

.media-arrow-carousel__button {
  position: absolute;
  top: 50%;
  z-index: 8;
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--text) 20%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--text);
  box-shadow: var(--shadow-tight);
  cursor: pointer;
  font: inherit;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
  transition: transform 160ms ease, opacity 160ms ease, background 160ms ease;
}

.media-arrow-carousel__button:hover {
  background: color-mix(in srgb, var(--surface-strong) 76%, var(--scribble-pink) 12%);
  transform: translateY(-50%) scale(1.06);
}

[data-theme="dark"] .media-arrow-carousel__button:hover {
  background: color-mix(in srgb, var(--surface-strong) 72%, #882043 20%);
}

.media-arrow-carousel__button:disabled {
  opacity: 0.28;
  cursor: default;
  transform: translateY(-50%);
}

.media-arrow-carousel__button--previous {
  left: 0;
}

.media-arrow-carousel__button--next {
  right: 0;
}

/* Full footer used on every page */
.site-footer {
  display: block;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 26px;
  border-top: 0;
  color: var(--text);
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(180px, 0.8fr) minmax(180px, 0.8fr);
  gap: 26px 42px;
  align-items: start;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  border-radius: 24px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  box-shadow: 0 16px 42px rgba(29, 37, 50, 0.09);
  backdrop-filter: blur(18px);
}

[data-theme="dark"] .footer-shell {
  background: color-mix(in srgb, #1d2532 90%, transparent);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.footer-brand,
.footer-column,
.footer-socials {
  display: grid;
  gap: 9px;
}

.footer-brand strong {
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.footer-brand span,
.footer-column span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.footer-column strong,
.footer-socials strong {
  margin-bottom: 3px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column a,
.footer-socials a,
.footer-bottom a {
  width: fit-content;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  text-underline-offset: 4px;
  transition: color 160ms ease, transform 160ms ease;
}

.footer-column a:hover,
.footer-socials a:hover,
.footer-bottom a:hover {
  color: var(--scribble-pink);
  transform: translateX(3px);
}

[data-theme="dark"] .footer-column a:hover,
[data-theme="dark"] .footer-socials a:hover,
[data-theme="dark"] .footer-bottom a:hover {
  color: #882043;
}

.footer-bottom {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 1120px) {
  .websites-grid {
    grid-template-columns: 1fr;
    width: min(900px, calc(100vw - 32px));
    gap: 52px;
  }

  .website-card,
  .website-card:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    width: 100%;
    max-width: 900px;
    margin-inline: auto;
  }

  .website-screen,
  .website-card:nth-child(even) .website-screen {
    grid-column: 1;
    grid-row: 1;
  }

  .website-side-info,
  .website-card:nth-child(even) .website-side-info {
    grid-column: 1;
    grid-row: 2;
    width: min(720px, 100%);
    margin-inline: auto;
  }

  .website-note,
  .website-card:nth-child(even) .website-note {
    left: auto;
    width: 100%;
    padding: 12px 4px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--text);
    text-align: center;
    transform: none;
  }

  [data-theme="dark"] .website-note,
  [data-theme="dark"] .website-note h2 {
    background: transparent;
    color: var(--text);
  }

  [data-theme="dark"] .website-note p {
    color: var(--muted);
  }

  .website-note::before,
  .website-note::after {
    display: none;
  }

  .website-open-button.click-arrow-link {
    display: none;
  }

  .website-card h2 {
    font-size: clamp(20px, 3vw, 26px);
  }

  .website-card p {
    max-width: 680px;
    margin-inline: auto;
    font-size: 14px;
    line-height: 1.55;
  }
}

@media (max-width: 760px) {
  main,
  .section-heading,
  .centered-heading,
  .home-video-heading,
  .cover-footer,
  .about-copy,
  .pricing-preview-heading,
  .process-copy,
  .websites-process-cta,
  .contact-band,
  .contact-links,
  .featured-placeholder-copy {
    text-align: center;
  }

  .section-heading,
  .centered-heading,
  .home-video-heading,
  .pricing-preview-heading {
    align-items: center;
    justify-content: center;
    justify-items: center;
  }

  .section-heading .text-link,
  .centered-heading .text-link,
  .home-video-heading .text-link,
  .pricing-preview .text-link {
    justify-self: center;
    margin-inline: auto;
  }

  .lead,
  .section-note,
  .about-copy p,
  .process-copy p,
  .contact-band p,
  .websites-process-cta p {
    margin-inline: auto;
  }

  .ios-skill-folder h3,
  .os-strip h3 {
    text-align: center;
  }

  .contact-form label,
  .contact-form input,
  .contact-form textarea {
    text-align: left;
  }

  .website-card,
  .website-card:nth-child(even) {
    gap: 10px;
  }

  .website-note,
  .website-card:nth-child(even) .website-note {
    padding-top: 10px;
  }

  .featured-web-button.click-arrow-link {
    display: none;
  }

  .featured-web-mobile-link {
    display: inline-grid !important;
  }

  .media-arrow-carousel {
    padding-inline: 48px;
  }

  .media-arrow-carousel__button {
    display: grid;
  }

  .media-arrow-carousel .home-video-grid,
  .media-arrow-carousel .motion-featured-grid {
    display: flex;
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .media-arrow-carousel .home-video-grid::-webkit-scrollbar,
  .media-arrow-carousel .motion-featured-grid::-webkit-scrollbar {
    display: none;
  }

  .media-arrow-carousel .home-video-grid > *,
  .media-arrow-carousel .motion-featured-grid > * {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: none;
    scroll-snap-align: center;
  }

  .featured-placeholder-copy {
    justify-items: center;
    padding-top: 10px;
  }

  .footer-shell {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 620px) {
  [data-theme="dark"] body {
    background-repeat: repeat, no-repeat, no-repeat, no-repeat;
    background-attachment: scroll;
    background-size: 160px 160px, 210% 210%, 220% 220%, 100% 100%;
  }

  .websites-grid {
    width: min(100% - 24px, 900px);
    gap: 42px;
  }

  .website-card p {
    font-size: 13px;
  }

  .media-arrow-carousel {
    padding-inline: 42px;
  }

  .media-arrow-carousel__button {
    width: 36px;
    height: 36px;
    font-size: 21px;
  }

  .site-footer {
    width: min(100% - 24px, 1160px);
    padding-top: 26px;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 20px;
    text-align: center;
  }

  .footer-column,
  .footer-socials {
    justify-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

/* Source: final-ui-fixes.css */
/* Final visual corrections: aligned website previews, paper sticky notes and compact footer. */

/* Bubble buttons stay perfectly centred before their hover animation starts. */
.bubble-button__particle {
  opacity: 0 !important;
}

.bubble-button__core {
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.bubble-button:hover .bubble-button__core,
.bubble-button:focus-visible .bubble-button__core {
  animation-name: bubble-core-bounce !important;
}

/* Sticky notes: plain coloured paper, visible fibres, no folds or colour gradients. */
.featured-web-note,
.website-note {
  position: relative !important;
  isolation: isolate;
  overflow: visible !important;
  border: 1px solid rgba(76, 69, 61, 0.16) !important;
  border-radius: 3px 4px 10px 4px / 3px 4px 7px 4px !important;
  background: #ebe6dc !important;
  color: #1d2532 !important;
  box-shadow:
    -2px 3px 12px rgba(40, 34, 28, 0.17),
    0 12px 22px rgba(40, 34, 28, 0.10) !important;
  transform-origin: 50% 0;
}

.featured-web-note h3,
.featured-web-note p,
.website-note h2,
.website-note p {
  position: relative;
  z-index: 2;
  color: #1d2532 !important;
}

/* Real paper surface inspired by the supplied Post-it texture, without creases. */
.featured-web-note::after,
.website-note::after {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  display: block !important;
  border-radius: inherit !important;
  background-image:
    url("https://www.101computing.net/wp/wp-content/uploads/post-it.jpg"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cfilter id='paper'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.022 .12' numOctaves='3' seed='18' result='fibres'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' seed='7' result='grain'/%3E%3CfeBlend in='fibres' in2='grain' mode='multiply' result='paper'/%3E%3CfeColorMatrix in='paper' type='matrix' values='.55 0 0 0 .16  0 .55 0 0 .14  0 0 .55 0 .12  0 0 0 .48 0'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23paper)' opacity='.92'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat, repeat !important;
  background-position: center, 0 0 !important;
  background-size: cover, 260px 260px !important;
  background-blend-mode: multiply, multiply !important;
  content: "" !important;
  filter: grayscale(1) contrast(1.36) brightness(1.12) !important;
  mix-blend-mode: multiply !important;
  opacity: 0.34 !important;
  pointer-events: none !important;
}

/* Semi-transparent paper tape. */
.featured-web-note::before,
.website-note::before {
  position: absolute !important;
  z-index: 4 !important;
  top: -11px !important;
  left: 50% !important;
  width: 58px !important;
  height: 19px !important;
  border: 1px solid rgba(97, 88, 76, 0.16) !important;
  border-radius: 2px !important;
  background-color: rgba(224, 218, 205, 0.72) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='30' viewBox='0 0 80 30'%3E%3Cfilter id='tape'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.5' numOctaves='2' seed='5'/%3E%3C/filter%3E%3Crect width='80' height='30' filter='url(%23tape)' opacity='.18'/%3E%3C/svg%3E") !important;
  background-size: 80px 30px !important;
  box-shadow: 0 2px 5px rgba(41, 35, 28, 0.10) !important;
  content: "" !important;
  opacity: 0.88 !important;
  transform: translateX(-50%) rotate(-2deg) !important;
}

[data-theme="dark"] .featured-web-note,
[data-theme="dark"] .website-note {
  border-color: rgba(93, 128, 151, 0.24) !important;
  background: #bddbea !important;
  color: #1d2532 !important;
  box-shadow:
    -2px 3px 14px rgba(0, 0, 0, 0.28),
    0 13px 24px rgba(0, 0, 0, 0.20) !important;
}

[data-theme="dark"] .featured-web-note::after,
[data-theme="dark"] .website-note::after {
  filter: grayscale(1) contrast(1.42) brightness(1.18) !important;
  opacity: 0.29 !important;
}

[data-theme="dark"] .featured-web-note::before,
[data-theme="dark"] .website-note::before {
  border-color: rgba(96, 129, 150, 0.20) !important;
  background-color: rgba(210, 226, 236, 0.72) !important;
}

/* Homepage project: note on the left, website on the right, action directly below it. */
.featured-web {
  display: grid !important;
  grid-template-columns: clamp(150px, 17vw, 195px) minmax(0, min(68vw, 780px)) !important;
  grid-template-rows: auto auto !important;
  grid-template-areas:
    "note screen"
    ". action" !important;
  gap: 18px 24px !important;
  align-items: center !important;
  justify-content: center !important;
  justify-items: stretch !important;
  width: 100% !important;
}

.featured-web-note {
  position: relative !important;
  inset: auto !important;
  grid-area: note !important;
  width: 100% !important;
  min-height: 220px !important;
  margin: 0 !important;
  padding: 22px 18px 20px !important;
  align-content: center !important;
  text-align: left !important;
  transform: rotate(-0.8deg) !important;
}

.featured-web-screen {
  grid-area: screen !important;
  width: 100% !important;
  max-width: 780px !important;
  margin: 0 !important;
}

.featured-web-button {
  position: static !important;
  inset: auto !important;
  grid-area: action !important;
  justify-self: center !important;
  margin: 0 !important;
}

.featured-web-mobile-link {
  display: none !important;
  grid-area: action !important;
  justify-self: center !important;
  margin: 0 !important;
}

/* Website portfolio: previews align to each other, notes have the same footprint. */
.websites-grid {
  position: relative !important;
  left: auto !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: start !important;
  width: min(1320px, calc(100vw - 36px)) !important;
  gap: 44px 38px !important;
  margin: 0 auto !important;
  transform: none !important;
}

.website-card,
.website-card:nth-child(even) {
  position: relative !important;
  display: grid !important;
  grid-template-columns: clamp(128px, 11vw, 158px) minmax(0, 1fr) !important;
  grid-template-rows: auto !important;
  gap: 18px !important;
  align-items: start !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.website-side-info,
.website-card:nth-child(even) .website-side-info {
  position: static !important;
  display: grid !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 100% !important;
  min-width: 0 !important;
  align-self: start !important;
  justify-items: stretch !important;
  margin: 0 !important;
}

.website-note,
.website-card:nth-child(even) .website-note {
  position: relative !important;
  inset: auto !important;
  left: auto !important;
  width: 100% !important;
  min-height: 222px !important;
  max-height: 222px !important;
  margin: 0 !important;
  padding: 19px 14px 15px !important;
  align-content: start !important;
  text-align: left !important;
  transform: rotate(-0.65deg) !important;
}

.website-card:nth-child(even) .website-note {
  transform: rotate(0.65deg) !important;
}

.website-note h2 {
  font-size: clamp(15px, 1.3vw, 18px) !important;
}

.website-note p {
  font-size: 11.5px !important;
  line-height: 1.38 !important;
}

.website-screen,
.website-card:nth-child(even) .website-screen {
  position: relative !important;
  inset: auto !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.website-viewport {
  aspect-ratio: 16 / 10 !important;
}

/* The handwritten arrow belongs to its website preview, not beside the note. */
.website-open-button,
.website-card:nth-child(even) .website-open-button {
  position: absolute !important;
  z-index: 5 !important;
  right: 10px !important;
  bottom: 8px !important;
  left: auto !important;
  width: clamp(68px, 6vw, 84px) !important;
  margin: 0 !important;
  transform: rotate(-4deg) !important;
}

.website-card:nth-child(even) .click-arrow-asset,
.websites-page .website-card:nth-child(even) .click-arrow-asset,
.websites-page .click-arrow-asset {
  transform: scaleX(-1) !important;
}

/* Compact footer in the same colour as the page. */
.site-footer,
[data-theme="dark"] .site-footer {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--text) !important;
}

.footer-shell {
  display: grid !important;
  width: min(1120px, calc(100% - 32px)) !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
  gap: 18px !important;
  align-items: center !important;
  justify-items: stretch !important;
  margin: 0 auto !important;
  padding: 18px 0 20px !important;
  border: 0 !important;
  border-top: 1px solid color-mix(in srgb, var(--line) 72%, transparent) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--text) !important;
}

.footer-brand,
.footer-column {
  display: none !important;
}

.footer-socials {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
}

.footer-bottom {
  display: contents !important;
}

.footer-bottom span {
  grid-column: 1 !important;
  grid-row: 1 !important;
  justify-self: start !important;
  color: var(--muted) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

.footer-bottom a {
  grid-column: 3 !important;
  grid-row: 1 !important;
  justify-self: end !important;
  color: var(--text) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.footer-bottom a:hover {
  color: var(--scribble-pink) !important;
  transform: none !important;
}

[data-theme="dark"] .footer-bottom a:hover {
  color: #882043 !important;
}

@media (max-width: 980px) {
  .websites-grid {
    grid-template-columns: 1fr !important;
    width: min(760px, calc(100vw - 28px)) !important;
    gap: 38px !important;
  }

  .website-card,
  .website-card:nth-child(even) {
    grid-template-columns: clamp(130px, 24vw, 168px) minmax(0, 1fr) !important;
  }

  .website-note,
  .website-card:nth-child(even) .website-note {
    min-height: 228px !important;
    max-height: 228px !important;
  }
}

@media (max-width: 760px) {
  .featured-web {
    grid-template-columns: minmax(118px, 0.52fr) minmax(0, 1.48fr) !important;
    gap: 14px 14px !important;
  }

  .featured-web-note {
    min-height: 205px !important;
    padding: 18px 13px 15px !important;
  }

  .featured-web-note h3 {
    font-size: 18px !important;
  }

  .featured-web-note p {
    font-size: 11.5px !important;
    line-height: 1.35 !important;
  }

  .featured-web-button {
    display: none !important;
  }

  .featured-web-mobile-link {
    display: inline-grid !important;
  }

  .website-card,
  .website-card:nth-child(even) {
    grid-template-columns: minmax(116px, 0.52fr) minmax(0, 1.48fr) !important;
    gap: 13px !important;
  }

  .website-note,
  .website-card:nth-child(even) .website-note {
    min-height: 214px !important;
    max-height: 214px !important;
    padding: 17px 12px 14px !important;
  }

  .website-note p {
    font-size: 10.7px !important;
    line-height: 1.34 !important;
  }

  .website-open-button,
  .website-card:nth-child(even) .website-open-button {
    width: 64px !important;
    right: 6px !important;
    bottom: 4px !important;
  }

  .footer-shell {
    width: min(100% - 22px, 1120px) !important;
    grid-template-columns: 1fr auto 1fr !important;
    gap: 10px !important;
    padding: 14px 0 16px !important;
  }
}

@media (max-width: 480px) {
  .featured-web {
    grid-template-columns: 110px minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  .featured-web-note {
    min-height: 194px !important;
    padding: 17px 11px 13px !important;
  }

  .featured-web-note h3 {
    font-size: 16px !important;
  }

  .featured-web-note p {
    font-size: 10.4px !important;
  }

  .website-card,
  .website-card:nth-child(even) {
    grid-template-columns: 108px minmax(0, 1fr) !important;
    gap: 11px !important;
  }

  .website-note,
  .website-card:nth-child(even) .website-note {
    min-height: 202px !important;
    max-height: 202px !important;
    padding: 16px 10px 12px !important;
  }

  .website-note h2 {
    font-size: 14px !important;
  }

  .website-note p {
    font-size: 9.9px !important;
    line-height: 1.31 !important;
  }

  .footer-shell {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    gap: 10px !important;
  }

  .footer-socials,
  .footer-bottom span,
  .footer-bottom a {
    grid-column: 1 !important;
  }

  .footer-socials {
    grid-row: 1 !important;
  }

  .footer-bottom span {
    grid-row: 2 !important;
    justify-self: center !important;
  }

  .footer-bottom a {
    grid-row: 3 !important;
    justify-self: center !important;
  }
}

/* Source: footer-icons-overrides.css */
/* Minimal footer icons placed between copyright and the back-to-top link. */

.bubble-button:hover .bubble-button__particle,
.bubble-button:focus-visible .bubble-button__particle {
  opacity: 1 !important;
}

.footer-brand,
.footer-column,
.footer-socials > strong {
  display: none !important;
}

.footer-socials a[href="contact.html"] {
  display: none !important;
}

.footer-socials a,
.footer-socials::after {
  display: grid !important;
  width: 38px !important;
  height: 38px !important;
  place-items: center !important;
  overflow: hidden !important;
  border: 1px solid color-mix(in srgb, var(--text) 18%, transparent) !important;
  border-radius: 50% !important;
  background: color-mix(in srgb, var(--surface) 74%, transparent) !important;
  color: var(--text) !important;
  box-shadow: none !important;
  text-decoration: none !important;
  transform: none !important;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease !important;
}

.footer-socials a {
  font-size: 0 !important;
}

.footer-socials a::before {
  display: block;
  width: 19px;
  height: 19px;
  background: currentColor;
  content: "";
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.footer-socials a[href*="github"]::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 22v-4a4.8 4.8 0 0 0-1-3.5c3.3-.4 6.8-1.6 6.8-7A5.4 5.4 0 0 0 19.4 4 5 5 0 0 0 19.3.5S18.2.1 15 1.8a13.4 13.4 0 0 0-7 0C4.8.1 3.7.5 3.7.5A5 5 0 0 0 3.6 4a5.4 5.4 0 0 0-1.4 3.7c0 5.4 3.5 6.6 6.8 7A4.8 4.8 0 0 0 8 18v4M8 19c-3 .9-3-1.5-4-2' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 22v-4a4.8 4.8 0 0 0-1-3.5c3.3-.4 6.8-1.6 6.8-7A5.4 5.4 0 0 0 19.4 4 5 5 0 0 0 19.3.5S18.2.1 15 1.8a13.4 13.4 0 0 0-7 0C4.8.1 3.7.5 3.7.5A5 5 0 0 0 3.6 4a5.4 5.4 0 0 0-1.4 3.7c0 5.4 3.5 6.6 6.8 7A4.8 4.8 0 0 0 8 18v4M8 19c-3 .9-3-1.5-4-2' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.footer-socials a[href*="instagram"]::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='4' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='4' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='black'/%3E%3C/svg%3E");
}

.footer-socials a[href*="tiktok"]::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 4v10.2a4.7 4.7 0 1 1-4-4.6V13a1.8 1.8 0 1 0 1 1.6V4h3Zm0 0c.8 2.2 2.3 3.6 5 4v3.1c-2.1-.2-3.7-1-5-2.1' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 4v10.2a4.7 4.7 0 1 1-4-4.6V13a1.8 1.8 0 1 0 1 1.6V4h3Zm0 0c.8 2.2 2.3 3.6 5 4v3.1c-2.1-.2-3.7-1-5-2.1' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.footer-socials::after {
  content: "in" !important;
  font-family: Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

.footer-socials a:hover,
.footer-socials::after:hover {
  border-color: #ee719e !important;
  background: #ee719e !important;
  color: #ffffff !important;
  transform: translateY(-2px) scale(1.03) !important;
}

[data-theme="dark"] .footer-socials a:hover,
[data-theme="dark"] .footer-socials::after:hover {
  border-color: #882043 !important;
  background: #882043 !important;
}

@media (max-width: 620px) {
  .footer-socials a,
  .footer-socials::after {
    width: 36px !important;
    height: 36px !important;
  }
}

/* Source: bubble-buttons.css */
/* Gooey bubble buttons based on the referenced CodePen, adapted to the portfolio palette. */

.bubble-button {
  --bubble-base: #1d2532;
  --bubble-action: #ee719e;
  --bubble-label: #fceae2;
  position: relative;
  z-index: 0;
  display: inline-grid !important;
  min-height: auto !important;
  place-items: center;
  overflow: visible !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--bubble-label) !important;
  isolation: isolate;
  text-decoration: none;
  transform: translateZ(0);
  transition: transform 120ms ease;
}

[data-theme="dark"] .bubble-button {
  --bubble-base: #fceae2;
  --bubble-action: #882043;
  --bubble-label: #1d2532;
}

.bubble-button.text-link::after {
  content: none !important;
}

.bubble-button__label {
  position: relative;
  z-index: 3;
  display: inline-flex;
  min-height: 44px;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: inherit;
  color: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color 120ms ease;
}

.button-small.bubble-button .bubble-button__label,
.text-link.bubble-button .bubble-button__label {
  min-height: 41px;
  padding-inline: 17px;
}

.send-mail-btn.bubble-button .bubble-button__label {
  min-height: 38px;
  width: 38px;
  padding: 0;
  font-size: 20px;
}

.bubble-button__effect {
  position: absolute;
  z-index: 1;
  display: block;
  width: 200%;
  height: 400%;
  top: -150%;
  left: -50%;
  overflow: visible;
  pointer-events: none;
  filter: url("#portfolio-bubble-goo");
  -webkit-filter: url("#portfolio-bubble-goo");
}

.bubble-button__core {
  position: absolute;
  z-index: 1;
  width: 50%;
  height: 25%;
  top: 50%;
  left: 25%;
  border-radius: 999px;
  background: var(--bubble-base);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--bubble-base) 24%, transparent);
  transform: translateY(-50%);
  transition: background 100ms ease, box-shadow 140ms ease;
}

.bubble-button__particle {
  position: absolute;
  z-index: 2;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--bubble-base);
  opacity: 1;
  transition: background 100ms ease;
  will-change: transform, opacity;
}

.bubble-button__particle.top-left {
  top: 40%;
  left: 27%;
}

.bubble-button__particle.bottom-right {
  right: 27%;
  bottom: 40%;
}

.bubble-button:hover .bubble-button__core,
.bubble-button:hover .bubble-button__particle,
.bubble-button:focus-visible .bubble-button__core,
.bubble-button:focus-visible .bubble-button__particle {
  background: var(--bubble-action);
}

.bubble-button:hover .bubble-button__core,
.bubble-button:focus-visible .bubble-button__core {
  box-shadow: 0 16px 34px color-mix(in srgb, var(--bubble-action) 40%, transparent);
  animation: bubble-core-bounce 720ms 120ms cubic-bezier(0.16, 1.2, 0.3, 1) both;
}

.bubble-button:hover .bubble-button__label,
.bubble-button:focus-visible .bubble-button__label {
  color: #fff;
}

.bubble-button:hover .top-left.bubble-one,
.bubble-button:focus-visible .top-left.bubble-one {
  animation: bubble-top-left-one 820ms cubic-bezier(0.16, 0.84, 0.44, 1) both;
}

.bubble-button:hover .top-left.bubble-two,
.bubble-button:focus-visible .top-left.bubble-two {
  animation: bubble-top-left-two 900ms 30ms cubic-bezier(0.16, 0.84, 0.44, 1) both;
}

.bubble-button:hover .top-left.bubble-three,
.bubble-button:focus-visible .top-left.bubble-three {
  animation: bubble-top-left-three 860ms 55ms cubic-bezier(0.16, 0.84, 0.44, 1) both;
}

.bubble-button:hover .bottom-right.bubble-one,
.bubble-button:focus-visible .bottom-right.bubble-one {
  animation: bubble-bottom-right-one 840ms 70ms cubic-bezier(0.16, 0.84, 0.44, 1) both;
}

.bubble-button:hover .bottom-right.bubble-two,
.bubble-button:focus-visible .bottom-right.bubble-two {
  animation: bubble-bottom-right-two 920ms 25ms cubic-bezier(0.16, 0.84, 0.44, 1) both;
}

.bubble-button:hover .bottom-right.bubble-three,
.bubble-button:focus-visible .bottom-right.bubble-three {
  animation: bubble-bottom-right-three 860ms 90ms cubic-bezier(0.16, 0.84, 0.44, 1) both;
}

.bubble-button:active {
  transform: scale(0.95);
}

.bubble-button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--bubble-action) 48%, transparent);
  outline-offset: 6px;
}

.bubble-goo-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

@keyframes bubble-core-bounce {
  0% { transform: translateY(-50%) scale(1); }
  35% { transform: translateY(-50%) scale(1.04, 1.16); }
  68% { transform: translateY(-50%) scale(0.99, 0.96); }
  100% { transform: translateY(-50%) scale(1); }
}

@keyframes bubble-top-left-one {
  0% { opacity: 1; transform: translate(0, 0) rotate(-45deg) scale(1); }
  42% { opacity: 1; transform: translate(-25px, -25px) rotate(-45deg) scale(0.2, 2); }
  52% { opacity: 1; transform: translate(-19px, -27px) rotate(-45deg) scale(0.2); }
  100% { opacity: 0; transform: translate(-24px, -42px) rotate(-45deg) scale(0); }
}

@keyframes bubble-top-left-two {
  0% { opacity: 1; transform: translate(0, 0) rotate(-45deg) scale(1); }
  42% { opacity: 1; transform: translate(-25px, -25px) rotate(-45deg) scale(1, 2); }
  52% { opacity: 1; transform: translate(-35px, -32px) rotate(-45deg) scale(1, 0.8); }
  100% { opacity: 0; transform: translate(-45px, -42px) rotate(-45deg) scale(0.4); }
}

@keyframes bubble-top-left-three {
  0% { opacity: 1; transform: translate(0, 0) rotate(-45deg) scale(1); }
  42% { opacity: 1; transform: translate(-25px, -25px) rotate(-45deg) scale(0.2, 2); }
  52% { opacity: 1; transform: translate(-40px, -19px) rotate(-45deg) scale(0.2); }
  100% { opacity: 0; transform: translate(-55px, -14px) rotate(-45deg) scale(0); }
}

@keyframes bubble-bottom-right-one {
  0% { opacity: 1; transform: translate(0, 0) rotate(45deg) scale(1); }
  42% { opacity: 1; transform: translate(30px, 30px) rotate(45deg) scale(0.2, 2); }
  52% { opacity: 1; transform: translate(24px, 33px) rotate(45deg) scale(0.2); }
  100% { opacity: 0; transform: translate(29px, 48px) rotate(45deg) scale(0); }
}

@keyframes bubble-bottom-right-two {
  0% { opacity: 1; transform: translate(0, 0) rotate(45deg) scale(1); }
  42% { opacity: 1; transform: translate(30px, 30px) rotate(45deg) scale(1, 2); }
  52% { opacity: 1; transform: translate(37px, 33px) rotate(45deg) scale(0.8); }
  100% { opacity: 0; transform: translate(44px, 40px) rotate(45deg) scale(0.4); }
}

@keyframes bubble-bottom-right-three {
  0% { opacity: 1; transform: translate(0, 0) rotate(45deg) scale(1); }
  42% { opacity: 1; transform: translate(30px, 30px) rotate(45deg) scale(0.2, 2); }
  52% { opacity: 1; transform: translate(45px, 24px) rotate(45deg) scale(0.2); }
  100% { opacity: 0; transform: translate(60px, 19px) rotate(45deg) scale(0); }
}

@media (prefers-reduced-motion: reduce) {
  .bubble-button,
  .bubble-button__core,
  .bubble-button__label,
  .bubble-button__particle {
    animation: none !important;
    transition: none !important;
  }
}

/* Source: screenshot-fixes.css */
.featured-web-note,
.website-note,
.website-card:nth-child(even) .website-note {
  position: relative !important;
  overflow: visible !important;
  background: #f3eb9d !important;
  background-image: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
}

[data-theme="dark"] .featured-web-note,
[data-theme="dark"] .website-note,
[data-theme="dark"] .website-card:nth-child(even) .website-note {
  background: #b8d8ea !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
}

.featured-web-note::after,
.website-note::after,
.website-card:nth-child(even) .website-note::after {
  display: none !important;
  content: none !important;
}

/* izolepa ven z lístečku */
.featured-web-note::before,
.website-note::before,
.website-card:nth-child(even) .website-note::before {
  content: "" !important;
  position: absolute !important;
  top: -12px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 68px !important;
  height: 18px !important;
  background: rgba(235, 230, 215, 0.78) !important;
  border: none !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  z-index: 5 !important;
}

[data-theme="dark"] .featured-web-note::before,
[data-theme="dark"] .website-note::before,
[data-theme="dark"] .website-card:nth-child(even) .website-note::before {
  background: rgba(226, 235, 242, 0.78) !important;
}

/* text v lístku */
.featured-web-note h3,
.website-note h2,
.website-card:nth-child(even) .website-note h2 {
  margin: 0 0 10px !important;
  line-height: 1.05 !important;
  letter-spacing: -0.02em !important;
  color: #1d2532 !important;
}

.featured-web-note p,
.website-note p,
.website-card:nth-child(even) .website-note p {
  margin: 0 !important;
  line-height: 1.38 !important;
  color: #1d2532 !important;
}

/* menší nápis na homepage */
.featured-web-note h3 {
  font-size: clamp(18px, 1.7vw, 23px) !important;
}

.featured-web-note p {
  font-size: clamp(12px, 0.95vw, 14px) !important;
}

/* větší lístečky na stránce weby */
.website-note,
.website-card:nth-child(even) .website-note {
  min-height: 310px !important;
  height: 310px !important;
  width: 230px !important;
  padding: 22px 18px 18px !important;
}

.website-note h2,
.website-card:nth-child(even) .website-note h2 {
  font-size: clamp(18px, 1.25vw, 22px) !important;
}

.website-note p,
.website-card:nth-child(even) .website-note p {
  font-size: clamp(12px, 0.9vw, 14px) !important;
}

/* -------------------------
   2) HOMEPAGE
   web uprostřed,
   lístek vlevo,
   šipka vpravo od webu
-------------------------- */
.featured-web {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: auto auto !important;
  grid-template-areas:
    "screen"
    "action" !important;
  justify-items: center !important;
  align-items: start !important;
  row-gap: 18px !important;
  width: 100% !important;
}

.featured-web-screen {
  grid-area: screen !important;
  width: min(58vw, 840px) !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

.featured-web-note {
  position: absolute !important;
  top: 50% !important;
  left: calc(50% - min(29vw, 420px) - 230px - 26px) !important;
  transform: translateY(-50%) !important;
  width: 230px !important;
  min-height: 300px !important;
  height: 300px !important;
  padding: 22px 18px 18px !important;
  text-align: left !important;
  z-index: 4 !important;
}

.featured-web-button {
  grid-area: action !important;
  position: static !important;
  display: grid !important;
  width: min(58vw, 840px) !important;
  max-width: 100% !important;
  justify-self: center !important;
  justify-items: end !important;
  margin: 0 !important;
  padding-right: 0 !important;
  transform: none !important;
}

.featured-web-button .click-arrow-asset,
.featured-web-button .click-text-asset {
  width: 110px !important;
}

/* mobilní tlačítko nech schované na desktopu */
.featured-web-mobile-link {
  display: none !important;
}

/* -------------------------
   3) STRÁNKA WEBY
   všechno na střed,
   levé projekty = lístek vlevo
   pravé projekty = lístek vpravo
-------------------------- */
.websites-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 52px 40px !important;
  width: min(1420px, calc(100vw - 48px)) !important;
  margin: 0 auto !important;
  justify-items: center !important;
  align-items: start !important;
  left: auto !important;
  transform: none !important;
}

.website-card,
.website-card:nth-child(even) {
  position: relative !important;
  display: grid !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 22px !important;
  width: 100% !important;
  max-width: 700px !important;
  margin: 0 auto !important;
}

/* levé karty = lístek vlevo */
.website-card:nth-child(odd) {
  grid-template-columns: 230px minmax(0, 1fr) !important;
  grid-template-areas: "note screen" !important;
}

/* pravé karty = lístek vpravo */
.website-card:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) 230px !important;
  grid-template-areas: "screen note" !important;
}

.website-side-info,
.website-card:nth-child(even) .website-side-info {
  grid-area: note !important;
  position: static !important;
  width: 230px !important;
  margin: 0 !important;
  justify-self: center !important;
}

.website-note,
.website-card:nth-child(even) .website-note {
  position: relative !important;
  inset: auto !important;
  left: auto !important;
  text-align: left !important;
}

.website-screen,
.website-card:nth-child(even) .website-screen {
  grid-area: screen !important;
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  max-width: 470px !important;
  margin: 0 !important;
  justify-self: center !important;
}

.website-viewport {
  aspect-ratio: 16 / 10 !important;
}

/* -------------------------
   4) ŠIPKY "CLICK ME"
   mají mířit od lístku
   směrem na web
-------------------------- */

/* projekty s lístkem vlevo -> šipka zleva doprava */
.website-card:nth-child(odd) .website-open-button {
  position: absolute !important;
  left: -82px !important;
  right: auto !important;
  bottom: 20px !important;
  width: 92px !important;
  margin: 0 !important;
  transform: none !important;
}

.website-card:nth-child(odd) .click-arrow-asset,
.website-card:nth-child(odd) .click-text-asset {
  transform: scaleX(-1) !important;
}

/* projekty s lístkem vpravo -> šipka zprava doleva */
.website-card:nth-child(even) .website-open-button {
  position: absolute !important;
  right: -82px !important;
  left: auto !important;
  bottom: 20px !important;
  width: 92px !important;
  margin: 0 !important;
  transform: none !important;
}

.website-card:nth-child(even) .click-arrow-asset,
.website-card:nth-child(even) .click-text-asset {
  transform: none !important;
}

/* homepage šipka taky vpravo */
.featured-web-button .click-arrow-asset,
.featured-web-button .click-text-asset {
  transform: none !important;
}

/* -------------------------
   5) HOVER BARVY TLAČÍTEK
-------------------------- */
.bubble-button {
  --bubble-action: #f5a6c2 !important;
}

[data-theme="dark"] .bubble-button {
  --bubble-action: #7052c7 !important;
}

/* -------------------------
   6) TABLET
-------------------------- */
@media (max-width: 1180px) {
  .websites-grid {
    grid-template-columns: 1fr !important;
    width: min(780px, calc(100vw - 32px)) !important;
    gap: 44px !important;
  }

  .website-card:nth-child(odd) {
    grid-template-columns: 230px minmax(0, 1fr) !important;
  }

  .website-card:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) 230px !important;
  }
}

/* -------------------------
   7) MOBIL
-------------------------- */
@media (max-width: 760px) {
  .featured-web {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "screen"
      "note"
      "action" !important;
    justify-items: center !important;
  }

  .featured-web-note {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: min(320px, 92vw) !important;
    min-height: auto !important;
    height: auto !important;
    text-align: center !important;
  }

  .featured-web-button {
    justify-items: center !important;
    width: auto !important;
  }

  .websites-grid {
    grid-template-columns: 1fr !important;
    width: min(92vw, 860px) !important;
  }

  .website-card,
  .website-card:nth-child(even),
  .website-card:nth-child(odd) {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "screen"
      "note" !important;
    justify-items: center !important;
  }

  .website-side-info,
  .website-card:nth-child(even) .website-side-info,
  .website-note,
  .website-card:nth-child(even) .website-note {
    width: min(320px, 92vw) !important;
    min-height: auto !important;
    height: auto !important;
    text-align: center !important;
  }

  .website-card:nth-child(odd) .website-open-button,
  .website-card:nth-child(even) .website-open-button {
    right: 8px !important;
    left: auto !important;
    bottom: 8px !important;
    width: 82px !important;
  }

  .website-card:nth-child(odd) .click-arrow-asset,
  .website-card:nth-child(odd) .click-text-asset,
  .website-card:nth-child(even) .click-arrow-asset,
  .website-card:nth-child(even) .click-text-asset {
    transform: none !important;
  }
}

/* Position-only pass: keep the page design, move only sticky notes and click arrows. */
.featured-web {
  --featured-web-width: min(58vw, 840px);
  --featured-web-half: min(29vw, 420px);
  position: relative !important;
  grid-template-columns: 1fr !important;
  grid-template-areas: "screen" !important;
  justify-items: center !important;
  row-gap: 0 !important;
}

.featured-web-screen {
  width: var(--featured-web-width) !important;
  max-width: 100% !important;
}

.featured-web-note {
  position: absolute !important;
  top: 50% !important;
  left: calc(50% + var(--featured-web-half) + 26px) !important;
  transform: translateY(-50%) rotate(1deg) !important;
  display: grid !important;
  gap: 8px !important;
  align-content: start !important;
  justify-items: start !important;
  width: 230px !important;
  min-height: 300px !important;
  height: auto !important;
  text-align: left !important;
}

.featured-web-button {
  position: static !important;
  inset: auto !important;
  grid-area: auto !important;
  display: grid !important;
  justify-self: end !important;
  justify-items: end !important;
  width: 110px !important;
  margin: 4px 0 0 !important;
  padding: 0 !important;
  transform: none !important;
}

.featured-web-button .click-arrow-asset,
.featured-web-button .click-text-asset {
  width: 100% !important;
  transform: none !important;
}

.website-note,
.website-card:nth-child(even) .website-note {
  display: grid !important;
  gap: 8px !important;
  align-content: start !important;
  justify-items: start !important;
  height: auto !important;
  max-height: none !important;
  min-height: 310px !important;
}

.website-note .website-open-button,
.website-card:nth-child(even) .website-note .website-open-button {
  position: static !important;
  inset: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  display: grid !important;
  justify-self: center !important;
  justify-items: center !important;
  width: 92px !important;
  margin: 2px auto 0 !important;
  transform: none !important;
}

.websites-page main {
  width: min(1280px, calc(100% - 32px)) !important;
  margin-inline: auto !important;
}

.websites-grid {
  width: 100% !important;
  max-width: 1280px !important;
  margin-inline: auto !important;
  left: auto !important;
  transform: none !important;
}

.websites-page .website-card:nth-child(odd) .website-note .website-open-button,
.websites-page .website-card:nth-child(even) .website-note .website-open-button {
  position: static !important;
  inset: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  justify-self: center !important;
  width: 92px !important;
  margin: 2px auto 0 !important;
  transform: none !important;
}

.websites-page .website-card:nth-child(odd) .website-note .click-arrow-asset {
  transform: scaleX(-1) !important;
}

.websites-page .website-card:nth-child(even) .website-note .click-arrow-asset,
.websites-page .website-note .click-text-asset {
  transform: none !important;
}

@media (max-width: 1180px) {
  .featured-web {
    --featured-web-width: min(56vw, 640px);
    --featured-web-half: min(28vw, 320px);
  }

  .featured-web-note {
    left: calc(50% + var(--featured-web-half) + 12px) !important;
    width: clamp(144px, 17vw, 190px) !important;
    min-height: 260px !important;
    padding: 18px 14px 14px !important;
  }

  .featured-web-note h3 {
    font-size: clamp(16px, 1.7vw, 20px) !important;
  }

  .featured-web-note p {
    font-size: 12px !important;
  }

  .featured-web-button {
    width: 94px !important;
  }
}

@media (max-width: 760px) {
  .featured-web {
    grid-template-columns: minmax(0, 1fr) clamp(124px, 34vw, 156px) !important;
    grid-template-areas: "screen note" !important;
    gap: 10px !important;
    align-items: center !important;
  }

  .featured-web-screen {
    width: 100% !important;
    max-width: none !important;
  }

  .featured-web-note {
    position: relative !important;
    grid-area: note !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 9px 8px !important;
    gap: 5px !important;
    transform: rotate(1deg) !important;
    text-align: left !important;
  }

  .featured-web-note h3 {
    font-size: clamp(13px, 3.4vw, 16px) !important;
    margin-bottom: 2px !important;
  }

  .featured-web-note p {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 8 !important;
    font-size: 10.5px !important;
    line-height: 1.25 !important;
  }

  .featured-web-button {
    justify-self: center !important;
    width: clamp(72px, 22vw, 92px) !important;
    margin-top: 2px !important;
  }

  .website-note,
  .website-card:nth-child(even) .website-note {
    width: min(320px, 92vw) !important;
    min-height: auto !important;
    height: auto !important;
    justify-items: center !important;
    text-align: center !important;
  }

  .website-note .website-open-button,
  .website-card:nth-child(even) .website-note .website-open-button {
    width: 82px !important;
  }

  .websites-page .website-card:nth-child(odd) .website-note .click-arrow-asset,
  .websites-page .website-card:nth-child(even) .website-note .click-arrow-asset {
    transform: none !important;
  }
}

/* Sticky-note detail pass: post-it shape, paper grain, tape, and mobile cleanup. */
:root {
  --sticky-paper: #fff4a3;
  --sticky-paper-shadow: rgba(80, 63, 20, 0.28);
  --sticky-paper-ink: #19124c;
  --sticky-tape: rgba(247, 238, 217, 0.76);
  --sticky-fibers: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='paper'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='5' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23paper)' opacity='0.28'/%3E%3C/svg%3E");
}

[data-theme="dark"] {
  --sticky-paper: #d8c6ff;
  --sticky-paper-shadow: rgba(16, 9, 35, 0.46);
  --sticky-paper-ink: #171020;
  --sticky-tape: rgba(230, 222, 252, 0.72);
}

.featured-web-note,
.website-note,
.website-card:nth-child(even) .website-note {
  isolation: isolate !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 0 0 30px / 45px !important;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08), rgba(42, 31, 9, 0.08)),
    var(--sticky-fibers),
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.32), transparent 42%),
    linear-gradient(150deg, color-mix(in srgb, var(--sticky-paper) 95%, #ffffff 5%), var(--sticky-paper)) !important;
  background-blend-mode: soft-light, multiply, normal, normal !important;
  box-shadow:
    inset 0 -34px 34px rgba(55, 40, 0, 0.13),
    inset 0 18px 10px rgba(255, 255, 255, 0.18),
    0 16px 26px var(--sticky-paper-shadow) !important;
  color: var(--sticky-paper-ink) !important;
  font-family: Caveat, "Segoe Print", cursive !important;
}

.featured-web-note {
  width: 258px !important;
  min-height: 336px !important;
  padding: 30px 22px 24px !important;
}

.website-note,
.website-card:nth-child(even) .website-note {
  width: 260px !important;
  min-height: 336px !important;
  padding: 30px 22px 24px !important;
}

.featured-web-note::before,
.website-note::before,
.website-card:nth-child(even) .website-note::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  z-index: 1 !important;
  display: block !important;
  width: 34px !important;
  height: 42px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background:
    var(--sticky-fibers),
    linear-gradient(135deg, color-mix(in srgb, var(--sticky-paper) 92%, #ffffff 8%), color-mix(in srgb, var(--sticky-paper) 68%, #5b4b20 32%)) !important;
  box-shadow:
    4px -3px 13px rgba(45, 31, 0, 0.22),
    inset 16px -18px 16px rgba(45, 31, 0, 0.22) !important;
  transform: skewX(25deg) !important;
  pointer-events: none !important;
}

.featured-web-note::after,
.website-note::after,
.website-card:nth-child(even) .website-note::after {
  content: "" !important;
  position: absolute !important;
  left: 12% !important;
  bottom: 7px !important;
  z-index: 2 !important;
  display: block !important;
  width: 72% !important;
  height: 20px !important;
  border-top: 2px solid color-mix(in srgb, var(--sticky-paper-ink) 70%, transparent) !important;
  border-radius: 50% !important;
  opacity: 0.38 !important;
  pointer-events: none !important;
}

.sticky-tape {
  position: absolute !important;
  top: -13px !important;
  left: 50% !important;
  z-index: 5 !important;
  display: block !important;
  width: 84px !important;
  height: 24px !important;
  border-radius: 3px !important;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.02)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 7px),
    var(--sticky-tape) !important;
  box-shadow: 0 4px 10px rgba(22, 16, 10, 0.16) !important;
  transform: translateX(-50%) rotate(-2deg) !important;
  pointer-events: none !important;
}

.website-card:nth-child(even) .sticky-tape {
  transform: translateX(-50%) rotate(2deg) !important;
}

.featured-web-note h3,
.featured-web-note p,
.website-note h2,
.website-note p,
.website-card:nth-child(even) .website-note h2,
.website-card:nth-child(even) .website-note p {
  position: relative !important;
  z-index: 3 !important;
  color: var(--sticky-paper-ink) !important;
  letter-spacing: 0 !important;
}

.featured-web-note h3,
.website-note h2,
.website-card:nth-child(even) .website-note h2 {
  font-size: clamp(24px, 2.2vw, 31px) !important;
  line-height: 1 !important;
  margin-bottom: 10px !important;
}

.featured-web-note p,
.website-note p,
.website-card:nth-child(even) .website-note p {
  font-size: clamp(17px, 1.35vw, 21px) !important;
  line-height: 1.16 !important;
}

.featured-web-button,
.website-note .website-open-button,
.website-card:nth-child(even) .website-note .website-open-button {
  position: relative !important;
  z-index: 4 !important;
}

[data-theme="dark"] .click-arrow-link .theme-asset img.theme-asset-dark {
  filter:
    brightness(0)
    saturate(100%)
    invert(9%)
    sepia(32%)
    saturate(1850%)
    hue-rotate(235deg)
    brightness(82%)
    contrast(112%)
    drop-shadow(0 1px 2px rgba(255, 255, 255, 0.18)) !important;
  opacity: 0.98 !important;
}

[data-theme="dark"] .featured-web-note,
[data-theme="dark"] .website-note,
[data-theme="dark"] .website-card:nth-child(even) .website-note {
  background:
    linear-gradient(rgba(255, 255, 255, 0.10), rgba(25, 13, 55, 0.10)),
    var(--sticky-fibers),
    radial-gradient(circle at 20% 16%, rgba(255, 255, 255, 0.32), transparent 44%),
    linear-gradient(150deg, #e0ceff 0%, #cab1ff 100%) !important;
  background-blend-mode: soft-light, multiply, normal, normal !important;
  box-shadow:
    inset 0 -34px 34px rgba(39, 20, 80, 0.15),
    inset 0 18px 10px rgba(255, 255, 255, 0.18),
    0 18px 32px rgba(4, 0, 16, 0.54) !important;
  color: #15101d !important;
}

[data-theme="dark"] .featured-web-note::before,
[data-theme="dark"] .website-note::before,
[data-theme="dark"] .website-card:nth-child(even) .website-note::before {
  background:
    var(--sticky-fibers),
    linear-gradient(135deg, #e5d6ff 0%, #9f83e5 100%) !important;
  box-shadow:
    4px -3px 13px rgba(26, 13, 58, 0.30),
    inset 16px -18px 16px rgba(33, 16, 72, 0.28) !important;
}

[data-theme="dark"] .featured-web-note::after,
[data-theme="dark"] .website-note::after,
[data-theme="dark"] .website-card:nth-child(even) .website-note::after {
  border-top-color: rgba(34, 18, 72, 0.55) !important;
}

[data-theme="dark"] .sticky-tape {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.02)),
    repeating-linear-gradient(90deg, rgba(65, 42, 122, 0.16) 0 1px, transparent 1px 7px),
    rgba(230, 222, 252, 0.82) !important;
}

[data-theme="dark"] .featured-web-note h3,
[data-theme="dark"] .featured-web-note p,
[data-theme="dark"] .website-note h2,
[data-theme="dark"] .website-note p,
[data-theme="dark"] .website-card:nth-child(even) .website-note h2,
[data-theme="dark"] .website-card:nth-child(even) .website-note p {
  color: #15101d !important;
}

[data-theme="dark"] .click-arrow-link .click-arrow-asset img.theme-asset-dark,
[data-theme="dark"] .click-arrow-link .click-text-asset img.theme-asset-dark {
  filter:
    brightness(0)
    saturate(100%)
    invert(8%)
    sepia(16%)
    saturate(1516%)
    hue-rotate(231deg)
    brightness(78%)
    contrast(112%)
    drop-shadow(0 1px 1px rgba(255, 255, 255, 0.20)) !important;
}

.theme-thumb {
  top: 50% !important;
  left: 5px !important;
  transform: translateY(-50%) !important;
}

[data-theme="dark"] .theme-thumb {
  transform: translate(34px, -50%) !important;
}

@media (min-width: 761px) {
  .website-card:nth-child(odd) {
    grid-template-columns: 260px minmax(0, 1fr) !important;
  }

  .website-card:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) 260px !important;
  }
}

@media (max-width: 1180px) and (min-width: 761px) {
  .featured-web-note {
    width: clamp(196px, 20vw, 230px) !important;
    min-height: 306px !important;
    padding: 28px 18px 22px !important;
  }

  .featured-web-note h3,
  .website-note h2,
  .website-card:nth-child(even) .website-note h2 {
    font-size: clamp(22px, 2.2vw, 28px) !important;
  }

  .featured-web-note p,
  .website-note p,
  .website-card:nth-child(even) .website-note p {
    font-size: clamp(16px, 1.55vw, 19px) !important;
  }
}

@media (max-width: 760px) {
  .theme-toggle {
    width: 62px !important;
    height: 32px !important;
  }

  .theme-thumb {
    top: 50% !important;
    left: 4px !important;
    width: 24px !important;
    height: 24px !important;
    transform: translateY(-50%) !important;
  }

  [data-theme="dark"] .theme-thumb {
    transform: translate(30px, -50%) !important;
  }

  .featured-web {
    grid-template-columns: minmax(0, 1fr) clamp(154px, 42vw, 210px) !important;
    gap: 8px !important;
  }

  .featured-web-note {
    width: 100% !important;
    min-height: 212px !important;
    padding: 24px 12px 18px !important;
  }

  .website-note,
  .website-card:nth-child(even) .website-note {
    width: min(350px, 92vw) !important;
    min-height: 228px !important;
    padding: 28px 20px 22px !important;
  }

  .featured-web-note h3,
  .website-note h2,
  .website-card:nth-child(even) .website-note h2 {
    font-size: clamp(23px, 7.1vw, 30px) !important;
  }

  .featured-web-note p,
  .website-note p,
  .website-card:nth-child(even) .website-note p {
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    font-size: clamp(15px, 4.8vw, 18px) !important;
    line-height: 1.12 !important;
  }

  .featured-web-button,
  .website-note .website-open-button,
  .website-card:nth-child(even) .website-note .website-open-button {
    display: none !important;
  }
}

@media (max-width: 360px) {
  .featured-web {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "screen"
      "note" !important;
  }

  .featured-web-note {
    width: min(330px, 92vw) !important;
    justify-self: center !important;
  }
}

/* Final polish: smaller readable notes, no folded corner/line, index CTA, centered footer icons. */
.featured-web-note,
.website-note,
.website-card:nth-child(even) .website-note {
  overflow: visible !important;
  border-radius: 2px !important;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  box-shadow:
    inset 0 12px 10px rgba(255, 255, 255, 0.14),
    0 12px 22px color-mix(in srgb, var(--sticky-paper-shadow) 76%, transparent) !important;
}

.featured-web-note::before,
.featured-web-note::after,
.website-note::before,
.website-note::after,
.website-card:nth-child(even) .website-note::before,
.website-card:nth-child(even) .website-note::after {
  display: none !important;
  content: none !important;
}

.sticky-tape {
  top: -10px !important;
  width: 66px !important;
  height: 18px !important;
  opacity: 0.88 !important;
}

.featured-web-note h3,
.featured-web-note p,
.website-note h2,
.website-note p,
.website-card:nth-child(even) .website-note h2,
.website-card:nth-child(even) .website-note p {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-style: normal !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

.featured-web-note h3,
.website-note h2,
.website-card:nth-child(even) .website-note h2 {
  font-size: clamp(16px, 1.45vw, 20px) !important;
  line-height: 1.08 !important;
  margin: 0 0 8px !important;
}

.featured-web-note p,
.website-note p,
.website-card:nth-child(even) .website-note p {
  font-size: clamp(10.5px, 0.82vw, 12.5px) !important;
  font-weight: 650 !important;
  line-height: 1.32 !important;
}

.website-note,
.website-card:nth-child(even) .website-note {
  width: 190px !important;
  min-height: 230px !important;
  max-height: 248px !important;
  padding: 22px 14px 14px !important;
  gap: 5px !important;
}

.featured-web {
  display: grid !important;
  grid-template-columns: clamp(116px, 11vw, 146px) minmax(0, min(48vw, 620px)) clamp(152px, 14vw, 188px) !important;
  grid-template-areas: "cta screen note" !important;
  gap: 16px !important;
  align-items: center !important;
  justify-content: center !important;
  justify-items: center !important;
  width: 100% !important;
}

.featured-web-screen {
  grid-area: screen !important;
  width: 100% !important;
  max-width: 620px !important;
  margin: 0 !important;
}

.featured-web-note {
  position: relative !important;
  grid-area: note !important;
  top: auto !important;
  left: auto !important;
  width: 178px !important;
  min-height: 216px !important;
  max-height: 236px !important;
  padding: 22px 13px 14px !important;
  transform: rotate(1deg) !important;
}

.featured-web-cta-button {
  grid-area: cta !important;
  justify-self: end !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 116px !important;
  min-height: 42px !important;
  padding: 10px 16px !important;
  border-radius: 999px !important;
  background: var(--text) !important;
  color: var(--bg) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-align: center !important;
  box-shadow: 0 12px 24px rgba(29, 37, 50, 0.16) !important;
}

[data-theme="dark"] .featured-web-cta-button {
  background: var(--toggle-light) !important;
  color: var(--toggle-dark) !important;
}

.websites-page .website-card:nth-child(odd),
.websites-page .website-card:nth-child(even) {
  gap: 14px !important;
}

.websites-page .website-card:nth-child(odd) {
  grid-template-columns: 190px minmax(0, 1fr) !important;
}

.websites-page .website-card:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) 190px !important;
}

.websites-page .website-screen,
.websites-page .website-card:nth-child(even) .website-screen {
  max-width: 430px !important;
}

.footer-socials {
  justify-content: center !important;
  justify-items: center !important;
  text-align: center !important;
}

.site-footer .footer-socials a,
.site-footer .footer-socials::after {
  margin-inline: auto !important;
}

.site-footer .footer-icon {
  margin-inline: auto !important;
}

.featured-web-button,
.website-note .website-open-button,
.website-card:nth-child(even) .website-note .website-open-button {
  display: none !important;
}

@media (max-width: 1180px) and (min-width: 761px) {
  .featured-web {
    grid-template-columns: clamp(104px, 12vw, 132px) minmax(0, min(50vw, 540px)) clamp(142px, 18vw, 178px) !important;
    gap: 12px !important;
  }

  .featured-web-note {
    width: clamp(146px, 18vw, 174px) !important;
    min-height: 204px !important;
    padding: 20px 12px 13px !important;
  }

  .featured-web-note h3 {
    font-size: clamp(15px, 1.7vw, 18px) !important;
  }

  .featured-web-note p {
    font-size: clamp(9.8px, 1.1vw, 11.5px) !important;
    line-height: 1.28 !important;
  }
}

@media (max-width: 760px) {
  .featured-web {
    grid-template-columns: minmax(0, 1fr) clamp(130px, 36vw, 160px) !important;
    grid-template-areas:
      "screen note"
      "cta cta" !important;
    gap: 10px 8px !important;
  }

  .featured-web-screen {
    width: 100% !important;
  }

  .featured-web-note {
    width: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 16px 8px 10px !important;
  }

  .featured-web-note h3 {
    font-size: clamp(14px, 3.8vw, 17px) !important;
  }

  .featured-web-note p {
    font-size: clamp(8.4px, 2.45vw, 9.8px) !important;
    line-height: 1.2 !important;
  }

  .featured-web-cta-button {
    justify-self: center !important;
    min-width: 132px !important;
    min-height: 40px !important;
    margin-top: 10px !important;
  }

  .website-note,
  .website-card:nth-child(even) .website-note {
    width: min(310px, 88vw) !important;
    min-height: 184px !important;
    max-height: none !important;
    padding: 22px 15px 14px !important;
  }

  .website-note h2,
  .website-card:nth-child(even) .website-note h2 {
    font-size: clamp(16px, 4.8vw, 20px) !important;
  }

  .website-note p,
  .website-card:nth-child(even) .website-note p {
    font-size: clamp(10px, 3.1vw, 12px) !important;
    line-height: 1.28 !important;
  }

  .websites-page .website-card,
  .websites-page .website-card:nth-child(odd),
  .websites-page .website-card:nth-child(even) {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "screen"
      "note" !important;
    justify-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: auto !important;
  }

  .websites-page .website-side-info,
  .websites-page .website-card:nth-child(even) .website-side-info {
    grid-area: note !important;
    width: 100% !important;
    justify-items: center !important;
    margin: 0 auto !important;
  }

  .websites-page .website-screen,
  .websites-page .website-card:nth-child(even) .website-screen {
    grid-area: screen !important;
    width: min(100%, 358px) !important;
    max-width: 358px !important;
    justify-self: center !important;
    margin-inline: auto !important;
  }

  .websites-page .website-note,
  .websites-page .website-card:nth-child(even) .website-note {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    justify-self: center !important;
    margin-inline: auto !important;
    transform: rotate(0.4deg) !important;
  }
}

@media (max-width: 360px) {
  .featured-web {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "screen"
      "note"
      "cta" !important;
  }

  .featured-web-note {
    width: min(300px, 88vw) !important;
  }
}

.websites-top-click {
  display: grid !important;
  grid-template-columns: auto auto !important;
  align-items: center !important;
  justify-content: center !important;
  justify-items: center !important;
  gap: clamp(4px, 1.4vw, 14px) !important;
  width: min(420px, 92vw) !important;
  min-height: 128px !important;
  margin: clamp(-32px, -2.5vw, -16px) auto clamp(18px, 3vw, 32px) !important;
  text-decoration: none !important;
  transform: rotate(-2deg) !important;
  position: relative !important;
  z-index: 3 !important;
}

.websites-top-click .click-text-asset,
.websites-top-click .click-arrow-asset {
  display: block !important;
  position: relative !important;
  inset: auto !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  transform-origin: center !important;
}

.websites-top-click .click-text-asset {
  width: clamp(132px, 18vw, 190px) !important;
  transform: rotate(1deg) !important;
}

.websites-top-click .click-arrow-asset {
  width: clamp(112px, 17vw, 178px) !important;
  transform: rotate(11deg) translateY(4px) !important;
}

.websites-top-click .theme-asset img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  filter: none !important;
  opacity: 1 !important;
}

.websites-top-click .theme-asset img.theme-asset-light {
  display: block !important;
}

.websites-top-click .theme-asset img.theme-asset-dark {
  display: none !important;
}

[data-theme="dark"] .websites-top-click .theme-asset img.theme-asset-light {
  display: none !important;
}

[data-theme="dark"] .websites-top-click .theme-asset img.theme-asset-dark {
  display: block !important;
  filter: none !important;
}

.websites-page .website-note .website-open-button,
.websites-page .website-card:nth-child(even) .website-note .website-open-button {
  display: none !important;
}

.featured-web-note h3,
.website-note h2,
.website-card:nth-child(even) .website-note h2 {
  font-weight: 600 !important;
}

.featured-web-note p,
.website-note p,
.website-card:nth-child(even) .website-note p {
  font-weight: 500 !important;
}

html,
body {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

@media (min-width: 761px) {
  .websites-grid {
    width: min(1120px, calc(100vw - 72px)) !important;
    max-width: 1120px !important;
    justify-content: center !important;
    margin-inline: auto !important;
  }

  .websites-page .website-card:nth-child(odd),
  .websites-page .website-card:nth-child(even) {
    grid-template-columns: 180px minmax(0, 1fr) !important;
  }

  .websites-page .website-card:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) 180px !important;
  }

  .websites-page .website-screen,
  .websites-page .website-card:nth-child(even) .website-screen {
    max-width: 400px !important;
  }

  .website-note,
  .website-card:nth-child(even) .website-note {
    width: 180px !important;
  }
}

@media (max-width: 760px) {
  .websites-top-click {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    width: min(210px, 82vw) !important;
    min-height: 172px !important;
    margin: -18px auto 22px !important;
    transform: rotate(-2deg) !important;
  }

  .websites-top-click .click-text-asset {
    width: clamp(132px, 42vw, 158px) !important;
    transform: rotate(1deg) !important;
  }

  .websites-top-click .click-arrow-asset {
    width: clamp(84px, 28vw, 112px) !important;
    transform: rotate(95deg) translateX(-2px) translateY(-8px) !important;
  }
}

/* Final detail pass: downward top arrow, Patrick Hand notes, and animated index CTA. */
.websites-top-click {
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  width: min(230px, 86vw) !important;
  min-height: clamp(158px, 16vw, 190px) !important;
  margin: clamp(-30px, -2vw, -14px) auto clamp(12px, 2.2vw, 24px) !important;
  transform: rotate(-1.5deg) !important;
}

.websites-top-click .click-text-asset {
  width: clamp(142px, 13vw, 174px) !important;
  transform: rotate(1deg) !important;
}

.websites-top-click .click-arrow-asset {
  width: clamp(92px, 8.5vw, 124px) !important;
  transform: rotate(95deg) translateX(-2px) translateY(-8px) !important;
}

.featured-web-note h3,
.featured-web-note p,
.website-note h2,
.website-note p,
.website-card:nth-child(even) .website-note h2,
.website-card:nth-child(even) .website-note p {
  font-family: "Patrick Hand", "Segoe Print", "Comic Sans MS", cursive !important;
  font-weight: 400 !important;
}

.featured-web-note h3,
.website-note h2,
.website-card:nth-child(even) .website-note h2 {
  font-size: clamp(21px, 1.8vw, 25px) !important;
  line-height: 1.02 !important;
}

.featured-web-note p,
.website-note p,
.website-card:nth-child(even) .website-note p {
  font-size: clamp(13px, 1vw, 15.5px) !important;
  line-height: 1.1 !important;
}

.featured-web {
  align-items: start !important;
}

.featured-web-cta-button {
  align-self: start !important;
  justify-self: start !important;
  margin-top: clamp(-16px, -1vw, -8px) !important;
}

.featured-web-cta-button.bubble-button {
  display: inline-grid !important;
  min-width: 128px !important;
  min-height: 42px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--bubble-label) !important;
  overflow: visible !important;
}

.featured-web-cta-button.bubble-button .bubble-button__label {
  min-height: 42px !important;
  padding-inline: 18px !important;
  font-size: 13px !important;
}

[data-theme="dark"] .featured-web-cta-button.bubble-button {
  background: transparent !important;
  color: var(--bubble-label) !important;
}

@media (min-width: 761px) {
  .websites-page .website-card:nth-child(odd) .website-note {
    transform: translateX(24px) rotate(-0.65deg) !important;
  }
}

@media (max-width: 760px) {
  .featured-web {
    grid-template-areas:
      "cta cta"
      "screen note" !important;
    align-items: center !important;
  }

  .featured-web-cta-button,
  .featured-web-cta-button.bubble-button {
    justify-self: start !important;
    margin: 0 0 6px !important;
  }

  .websites-top-click {
    width: min(216px, 82vw) !important;
    min-height: 178px !important;
    margin: -18px auto 22px !important;
  }

  .websites-top-click .click-text-asset {
    width: clamp(132px, 42vw, 158px) !important;
  }

  .websites-top-click .click-arrow-asset {
    width: clamp(84px, 28vw, 112px) !important;
  }

  .featured-web-note h3,
  .website-note h2,
  .website-card:nth-child(even) .website-note h2 {
    font-size: clamp(21px, 6.2vw, 27px) !important;
  }

  .featured-web-note p,
  .website-note p,
  .website-card:nth-child(even) .website-note p {
    font-size: clamp(14px, 4.2vw, 16.5px) !important;
    line-height: 1.08 !important;
  }
}

@media (max-width: 360px) {
  .featured-web {
    grid-template-areas:
      "cta"
      "screen"
      "note" !important;
  }
}

/* Final arrow alignment: same downward read on mobile and desktop. */
.websites-top-click {
  min-height: clamp(136px, 14vw, 166px) !important;
  margin: clamp(-30px, -2vw, -14px) auto clamp(4px, 1.4vw, 14px) !important;
  overflow: visible !important;
}

.websites-top-click .click-arrow-asset {
  height: clamp(96px, 8vw, 124px) !important;
  transform: translateY(-8px) !important;
  overflow: visible !important;
}

.websites-top-click .click-arrow-asset img {
  transform-origin: center !important;
}

.websites-top-click .click-arrow-asset img.theme-asset-light {
  transform: rotate(135deg) scale(0.76) !important;
}

.websites-top-click .click-arrow-asset img.theme-asset-dark {
  transform: rotate(-45deg) scale(0.72) !important;
}

@media (min-width: 761px) {
  .websites-page .website-card:nth-child(odd) .website-note {
    transform: translateX(34px) rotate(-0.65deg) !important;
  }
}

@media (max-width: 760px) {
  .websites-top-click {
    min-height: 150px !important;
    margin: -18px auto 10px !important;
  }

  .websites-top-click .click-arrow-asset {
    height: 104px !important;
    transform: translateY(-6px) !important;
  }
}

/* Compact readability pass: calmer typography, tighter sections, aligned CTA and plain footer links. */
body {
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.site-header {
  position: sticky !important;
  top: 10px !important;
  z-index: 100 !important;
  margin-bottom: 8px !important;
}

h1 {
  font-size: clamp(30px, 4.4vw, 54px) !important;
  line-height: 0.98 !important;
  margin-bottom: 14px !important;
}

h2 {
  font-size: clamp(23px, 3.4vw, 42px) !important;
  line-height: 1.02 !important;
  margin-bottom: 12px !important;
}

h3 {
  font-size: clamp(17px, 2vw, 22px) !important;
  line-height: 1.12 !important;
}

.lead,
.section-note {
  max-width: 720px !important;
  font-size: clamp(14px, 1.45vw, 17px) !important;
  line-height: 1.48 !important;
}

.section,
.about-layout,
.contact-layout,
.skills-preview-section,
.skills-section,
.pricing-preview,
.contact-band,
.pricing-table-section,
.process-optional {
  padding-block: clamp(30px, 4.5vw, 48px) !important;
}

.page-cover {
  padding: clamp(42px, 6vw, 64px) 0 clamp(22px, 3.8vw, 34px) !important;
}

.cover {
  padding-bottom: clamp(42px, 6vw, 64px) !important;
}

.showcase-grid,
.websites-grid {
  padding-block: clamp(34px, 4.8vw, 54px) !important;
}

.process-timeline {
  padding: clamp(40px, 5vw, 58px) 0 clamp(18px, 3vw, 28px) !important;
}

.process-window {
  padding: clamp(18px, 2.4vw, 28px) !important;
}

.process-copy h2 {
  font-size: clamp(23px, 2.6vw, 34px) !important;
}

.process-copy p,
.pricing-note,
.pricing-contact p,
.contact-band p,
.websites-process-cta p {
  font-size: clamp(13px, 1.1vw, 15px) !important;
  line-height: 1.48 !important;
}

.pricing-contact {
  align-items: center !important;
  gap: 14px !important;
  padding: 15px 16px !important;
}

.pricing-table th,
.pricing-table td {
  padding: 15px 18px !important;
  font-size: 13px !important;
  line-height: 1.38 !important;
}

.pricing-table td:first-child,
.pricing-table td:last-child {
  font-size: 13px !important;
}

.featured-web {
  grid-template-columns: clamp(112px, 10vw, 132px) minmax(0, min(48vw, 620px)) clamp(152px, 14vw, 188px) !important;
  align-items: start !important;
  gap: 14px !important;
}

.featured-web-cta-button,
.featured-web-cta-button.bubble-button {
  align-self: start !important;
  justify-self: end !important;
  min-width: 118px !important;
  min-height: 38px !important;
  margin: 0 !important;
}

.featured-web-cta-button.bubble-button .bubble-button__label {
  min-height: 38px !important;
  padding-inline: 15px !important;
  font-size: 12px !important;
}

.featured-web-note h3,
.website-note h2,
.website-card:nth-child(even) .website-note h2 {
  font-size: clamp(19px, 1.55vw, 23px) !important;
}

.featured-web-note p,
.website-note p,
.website-card:nth-child(even) .website-note p {
  font-size: clamp(12px, 0.92vw, 14px) !important;
}

.site-footer {
  padding: 0 !important;
}

.footer-shell {
  width: min(1040px, calc(100% - 32px)) !important;
  grid-template-columns: 1fr auto 1fr !important;
  gap: 14px !important;
  padding: 14px 0 18px !important;
}

.footer-socials {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
}

.footer-socials::after,
.footer-socials a[href="contact.html"] {
  display: none !important;
  content: none !important;
}

.footer-socials a {
  display: inline-flex !important;
  width: auto !important;
  height: auto !important;
  min-height: 24px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--text) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  transform: none !important;
}

.footer-socials a::before {
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 16px !important;
}

.footer-socials a:hover {
  background: transparent !important;
  color: var(--scribble-pink) !important;
  transform: translateY(-1px) !important;
}

[data-theme="dark"] .footer-socials a:hover {
  color: #882043 !important;
}

.footer-bottom span,
.footer-bottom a {
  font-size: 10.5px !important;
}

@media (max-width: 760px) {
  body {
    font-size: 13px !important;
  }

  h1 {
    font-size: clamp(30px, 9vw, 42px) !important;
  }

  h2 {
    font-size: clamp(24px, 7vw, 32px) !important;
  }

  .lead,
  .section-note {
    font-size: 14px !important;
    line-height: 1.42 !important;
  }

  .section,
  .about-layout,
  .contact-layout,
  .skills-preview-section,
  .skills-section,
  .pricing-preview,
  .contact-band,
  .pricing-table-section,
  .process-optional {
    padding-block: 30px !important;
  }

  .page-cover {
    padding: 42px 0 24px !important;
  }

  .featured-web {
    grid-template-areas:
      "cta cta"
      "screen note" !important;
    grid-template-columns: minmax(0, 1fr) clamp(126px, 34vw, 154px) !important;
    gap: 9px 8px !important;
  }

  .featured-web-cta-button,
  .featured-web-cta-button.bubble-button {
    justify-self: start !important;
    margin-left: 2px !important;
    margin-bottom: 2px !important;
  }

  .pricing-contact {
    text-align: center !important;
  }

  .pricing-table td {
    font-size: 12.5px !important;
  }

  .footer-shell {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    gap: 8px !important;
  }

  .footer-socials {
    flex-wrap: wrap !important;
    gap: 12px !important;
  }

  .footer-bottom span,
  .footer-bottom a {
    grid-column: 1 !important;
    justify-self: center !important;
  }
}

@media (max-width: 760px) {
  main,
  .page-cover,
  .pricing-cover,
  .collaboration-cover,
  .collaboration-cover-copy,
  .pricing-table-section,
  .pricing-contact,
  .pricing-table-wrap,
  .process-timeline,
  .process-step,
  .process-window,
  .process-copy,
  .contact-band {
    left: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    transform: none !important;
  }

  .page-cover .lead,
  .collaboration-cover .lead,
  .pricing-cover .lead,
  .pricing-contact p,
  .pricing-note,
  .process-copy p,
  .process-copy h2,
  .contact-band p {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  .pricing-contact {
    flex-direction: column !important;
    align-items: center !important;
  }

  .pricing-table-wrap {
    overflow: visible !important;
  }

  .pricing-table {
    width: 100% !important;
    min-width: 0 !important;
  }

  .pricing-table td,
  .pricing-table th {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .pricing-table td:last-child {
    white-space: normal !important;
  }

  .process-timeline {
    gap: 18px !important;
    padding: 28px 0 18px !important;
  }

  .process-step,
  .process-step:nth-of-type(even) {
    display: block !important;
    min-height: 0 !important;
  }

  .process-window,
  .process-step:nth-of-type(even) .process-window {
    justify-self: stretch !important;
    margin: 0 !important;
  }

  .process-axis {
    left: 14px !important;
    transform: none !important;
    opacity: 0.55 !important;
  }
}

/* Final mobile fit pass for pricing/collaboration pages */
@media (max-width: 760px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  main {
    overflow-x: clip !important;
  }

  .page-cover,
  .pricing-cover,
  .collaboration-cover,
  .pricing-table-section,
  .process-timeline,
  .process-optional,
  .contact-band {
    padding-inline: 16px !important;
  }

  .pricing-cover .lead,
  .collaboration-cover .lead {
    max-width: 36rem !important;
    margin-inline: auto !important;
    padding-inline: 2px !important;
    text-align: center !important;
  }

  .pricing-contact,
  .pricing-table-wrap,
  .pricing-note,
  .process-window,
  .process-step:nth-of-type(even) .process-window,
  .collaboration-cta {
    width: min(100%, 540px) !important;
    max-width: calc(100vw - 32px) !important;
    margin-inline: auto !important;
  }

  .pricing-contact {
    padding: 16px !important;
  }

  .pricing-contact p {
    max-width: 26rem !important;
    margin-inline: auto !important;
  }

  .pricing-contact .button,
  .collaboration-actions .button,
  .collaboration-cta .button {
    width: min(100%, 230px) !important;
    margin-inline: auto !important;
  }

  .pricing-table-wrap {
    padding: 0 !important;
  }

  .pricing-table td {
    padding-inline: 16px !important;
  }

  .process-timeline {
    gap: 16px !important;
  }

  .process-window {
    padding: 18px 16px !important;
    border-radius: 20px !important;
  }

  .process-copy {
    gap: 10px !important;
    text-align: center !important;
  }

  .process-copy p {
    max-width: 38rem !important;
    margin-inline: auto !important;
    line-height: 1.46 !important;
  }

  .bubble-button {
    overflow: hidden !important;
    contain: paint !important;
  }

  .bubble-button__effect {
    width: 100% !important;
    left: 0 !important;
    height: 260% !important;
    top: -80% !important;
  }

  .footer-socials {
    gap: 14px !important;
  }

  .footer-socials a {
    min-height: 22px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 760px) {
  .bubble-button__effect {
    width: 200% !important;
    left: -50% !important;
    height: 300% !important;
    top: -100% !important;
  }

  .pricing-contact .button {
    width: min(100%, 304px) !important;
  }

  .pricing-contact .button .bubble-button__label {
    padding-inline: 16px !important;
    font-size: 12.5px !important;
  }

  .collaboration-actions .button,
  .collaboration-cta .button {
    width: min(100%, 242px) !important;
  }
}

/* Video media rows, refreshed sticky notes and side-by-side click artwork */
body {
  padding-top: 74px !important;
}

.site-header {
  position: fixed !important;
  top: 10px !important;
  left: 50% !important;
  z-index: 1000 !important;
  margin: 0 !important;
  transform: translateX(-50%) !important;
}

.motion-section {
  width: min(1160px, calc(100% - 32px)) !important;
  margin-inline: auto !important;
}

.motion-block,
.motion-year-groups,
.motion-year-group {
  width: 100% !important;
  max-width: 100% !important;
}

.media-arrow-carousel {
  width: min(100%, 1060px) !important;
  margin-inline: auto !important;
  padding-inline: 50px !important;
}

.media-arrow-carousel__button {
  display: grid !important;
}

.motion-featured-grid,
.motion-year-grid,
.media-arrow-carousel .motion-featured-grid,
.media-arrow-carousel .motion-year-grid {
  display: flex !important;
  width: 100% !important;
  max-width: 100% !important;
  gap: clamp(14px, 2vw, 22px) !important;
  justify-content: flex-start !important;
  margin-inline: auto !important;
  padding: 4px 2px 16px !important;
  overflow-x: auto !important;
  overscroll-behavior-inline: contain !important;
  scroll-padding-inline: 4px !important;
  scroll-snap-type: inline mandatory !important;
  scrollbar-width: thin !important;
}

.motion-featured-item {
  display: grid !important;
  grid-template-rows: auto 1fr !important;
  gap: 12px !important;
  flex: 0 0 clamp(250px, 29vw, 326px) !important;
  width: clamp(250px, 29vw, 326px) !important;
  min-width: 0 !important;
  scroll-snap-align: center !important;
}

.motion-year-grid .motion-video-card {
  flex: 0 0 clamp(210px, 23vw, 286px) !important;
  width: clamp(210px, 23vw, 286px) !important;
  scroll-snap-align: center !important;
}

.motion-video-card,
.motion-video-card-featured {
  width: 100% !important;
  min-width: 0 !important;
}

.motion-poster-wrap,
.motion-video-card-featured[data-format="portrait"] .motion-poster-wrap,
.motion-video-card-featured[data-format="square"] .motion-poster-wrap,
.motion-video-card-featured[data-format="landscape"] .motion-poster-wrap {
  aspect-ratio: 16 / 9 !important;
  border-radius: 12px !important;
  background: #080711 !important;
}

.motion-poster-wrap img {
  object-fit: cover !important;
  object-position: center !important;
}

.motion-featured-caption {
  display: grid !important;
  gap: 5px !important;
  min-height: 0 !important;
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.38 !important;
  text-align: left !important;
}

.motion-featured-caption h3,
.motion-featured-caption p {
  margin: 0 !important;
}

.motion-featured-caption h3 {
  color: var(--text) !important;
  font-size: 17px !important;
  line-height: 1.12 !important;
}

.motion-featured-caption a {
  color: var(--text) !important;
  font-weight: 900 !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 3px !important;
}

.motion-year-heading {
  display: none !important;
}

.featured-web-note,
.website-note,
.website-card:nth-child(even) .website-note {
  border: 1px solid color-mix(in srgb, var(--sticky-paper-ink) 14%, transparent) !important;
  border-radius: 7px !important;
  background:
    var(--sticky-fibers),
    linear-gradient(145deg, color-mix(in srgb, var(--sticky-paper) 96%, #ffffff 4%), color-mix(in srgb, var(--sticky-paper) 82%, #ffffff 18%)) !important;
  box-shadow:
    0 16px 28px color-mix(in srgb, var(--sticky-paper-shadow) 70%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.42) !important;
}

.sticky-tape {
  width: 64px !important;
  height: 22px !important;
  border-radius: 4px !important;
  opacity: 0.88 !important;
}

.featured-web-note h3,
.featured-web-note p,
.website-note h2,
.website-note p,
.website-card:nth-child(even) .website-note h2,
.website-card:nth-child(even) .website-note p {
  font-family: "Indie Flower", "Patrick Hand", "Segoe Print", cursive !important;
  letter-spacing: 0 !important;
}

.featured-web-note h3,
.website-note h2,
.website-card:nth-child(even) .website-note h2 {
  font-size: clamp(21px, 1.65vw, 25px) !important;
  font-weight: 600 !important;
}

.featured-web-note p,
.website-note p,
.website-card:nth-child(even) .website-note p {
  font-size: clamp(13px, 0.95vw, 15px) !important;
  line-height: 1.15 !important;
  font-weight: 500 !important;
}

.featured-web-button,
.website-note .website-open-button,
.website-card:nth-child(even) .website-note .website-open-button {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  width: auto !important;
  max-width: 150px !important;
}

.featured-web-button .click-text-asset,
.website-note .website-open-button .click-text-asset {
  order: 1 !important;
  width: 76px !important;
}

.featured-web-button .click-arrow-asset,
.website-note .website-open-button .click-arrow-asset {
  order: 2 !important;
  width: 52px !important;
  transform: none !important;
}

.websites-top-click {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: min(318px, 88vw) !important;
  min-height: 92px !important;
  margin: clamp(8px, 2vw, 22px) auto clamp(18px, 3vw, 34px) !important;
  transform: rotate(-1deg) !important;
}

.websites-top-click .click-text-asset {
  width: clamp(134px, 16vw, 182px) !important;
  transform: rotate(1deg) !important;
}

.websites-top-click .click-arrow-asset {
  width: clamp(86px, 10vw, 122px) !important;
  height: auto !important;
  transform: translateY(8px) !important;
}

@media (max-width: 760px) {
  body {
    padding-top: 70px !important;
  }

  .media-arrow-carousel {
    padding-inline: 40px !important;
  }

  .motion-featured-item,
  .motion-year-grid .motion-video-card {
    flex-basis: min(78vw, 292px) !important;
    width: min(78vw, 292px) !important;
  }

  .motion-featured-caption {
    font-size: 12.5px !important;
  }

  .websites-top-click {
    flex-direction: row !important;
    width: min(286px, 88vw) !important;
    min-height: 84px !important;
    margin: 4px auto 20px !important;
  }

  .websites-top-click .click-text-asset {
    width: clamp(124px, 40vw, 154px) !important;
  }

  .websites-top-click .click-arrow-asset {
    width: clamp(76px, 24vw, 100px) !important;
    transform: translateY(7px) !important;
  }
}

/* Last video layout override: no native scrollbars, larger centered thumbnails, nicer year dropdown. */
.home-video-strip,
.motion-block {
  justify-items: center !important;
}

.home-video-strip .media-arrow-carousel,
.motion-block .media-arrow-carousel {
  width: min(100%, 1120px) !important;
  padding-inline: 54px !important;
}

.motion-featured-grid,
.motion-year-grid,
.home-video-grid,
.media-arrow-carousel .motion-featured-grid,
.media-arrow-carousel .motion-year-grid,
.media-arrow-carousel .home-video-grid {
  display: flex !important;
  justify-content: center !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.motion-featured-grid::-webkit-scrollbar,
.motion-year-grid::-webkit-scrollbar,
.home-video-grid::-webkit-scrollbar,
.media-arrow-carousel .motion-featured-grid::-webkit-scrollbar,
.media-arrow-carousel .motion-year-grid::-webkit-scrollbar,
.media-arrow-carousel .home-video-grid::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.media-arrow-carousel.is-scrollable .motion-featured-grid,
.media-arrow-carousel.is-scrollable .motion-year-grid,
.media-arrow-carousel.is-scrollable .home-video-grid {
  justify-content: flex-start !important;
}

.motion-featured-item,
.home-video-grid .video-showcase-card {
  flex: 0 0 clamp(300px, 31vw, 370px) !important;
  width: clamp(300px, 31vw, 370px) !important;
}

.motion-year-grid .motion-video-card {
  flex: 0 0 clamp(280px, 28vw, 350px) !important;
  width: clamp(280px, 28vw, 350px) !important;
}

.video-showcase-poster,
.motion-poster-wrap,
.motion-video-card-featured[data-format="portrait"] .motion-poster-wrap,
.motion-video-card-featured[data-format="square"] .motion-poster-wrap,
.motion-video-card-featured[data-format="landscape"] .motion-poster-wrap {
  aspect-ratio: 4 / 3 !important;
  border-radius: 16px !important;
  background:
    radial-gradient(circle at 24% 16%, rgba(238, 113, 158, 0.22), transparent 36%),
    #080711 !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 16px 40px rgba(29, 37, 50, 0.16) !important;
}

.video-showcase-poster img,
.motion-poster-wrap img {
  filter: saturate(1.08) contrast(1.04) brightness(1.02) !important;
  object-fit: cover !important;
  object-position: center 38% !important;
}

.motion-video-card[data-video-id="edit-2022-01"] .motion-poster-wrap img,
.motion-video-card[data-video-id="edit-2024-01"] .motion-poster-wrap img,
.motion-video-card[data-video-id="edit-2025-02"] .motion-poster-wrap img {
  object-position: center 30% !important;
}

.motion-year-note {
  width: min(680px, 100%) !important;
  margin: -4px auto 10px !important;
  color: var(--muted) !important;
  font-size: clamp(13px, 1.1vw, 15px) !important;
  font-weight: 750 !important;
  line-height: 1.45 !important;
  text-align: center !important;
}

.motion-year-picker {
  position: relative !important;
  width: min(100%, 230px) !important;
  margin-inline: auto !important;
}

.motion-year-picker .motion-year-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.motion-year-picker__button {
  display: flex !important;
  width: 100% !important;
  min-height: 44px !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 0 16px !important;
  border: 1px solid color-mix(in srgb, var(--text) 16%, transparent) !important;
  border-radius: 16px !important;
  background: color-mix(in srgb, var(--surface) 88%, transparent) !important;
  color: var(--text) !important;
  box-shadow: var(--shadow-tight) !important;
  cursor: pointer !important;
  font: inherit !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

.motion-year-picker__button::after {
  width: 8px !important;
  height: 8px !important;
  border-right: 2px solid currentColor !important;
  border-bottom: 2px solid currentColor !important;
  content: "" !important;
  transform: translateY(-2px) rotate(45deg) !important;
}

.motion-year-picker__menu {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  z-index: 30 !important;
  display: grid !important;
  width: 100% !important;
  gap: 4px !important;
  padding: 8px !important;
  border: 1px solid color-mix(in srgb, var(--text) 16%, transparent) !important;
  border-radius: 16px !important;
  background: color-mix(in srgb, var(--surface) 94%, transparent) !important;
  box-shadow: var(--shadow) !important;
  backdrop-filter: blur(18px) !important;
}

.motion-year-picker__menu[hidden] {
  display: none !important;
}

.motion-year-picker__option {
  min-height: 34px !important;
  padding: 0 11px !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: transparent !important;
  color: var(--text) !important;
  cursor: pointer !important;
  font: inherit !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  text-align: left !important;
}

.motion-year-picker__option:hover,
.motion-year-picker__option[aria-selected="true"] {
  background: color-mix(in srgb, var(--scribble-pink) 18%, var(--surface) 82%) !important;
}

.video-modal-copy {
  width: min(100%, 760px) !important;
  margin: 0 auto 12px !important;
  text-align: center !important;
}

.video-modal-copy span {
  display: none !important;
}

.video-modal-copy h2 {
  margin-bottom: 8px !important;
}

.video-modal-copy p {
  width: min(100%, 620px) !important;
  margin: 0 auto !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
}

.video-modal-copy a {
  color: #fff !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

@media (max-width: 760px) {
  .home-video-strip .media-arrow-carousel,
  .motion-block .media-arrow-carousel {
    padding-inline: 42px !important;
  }

  .motion-featured-item,
  .home-video-grid .video-showcase-card,
  .motion-year-grid .motion-video-card {
    flex-basis: min(76vw, 320px) !important;
    width: min(76vw, 320px) !important;
  }

  .video-showcase-poster,
  .motion-poster-wrap,
  .motion-video-card-featured[data-format="portrait"] .motion-poster-wrap,
  .motion-video-card-featured[data-format="square"] .motion-poster-wrap,
  .motion-video-card-featured[data-format="landscape"] .motion-poster-wrap {
    aspect-ratio: 1 / 1 !important;
  }
}


/* === 2026-07-09: video sizing, footer email, pricing header tweak === */
.media-arrow-carousel:not(.is-scrollable) .media-arrow-carousel__button {
  display: none !important;
}

.media-arrow-carousel.is-scrollable .media-arrow-carousel__button {
  display: grid !important;
}

.home-video-strip .media-arrow-carousel,
.motion-block .media-arrow-carousel {
  width: min(100%, 1040px) !important;
  padding-inline: 38px !important;
}

.home-video-grid,
.motion-featured-grid,
.media-arrow-carousel .home-video-grid,
.media-arrow-carousel .motion-featured-grid {
  gap: clamp(12px, 1.6vw, 18px) !important;
  justify-content: center !important;
}

.home-video-grid .video-showcase-card,
.motion-featured-item {
  flex: 0 0 clamp(224px, 23.2vw, 278px) !important;
  width: clamp(224px, 23.2vw, 278px) !important;
}

.video-showcase-card {
  padding: 10px !important;
}

.video-showcase-poster,
.motion-poster-wrap {
  border-radius: 14px !important;
}

/* Selected / featured videos in original-looking ratios */
.video-showcase-card[data-video-id="akcni-reel"] .video-showcase-poster,
.motion-video-card-featured[data-video-id="akcni-reel"] .motion-poster-wrap {
  aspect-ratio: 16 / 9 !important;
}

.video-showcase-card[data-video-id="outro-2026"] .video-showcase-poster,
.motion-video-card-featured[data-video-id="outro-2026"] .motion-poster-wrap {
  aspect-ratio: 1 / 1 !important;
}

.video-showcase-card[data-video-id="edit-2026-02"] .video-showcase-poster,
.motion-video-card-featured[data-video-id="edit-2026-02"] .motion-poster-wrap {
  aspect-ratio: 16 / 9 !important;
}

.video-showcase-card[data-video-id="akcni-reel"] .video-showcase-poster img,
.motion-video-card-featured[data-video-id="akcni-reel"] .motion-poster-wrap img {
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
}

.video-showcase-card[data-video-id="outro-2026"] .video-showcase-poster img,
.motion-video-card-featured[data-video-id="outro-2026"] .motion-poster-wrap img {
  object-fit: contain !important;
  object-position: center center !important;
  transform: scale(1.02) !important;
}

.video-showcase-card[data-video-id="edit-2026-02"] .video-showcase-poster img,
.motion-video-card-featured[data-video-id="edit-2026-02"] .motion-poster-wrap img {
  object-fit: cover !important;
  object-position: center 36% !important;
  transform: scale(1.14) !important;
}

/* Keep the 3 featured / homepage videos neatly side by side */
@media (min-width: 1180px) {
  .home-video-strip .media-arrow-carousel,
  .motion-block .media-arrow-carousel {
    width: min(100%, 1000px) !important;
    padding-inline: 28px !important;
  }

  .home-video-grid .video-showcase-card,
  .motion-featured-item {
    flex-basis: clamp(220px, 22vw, 268px) !important;
    width: clamp(220px, 22vw, 268px) !important;
  }
}

@media (max-width: 980px) {
  .home-video-grid .video-showcase-card,
  .motion-featured-item {
    flex-basis: clamp(210px, 40vw, 250px) !important;
    width: clamp(210px, 40vw, 250px) !important;
  }
}

@media (max-width: 760px) {
  .home-video-strip .media-arrow-carousel,
  .motion-block .media-arrow-carousel {
    padding-inline: 22px !important;
  }

  .home-video-grid .video-showcase-card,
  .motion-featured-item {
    flex-basis: min(86vw, 260px) !important;
    width: min(86vw, 260px) !important;
  }
}

[data-theme="light"] .pricing-table th {
  color: #882043 !important;
}

.footer-socials a[href^="mailto:"]::before {
  content: "✉" !important;
  font-size: 0.95rem;
  transform: none !important;
}


/* === Final video polish: no carousel arrows, smaller 16:9 featured edits, no GitHub footer icon === */

/* Hide carousel arrows for homepage selected edits and Video page selected works */
.home-video-strip .media-arrow-carousel__button,
.motion-block:first-child .media-arrow-carousel__button,
.media-arrow-carousel:has(.home-video-grid) .media-arrow-carousel__button,
.media-arrow-carousel:has(.motion-featured-grid) .media-arrow-carousel__button {
  display: none !important;
}

/* Force selected videos into a normal 3-across 16:9 layout */
.home-video-strip .media-arrow-carousel,
.motion-block:first-child .media-arrow-carousel {
  width: min(100%, 900px) !important;
  max-width: 900px !important;
  padding-inline: 0 !important;
  margin-inline: auto !important;
}

.home-video-grid,
.motion-featured-grid,
.media-arrow-carousel .home-video-grid,
.media-arrow-carousel .motion-featured-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(12px, 1.4vw, 18px) !important;
  justify-content: center !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 900px !important;
  overflow: visible !important;
  padding: 0 !important;
}

.home-video-grid .video-showcase-card,
.motion-featured-item {
  width: 100% !important;
  max-width: 280px !important;
  min-width: 0 !important;
  flex: none !important;
  justify-self: center !important;
}

.video-showcase-card {
  padding: 8px !important;
}

.video-showcase-poster,
.motion-video-card-featured .motion-poster-wrap,
.motion-video-card-featured[data-format="portrait"] .motion-poster-wrap,
.motion-video-card-featured[data-format="square"] .motion-poster-wrap,
.motion-video-card-featured[data-format="landscape"] .motion-poster-wrap,
.video-showcase-card[data-video-id="akcni-reel"] .video-showcase-poster,
.video-showcase-card[data-video-id="outro-2026"] .video-showcase-poster,
.video-showcase-card[data-video-id="edit-2026-02"] .video-showcase-poster,
.motion-video-card-featured[data-video-id="akcni-reel"] .motion-poster-wrap,
.motion-video-card-featured[data-video-id="outro-2026"] .motion-poster-wrap,
.motion-video-card-featured[data-video-id="edit-2026-02"] .motion-poster-wrap {
  aspect-ratio: 16 / 9 !important;
  border-radius: 12px !important;
}

.video-showcase-poster img,
.motion-video-card-featured .motion-poster-wrap img {
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
}

.video-showcase-card[data-video-id="akcni-reel"] .video-showcase-poster img,
.motion-video-card-featured[data-video-id="akcni-reel"] .motion-poster-wrap img {
  object-position: center 42% !important;
  transform: scale(1.02) !important;
}

.video-showcase-card[data-video-id="outro-2026"] .video-showcase-poster img,
.motion-video-card-featured[data-video-id="outro-2026"] .motion-poster-wrap img {
  object-fit: cover !important;
  object-position: center center !important;
  transform: scale(1.18) !important;
}

.video-showcase-card[data-video-id="edit-2026-02"] .video-showcase-poster img,
.motion-video-card-featured[data-video-id="edit-2026-02"] .motion-poster-wrap img {
  object-position: center 36% !important;
  transform: scale(1.16) !important;
}

.motion-featured-caption {
  max-width: 280px !important;
  font-size: 12.5px !important;
  line-height: 1.35 !important;
}

/* Responsive: selected videos stack cleanly without arrows */
@media (max-width: 820px) {
  .home-video-grid,
  .motion-featured-grid,
  .media-arrow-carousel .home-video-grid,
  .media-arrow-carousel .motion-featured-grid {
    grid-template-columns: 1fr !important;
    max-width: 300px !important;
  }

  .home-video-grid .video-showcase-card,
  .motion-featured-item {
    max-width: 300px !important;
  }
}

/* Pricing first row / table head light-mode purple */
[data-theme="light"] .pricing-table th {
  color: #882043 !important;
}

/* Replace the weird arrow/auto symbol with a real email icon */
.footer-socials a[href^="mailto:"]::before {
  content: "✉" !important;
  font-size: 0.95rem !important;
  line-height: 1 !important;
  transform: none !important;
}

/* Remove any generated GitHub icon/link leftovers in footer */
.footer-socials a[href*="github"] {
  display: none !important;
}

.footer-socials a[href*="github"]::before {
  content: none !important;
}


/* === Requested final fix: featured videos vertical 9:16 instead of landscape === */
.home-video-strip .media-arrow-carousel,
.motion-block:first-child .media-arrow-carousel {
  width: min(100%, 860px) !important;
  max-width: 860px !important;
  margin-inline: auto !important;
}

.home-video-grid,
.motion-featured-grid,
.media-arrow-carousel .home-video-grid,
.media-arrow-carousel .motion-featured-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 220px)) !important;
  gap: 18px !important;
  justify-content: center !important;
  align-items: start !important;
  max-width: 860px !important;
  margin-inline: auto !important;
}

.home-video-grid .video-showcase-card,
.motion-featured-item {
  width: 220px !important;
  max-width: 220px !important;
  justify-self: center !important;
}

.motion-featured-caption,
.video-showcase-copy {
  max-width: 220px !important;
}

.video-showcase-card[data-video-id="akcni-reel"] .video-showcase-poster,
.video-showcase-card[data-video-id="outro-2026"] .video-showcase-poster,
.video-showcase-card[data-video-id="edit-2026-02"] .video-showcase-poster,
.motion-video-card-featured[data-video-id="akcni-reel"] .motion-poster-wrap,
.motion-video-card-featured[data-video-id="outro-2026"] .motion-poster-wrap,
.motion-video-card-featured[data-video-id="edit-2026-02"] .motion-poster-wrap {
  aspect-ratio: 9 / 16 !important;
  border-radius: 16px !important;
}

.video-showcase-card[data-video-id="akcni-reel"] .video-showcase-poster img,
.motion-video-card-featured[data-video-id="akcni-reel"] .motion-poster-wrap img {
  object-fit: cover !important;
  object-position: center 42% !important;
  transform: scale(1.05) !important;
}

.video-showcase-card[data-video-id="outro-2026"] .video-showcase-poster img,
.motion-video-card-featured[data-video-id="outro-2026"] .motion-poster-wrap img {
  object-fit: cover !important;
  object-position: center center !important;
  transform: scale(1.22) !important;
}

.video-showcase-card[data-video-id="edit-2026-02"] .video-showcase-poster img,
.motion-video-card-featured[data-video-id="edit-2026-02"] .motion-poster-wrap img {
  object-fit: cover !important;
  object-position: center 32% !important;
  transform: scale(1.18) !important;
}

@media (max-width: 980px) {
  .home-video-grid,
  .motion-featured-grid,
  .media-arrow-carousel .home-video-grid,
  .media-arrow-carousel .motion-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 220px)) !important;
    max-width: 480px !important;
  }
}

@media (max-width: 620px) {
  .home-video-grid,
  .motion-featured-grid,
  .media-arrow-carousel .home-video-grid,
  .media-arrow-carousel .motion-featured-grid {
    grid-template-columns: 1fr !important;
    max-width: 240px !important;
  }

  .home-video-grid .video-showcase-card,
  .motion-featured-item {
    width: 100% !important;
    max-width: 240px !important;
  }
}


/* === FINAL FIX requested by user: portrait featured videos, no arrows on index/work, pricing colors by theme === */

/* Pricing table heading: light mode pink, dark mode purple */
[data-theme="light"] .pricing-table th {
  color: var(--rose) !important;
}
[data-theme="dark"] .pricing-table th {
  color: #882043 !important;
}

/* Footer mail icon */
.footer-socials a[href^="mailto:"]::before {
  content: "✉" !important;
  font-size: 0.95rem !important;
  line-height: 1 !important;
  transform: none !important;
}

/* Force selected videos into portrait 9:16 cards and remove any cropping */
.home-video-strip .media-arrow-carousel,
.motion-block:first-child .media-arrow-carousel {
  width: auto !important;
  max-width: none !important;
  padding-inline: 0 !important;
}

.home-video-strip .media-arrow-carousel__button,
.motion-block:first-child .media-arrow-carousel__button,
.media-arrow-carousel:has(.home-video-grid) .media-arrow-carousel__button,
.media-arrow-carousel:has(.motion-featured-grid) .media-arrow-carousel__button {
  display: none !important;
}

.home-video-grid,
.motion-featured-grid,
.media-arrow-carousel .home-video-grid,
.media-arrow-carousel .motion-featured-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 170px)) !important;
  justify-content: center !important;
  align-items: start !important;
  gap: 18px !important;
  width: 100% !important;
  max-width: 620px !important;
  margin-inline: auto !important;
  overflow: visible !important;
  padding: 0 !important;
  scrollbar-width: auto !important;
}

.home-video-grid .video-showcase-card,
.motion-featured-item {
  flex: none !important;
  width: 170px !important;
  min-width: 170px !important;
  max-width: 170px !important;
  justify-self: center !important;
}

.video-showcase-card,
.motion-video-card-featured {
  padding: 0 !important;
}

.video-showcase-poster,
.motion-video-card-featured .motion-poster-wrap,
.motion-video-card-featured[data-format="portrait"] .motion-poster-wrap,
.motion-video-card-featured[data-format="landscape"] .motion-poster-wrap,
.motion-video-card-featured[data-format="square"] .motion-poster-wrap,
.video-showcase-card[data-video-id="akcni-reel"] .video-showcase-poster,
.video-showcase-card[data-video-id="outro-2026"] .video-showcase-poster,
.video-showcase-card[data-video-id="edit-2026-02"] .video-showcase-poster,
.motion-video-card-featured[data-video-id="akcni-reel"] .motion-poster-wrap,
.motion-video-card-featured[data-video-id="outro-2026"] .motion-poster-wrap,
.motion-video-card-featured[data-video-id="edit-2026-02"] .motion-poster-wrap {
  width: 170px !important;
  aspect-ratio: 9 / 16 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: #080711 !important;
}

.video-showcase-poster img,
.motion-poster-wrap img,
.video-showcase-card[data-video-id="akcni-reel"] .video-showcase-poster img,
.video-showcase-card[data-video-id="outro-2026"] .video-showcase-poster img,
.video-showcase-card[data-video-id="edit-2026-02"] .video-showcase-poster img,
.motion-video-card-featured[data-video-id="akcni-reel"] .motion-poster-wrap img,
.motion-video-card-featured[data-video-id="outro-2026"] .motion-poster-wrap img,
.motion-video-card-featured[data-video-id="edit-2026-02"] .motion-poster-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  filter: none !important;
  background: #080711 !important;
}

/* Remove extra copy under selected works so the 3 posters stay clean and compact */
.motion-featured-caption {
  max-width: 170px !important;
  min-height: 0 !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
}
.motion-featured-caption p {
  display: none !important;
}
.motion-featured-caption h3 {
  margin-top: 8px !important;
  font-size: 13px !important;
}

/* Make sure the last 3 edits section on home does not get a carousel wrapper feel */
.home-video-heading {
  margin-bottom: 18px !important;
}

/* Responsive portrait layout */
@media (max-width: 760px) {
  .home-video-grid,
  .motion-featured-grid,
  .media-arrow-carousel .home-video-grid,
  .media-arrow-carousel .motion-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 170px)) !important;
    max-width: 360px !important;
  }
}

@media (max-width: 430px) {
  .home-video-grid,
  .motion-featured-grid,
  .media-arrow-carousel .home-video-grid,
  .media-arrow-carousel .motion-featured-grid {
    grid-template-columns: 1fr !important;
    max-width: 170px !important;
  }
}
 .footer-socials a[href*="github"] {
  display: inline-flex !important;
}

.footer-socials a[href*="github"]::before {
  content: "⌘" !important;
}

.footer-socials a[href*="instagram"]::before {
  content: "◎" !important;
}

.footer-socials a[href^="mailto:"]::before {
  content: "" !important;
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  background: currentColor !important;
  -webkit-mask: url("mail-icon.png") center / contain no-repeat !important;
  mask: url("mail-icon.png") center / contain no-repeat !important;
}

/* === FINAL USER FIX: dark mode purple accents -> red #882043 === */
[data-theme="dark"] {
  --portfolio-dark-red: #882043;
  --dark-red-accent: #882043;
  --bubble-action: #882043;
}

/* pricing table header in dark mode */
[data-theme="dark"] .pricing-table th {
  color: #882043 !important;
}

/* all important hover states/buttons in dark mode */
[data-theme="dark"] a:hover,
[data-theme="dark"] .text-link:hover,
[data-theme="dark"] .button:hover,
[data-theme="dark"] .pill-link:hover,
[data-theme="dark"] .bubble-button,
[data-theme="dark"] .bubble-button:hover,
[data-theme="dark"] .footer-column a:hover,
[data-theme="dark"] .footer-socials a:hover,
[data-theme="dark"] .footer-bottom a:hover,
[data-theme="dark"] .media-arrow-carousel__button:hover,
[data-theme="dark"] .send-mail-btn:hover {
  color: #882043 !important;
  border-color: #882043 !important;
}

[data-theme="dark"] .footer-socials a:hover,
[data-theme="dark"] .button:hover,
[data-theme="dark"] .pill-link:hover,
[data-theme="dark"] .send-mail-btn:hover {
  background: #882043 !important;
  color: #fff !important;
}

[data-theme="dark"] .bubble-button {
  --bubble-action: #882043 !important;
}

[data-theme="dark"] .media-arrow-carousel__button:hover {
  background: color-mix(in srgb, var(--surface-strong) 72%, #882043 20%) !important;
}

/* keep GitHub + LinkedIn visible in footer */
.footer-socials a[href*="github"],
.footer-socials a[href*="linkedin"] {
  display: inline-flex !important;
}

.footer-socials a[href*="github"]::before {
  content: "⌘" !important;
}

.footer-socials a[href*="linkedin"]::before {
  content: "in" !important;
  font-size: 0.72rem !important;
  font-weight: 900 !important;
  letter-spacing: -0.05em !important;
}

/* === FINAL FOOTER FIX: no red boxes, clean LinkedIn logo === */
.footer-socials a[href*="linkedin"]::before,
.footer-socials a.footer-linkedin::before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: none !important;
  mask: none !important;
  -webkit-mask: none !important;
}

.footer-socials a.footer-linkedin {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
}

.footer-linkedin-icon {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 16px !important;
  fill: currentColor !important;
}

.footer-socials::after {
  display: none !important;
  content: none !important;
}

.footer-socials a[href^="mailto"] {
  background: transparent !important;
  border-color: transparent !important;
}

[data-theme="dark"] .footer-socials a:hover,
[data-theme="dark"] .footer-socials a[href^="mailto"]:hover,
[data-theme="dark"] .footer-socials a.footer-linkedin:hover,
[data-theme="dark"] .footer-column a:hover,
[data-theme="dark"] .footer-bottom a:hover {
  color: #882043 !important;
  background: transparent !important;
  border-color: transparent !important;
}

[data-theme="dark"] .footer-socials a:hover svg,
[data-theme="dark"] .footer-socials a:hover img {
  color: #882043 !important;
  fill: #882043 !important;
}
