/* ---------- Reset & Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #ffffff;
  --fg: #0a0a0b;
  --fg-dim: #6b7076;
  --line: rgba(10, 10, 11, 0.09);
  --accent: #5b57ea;

  --hero-bg: #0a0a0b;
  --hero-fg: #f5f5f7;
  --hero-fg-dim: rgba(245, 245, 247, 0.6);
  --hero-line: rgba(245, 245, 247, 0.14);

  --sans: 'Inter', sans-serif;
  --mono: 'Google Sans Code', monospace;

  --hero-gutter: clamp(0.6rem, 1.6vw, 1rem);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: -0.011em;
  overflow-x: hidden;
  cursor: default;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; color: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

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

/* ---------- Grain overlay ---------- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--accent);
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid var(--accent);
  opacity: 0.6;
  transition: width 0.25s ease, height 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}
.cursor-ring.hovering {
  width: 58px;
  height: 58px;
  background: rgba(91, 87, 234, 0.12);
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--hero-bg);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.9s cubic-bezier(.76,0,.24,1);
}
.loader.done { transform: translateY(-100%); }
.loader-text {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--hero-fg);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  opacity: 0;
  animation: loaderFade 1.4s ease forwards;
}
@keyframes loaderFade {
  0% { opacity: 0; letter-spacing: 0.3em; }
  50% { opacity: 1; }
  100% { opacity: 1; letter-spacing: 0.06em; }
}

/* ---------- Nav (hero variant: dark bg, lives inside hero) ---------- */
.hero-nav, .site-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.5rem, 5vw, 3rem);
}
.site-nav {
  border-bottom: 1px solid var(--line);
}
.logo {
  display: block;
}
.logo img {
  height: 18px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 2.2rem;
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.nav-links a {
  position: relative;
  padding-bottom: 3px;
  transition: color 0.25s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin: -10px;
}
.nav-toggle span {
  height: 1px;
  width: 24px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* Hero (dark) nav colors */
.hero-nav .logo img { filter: none; }
.hero-nav .nav-links a { color: var(--hero-fg-dim); }
.hero-nav .nav-links a::after { background: var(--hero-fg); }
.hero-nav .nav-links a:hover { color: var(--hero-fg); }
.hero-nav .nav-toggle span { background: var(--hero-fg); }

/* Site (light) nav colors */
.site-nav .logo img { filter: invert(1); }
.site-nav .nav-links a { color: var(--fg-dim); }
.site-nav .nav-links a::after { background: var(--fg); }
.site-nav .nav-links a:hover { color: var(--fg); }
.site-nav .nav-toggle span { background: var(--fg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: -0.02em;
  color: var(--fg);
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(.76,0,.24,1);
}
.mobile-menu.open { transform: translateY(0); }

/* ---------- Layout helpers ---------- */
main { position: relative; z-index: 1; }
section { position: relative; padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 5vw, 3rem); }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
  display: inline-block;
}
.section-head { margin-bottom: 3.5rem; max-width: 900px; }
.section-title {
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: -0.035em;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(.2,.6,.2,1), transform 0.9s cubic-bezier(.2,.6,.2,1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Hero ---------- */
.hero {
  padding: var(--hero-gutter);
}
.hero-box {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: calc(100vh - (2 * var(--hero-gutter)));
  min-height: calc(100dvh - (2 * var(--hero-gutter)));
  border-radius: 24px;
  background: var(--hero-bg);
  color: var(--hero-fg);
  overflow: hidden;
}
.hero-box::before {
  content: '';
  position: absolute;
  inset: -25%;
  background: radial-gradient(ellipse 42% 38% at 70% 18%, rgba(91,87,234,0.26), transparent 60%);
  pointer-events: none;
  animation: glowDrift 18s ease-in-out infinite;
}
@keyframes glowDrift {
  0%   { transform: translate(0%, 0%) scale(1); opacity: 1; }
  22%  { transform: translate(-9%, 11%) scale(0.92); opacity: 0.5; }
  45%  { transform: translate(5%, 18%) scale(1.05); opacity: 0.78; }
  68%  { transform: translate(-11%, -7%) scale(0.96); opacity: 0.45; }
  100% { transform: translate(0%, 0%) scale(1); opacity: 1; }
}
.hero-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 120px 120px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
}
.hero-tag {
  display: inline-block;
  width: fit-content;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--hero-line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hero-fg-dim);
  margin-bottom: 1.6rem;
  transition-delay: 0.1s;
}
.hero-title {
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: -0.035em;
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  line-height: 1.15;
  max-width: 760px;
  transition-delay: 0.2s;
}

.hero-graphics {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2rem) 0 clamp(1.5rem, 4vw, 2.25rem);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  transition-delay: 0.3s;
}
.graphics-track {
  display: flex;
  width: max-content;
  gap: 16px;
  padding-left: clamp(1.5rem, 5vw, 3rem);
  will-change: transform;
}
.graphics-item {
  width: clamp(72px, 13vw, 150px);
  aspect-ratio: 1 / 1;
  border-radius: 22%;
  flex: 0 0 auto;
}

.graphics-photo {
  position: relative;
}
.graphics-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22%;
  display: block;
}
.speech-bubble {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(50%, -50%) scale(0.5);
  opacity: 0;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #fff;
  color: var(--fg);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(.34, 1.56, .64, 1);
  z-index: 5;
}
.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 16px;
  width: 10px;
  height: 10px;
  background: #fff;
  transform: rotate(45deg);
}
.graphics-photo:hover .speech-bubble {
  opacity: 1;
  transform: translate(50%, -50%) scale(1);
}

/* ---------- Showreel ---------- */
.showreel {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.showreel-inner {
  max-width: 860px;
  margin: 0 auto;
}
.showreel-inner video {
  width: 100%;
  display: block;
  border-radius: 16px;
}

/* ---------- Work (timeline) ---------- */
.work-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 4rem;
  align-items: stretch;
}

.timeline { position: relative; }
.timeline-track {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 28px;
  width: 2px;
  background: rgba(10, 10, 11, 0.1);
  transform: translateX(-50%);
}
.timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: rgba(10, 10, 11, 0.2);
}

.work-item {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.75rem;
  align-items: start;
  padding: 2.25rem 0;
}

.timeline-thumb {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 22%;
  object-fit: cover;
}
.timeline-thumb.reveal {
  transform: scale(0.4) rotate(-8deg);
  transition-delay: 0s;
}
.timeline-thumb.reveal.in-view {
  transform: scale(1) rotate(0deg);
}
.work-info.reveal {
  transition-delay: 0.16s;
}

/* ---------- Work visual (sticky) ---------- */
.work-visual { position: relative; }
.work-visual-panel {
  position: sticky;
  top: 30px;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 400px;
  border-radius: 24px;
  background: var(--bg);
  overflow: hidden;
}
.work-visual-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.illustration-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  color: var(--fg);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}
.illustration-tag svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.work-info { padding-top: 0.35rem; }
.company-name {
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: -0.035em;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  margin: 0;
}
.company-meta {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-top: 0.5rem;
}

/* Role sub-timeline within each company */
.role-list {
  border-left: 1px solid var(--line);
  margin: 1.2rem 0 2.2rem;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  max-width: 480px;
}
.role-item { position: relative; }
.role-item::before {
  content: '';
  position: absolute;
  top: 0.5rem;
  left: calc(-1.25rem - 3px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.role-item.reveal:nth-child(1) { transition-delay: 0.05s; }
.role-item.reveal:nth-child(2) { transition-delay: 0.14s; }
.role-item.reveal:nth-child(3) { transition-delay: 0.23s; }
.role-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.role-head h4 {
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: -0.02em;
  font-size: 1rem;
  color: var(--fg);
}
.role-dates {
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(10, 10, 11, 0.38);
  white-space: nowrap;
}
.role-responsibilities {
  margin-top: calc(0.55rem + 6px);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.role-responsibilities p {
  font-weight: 300;
  color: var(--fg-dim);
  line-height: 1.55;
  font-size: 0.9rem;
}

.work-tags { display: flex; gap: 0.6rem; flex-wrap: wrap; max-width: 480px; }
.work-tags span {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0.3rem 0.8rem;
  color: var(--fg-dim);
}

/* ---------- Project list (My Work / Creative Direction) ---------- */
.page-intro { padding-top: clamp(2rem, 6vw, 3.5rem); }
.project-list { display: flex; flex-direction: column; }
.project-item {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: calc(8rem - 30px) 0;
  border-top: 1px solid var(--line);
}
.project-list .project-item:last-child { border-bottom: 1px solid var(--line); }

.project-media {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: var(--bg);
}
.project-media img,
.project-media video {
  width: 100%;
  height: auto;
}
.project-info h3 {
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: -0.035em;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  margin-bottom: 0.7rem;
}
.project-info p {
  font-weight: 300;
  color: var(--fg-dim);
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.project-stats {
  display: flex;
  flex-wrap: wrap;
  gap: calc(1.5rem + 8px);
  max-width: 480px;
  margin-top: 15px;
  margin-bottom: calc(1.2rem + 10px);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.stat-figure {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: 1.15rem;
  color: var(--fg);
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--fg-dim);
  line-height: 1.3;
  max-width: 150px;
}
.inline-link {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  transition: opacity 0.3s ease;
}
.inline-link:hover { opacity: 0.7; }

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: calc(1.2rem + 20px);
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.read-more-btn svg { width: 12px; height: 12px; }
.read-more-btn:hover { color: var(--accent); border-color: var(--accent); }

.more-work {
  max-width: 640px;
  margin-top: 3rem;
}
.more-work h3 {
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: -0.035em;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  margin-bottom: 0.8rem;
}
.more-work p {
  font-weight: 300;
  color: var(--fg-dim);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 4.5rem;
  align-items: start;
}
.portrait-frame {
  padding-top: calc(66.667% + 80px);
  border-radius: 16px;
  background: linear-gradient(150deg, #17171b, #0a0a0b 60%, #5b57ea 145%);
  position: relative;
  overflow: hidden;
}
.portrait-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portrait-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.08), transparent 60%);
  pointer-events: none;
}
.about-copy h2 {
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: -0.035em;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 1.6rem;
}
.about-copy p {
  font-weight: 300;
  color: var(--fg-dim);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 1.2rem;
}

/* ---------- Services ---------- */
.service-row {
  display: grid;
  grid-template-columns: 50px 1fr 1.4fr;
  gap: 2rem;
  align-items: baseline;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  transition: background 0.4s ease, padding-left 0.4s ease;
}
.services-list .service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row:hover { background: rgba(10,10,11,0.02); padding-left: 1rem; }
.service-num {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--accent);
  font-size: 0.95rem;
}
.service-row h3 {
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: -0.035em;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
}
.service-row p {
  font-weight: 300;
  color: var(--fg-dim);
  line-height: 1.6;
  max-width: 480px;
}

/* ---------- Currently ---------- */
.currently-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4.5rem;
  align-items: start;
}
.currently-copy {
  max-width: 640px;
}
.currently-photo {
  aspect-ratio: 5 / 4;
  border-radius: 16px;
  overflow: hidden;
}
.currently-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.currently-copy p {
  font-weight: 300;
  color: var(--fg);
  line-height: 1.75;
  font-size: 1.02rem;
  margin-bottom: 1.4rem;
}

/* ---------- Contact ---------- */
.contact { text-align: center; padding-bottom: 8rem; }
.contact-inner { max-width: 900px; margin: 0 auto; }
.contact-inner h2 {
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: -0.035em;
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  line-height: 1.2;
  margin-bottom: 3.2rem;
}
.contact-link {
  color: var(--accent);
  font-style: normal;
  border-bottom: 1px solid var(--accent);
  transition: opacity 0.3s ease;
}
.contact-link:hover { opacity: 0.7; }
.contact-details {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  font-size: 1.15rem;
  font-weight: 300;
  flex-wrap: wrap;
}
.contact-details a { border-bottom: 1px solid transparent; transition: border-color 0.3s ease; }
.contact-details a:hover { border-color: var(--fg); }
.divider { color: var(--fg-dim); }

/* ---------- Footer ---------- */
.footer {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2.5rem clamp(1.5rem, 5vw, 3rem) 2.5rem;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-email {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--fg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.footer-email:hover { border-color: var(--fg); }
.footer-social {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--fg-dim);
}
.footer-social a { position: relative; }
.footer-link-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.footer-link-icon svg { width: 12px; height: 12px; }
.footer-social a::after {
  content: '';
  position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--fg);
  transition: width 0.3s ease;
}
.footer-social a:hover::after { width: 100%; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--fg-dim);
}
/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .work-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .work-visual-panel { position: static; max-width: 360px; margin: 0 auto; }
  .work-item { grid-template-columns: 44px 1fr; gap: 1.25rem; }
  .timeline-thumb { width: 44px; height: 44px; }
  .timeline-track { left: 22px; }
  .about-grid { grid-template-columns: 1fr; }
  .currently-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .portrait-frame { max-width: 320px; padding-top: calc(66.667% + 40px); }
  .service-row { grid-template-columns: 36px 1fr; }
  .service-row p { grid-column: 2 / 3; max-width: 100%; }
  .hero-box { border-radius: 18px; }
  .project-item { grid-template-columns: 1fr; padding: 3.5rem 0; }
  .project-media { order: 1; }
  .project-info { order: 2; }
  .read-more-btn { padding: 0.7rem 1.1rem; }
  .contact { padding-bottom: 3.5rem; }
}

@media (max-width: 520px) {
  .contact-details { flex-direction: column; gap: 0.4rem; }
  .divider { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .graphics-track { transition: none !important; }
  .hero-box::before { animation: none !important; }
}
