:root {
  color-scheme: light;
  --bg: #e8e4df;
  --bg-rgb: 232, 228, 223;
  --surface: rgba(255, 252, 247, 0.66);
  --surface-strong: rgba(255, 251, 246, 0.9);
  --text: #16181c;
  --muted: rgba(22, 24, 28, 0.68);
  --line: rgba(22, 24, 28, 0.14);
  --accent: #f5a623;
  --accent-soft: rgba(245, 166, 35, 0.14);
  --shadow: 0 24px 80px rgba(14, 17, 23, 0.08);
  --container: min(1200px, calc(100vw - 48px));
  --section-space: clamp(78px, 11vw, 144px);
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  cursor: default;
  transition:
    background-color 0.48s ease,
    color 0.48s ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(245, 166, 35, 0.16), transparent 32%),
    radial-gradient(circle at bottom right, rgba(14, 17, 23, 0.12), transparent 28%);
  opacity: 1;
  transition: opacity 0.48s ease;
}

body.is-preload {
  overflow: hidden;
}

.skip-home-intro body.page-home.is-preload {
  overflow: auto;
}

body.theme-dark {
  --bg: #0e1117;
  --bg-rgb: 14, 17, 23;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-strong: rgba(255, 255, 255, 0.05);
  --text: #f1ece6;
  --muted: rgba(241, 236, 230, 0.72);
  --line: rgba(241, 236, 230, 0.12);
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.26);
}

body.theme-dark::before {
  opacity: 0.68;
}

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

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

p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}

.page-shell {
  position: relative;
  z-index: 1;
  overflow-x: clip;
  background: var(--bg);
}

.page-home main,
.page-home .section {
  position: relative;
  z-index: 2;
  background: var(--bg);
}

.page-home main {
  padding-top: var(--header-height);
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 130;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.24s ease,
    transform 0.18s ease,
    width 0.24s ease,
    height 0.24s ease,
    border-color 0.24s ease,
    background-color 0.24s ease;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  transform: translate(-50%, -50%);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(245, 166, 35, 0.45);
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

body.has-custom-cursor,
body.has-custom-cursor a,
body.has-custom-cursor button {
  cursor: none;
}

body.has-custom-cursor .cursor-dot,
body.has-custom-cursor .cursor-ring {
  opacity: 1;
}

body.cursor-hover .cursor-ring {
  width: 58px;
  height: 58px;
  border-color: rgba(245, 166, 35, 0.72);
  background: rgba(245, 166, 35, 0.08);
}

body.cursor-hover .cursor-dot {
  transform: translate(-50%, -50%) scale(1.28);
}

body.cursor-project .cursor-ring {
  width: 92px;
  height: 92px;
  border-color: rgba(14, 17, 23, 0.08);
  background: rgba(14, 17, 23, 0.9);
}

body.cursor-project .cursor-dot {
  width: 10px;
  height: 10px;
  background: #f1ece6;
  transform: translate(-50%, -50%) scale(1.1);
}

.project-preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 125;
  width: clamp(220px, 24vw, 320px);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(22, 24, 28, 0.08);
  background: rgba(255, 253, 249, 0.98);
  box-shadow:
    0 24px 60px rgba(14, 17, 23, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  will-change: transform, opacity;
}

.project-preview.is-visible {
  opacity: 1;
}

.project-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top, rgba(245, 166, 35, 0.18), transparent 34%),
    #0e1117;
  overflow: hidden;
  transition:
    opacity 1.02s ease,
    visibility 1.02s ease;
}

.intro-screen::before,
.intro-screen::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(24px);
  opacity: 0.34;
  animation: introBlobFloat 6.8s ease-in-out infinite;
}

.intro-screen::before {
  width: 220px;
  height: 220px;
  background: rgba(245, 166, 35, 0.24);
  top: 24%;
  left: 42%;
}

.intro-screen::after {
  width: 160px;
  height: 160px;
  background: rgba(245, 166, 35, 0.14);
  top: 50%;
  left: 48%;
  animation-duration: 5.4s;
  animation-direction: reverse;
}

.intro-screen__inner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f1ece6;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateY(24px);
  opacity: 0;
  transition:
    transform 0.88s cubic-bezier(0.19, 1, 0.22, 1),
    opacity 0.88s ease;
}

body.is-preload .intro-screen__inner {
  transform: translateY(0);
  opacity: 1;
}

.intro-screen__inner img {
  width: auto;
  height: 40px;
  animation: introLogoPulse 2.4s ease-in-out infinite;
}

body.is-ready .intro-screen {
  opacity: 0;
  visibility: hidden;
}

.skip-home-intro .intro-screen {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.skip-home-intro .page-home.is-preload .intro-screen__inner {
  opacity: 0;
  transform: none;
}

@keyframes introLogoPulse {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 0 rgba(245, 166, 35, 0));
  }

  50% {
    transform: scale(1.045) rotate(-1deg);
    filter: drop-shadow(0 0 18px rgba(245, 166, 35, 0.16));
  }
}

@keyframes introTextBreathe {
  0%,
  100% {
    opacity: 0.82;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-1px);
  }
}

@keyframes introBlobFloat {
  0%,
  100% {
    transform: translate3d(-8px, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(14px, -18px, 0) scale(1.08);
  }
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: var(--section-space) 0;
}

.narrow .container {
  max-width: 760px;
}

.intro {
  min-height: 156vh;
  padding: 0;
}

.intro-wrap {
  position: relative;
  min-height: 156vh;
}

.intro-sticky {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-height) - 28px);
  padding: clamp(24px, 4vw, 44px) 0;
}

.intro-display {
  width: 100%;
  max-width: none;
  font-size: clamp(1.28rem, 2.6vw, 2.55rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
  color: #b4aea8;
  text-wrap: pretty;
}

.intro-word {
  display: inline-block;
  margin-right: 0.18em;
  color: color-mix(in srgb, #11141b calc(var(--word-progress, 0) * 100%), #b4aea8);
  transition: color 0.14s linear;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  backdrop-filter: blur(18px);
  background: rgba(var(--bg-rgb), 0.74);
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.82s ease,
    border-color 0.82s ease,
    color 0.82s ease;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: auto;
  height: 34px;
}

.brand-logo-light {
  display: none;
}

body.theme-dark .brand-logo-dark {
  display: none;
}

body.theme-dark .brand-logo-light {
  display: block;
}

.menu-toggle,
.mobile-menu,
.mobile-menu-backdrop {
  display: none;
}

.site-nav-wrap {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.nav-origin-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #16181c;
  box-shadow: 0 0 0 8px rgba(22, 24, 28, 0.06);
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(var(--bg-rgb), 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition:
    background-color 0.82s ease,
    border-color 0.82s ease;
}

.site-nav a,
.inline-cta,
.project-item a,
.contact-links a,
.footer-links a {
  position: relative;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  transition:
    color 0.24s ease,
    opacity 0.24s ease,
    background-color 0.24s ease,
    transform 0.24s ease;
}

.site-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  isolation: isolate;
}

.site-nav a:hover {
  transform: translateY(-1px);
}

.site-nav a.is-active {
  background: var(--text);
  color: var(--bg);
}

.site-nav a::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 999px;
  background: rgba(14, 17, 23, 0.08);
  opacity: 0;
  transform: scale(0.88);
  transition:
    opacity 0.22s ease,
    transform 0.28s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: -1;
}

.site-nav a:hover::before {
  opacity: 1;
  transform: scale(1);
}

.site-nav a::after,
.inline-cta::after,
.project-item a::after,
.contact-links a::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.site-nav a:hover::after,
.inline-cta:hover::after,
.project-item a:hover::after,
.contact-links a:hover::after,
.footer-links a:hover::after {
  transform: scaleX(1);
}

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

body:not(.nav-at-top) .nav-origin-dot {
  opacity: 0;
  transform: scale(0.72);
  box-shadow: 0 0 0 2px rgba(22, 24, 28, 0.04);
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 97;
  background: rgba(5, 6, 8, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.mobile-menu {
  position: fixed;
  inset: auto 0 0;
  z-index: 98;
  pointer-events: none;
}

.mobile-menu-sheet {
  padding: 22px 20px 28px;
  border-radius: 24px 24px 0 0;
  background: rgba(12, 14, 18, 0.98);
  color: #f3eee8;
  box-shadow: 0 -26px 60px rgba(0, 0, 0, 0.28);
  transform: translateY(102%);
  transition: transform 0.38s cubic-bezier(0.19, 1, 0.22, 1);
}

.mobile-menu-top,
.mobile-menu-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mobile-menu-top p {
  color: rgba(243, 238, 232, 0.56);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mobile-menu-close {
  border: 0;
  background: transparent;
  color: rgba(243, 238, 232, 0.82);
  font: inherit;
}

.mobile-menu-nav {
  display: grid;
  gap: 8px;
  margin: 26px 0 20px;
}

.mobile-menu-nav a {
  padding: 14px 0;
  border-bottom: 1px solid rgba(243, 238, 232, 0.08);
  font-size: 1.38rem;
  letter-spacing: -0.03em;
}

.mobile-menu-meta a {
  color: rgba(243, 238, 232, 0.74);
  font-size: 0.94rem;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .mobile-menu-backdrop {
  opacity: 1;
  pointer-events: auto;
}

body.menu-open .mobile-menu {
  pointer-events: auto;
}

body.menu-open .mobile-menu-sheet {
  transform: translateY(0);
}

.hero {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding-top: calc(var(--section-space) * 0.72);
}

.page-home .hero {
  position: relative;
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: clamp(32px, 5vw, 54px) 0 auto auto;
  width: clamp(220px, 25vw, 360px);
  height: clamp(220px, 25vw, 360px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.2), transparent 66%);
  filter: blur(6px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.hero-kicker {
  margin-bottom: 6px;
}

.hero-title {
  overflow: hidden;
}

.hero-title-line {
  display: block;
  overflow: hidden;
}

.hero-title-word {
  display: inline-block;
}

.eyebrow,
.section-heading p {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.section-heading p {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(245, 166, 35, 0.22);
  border-radius: 999px;
  background: rgba(245, 166, 35, 0.08);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: lowercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.section-heading p::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 6px rgba(245, 166, 35, 0.12);
}

.eyebrow {
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  margin: 10px 0 18px;
  font-size: clamp(3.8rem, 9vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
  color: var(--text);
}

.hero-description {
  max-width: 34rem;
  font-size: clamp(1.04rem, 1.8vw, 1.18rem);
}

.hero-metric {
  margin-top: 26px;
  max-width: 32rem;
  color: var(--text);
}

.hero-metric::before {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin-bottom: 18px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.inline-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 0;
  padding: 11px 14px 11px 16px;
  border: 1px solid rgba(245, 166, 35, 0.14);
  border-radius: 999px;
  background: #16181c;
  color: #f1ece6;
  box-shadow:
    0 10px 24px rgba(14, 17, 23, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-size: 0.94rem;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 30px;
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.86;
}

.hero-note::before {
  content: "";
  width: 18px;
  height: 1px;
  background: rgba(22, 24, 28, 0.22);
}

.inline-cta::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(245, 166, 35, 0.12);
}

.inline-cta::after {
  content: "↓";
  position: static;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  transform: none;
  transition:
    transform 0.24s ease,
    background-color 0.24s ease;
}

.inline-cta:hover {
  transform: translateY(-2px);
  background: #0e1117;
}

.inline-cta:hover::after {
  transform: translateY(2px);
  background: rgba(245, 166, 35, 0.16);
}

.hero-portrait {
  position: relative;
  margin: 0;
  justify-self: end;
  max-width: 420px;
}

.hero-portrait::before {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  border: 1px solid var(--line);
  border-radius: 36px;
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
}

.hero-portrait img,
.about-photo img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.portrait-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 36px);
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(14, 17, 23, 0.62);
  backdrop-filter: blur(14px);
  color: #f1ece6;
  font-size: 0.82rem;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-wrap: pretty;
}

.about-copy p + p,
.contact-content p + p {
  margin-top: 22px;
}

.section-heading {
  margin-bottom: 36px;
}

.project-list {
  display: grid;
  gap: 8px;
}

.resources-intro {
  max-width: 40rem;
}

.resource-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.resource-item {
  display: grid;
  grid-template-columns: minmax(88px, 0.18fr) minmax(0, 1fr) minmax(250px, 0.46fr);
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition:
    background-color 0.24s ease,
    transform 0.24s ease;
}

.resource-item:hover {
  transform: translateX(4px);
}

.resource-meta {
  padding-top: 4px;
}

.resource-type {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(22, 24, 28, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  color: rgba(22, 24, 28, 0.58);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.resource-main h2 {
  margin: 0;
  font-size: clamp(1.06rem, 1.6vw, 1.3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.resource-description {
  margin-top: 10px;
  max-width: 60ch;
  font-size: 0.98rem;
  line-height: 1.65;
}

.resource-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.resource-tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid rgba(22, 24, 28, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  color: rgba(22, 24, 28, 0.58);
  font-size: 0.74rem;
  font-weight: 600;
}

.resource-tags span svg {
  width: 12px;
  height: 12px;
  display: block;
  flex: 0 0 auto;
}

.resource-side {
  display: grid;
  justify-items: end;
  gap: 12px;
  padding-top: 2px;
}

.resource-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  color: rgba(22, 24, 28, 0.56);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.resource-link.is-disabled {
  opacity: 0.52;
  cursor: default;
}

.timeline-item,
.focus-item {
  border-bottom: 1px solid var(--line);
}

.project-item {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 34px 22px 38px;
  border: 1px solid var(--line);
  border-radius: 28px;
  cursor: pointer;
  isolation: isolate;
  transition:
    transform 0.55s cubic-bezier(0.19, 1, 0.22, 1),
    border-color 0.38s ease,
    background-color 0.38s ease,
    box-shadow 0.42s ease;
}

.project-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(245, 166, 35, 0.1), rgba(245, 166, 35, 0.02) 28%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
  opacity: 0;
  transform: scale(0.985);
  transition:
    opacity 0.42s ease,
    transform 0.55s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: -1;
}

.project-item > * {
  transition:
    transform 0.5s cubic-bezier(0.19, 1, 0.22, 1),
    color 0.32s ease,
    opacity 0.32s ease;
}

.project-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 252, 247, 0.44);
  box-shadow:
    0 18px 42px rgba(14, 17, 23, 0.08),
    inset 0 0 0 1px rgba(245, 166, 35, 0.12);
}

.project-item:hover::before,
.project-item:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}

.project-item:hover > *,
.project-item:focus-visible > * {
  transform: translateX(12px);
}

.project-item:hover .project-subtitle,
.project-item:hover .project-description,
.project-item:focus-visible .project-subtitle,
.project-item:focus-visible .project-description {
  color: rgba(22, 24, 28, 0.84);
}

.project-item:hover .project-tags,
.project-item:focus-visible .project-tags {
  color: var(--text);
}

.project-item:focus-visible {
  outline: none;
  background: rgba(255, 252, 247, 0.52);
  box-shadow:
    0 0 0 2px rgba(245, 166, 35, 0.2),
    0 18px 42px rgba(14, 17, 23, 0.08);
}

.project-item h2,
.timeline-item h2,
.focus-item h2,
.method-item h2,
.contact-section h2 {
  margin: 0;
  color: var(--text);
  letter-spacing: -0.04em;
  text-wrap: pretty;
}

.project-item h2 {
  max-width: 44ch;
  font-size: clamp(1.22rem, 1.68vw, 1.62rem);
  line-height: 1.04;
}

.timeline-item h2,
.focus-item h2 {
  font-size: clamp(1.3rem, 2.3vw, 1.8rem);
}

.project-subtitle,
.timeline-meta,
.focus-tags {
  margin-top: 6px;
  font-size: 0.96rem;
  text-wrap: pretty;
}

.project-description {
  max-width: 52rem;
}

.project-tags {
  font-size: 0.95rem;
  color: rgba(22, 24, 28, 0.62);
}

.project-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 6px;
}

.project-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(22, 24, 28, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: rgba(22, 24, 28, 0.82);
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.project-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(22, 24, 28, 0.34);
  box-shadow: 0 0 0 5px rgba(22, 24, 28, 0.08);
}

.tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 10px 0 8px;
  border: 1px solid rgba(22, 24, 28, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  color: rgba(22, 24, 28, 0.68);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.tool-badge--compact {
  min-height: 28px;
  padding: 0 9px 0 7px;
  font-size: 0.74rem;
  font-weight: 600;
}

.tool-badge--compact .tool-badge__icon {
  min-width: 18px;
  width: 18px;
  height: 18px;
}

.tool-badge--compact .tool-badge__logo,
.tool-badge--compact .tool-badge__icon svg {
  width: 12px;
  height: 12px;
}

.tool-badge__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(22, 24, 28, 0.08);
  color: inherit;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  flex: 0 0 auto;
}

.tool-badge__icon--logo {
  background: rgba(255, 255, 255, 0.86);
}

.tool-badge__icon svg {
  display: block;
  width: 14px;
  height: 14px;
}

.tool-badge__logo {
  display: block;
  width: 13px;
  height: 13px;
  object-fit: contain;
}

.tool-badge--figma {
  background: rgba(36, 99, 235, 0.08);
  border-color: rgba(36, 99, 235, 0.14);
  color: rgba(29, 78, 216, 0.86);
}

.tool-badge--flow {
  background: rgba(22, 163, 74, 0.08);
  border-color: rgba(22, 163, 74, 0.14);
  color: rgba(21, 128, 61, 0.82);
}

.tool-badge--discovery,
.tool-badge--taxonomy {
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.14);
  color: rgba(126, 34, 206, 0.82);
}

.tool-badge--ai,
.tool-badge--claude {
  background: rgba(251, 146, 60, 0.12);
  border-color: rgba(251, 146, 60, 0.18);
  color: rgba(194, 65, 12, 0.88);
}

.tool-badge--card-sorting,
.tool-badge--desk-test {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.14);
  color: rgba(29, 78, 216, 0.84);
}

.tool-badge--architecture,
.tool-badge--template {
  background: rgba(15, 118, 110, 0.08);
  border-color: rgba(15, 118, 110, 0.14);
  color: rgba(17, 94, 89, 0.84);
}

.tool-badge--wordpress {
  background: rgba(14, 116, 144, 0.08);
  border-color: rgba(14, 116, 144, 0.14);
  color: rgba(14, 116, 144, 0.88);
}

.tool-badge--javascript {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.18);
  color: rgba(161, 98, 7, 0.9);
}

.tool-badge--javascript .tool-badge__icon--logo {
  background: #f7df1e;
}

.tool-badge--writing {
  background: rgba(236, 72, 153, 0.08);
  border-color: rgba(236, 72, 153, 0.14);
  color: rgba(190, 24, 93, 0.84);
}

.tool-badge--automation {
  background: rgba(71, 85, 105, 0.1);
  border-color: rgba(71, 85, 105, 0.15);
  color: rgba(51, 65, 85, 0.84);
}

.tool-badge--cursor {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.14);
  color: rgba(67, 56, 202, 0.84);
}

.tool-badge--codex {
  background: rgba(14, 17, 23, 0.08);
  border-color: rgba(14, 17, 23, 0.14);
  color: rgba(14, 17, 23, 0.82);
}

.tool-badge--claude .tool-badge__logo {
  width: 12px;
  height: 12px;
}

.project-item a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-top: 6px;
  padding: 10px 14px 10px 16px;
  border: 1px solid rgba(22, 24, 28, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.project-item a::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(245, 166, 35, 0.12);
}

.project-item:hover a,
.project-item:focus-visible a {
  background: #16181c;
  color: #f1ece6;
  border-color: rgba(22, 24, 28, 0.12);
}

.project-item:hover .tool-badge,
.project-item:focus-visible .tool-badge {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 10px 20px rgba(22, 24, 28, 0.05);
}

.section-intro {
  max-width: 48rem;
  margin-bottom: 28px;
  text-wrap: pretty;
}

.dark-section .section-heading,
.dark-section .section-intro {
  max-width: 56rem;
}

.timeline {
  border-top: 1px solid var(--line);
}

.timeline-item {
  padding: 28px 0 30px;
}

.timeline-item p:last-child {
  margin-top: 14px;
  max-width: 48rem;
}

.focus-grid,
.method-grid,
.about-grid {
  display: grid;
  gap: 28px;
}

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

.focus-item {
  padding: 0 0 28px;
  transition:
    transform 0.26s ease,
    border-color 0.26s ease;
}

.focus-item p {
  margin-top: 14px;
}

.focus-item:hover {
  transform: translateY(-4px);
}

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

.method-item {
  padding: 28px 22px 24px;
  border-top: 1px solid rgba(22, 24, 28, 0.12);
  border-radius: 24px;
  background: rgba(255, 253, 250, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    background-color 0.24s ease,
    box-shadow 0.24s ease;
}

.method-item span {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
}

.method-item p {
  margin-top: 10px;
  max-width: 18rem;
  color: rgba(22, 24, 28, 0.68);
}

.method-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 253, 250, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 16px 34px rgba(14, 17, 23, 0.05);
}

.about-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  align-items: start;
  gap: clamp(32px, 6vw, 88px);
}

#sobre {
  --bg: #e8e4df;
  --bg-rgb: 232, 228, 223;
  --text: #16181c;
  --muted: rgba(22, 24, 28, 0.68);
  --line: rgba(22, 24, 28, 0.14);
  --surface: rgba(255, 252, 247, 0.66);
  --surface-strong: rgba(255, 251, 246, 0.9);
  background: #e8e4df;
  color: #16181c;
}

.about-photo {
  margin: 0;
}

.site-footer {
  position: fixed;
  inset: auto 0 0;
  z-index: 0;
  min-height: 100vh;
  padding: 36px 0 40px;
  background:
    radial-gradient(circle at 24% 22%, rgba(245, 166, 35, 0.14), transparent 18%),
    #050608;
  color: #f3eee8;
}

.site-footer-shell {
  display: grid;
  min-height: 100vh;
  grid-template-rows: auto 1fr auto;
  gap: 42px;
}

.site-footer-top,
.footer-top-links,
.site-footer-meta {
  display: flex;
}

.site-footer-top {
  align-items: start;
  justify-content: space-between;
  gap: 24px;
}

.footer-dot {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #f3eee8;
  box-shadow: 0 0 0 10px rgba(243, 238, 232, 0.04);
}

.footer-top-links {
  align-items: center;
  gap: 34px;
}

.footer-top-links a {
  color: rgba(243, 238, 232, 0.9);
  font-size: 1rem;
}

.site-footer-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  align-items: center;
  gap: clamp(28px, 6vw, 84px);
}

.site-footer-copy {
  max-width: min(1080px, 74vw);
}

.footer-kicker {
  margin-bottom: 22px;
  color: rgba(243, 238, 232, 0.52);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer-copy h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4.6vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  color: #f3eee8;
  text-wrap: balance;
}

.site-footer-copy h2 span {
  display: block;
  color: var(--accent);
}

.footer-description {
  max-width: 42rem;
  margin-top: 28px;
  color: rgba(243, 238, 232, 0.68);
  font-size: 1.04rem;
}

.footer-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-self: end;
  gap: 20px;
  width: min(100%, 280px);
  padding: 20px 0 20px 28px;
  border-left: 1px solid rgba(243, 238, 232, 0.08);
}

.footer-actions-label {
  color: rgba(243, 238, 232, 0.46);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  padding: 18px 26px;
  background: var(--accent);
  border-radius: 12px;
  color: #14171d;
  font-size: 1.04rem;
  font-weight: 600;
  box-shadow: 0 18px 42px rgba(245, 166, 35, 0.18);
  transition:
    transform 0.26s ease,
    background-color 0.26s ease;
}

.footer-primary:hover {
  transform: translateY(-2px);
  background: #ffb33c;
}

.footer-secondary {
  display: inline-flex;
  align-items: center;
  color: rgba(243, 238, 232, 0.82);
  font-size: 0.96rem;
  font-weight: 500;
  padding-left: 2px;
  transition: color 0.24s ease, transform 0.24s ease;
}

.footer-secondary:hover {
  color: #f3eee8;
  transform: translateX(4px);
}

.site-footer-meta {
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
}

.site-footer-meta p,
.footer-meta-copy,
.footer-meta-link {
  color: rgba(243, 238, 232, 0.76);
}

.site-footer-meta p {
  margin-bottom: 10px;
  font-size: 0.98rem;
}

.footer-meta-link,
.footer-meta-copy {
  display: inline-flex;
  font-size: 0.98rem;
}

.footer-meta-link {
  position: relative;
  text-decoration: none;
  transition:
    color 0.24s ease,
    opacity 0.24s ease;
}

.footer-meta-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.34;
  transform-origin: left;
  transform: scaleX(0.72);
  transition:
    opacity 0.24s ease,
    transform 0.24s ease;
}

.footer-meta-link:hover {
  color: #f3eee8;
}

.footer-meta-link:hover::after {
  opacity: 0.82;
  transform: scaleX(1);
}

.page-home .page-shell {
  margin-bottom: 100vh;
}

.case-page {
  background: #f2ede7;
}

.case-shell {
  min-height: 100vh;
}

.case-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(242, 237, 231, 0.78);
  border-bottom: 1px solid rgba(22, 24, 28, 0.08);
}

.case-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.back-link {
  position: relative;
  font-size: 0.94rem;
  font-weight: 500;
}

.back-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.back-link:hover::after {
  transform: scaleX(1);
}

.case-hero {
  padding-top: 72px;
  padding-bottom: 48px;
}

.case-hero-grid,
.case-grid {
  display: grid;
  gap: clamp(28px, 5vw, 88px);
}

.case-hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  align-items: start;
}

.case-title {
  max-width: 11ch;
  margin: 12px 0 18px;
  font-size: clamp(2.5rem, 5.8vw, 4.9rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.case-lead {
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
}

.case-meta {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.case-hero-visual {
  justify-self: end;
  width: 100%;
}

.case-cover-figure {
  margin: 0;
  width: min(100%, 640px);
  justify-self: end;
}

.case-cover-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 36px;
  border: 1px solid rgba(22, 24, 28, 0.08);
  box-shadow: 0 28px 80px rgba(14, 17, 23, 0.12);
  background: #fff;
}

.case-visual-card {
  display: grid;
  gap: 30px;
  min-height: 400px;
  padding: clamp(24px, 3.6vw, 38px);
  border-radius: 36px;
  background:
    linear-gradient(150deg, rgba(245, 166, 35, 0.18), rgba(245, 166, 35, 0.02)),
    #11141b;
  color: #f1ece6;
  box-shadow: 0 28px 80px rgba(14, 17, 23, 0.14);
  align-content: space-between;
}

.case-visual-card img {
  width: min(290px, 100%);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.14));
}

.case-visual-card span {
  display: block;
  margin-bottom: 10px;
  color: rgba(241, 236, 230, 0.72);
  font-size: 0.95rem;
}

.case-visual-card strong {
  display: block;
  max-width: 16ch;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.case-content {
  padding-top: 8px;
}

.case-grid {
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
}

.case-rail {
  position: sticky;
  top: 120px;
  align-self: start;
}

.case-rail p {
  color: var(--text);
  margin-bottom: 18px;
}

.case-rail ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.case-rail li {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.6;
}

.case-body {
  display: grid;
  gap: 48px;
}

.case-block {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.case-block h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  letter-spacing: -0.04em;
}

.case-note {
  padding: 18px 20px;
  border: 1px solid rgba(22, 24, 28, 0.08);
  border-radius: 20px;
  background: rgba(255, 253, 249, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.case-list,
.case-results {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.case-list li,
.case-results li {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.65;
}

.case-live-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 14px 20px 14px 18px;
  border: 1px solid rgba(22, 24, 28, 0.1);
  border-radius: 16px;
  background: #16181c;
  color: #f3eee8;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow:
    0 18px 38px rgba(22, 24, 28, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    transform 0.26s ease,
    box-shadow 0.26s ease,
    background-color 0.26s ease;
}

.case-live-link::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(245, 166, 35, 0.14);
}

.case-live-link::after {
  content: "↗";
  font-size: 0.98rem;
  opacity: 0.82;
}

.case-live-link:hover,
.case-live-link:focus-visible {
  transform: translateY(-2px);
  background: #0f1115;
  box-shadow:
    0 24px 46px rgba(22, 24, 28, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.case-live-link:focus-visible {
  outline: none;
}

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

.case-image {
  margin: 0;
  display: grid;
  gap: 12px;
}

.case-image img {
  width: 100%;
  border-radius: 26px;
  border: 1px solid rgba(22, 24, 28, 0.08);
  box-shadow: 0 26px 60px rgba(14, 17, 23, 0.08);
  background: #fff;
}

.case-image figcaption {
  max-width: 44rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(22, 24, 28, 0.66);
}

.page-home .stagger-item,
.case-page .stagger-item {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.78s ease,
    transform 0.78s cubic-bezier(0.19, 1, 0.22, 1);
}

.page-home.is-animated .stagger-item,
.case-page.is-animated .stagger-item {
  opacity: 1;
  transform: translateY(0);
}

.case-page .stagger-item {
  opacity: 1;
  transform: none;
  transition: none;
}

.page-home .hero-copy .stagger-item:nth-of-type(1),
.case-page .case-hero-copy .stagger-item:nth-of-type(1) {
  transition-delay: 0.12s;
}

.page-home .hero-copy .stagger-item:nth-of-type(2),
.case-page .case-hero-copy .stagger-item:nth-of-type(2) {
  transition-delay: 0.26s;
}

.page-home .hero-copy .stagger-item:nth-of-type(3),
.case-page .case-hero-copy .stagger-item:nth-of-type(3) {
  transition-delay: 0.4s;
}

.page-home .hero-copy .stagger-item:nth-of-type(4),
.case-page .case-hero-copy .stagger-item:nth-of-type(4) {
  transition-delay: 0.54s;
}

.page-home .hero-copy .stagger-item:nth-of-type(5),
.case-page .case-hero-copy .stagger-item:nth-of-type(5) {
  transition-delay: 0.66s;
}

.page-home .portrait-caption {
  transition-delay: 0.72s;
}

.page-home .hero-portrait::before,
.page-home .portrait-frame,
.page-home .portrait-frame img,
.case-page .case-hero-visual {
  transition:
    opacity 0.88s ease,
    transform 0.88s cubic-bezier(0.19, 1, 0.22, 1),
    clip-path 0.88s cubic-bezier(0.19, 1, 0.22, 1);
}

.page-home.is-preload .hero-portrait::before {
  opacity: 0;
  transform: translateY(20px);
}

.page-home.is-preload .portrait-frame {
  clip-path: inset(0 0 100% 0 round 32px);
}

.page-home.is-preload .portrait-frame img,
.case-page.is-preload .case-hero-visual {
  opacity: 0;
  transform: translateY(34px) scale(1.04);
}

.skip-home-intro .page-home.is-preload .hero-portrait::before,
.skip-home-intro .page-home.is-preload .portrait-frame,
.skip-home-intro .page-home.is-preload .portrait-frame img {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0 round 32px);
}

.page-home.is-animated .hero-portrait::before,
.page-home.is-animated .portrait-frame,
.page-home.is-animated .portrait-frame img,
.case-page.is-animated .case-hero-visual {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0 round 32px);
}

.case-page .case-hero-visual {
  opacity: 1;
  transform: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.case-page .reveal,
.case-page .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (max-width: 980px) {
  :root {
    --container: min(100vw - 36px, 1200px);
    --header-height: 74px;
  }

  .hero-grid,
  .about-grid,
  .focus-grid,
  .method-grid,
  .case-hero-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .intro,
  .intro-wrap {
    min-height: 124vh;
  }

  .intro-sticky {
    top: calc(var(--header-height) + 18px);
    min-height: calc(100vh - var(--header-height) - 20px);
  }

  .intro-display {
    font-size: clamp(1.18rem, 2.9vw, 2.15rem);
    line-height: 1.22;
  }

  .hero-portrait,
  .about-photo,
  .case-hero-visual {
    max-width: 460px;
    justify-self: start;
  }

  .case-cover-figure {
    width: 100%;
    justify-self: start;
  }

  .case-image-grid {
    grid-template-columns: 1fr;
  }

  .case-rail {
    position: static;
  }

  .site-footer-meta {
    display: grid;
    align-items: start;
    justify-content: start;
  }

  .site-nav {
    gap: 16px;
  }
}

@media (max-width: 680px) {
  :root {
    --container: min(100vw - 28px, 1200px);
    --section-space: 76px;
    --header-height: 72px;
  }

  .header-inner {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    padding: 0;
  }

  .site-nav,
  .site-nav-wrap {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    gap: 4px;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(var(--bg-rgb), 0.5);
    place-content: center;
  }

  .menu-toggle span {
    width: 16px;
    height: 1.5px;
    background: var(--text);
    border-radius: 999px;
  }

  .mobile-menu,
  .mobile-menu-backdrop {
    display: block;
  }

  .hero h1 {
    font-size: clamp(3rem, 18vw, 4.5rem);
  }

  .intro,
  .intro-wrap {
    min-height: 176vh;
  }

  .intro-sticky {
    position: sticky;
    top: calc(var(--header-height) + 12px);
    min-height: calc(100vh - var(--header-height) - 18px);
    align-items: center;
    padding: 42px 0 24px;
  }

  .intro-display {
    font-size: clamp(1.12rem, 4.4vw, 1.45rem);
    line-height: 1.3;
  }

  .project-item h2,
  .timeline-item h2,
  .focus-item h2,
  .contact-section h2 {
    max-width: none;
    text-wrap: pretty;
  }

  .resource-item {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px 0;
  }

  .resource-side {
    justify-items: start;
    gap: 10px;
  }

  .resource-tools {
    justify-content: flex-start;
  }

  .project-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .project-tools {
    justify-content: flex-start;
    margin-left: 0;
  }

  .hero-portrait::before {
    inset: -12px 12px 12px -12px;
  }

  .project-item:hover {
    transform: none;
  }

  .contact-section h2 {
    max-width: 12ch;
  }

  .intro-screen__inner {
    font-size: 0.82rem;
    letter-spacing: 0.1em;
  }

  .intro-screen__inner img {
    height: 32px;
  }

  .brand-logo {
    height: 30px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .portrait-caption {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
    border-radius: 18px;
    font-size: 0.78rem;
  }

  .case-header-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  .case-visual-card {
    min-height: 360px;
  }

  .page-home .page-shell {
    margin-bottom: 0;
  }

  .site-footer {
    position: relative;
    min-height: auto;
    margin-top: 0;
    padding: 28px 0 30px;
  }

  .site-footer-shell {
    position: relative;
    min-height: auto;
    gap: 22px;
  }

  .page-home .page-shell {
    margin-bottom: 0;
  }

  .site-footer-top,
  .footer-top-links {
    align-items: center;
  }

  .site-footer-top {
    display: none;
  }

  .site-footer-top {
    justify-content: flex-start;
    gap: 12px;
  }

  .footer-dot {
    width: 10px;
    height: 10px;
    box-shadow: 0 0 0 6px rgba(243, 238, 232, 0.04);
  }

  .footer-top-links {
    gap: 16px;
  }

  .footer-top-links a {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: rgba(243, 238, 232, 0.62);
    font-size: 0.92rem;
  }

  .site-footer-copy {
    max-width: 100%;
  }

  .site-footer-hero {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-actions {
    justify-self: start;
    width: 100%;
    gap: 16px;
    margin-top: 8px;
    padding: 22px 0 8px;
    border-top: 1px solid rgba(243, 238, 232, 0.08);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .footer-actions-label {
    margin-bottom: 0;
  }

  .footer-primary {
    min-height: 58px;
    border-radius: 14px;
    font-size: 1rem;
  }

  .footer-secondary {
    width: 100%;
    min-height: 0;
    justify-content: flex-start;
    padding: 2px 0 6px;
    border-bottom: 0;
    color: rgba(243, 238, 232, 0.82);
  }

  .footer-secondary::after {
    content: "";
  }

  .site-footer-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 10px;
    border-top: 1px solid rgba(243, 238, 232, 0.08);
  }

  .site-footer-meta > div {
    min-height: 0;
    padding: 15px 0 14px;
    border: 0;
    border-bottom: 1px solid rgba(243, 238, 232, 0.08);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-footer-meta p {
    margin-bottom: 8px;
    font-size: 0.74rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(243, 238, 232, 0.46);
  }

  .footer-meta-link,
  .footer-meta-copy {
    font-size: 1.06rem;
    line-height: 1.35;
  }

  .site-footer-copy h2 {
    font-size: clamp(2.05rem, 11vw, 3.5rem);
    line-height: 0.96;
    text-wrap: pretty;
  }

  .footer-description {
    margin-top: 18px;
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .footer-primary {
    width: 100%;
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot,
  .cursor-ring,
  .project-preview {
    display: none;
  }
}
