:root {
  --lime: #c4f000;
  --ink: #070707;
  --muted: #b4b4b4;
  --quiet: #77777d;
  --line: rgba(196, 240, 0, 0.6);
  --night: #130f40;
  --card: #101010;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: #000;
  color: var(--muted);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
h1, h2, h3, h4, h5, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--lime); color: #000; }

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--lime);
  color: #000;
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { top: 12px; }

.curtain {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 80;
  transform-origin: top;
  animation: curtain-out 0.7s var(--ease) forwards;
  pointer-events: none;
}
body.is-leaving .curtain {
  animation: curtain-in 0.42s var(--ease) forwards;
  transform-origin: bottom;
}
@keyframes curtain-out {
  from { transform: scaleY(1); }
  to { transform: scaleY(0); }
}
@keyframes curtain-in {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.wrap-wide { width: min(1860px, calc(100% - 24px)); margin-inline: auto; }

.gradient-text,
.gradient-text .word > span {
  background: linear-gradient(#fff, #696969);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  transition: background 0.45s ease, border-color 0.45s ease, padding 0.45s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: #000;
  border-bottom-color: rgba(120, 120, 125, 0.28);
  border-bottom-style: dashed;
}
.header-inner {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 84px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.logo { justify-self: start; display: flex; align-items: center; height: 44px; }
.logo img { height: 44px; width: auto; display: block; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  color: #fff;
  font-size: 16px;
  transition: color 0.25s ease;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--lime); }
.socials {
  justify-self: end;
  display: flex;
  gap: 22px;
  align-items: center;
}
.socials a {
  color: #fff;
  font-size: 20px;
  line-height: 1;
  transition: color 0.25s ease, transform 0.25s ease;
}
.socials a:hover { color: var(--lime); transform: translateY(-2px); }
.menu-btn {
  display: none;
  position: relative;
  z-index: 50;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  justify-self: end;
  cursor: pointer;
}
.menu-btn span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}
.menu-btn span:nth-child(1) { top: 14px; }
.menu-btn span:nth-child(2) { top: 21px; }
.menu-btn span:nth-child(3) { top: 28px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.hero, .page-hero {
  background: linear-gradient(315deg, var(--night), #000 74%);
  padding: 190px 0 100px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) 1.35fr;
  gap: 28px;
  align-items: center;
}
.hero-copy { padding-left: 48px; }
.hero-copy h1 {
  font-size: 64px;
  font-weight: 400;
  line-height: 1.2;
  margin: 10px 0 18px;
}
.hero-copy p,
.lede {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
  font-weight: 400;
  max-width: 640px;
}
.word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; }
.word > span { display: inline-block; }

.glitch {
  position: relative;
  border-radius: 40px;
  border: 4px solid var(--night);
  overflow: hidden;
  line-height: 0;
}
.glitch img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  position: relative;
  z-index: 1;
}
.glitch__layer {
  position: absolute;
  inset: 0;
  background: url("../assets/portrait.png") center center / cover no-repeat;
  z-index: 2;
  pointer-events: none;
}
.glitch__layer:nth-child(2) {
  animation: glitch-a 2.8s steps(1, end) infinite;
  opacity: 0.55;
}
.glitch__layer:nth-child(3) {
  animation: glitch-b 3.4s steps(1, end) infinite;
  opacity: 0.4;
}
.glitch__layer:nth-child(4) {
  animation: glitch-flash 2.2s linear infinite;
}
@keyframes glitch-a {
  0% { clip-path: inset(8% 0 88% 0); transform: translateX(-8px); }
  20% { clip-path: inset(42% 0 54% 0); transform: translateX(6px); }
  40% { clip-path: inset(70% 0 26% 0); transform: translateX(-6px); }
  60% { clip-path: inset(22% 0 74% 0); transform: translateX(8px); }
  80% { clip-path: inset(86% 0 10% 0); transform: translateX(-4px); }
  100% { clip-path: inset(54% 0 42% 0); transform: translateX(5px); }
}
@keyframes glitch-b {
  0% { clip-path: inset(18% 0 78% 0); transform: translateX(7px); }
  25% { clip-path: inset(63% 0 33% 0); transform: translateX(-8px); }
  50% { clip-path: inset(36% 0 60% 0); transform: translateX(6px); }
  75% { clip-path: inset(80% 0 16% 0); transform: translateX(-5px); }
  100% { clip-path: inset(12% 0 84% 0); transform: translateX(7px); }
}
@keyframes glitch-flash {
  0%, 6% { opacity: 0.28; clip-path: inset(48% 0 48% 0); transform: translateX(10px); }
  8%, 100% { opacity: 0; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime);
  color: #000;
  border: 1px solid var(--lime);
  border-radius: 50px;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.25);
  padding: 17px 34px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.btn:hover {
  background: #000;
  color: #fff;
  transform: translateY(-1px);
}
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); }
.btn-dark {
  background: #070707;
  color: #fff;
  border-color: #070707;
}
.btn-dark:hover { background: #111; color: #fff; border-color: #111; }
.hero-actions { margin-top: 28px; }

.projects {
  position: relative;
  background: linear-gradient(230deg, var(--night), #000 74%);
  padding: 70px 0 100px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.project-card { grid-column: span 6; }
.project-card:nth-child(5n + 3),
.project-card:nth-child(5n + 4),
.project-card:nth-child(5n + 5) { grid-column: span 4; }
.project-card {
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
  transform: translateZ(0);
}
.project-card img,
.project-card__empty {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #10131c;
  filter: saturate(0.78) brightness(0.9) contrast(0.96);
  transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.45s ease, filter 0.45s ease;
}
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent 55%);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.tag {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  padding: 0.45em 1em;
  border-radius: 2em;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0 30px 26px;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.3px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.project-card:hover img { transform: scale(1.04); opacity: 0.75; }
.project-card:hover::after { opacity: 1; }
.project-card:hover .caption { opacity: 1; transform: none; }

.companies { padding: 90px 0 40px; background: #000; }
.companies h2 {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 28px;
  text-align: center;
}
.marquee {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: drift 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(-50%); } }
.logo-row { display: flex; align-items: center; gap: 64px; padding: 18px 32px; }
.skill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 15px;
  white-space: nowrap;
}
.skill img {
  width: 26px;
  height: 26px;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.cta-wrap { padding: 30px 0 20px; background: #000; }
.cta {
  background: var(--lime);
  color: #1f1f1f;
  border-radius: 20px;
  padding: 64px 80px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  text-align: center;
}
.cta h2 {
  color: #070707;
  font-size: 56px;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 auto 16px;
  max-width: 16ch;
}
.cta p { font-size: 20px; max-width: 62ch; margin: 0 auto 28px; color: #1f1f1f; }

.site-footer { background: #000; padding: 48px 0 42px; }
.site-footer p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  padding-inline: 56px;
}
.site-footer a { color: var(--lime); }

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(196, 240, 0, 0.55);
  background: #070707;
  color: var(--lime);
  display: grid;
  place-items: center;
  font-size: 22px;
  cursor: pointer;
  z-index: 30;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.to-top.is-on { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--lime); color: #000; }

.page-hero h1 {
  font-size: 80px;
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 28px;
}
.page-hero p { font-size: 20px; line-height: 1.5; max-width: 760px; color: var(--muted); }
body:has(.missing) {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
body:has(.missing) main {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.page-hero.missing {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 120px 0 48px;
}
body:has(.missing) .site-footer { margin-top: auto; }
.missing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 48px;
  align-items: center;
}
.missing-grid img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 28px;
}
.missing .btn { margin-top: 36px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 70px;
  text-align: center;
}
.stats b {
  display: block;
  color: #fff;
  font-size: 50px;
  line-height: 1;
  font-weight: 700;
}
.stats span { display: block; margin-top: 10px; color: var(--muted); }

.about-block, .resume, .services, .blog-list, .project-body, .contact-block {
  background: linear-gradient(230deg, var(--night), #000 78%);
  padding: 90px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}
.about-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center center;
  border-radius: 16px;
}
.about-copy { padding-left: 36px; }
.about-copy h2 {
  color: var(--muted);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.25;
  text-transform: capitalize;
  margin-bottom: 18px;
}
.about-copy h2 span { color: var(--lime); }
.about-copy p + p { margin-top: 16px; }

.section-title { margin-bottom: 40px; max-width: 820px; }
.section-title h2 {
  font-size: 64px;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-title p { font-size: 20px; line-height: 1.5; }

.resume-item { position: relative; margin: 0 0 42px 18px; padding-left: 8px; }
.resume-item:last-child { margin-bottom: 0; }
.resume-date {
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
  padding: 0.45em 1em;
  border: 1px solid var(--muted);
  border-radius: 2em;
  color: var(--lime);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
}
.resume-date::before,
.resume-date::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.resume-date::before {
  left: -22px;
  width: 18px;
  border-top: 1px solid var(--muted);
}
.resume-date::after {
  left: -26px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
}
.resume-item h3 { color: var(--muted); font-size: 30px; font-weight: 500; }
.resume-item em { display: block; font-style: normal; color: #fff; margin: 4px 0 10px; }
.resume-item p { max-width: 70ch; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  background: var(--ink);
  border: 1px solid #111;
  border-radius: 12px;
  padding: 36px 24px 32px;
  transition: border-color 0.4s ease, transform 0.4s ease;
}
.service .num {
  display: block;
  color: var(--lime);
  font-size: 14px;
  letter-spacing: 0.16em;
  margin-bottom: 16px;
}
.service h3 { color: var(--muted); font-size: 22px; font-weight: 500; margin-bottom: 10px; }
.service p { color: var(--quiet); line-height: 1.45; }
.service:hover { border-color: var(--lime); transform: translateY(-4px); }

.blog-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 64px;
}
.blog-row:last-child { margin-bottom: 0; }
.blog-photo {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}
.blog-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.78) brightness(0.9) contrast(0.96);
  transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.45s ease;
}
.blog-photo:hover img { transform: scale(1.04); filter: saturate(0.78) brightness(0.9) contrast(0.96) blur(1.2px); }
.blog-photo .tag { left: 16px; right: auto; }
.blog-copy h3 {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.blog-copy h2 { margin: 8px 0 22px; }
.blog-copy h2 a {
  color: #fff;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  transition: color 0.25s ease;
}
.blog-copy h2 a:hover { color: var(--lime); }

.meta-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding-top: 20px;
}
.meta-item { padding-bottom: 26px; }
.meta-item p { margin-bottom: 4px; color: var(--quiet); }
.meta-item h3 { color: #fff; font-size: 20px; font-weight: 500; }
.project-copy h2 { color: #fff; font-size: 32px; font-weight: 500; margin-bottom: 14px; }
.project-copy p + p { margin-top: 16px; }
.project-copy .project-live { margin-top: 24px; }
.page-hero:has(+ .shot-band) { padding-bottom: 28px; }
.shot-band {
  background: linear-gradient(180deg, #000 0%, var(--night) 24%, var(--night) 100%);
  padding: 28px 0 48px;
}
.hero-shot { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.hero-shot img { width: 100%; height: auto; border-radius: 8px; filter: saturate(0.78) brightness(0.9) contrast(0.96); }
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.gallery button {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
}
.gallery img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery button:hover img { transform: scale(1.03); }

.wrap-post { width: min(1320px, calc(100% - 48px)); margin-inline: auto; }
.post-hero h1 { margin-bottom: 40px; line-height: 1.12; }
.post-hero p { max-width: 920px; line-height: 1.4; }

.post-layout { background: #000; padding: 80px 0 40px; }
.post-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 40px;
  align-items: start;
}
.post-main { min-width: 0; padding-right: 36px; }
.post-main img.post-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 8px;
  border-radius: 8px;
  filter: saturate(0.78) brightness(0.9) contrast(0.96);
}
.post-main h2 {
  color: var(--muted);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  padding: 20px 0 8px;
}
.post-main p { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0 0 16px; }
.post-copy h3 { color: #fff; font-size: 22px; font-weight: 500; margin: 28px 0 12px; }
.post-copy strong { color: #fff; font-weight: 600; }
.post-copy ul { margin: 0 0 18px; padding-left: 1.2em; color: var(--muted); }
.post-copy li { margin: 8px 0; line-height: 1.5; }
.post-date {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 8px 0 26px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.post-date span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--lime);
  color: #070707;
  border-radius: 10px;
  padding: 10px 20px;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
}
.post-date i { color: #070707; }
.post-main blockquote {
  margin: 0 0 16px;
  padding-left: 40px;
  border-left: 1px solid #fff;
  color: var(--muted);
  font-size: 16px;
  line-height: 28px;
}
.post-tags { overflow: hidden; margin-bottom: 8px; }
.post-tags a {
  float: left;
  margin: 5px 7px;
  padding: 8px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 300;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.post-tags a:hover { border-color: #333; color: #ccc; }
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
}
.post-nav a { color: #fff; font-size: 16px; }
.post-nav a:hover { color: var(--lime); }

.post-comments { margin-top: 56px; }
.post-comments h2 { padding-top: 0; }
.comment {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px 50px;
  margin-bottom: 60px;
}
.comment-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #191919;
  color: var(--lime);
  font-size: 28px;
  font-weight: 600;
}
.comment h3 { color: var(--muted); font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.comment p { margin-bottom: 12px; }
.comment .reply { color: #fff; font-size: 15px; }
.comment .reply i {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 6px;
  border-radius: 30px;
  background: #767676;
  color: #fff;
  font-size: 12px;
}
.comment .reply:hover { color: var(--lime); }

.comment-form {
  background: #191919;
  border-radius: 12px;
  margin-left: 150px;
  padding: 50px 30px;
}
.comment-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.comment-form input,
.comment-form textarea {
  width: 100%;
  height: 50px;
  margin-bottom: 16px;
  padding: 0 12px;
  background: transparent;
  color: #fff;
  border: 1px solid #e3e8f0;
  border-radius: 0;
  outline: none;
}
.comment-form textarea { height: 150px; padding-top: 14px; resize: vertical; }
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--lime); }
.comment-form input::placeholder,
.comment-form textarea::placeholder { color: var(--muted); }
.comment-form .full { grid-column: 1 / -1; }
.comment-form button {
  background: var(--lime);
  color: #070707;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 8px 20px;
  font-size: 16px;
  cursor: pointer;
}
.comment-form button:hover { background: #d4ff33; }
.comment-form [data-note] { color: var(--lime); margin-top: 14px; min-height: 1.2em; }

.post-side { display: grid; gap: 30px; }
.side-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 25px;
}
.side-card h2 {
  color: var(--muted);
  font-size: 22px;
  font-weight: 500;
  text-transform: capitalize;
  margin: 0 0 15px;
  padding: 0;
}
.side-search input {
  width: 100%;
  height: 50px;
  margin-bottom: 12px;
  padding: 0 12px;
  background: transparent;
  color: #e3e8f0;
  border: 1px solid #333;
  outline: none;
}
.side-search input:focus { border-color: var(--lime); }
.side-search button {
  height: 42px;
  padding: 0 32px;
  background: #333;
  color: #fff;
  border: 1px solid #333;
  cursor: pointer;
}
.side-search button:hover { background: transparent; }
.side-card .about-photo { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 32%; margin-bottom: 16px; }
.side-card p { color: var(--muted); margin: 0; }
.side-list { display: grid; }
.side-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  opacity: 0.7;
  padding: 5px 0;
  font-size: 16px;
}
.side-list a:hover { color: var(--lime); opacity: 1; }
.piece { display: none; }
html[data-piece="northline"] [data-id="northline"],
html[data-piece="signal"] [data-id="signal"],
html[data-piece="field"] [data-id="field"],
html[data-piece="drift"] [data-id="drift"],
html[data-piece="harbor"] [data-id="harbor"],
html[data-piece="landing"] [data-id="landing"],
html[data-piece="career"] [data-id="career"],
html[data-piece="future"] [data-id="future"] { display: block; }
html[data-piece] .piece.is-current { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hp input { pointer-events: none; }

.contact-block { background: #000; padding-top: 40px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 48px; }
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px dashed rgba(196, 240, 0, 0.45);
  border-radius: 999px;
  padding: 8px 16px;
  color: #ddd;
  font-size: 14px;
}
.chips i { color: var(--lime); }
.chips a { color: inherit; }
.form { max-width: 980px; margin: 0 auto; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; }
.field { display: flex; flex-direction: column; margin-bottom: 22px; }
.field.full { grid-column: 1 / -1; }
.field > span { color: var(--muted); font-weight: 500; margin-bottom: 12px; }
.field input, .field textarea {
  width: 100%;
  background: transparent;
  color: #fff;
  border: 1px dashed rgba(196, 240, 0, 0.55);
  border-radius: 10px;
  padding: 18px 20px;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--lime); background: rgba(255, 255, 255, 0.03); }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, 0.55); }
.form-note {
  margin-top: 18px;
  color: var(--lime);
  min-height: 1.4em;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(1100px, 100%); max-height: 84vh; border-radius: 8px; }
.lightbox button {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  cursor: pointer;
}

@media (max-width: 980px) {
  .header-inner { display: flex; justify-content: space-between; min-height: 72px; }
  .menu-btn { display: block; }
  .socials { display: none; }
  .nav.is-open ~ .socials {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 42px;
    justify-content: center;
    z-index: 45;
    gap: 28px;
  }
  .nav {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.96);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 22px;
    z-index: 30;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }
  .nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .nav a { font-size: 32px; }
  .hero-grid, .about-grid, .blog-row, .meta-grid, .fields, .service-grid, .stats, .project-grid, .gallery, .post-grid, .comment-fields, .missing-grid {
    grid-template-columns: 1fr;
  }
  .post-main { padding-right: 0; }
  .post-main h2 { font-size: 30px; }
  .comment-form { margin-left: 0; padding: 28px 18px; }
  .comment { grid-template-columns: 72px 1fr; gap: 16px; }
  .comment-avatar { width: 72px; height: 72px; font-size: 22px; }
  .hero-copy, .about-copy { padding-left: 0; }
  .project-card:nth-child(n) { grid-column: auto; }
  .hero-copy h1, .section-title h2, .page-hero h1 { font-size: 44px; }
  .cta { padding: 36px 24px; }
  .cta h2 { font-size: 36px; }
  .blog-copy h2 a { font-size: 30px; }
  .caption { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .curtain, .glitch__layer, .marquee-track { animation: none !important; }
  .curtain { transform: scaleY(0); }
  .glitch__layer { opacity: 0; }
}

