: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;
}

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);
}

.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;
  gap: 18px;
  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: 62px;
  height: 62px;
  border-radius: 18px;
  animation: introLogoPulse 2.4s ease-in-out infinite;
}

.intro-screen__inner span {
  animation: introTextBreathe 2.4s ease-in-out infinite;
}

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

@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;
  gap: 12px;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

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

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  padding: 6px;
  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 14px;
  border-radius: 999px;
}

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

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

.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);
}

.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 {
  border-top: 1px solid var(--line);
}

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

.project-item {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 34px 22px 38px;
  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: balance;
}

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

.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-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);
}

.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);
}

.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: flex;
  align-items: center;
}

.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;
  gap: 34px;
  margin-top: 34px;
}

.footer-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 18px 26px;
  background: var(--accent);
  border-radius: 999px;
  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;
  color: rgba(243, 238, 232, 0.82);
  font-size: 0.96rem;
  font-weight: 500;
}

.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;
}

.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: 110px;
}

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

.case-hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: center;
}

.case-title {
  margin: 12px 0 20px;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

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

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

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

.case-visual-card {
  display: grid;
  gap: 30px;
  min-height: 460px;
  padding: clamp(28px, 4vw, 42px);
  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: 30px;
}

.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;
}

.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);
}

.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);
}

.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);
}

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

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

@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-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 {
    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: auto;
  }

  .intro-sticky {
    position: static;
    min-height: auto;
    padding: 88px 0 28px;
  }

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

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

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

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

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

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

  .intro-screen__inner img {
    width: 52px;
    height: 52px;
  }

  .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;
  }

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

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

  .site-footer-top,
  .footer-top-links {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .site-footer-copy h2 {
    font-size: clamp(2.15rem, 11vw, 3.5rem);
    line-height: 1.02;
  }

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

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