@font-face {
  font-family: 'Overdrive';
  src: url('/fonts/Overdrive.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Grandspan Wide';
  src: url('/fonts/Grandspan-Wide.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* ── HIDE DEFAULT CURSOR ── */
* {
  cursor: none !important;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; scroll-padding-top: 80px; }

:root {
  --bg: #15181e;
  --bg-dark: #0f1117;
  --ink: #ecf4f9;
  --ink-mid: rgba(236,244,249,0.45);
  --ink-faint: rgba(236,244,249,0.06);
  --white: #ecf4f9;
  --rule: rgba(236,244,249,0.08);
  --speed: 0.55s;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── ANIMATIONS ── */
@keyframes logoFadeIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes drawStroke {
  to { stroke-dashoffset: 0; }
}

@keyframes fillIn {
  to { opacity: 1; }
}

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

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── PAGE TRANSITIONS ── */
.page-transition {
  position: fixed;
  inset: 0;
  background: #15181e;
  z-index: 9990;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.page-transition.enter { opacity: 1; pointer-events: all; }
.page-transition.exit  { opacity: 0; pointer-events: none; }

body, a, button, input, [role="button"] {
  cursor: none !important;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  cursor: none !important;
  max-width: 100vw;
}

/* ── TEXT POLISH ── */
/* Balance display headings so line lengths even out; let body text avoid
   orphans. Covers the named display classes that aren't real <hN> tags. */
h1, h2, h3,
.home-title, .home-index-num, .about-big, .work-big, .contact-big,
.ha-tag, .ha-lead, .skill-name, .wi-title, .cl-value {
  text-wrap: balance;
}
p, .ar-text, .ha-col-text, .home-desc, .work-intro, .contact-sub {
  text-wrap: pretty;
}

/* ── SELECTION ── */
::selection {
  background: rgba(236, 244, 249, 0.16);
  color: var(--ink);
}

/* ── KEYBOARD FOCUS ── */
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
  border-radius: 1px;
}

/* ── PROGRESS BAR ── */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--ink);
  z-index: 9999;
  width: 0;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px rgba(236,244,249,0.3);
}

/* ── CURSOR ── */
.cursor {
  position: fixed;
  width: 6px; height: 6px;
  background: #ffffff;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  opacity: 0;
  left: -9999px;
  top: -9999px;
}

.cursor-ring {
  position: fixed;
  width: 28px; height: 28px;
  border: 1.5px solid #ffffff;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease), height 0.4s var(--ease);
  mix-blend-mode: difference;
  opacity: 0;
  left: -9999px;
  top: -9999px;
}
.cursor-ring.grow {
  width: 64px;
  height: 64px;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0;
  background: rgba(21,24,30,0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(245,244,240,0.08);
}

.nav-inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 1.6rem 3.5vw;
  position: relative;
  gap: 2rem;
}

.nav-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  transition: scale 0.16s var(--ease);
}
.nav-logo:active { scale: 0.96; }
.nav-logo .by {
  font-family: 'Overdrive', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(236,244,249,0.6);
  text-transform: uppercase;
  font-weight: normal;
}
.nav-logo svg {
  height: 18px;
  color: var(--white);
  transition: opacity 0.2s;
}
.nav-logo img {
  animation: logoFadeIn 0.8s ease-out forwards;
}
.nav-logo:hover svg { opacity: 0.4; }

.nav-links {
  display: flex;
  gap: 2.8rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,244,240,0.45);
  text-decoration: none;
  transition: color 0.25s var(--ease), scale 0.16s var(--ease);
  position: relative;
}
/* Enlarged, invisible hit area (≥40px) without affecting layout. */
.nav-links a::before {
  content: '';
  position: absolute;
  inset: -1.2rem -0.7rem;
}
/* Underline grows from the left on hover and persists while active. */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a:active { scale: 0.96; }

.page {
  padding-top: 80px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.26s; }
.d4 { transition-delay: 0.38s; }
.d5 { transition-delay: 0.52s; }

/* Auto-stagger for the work list — new projects animate in sequence
   without needing a manual delay class each time. */
.work-list .reveal:nth-child(1)  { transition-delay: 0s; }
.work-list .reveal:nth-child(2)  { transition-delay: 0.08s; }
.work-list .reveal:nth-child(3)  { transition-delay: 0.16s; }
.work-list .reveal:nth-child(4)  { transition-delay: 0.24s; }
.work-list .reveal:nth-child(5)  { transition-delay: 0.32s; }
.work-list .reveal:nth-child(6)  { transition-delay: 0.40s; }
.work-list .reveal:nth-child(7)  { transition-delay: 0.48s; }
.work-list .reveal:nth-child(8)  { transition-delay: 0.56s; }
.work-list .reveal:nth-child(9)  { transition-delay: 0.64s; }
.work-list .reveal:nth-child(10) { transition-delay: 0.72s; }
.work-list .reveal:nth-child(11) { transition-delay: 0.80s; }
.work-list .reveal:nth-child(12) { transition-delay: 0.88s; }

/* ── LINK ARROW ── */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: gap 0.3s var(--ease), scale 0.16s var(--ease);
}
.link-arrow:hover { gap: 1.3rem; }
.link-arrow:active { scale: 0.96; }
.link-arrow span { transition: transform 0.3s var(--ease); }

.link-muted {
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mid);
  text-decoration: none;
  transition: color 0.2s, scale 0.16s var(--ease);
}
.link-muted:hover { color: var(--ink); }
.link-muted:active { scale: 0.96; }

/* ── HOME ── */
.home-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  min-height: calc(100vh - 80px);
  border-bottom: 1px solid transparent;
  overflow: hidden;
  position: relative;
}

.home-left {
  padding: 5vw 4vw 5vw 3.5vw;
  border-right: 1px solid transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.home-right {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  z-index: 1;
  margin-left: -60px;
}

.home-photo {
  position: relative;
  width: 85%;
  overflow: hidden;
  display: block;
  line-height: 0;
}

.home-photo img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  object-position: center center;
  filter: grayscale(10%) contrast(1.06);
  transition: transform 1s var(--ease);
  display: block;
  outline: 1px solid rgba(255, 255, 255, 0.1);
  outline-offset: -1px;
}
.home-photo:hover img { transform: scale(1.02); }

.home-index {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(15,17,23,0.7), transparent);
  pointer-events: none;
  z-index: 10;
}

.home-index-num {
  font-family: 'Grandspan Wide', sans-serif;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--ink-faint);
  letter-spacing: -0.04em;
  user-select: none;
}

.home-index-tags {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}
.home-index-tag {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mid);
}

.home-overline {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ink-mid);
}

.home-title {
  font-family: 'Grandspan Wide', sans-serif;
  font-size: clamp(2.8rem, 4.8vw, 5.5rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.home-title em {
  display: block;
  font-style: normal;
  color: var(--ink-mid);
  font-size: 0.52em;
  letter-spacing: -0.01em;
  margin-bottom: 0.25em;
}

.home-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.home-desc {
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.95;
  color: var(--ink-mid);
  max-width: 340px;
}

.home-cta {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

/* ── TICKER ── */
.ticker-wrap {
  overflow: hidden;
  border-bottom: 1px solid transparent;
  padding: 0.9rem 0;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.ticker {
  display: inline-flex;
  animation: ticker 22s linear infinite;
}
.ticker-wrap:hover .ticker { animation-play-state: paused; }
.ticker-item {
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mid);
  padding: 0 2.5rem;
  border-right: 1px solid transparent;
}

/* ── HOME ABOUT ── */
.home-about {
  display: grid;
  grid-template-columns: 18rem 1fr;
  gap: 2rem;
  padding: 6vw 3.5vw;
  border-top: 1px solid var(--rule);
}

.ha-head {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.ha-tag {
  font-family: 'Grandspan Wide', sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.ha-index {
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mid);
}

.ha-body {
  display: flex;
  flex-direction: column;
  gap: 2.6rem;
  max-width: 760px;
}
.ha-lead {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.05rem, 1.9vw, 1.55rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.ha-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.ha-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ha-col-label {
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mid);
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--rule);
}
.ha-col-text {
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.95;
  color: var(--ink-mid);
}
.ha-col-text em {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
}

/* ── CONTACT STRIP ── */
.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #ecf4f9;
  color: #15181e;
}

.cs-cell {
  padding: 2.8rem 3.5vw;
  border-right: 1px solid rgba(21,24,30,0.12);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  color: #15181e;
}
.cs-cell:last-child { border-right: none; }

.cs-label {
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #15181e !important;
  opacity: 0.5;
}
.cs-value {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  color: #15181e;
  text-decoration: none;
  line-height: 1.3;
  transition: opacity 0.2s, scale 0.16s var(--ease);
}
.cs-value:hover { opacity: 0.4; }
.cs-value:active { scale: 0.96; }

.cs-socials { display: flex; gap: 1.5rem; margin-top: 0.2rem; }
.contact-strip * { color: inherit; }
.cs-social {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(21,24,30,0.5);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s, scale 0.16s var(--ease);
}
.cs-social:hover { color: #15181e; }
.cs-social:active { scale: 0.96; }

/* ── ABOUT ── */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(85vh - 80px);
  border-bottom: 1px solid transparent;
}

.about-left {
  padding: 5vw 4vw 5vw 3.5vw;
  border-right: 1px solid transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-big {
  font-family: 'Grandspan Wide', sans-serif;
  font-size: clamp(3rem, 6vw, 7rem);
  line-height: 0.88;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.about-big em {
  display: block;
  font-style: normal;
  color: var(--ink-mid);
}

.about-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.about-meta-item {
  font-size: 0.63rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mid);
}
.about-meta-item strong {
  color: var(--ink);
  font-weight: 500;
}

.about-right {
  padding: 5vw 3.5vw 5vw 4vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-photo {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  max-height: 60vh;
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(15%) contrast(1.05);
  transition: transform 1s var(--ease);
  display: block;
  outline: 1px solid rgba(255, 255, 255, 0.1);
  outline-offset: -1px;
}
.about-photo:hover img { transform: scale(1.03); }

.about-tagline {
  padding-top: 2rem;
  font-size: 0.8rem;
  line-height: 1.9;
  color: var(--ink-mid);
}

/* About body rows */
.about-row {
  display: grid;
  grid-template-columns: 18rem 1fr;
  gap: 0;
  padding: 4vw 3.5vw;
  border-bottom: 1px solid transparent;
}

.ar-label {
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mid);
  border-right: 1px solid transparent;
  padding-right: 4vw;
  padding-top: 0.15rem;
}

.ar-content {
  padding-left: 4vw;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ar-text {
  font-size: 0.85rem;
  line-height: 2;
  color: var(--ink-mid);
  max-width: 620px;
}

.skills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid transparent;
  margin-top: 0.5rem;
}
.skill-item {
  padding: 1rem 2rem 1rem 0;
  border-right: 1px solid transparent;
  margin-right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 1rem;
}
.skill-item:last-child { border-right: none; }

.skill-name {
  font-family: 'Grandspan Wide', sans-serif;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1;
}
.skill-cat {
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mid);
}

/* ── WORK ── */
.work-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
  padding: 5vw 3.5vw 4vw;
  border-bottom: 1px solid transparent;
  align-items: end;
}

.work-big {
  font-family: 'Grandspan Wide', sans-serif;
  font-size: clamp(3rem, 6.5vw, 7.5rem);
  line-height: 0.88;
  letter-spacing: -0.025em;
  color: var(--ink);
  border-right: 1px solid transparent;
  padding-right: 4vw;
}

.work-header-right {
  padding-left: 4vw;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: flex-end;
  padding-bottom: 0.4rem;
}
.work-count {
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mid);
}
.work-intro {
  font-size: 0.78rem;
  line-height: 1.9;
  color: var(--ink-mid);
  max-width: 260px;
}

.work-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  align-items: center;
  gap: 0;
  padding: 2.2rem 3.5vw;
  border-bottom: 1px solid transparent;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  transition: scale 0.22s var(--ease);
}
.work-item:active { scale: 0.985; }
.work-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
  z-index: 0;
}
.work-item:hover::before { transform: scaleX(1); }

.wi-num {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--ink-mid);
  position: relative; z-index: 1;
  transition: color 0.3s;
}
.wi-center {
  position: relative; z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.wi-title {
  font-family: 'Grandspan Wide', sans-serif;
  font-size: clamp(1.5rem, 3.2vw, 3rem);
  line-height: 1;
  letter-spacing: -0.01em;
  transition: color 0.3s;
}
.wi-type {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mid);
  transition: color 0.3s;
}
.wi-arrow {
  font-size: 1.1rem;
  color: var(--ink-mid);
  position: relative; z-index: 1;
  transition: color 0.3s, transform 0.3s var(--ease);
}
.work-item:hover .wi-num,
.work-item:hover .wi-title,
.work-item:hover .wi-type,
.work-item:hover .wi-arrow { color: var(--bg); }
.work-item:hover .wi-arrow { transform: translate(4px, -4px); }

/* ── CONTACT ── */
.contact-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 80px);
  border-bottom: 1px solid transparent;
}

.contact-left {
  padding: 6vw 4vw 6vw 3.5vw;
  border-right: 1px solid transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.contact-big {
  font-family: 'Grandspan Wide', sans-serif;
  font-size: clamp(4.5rem, 9vw, 10rem);
  line-height: 0.87;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.contact-big em {
  display: block;
  font-style: normal;
  color: var(--ink-mid);
}
.contact-sub {
  font-size: 0.78rem;
  line-height: 1.95;
  color: var(--ink-mid);
  max-width: 300px;
}

.contact-right {
  padding: 6vw 3.5vw 6vw 4vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-line {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 2rem 0;
  border-bottom: 1px solid transparent;
  text-decoration: none;
  transition: padding-left 0.35s var(--ease), scale 0.22s var(--ease);
}
.contact-line:first-child { border-top: 1px solid transparent; }
.contact-line:hover { padding-left: 1.2rem; }
.contact-line:active { scale: 0.985; }

.cl-label {
  font-size: 0.56rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mid);
}
.cl-value {
  font-family: 'Grandspan Wide', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.9rem);
  color: var(--ink);
  line-height: 1.1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cl-arr {
  font-size: 0.95rem;
  color: var(--ink-mid);
  transition: transform 0.25s var(--ease), color 0.2s;
}
.contact-line:hover .cl-arr { transform: translate(5px, -5px); color: var(--ink); }

/* ── FOOTER ── */
footer {
  padding: 1.6rem 3.5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid transparent;
}
footer span {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mid);
}

/* ── HAMBURGER ── */
.hamburger {
  display: none !important;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  min-width: 40px;
  min-height: 40px;
  background: none;
  border: none;
  cursor: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 20px; height: 1px;
  background: var(--ink);
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  body { cursor: auto; overflow-x: hidden; }
  *, *::before, *::after { max-width: 100%; }
  .cursor, .cursor-ring { display: none; }

  /* ── NAV MOBILE ── */
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: var(--bg);
    z-index: 99;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
  }
  .nav-links.open a {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
  }
  .hamburger {
    display: flex !important;
    position: relative;
    z-index: 101;
  }
  .hamburger span {
    transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
  }
  .hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  body.menu-open { overflow: hidden; }

  /* ── PAGE ── */
  .page { padding-top: 64px; }

  /* ── HOME ── */
  .home-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 4vw;
    row-gap: 1.6rem;
    align-items: start;
    min-height: unset;
    padding: 7vw 6vw 8vw;
  }

  /* Dissolve the wrapper so its children join the hero grid directly. */
  .home-left {
    display: contents;
  }

  .home-overline {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }

  .home-title {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
  }

  .home-right {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
  }

  .home-photo {
    width: 28vw;
    max-width: 120px;
    height: auto;
  }
  .home-photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center center;
  }

  .home-index { display: none; }

  .home-bottom {
    grid-column: 1 / -1;
    grid-row: 3;
  }
    
  .home-title, .about-big, .contact-big {
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .wi-title {
    font-size: clamp(1rem, 5.5vw, 2rem);
    word-break: normal;
  }
  .home-title {
    font-size: clamp(1.15rem, 5.4vw, 4rem);
    word-break: normal;
    overflow-wrap: normal;
  }
  .home-desc { max-width: 100%; }

  /* ── TICKER ── */
  .ticker-wrap { padding: 0.7rem 0; }

  /* ── HOME ABOUT ── */
  .home-about {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 14vw 6vw;
  }
  .ha-cols { grid-template-columns: 1fr; gap: 2.2rem; }

  /* ── CONTACT STRIP ── */
  .contact-strip { grid-template-columns: 1fr; }
  .cs-cell {
    border-right: none;
    border-bottom: 1px solid rgba(21,24,30,0.12);
    padding: 2rem 6vw;
  }
  .cs-cell:last-child { border-bottom: none; }
  .cs-value { font-size: clamp(1.1rem, 5vw, 1.3rem); }

  /* ── ABOUT ── */
  .about-hero {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .about-left {
    border-right: none;
    padding: 8vw 6vw 6vw;
    border-bottom: 1px solid var(--rule);
  }
  .about-big { font-size: clamp(2.8rem, 10vw, 5rem); }
  .about-right { padding: 6vw; }
  .about-photo { max-height: 60vw; }

  .about-row {
    grid-template-columns: 1fr;
    padding: 6vw;
  }
  .ar-label {
    border-right: none;
    padding-right: 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--rule);
    margin-bottom: 0;
  }
  .ar-content { padding-left: 0; padding-top: 2rem; }

  /* ── WORK ── */
  .work-header {
    grid-template-columns: 1fr;
    padding: 8vw 6vw 5vw;
  }
  .work-big {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 4vw;
    margin-bottom: 3vw;
    font-size: clamp(3rem, 10vw, 5rem);
  }
  .work-header-right { padding-left: 0; }
  .work-item {
    grid-template-columns: 2.5rem 1fr auto;
    padding: 1.8rem 6vw;
  }
  .wi-title { font-size: clamp(1.4rem, 6vw, 2.5rem); }

  /* ── CONTACT ── */
  .contact-page {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .contact-left {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    padding: 8vw 6vw 6vw;
  }
  .contact-big { font-size: clamp(3.5rem, 12vw, 7rem); }
  .contact-right { padding: 6vw; }
  .cl-value { font-size: clamp(1rem, 5vw, 1.5rem); }

  /* ── FOOTER ── */
  footer { padding: 1.4rem 6vw; flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ── SMALL PHONES ── */
@media (max-width: 400px) {
  .home-title { font-size: 5.6vw; }
  .work-big, .about-big, .contact-big { font-size: 10vw; }
  .wi-title { font-size: 7vw; }
}

/* ── REDUCED MOTION ──
   Honour the OS setting: keep content fully visible, drop the marquee,
   parallax and large transforms, and make any remaining transitions
   effectively instant. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .ticker { animation: none !important; }
  .home-photo:hover img,
  .about-photo:hover img { transform: none; }
}
