:root {
  --bg: #060708;
  --bg-2: #0e1113;
  --bg-3: #16191d;
  --panel: rgba(11, 13, 16, 0.9);
  --panel-strong: rgba(14, 16, 20, 0.96);
  --panel-soft: rgba(18, 22, 27, 0.82);
  --text: #f5f3ee;
  --muted: #b7b4ab;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.26);
  --accent: #19d3ff;
  --accent-2: #8dff2f;
  --glitch-red: #ff295f;
  --glitch-blue: #1ec8ff;
  --glitch-green: #8dff2f;
  --focus: #ffe36f;
  --radius-sm: 18px;
  --radius-md: 28px;
  --radius-lg: 38px;
  --button-radius: 999px;
  --card-padding: clamp(1rem, 2vw, 1.5rem);
  --section-padding: clamp(1.6rem, 4vw, 3.2rem);
  --section-gap: clamp(1rem, 2vw, 1.5rem);
  --max-width: 1180px;
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.3);
  --shadow-strong: 0 30px 90px rgba(0, 0, 0, 0.45);
  --page-glow: rgba(0, 194, 255, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", "Segoe UI Variable Text", sans-serif;
  color: var(--text);
  background:
    linear-gradient(115deg, rgba(255, 41, 95, 0.08), transparent 28%, rgba(30, 200, 255, 0.08) 58%, transparent 76%),
    radial-gradient(circle at 14% 18%, rgba(255, 41, 95, 0.18), transparent 18%),
    radial-gradient(circle at 82% 22%, rgba(30, 200, 255, 0.16), transparent 20%),
    radial-gradient(circle at 62% 78%, rgba(141, 255, 47, 0.09), transparent 24%),
    linear-gradient(180deg, #020304 0%, #07080b 34%, #040507 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, rgba(255, 41, 95, 0.045), transparent 24%, rgba(30, 200, 255, 0.04) 58%, transparent 100%);
  background-size: 100% 5px, 4px 100%, 100% 100%;
  opacity: 0.18;
  mix-blend-mode: screen;
  animation: page-scan-drift 12s linear infinite;
}

body::after {
  background:
    linear-gradient(90deg, rgba(255, 41, 95, 0.12), transparent 18%, rgba(30, 200, 255, 0.1) 48%, transparent 72%, rgba(141, 255, 47, 0.08)),
    radial-gradient(circle at 18% 24%, rgba(255, 41, 95, 0.22), transparent 18%),
    radial-gradient(circle at 78% 66%, rgba(30, 200, 255, 0.16), transparent 20%),
    radial-gradient(circle at 46% 86%, rgba(141, 255, 47, 0.09), transparent 24%);
  filter: blur(42px) saturate(1.12);
  opacity: 0.9;
  transform: translate3d(0, 0, 0);
  animation: page-glitch-glow 9s steps(2, end) infinite;
}

body > * {
  position: relative;
  z-index: 1;
}

body .main-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.3;
  background:
    linear-gradient(180deg, transparent 0 12%, rgba(255, 255, 255, 0.03) 12% 13%, transparent 13% 37%, rgba(255, 255, 255, 0.025) 37% 38%, transparent 38% 100%),
    linear-gradient(92deg, transparent 0 18%, rgba(255, 41, 95, 0.06) 18% 19%, transparent 19% 52%, rgba(30, 200, 255, 0.05) 52% 53%, transparent 53% 100%);
  mix-blend-mode: screen;
  animation: page-glitch-slices 14s steps(3, end) infinite;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: var(--focus);
  color: #08090b;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: 0.8rem;
  backdrop-filter: blur(12px);
}

.nav-wrap {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  grid-template-areas: "brand nav actions";
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(7, 8, 10, 0.84);
  box-shadow: var(--shadow-soft);
}

.nav-wrap.is-stacked {
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  grid-template-areas: "brand nav actions";
  padding: 1rem 1.1rem;
}

.brand,
h1,
h2,
h3,
.primary-nav a,
.eyebrow,
.btn,
.theme-toggle,
.menu-toggle,
.timeline-stop-period,
.timeline-stop-title,
.project-wall-kicker,
.contact-link-card span {
  font-family: "Syne", "Outfit", sans-serif;
}

.brand {
  grid-area: brand;
  display: inline-block;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.04em;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  text-shadow: 2px 0 rgba(255, 41, 95, 0.75), -2px 0 rgba(30, 200, 255, 0.75);
}

.brand.brand-has-image {
  text-shadow: none;
}

.brand-image {
  display: block;
  height: var(--brand-image-height, clamp(2.6rem, 5vw, 3.6rem));
  width: auto;
  max-width: min(68vw, var(--brand-image-max-width, 360px));
  object-fit: contain;
}

.nav-wrap.is-stacked .brand {
  grid-column: initial;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.nav-actions {
  grid-area: actions;
  display: flex;
  gap: 0.6rem;
  align-items: center;
  justify-self: end;
}

.theme-toggle,
.menu-toggle {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-radius: 999px;
  padding: 0.6rem 0.9rem;
  cursor: pointer;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  flex: 0 0 auto;
}

.menu-toggle[hidden] {
  display: none;
}

.menu-toggle-bars {
  display: grid;
  gap: 0.24rem;
}

.menu-toggle-bars span {
  display: block;
  width: 1.05rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.primary-nav {
  grid-area: nav;
  min-width: 0;
  display: flex;
  width: 100%;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.nav-wrap.is-stacked .primary-nav {
  justify-content: flex-end;
}

.primary-nav-list,
.primary-nav-overflow-list {
  list-style: none;
  display: flex;
  gap: 0.3rem;
  margin: 0;
  padding: 0;
}

.primary-nav-list {
  min-width: 0;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  overflow: hidden;
  justify-content: flex-end;
}

.primary-nav-overflow {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  min-width: min(18rem, calc(100vw - 2rem));
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(7, 8, 10, 0.96);
  box-shadow: var(--shadow-soft);
}

.primary-nav-overflow-list {
  display: grid;
}

.primary-nav-overflow-list a {
  display: block;
}

.primary-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  position: relative;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.35rem;
  height: 2px;
  background: linear-gradient(90deg, var(--glitch-blue), var(--glitch-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.primary-nav a:hover,
.primary-nav a.is-active,
.primary-nav a[aria-current="true"] {
  color: var(--text);
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after,
.primary-nav a[aria-current="true"]::after {
  transform: scaleX(1);
}

.main-shell {
  padding: 1rem 0 3rem;
}

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

.section.is-section-dimmed {
  opacity: 0.52;
}

.section.is-section-active {
  opacity: 1;
}

.hero-stage,
.split-stage,
.contact-stage,
.featured-product-card,
.tattoo-layout {
  display: grid;
  gap: var(--section-gap);
}

.hero-stage {
  grid-template-columns: minmax(290px, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.hero-visual-panel,
.hero-copy-panel,
.narrative-panel,
.support-panel,
.contact-form,
.contact-aside,
.tattoo-shell,
.featured-product-card,
.project-wall-empty,
.timeline-panel,
.timeline-stop-meta,
.skill-row,
.contact-link-card,
.product-shot,
.product-media-main,
.tattoo-note,
.instagram-card,
.instagram-fallback,
.tattoo-image-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 100%), var(--panel-strong);
  box-shadow: var(--shadow-soft);
}

.hero-visual-panel,
.hero-copy-panel,
.narrative-panel,
.support-panel,
.contact-aside,
.contact-form,
.tattoo-shell,
.featured-product-card {
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 2vw, 1.55rem);
  position: relative;
  overflow: hidden;
}

.hero-visual-panel::before,
.hero-copy-panel::before,
.support-panel::before,
.narrative-panel::before,
.contact-form::before,
.contact-aside::before,
.featured-product-card::before,
.tattoo-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(130deg, rgba(255, 41, 95, 0.1), transparent 26%),
    linear-gradient(220deg, rgba(30, 200, 255, 0.1), transparent 30%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-portrait-frame {
  margin: 0;
  min-height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
}

.hero-portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 41, 95, 0.16), transparent 24%, rgba(30, 200, 255, 0.16)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0 3px, transparent 3px 6px);
  mix-blend-mode: screen;
  animation: image-glitch 3.4s steps(2, end) infinite;
}

.profile-image {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  filter: contrast(1.08) saturate(0.92);
}

.hero-copy-panel {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.eyebrow {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #e8f0d7;
}

.section-rule {
  width: min(100%, 8rem);
  height: 2px;
  display: block;
  background: linear-gradient(90deg, var(--accent-2), var(--accent), transparent);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

h1 {
  font-size: clamp(3rem, 9vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.6rem);
}

.glitch-title,
.glitch-section-title {
  position: relative;
  color: #fff;
  text-shadow: 2px 0 rgba(255, 41, 95, 0.82), -2px 0 rgba(30, 200, 255, 0.82), 0 0 18px rgba(255, 255, 255, 0.06);
}

.glitch-title::before,
.glitch-title::after,
.glitch-section-title::before,
.glitch-section-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.82;
}

.glitch-title::before,
.glitch-section-title::before {
  color: var(--glitch-blue);
  transform: translate(2px, 0);
  mix-blend-mode: screen;
  clip-path: polygon(0 0, 100% 0, 100% 42%, 0 46%);
  animation: text-glitch-top 2.9s steps(2, end) infinite;
}

.glitch-title::after,
.glitch-section-title::after {
  color: var(--glitch-red);
  transform: translate(-2px, 0);
  mix-blend-mode: screen;
  clip-path: polygon(0 62%, 100% 58%, 100% 100%, 0 100%);
  animation: text-glitch-bottom 3.1s steps(2, end) infinite;
}

.hero-title {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  max-width: 16ch;
}

.hero-subtle,
.section-intro,
.project-wall-overlay p,
.timeline-panel p,
.product-main p,
.contact-aside p,
.contact-form-note span,
.form-status,
.project-selector-copy span,
.timeline-stop-company {
  color: var(--muted);
}

.product-meta,
.contact-availability,
.contact-orbs,
.project-wall-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.product-meta span,
.contact-availability span,
.project-wall-tags span {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
}

.hero-cta-stack,
.cta-group {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 12rem;
  padding: 0.85rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 41, 95, 0.18), transparent 45%, rgba(30, 200, 255, 0.18));
  mix-blend-mode: screen;
}

.btn-primary {
  background: rgba(215, 255, 63, 0.1);
  border-color: rgba(215, 255, 63, 0.4);
}

.contact-closeout,
.tattoo-note,
.product-note {
  padding: 1rem;
  border-radius: 24px;
}

.split-stage {
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.narrative-panel {
  display: grid;
  gap: 0.9rem;
  align-self: start;
  position: sticky;
  top: 6.25rem;
}

.copy-stack,
.about-facts ul,
.skills-stack,
.contact-links,
.timeline,
.product-notes,
.instagram-grid,
.tattoo-side,
.current-project-highlights {
  display: grid;
  gap: 0.9rem;
}

.about-facts ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-facts li {
  padding: 0.9rem 1rem;
  border-left: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.03);
}

.project-wall-shell {
  padding: clamp(0.9rem, 1.5vw, 1.1rem);
}

.current-project-shell {
  padding: clamp(1rem, 2vw, 1.3rem);
}

.current-project-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 1rem;
  align-items: stretch;
}

.current-project-copy {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.current-project-status {
  margin: 0;
  width: fit-content;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.current-project-highlights {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.current-project-highlights span {
  display: block;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.current-project-visual {
  margin: 0;
  min-height: 100%;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.current-project-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.project-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.project-wall-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
}

.project-wall-card.is-featured {
  grid-column: span 2;
  min-height: 330px;
}

.project-wall-link {
  position: absolute;
  inset: 0;
  text-decoration: none;
}

.project-wall-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.02) saturate(0.9);
}

.project-wall-fallback {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 41, 95, 0.22), transparent 26%),
    radial-gradient(circle at 80% 75%, rgba(30, 200, 255, 0.24), transparent 28%),
    linear-gradient(180deg, #0b0d10, #171a20);
}

.project-wall-fallback span {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-family: "Syne", sans-serif;
}

.project-wall-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem;
  display: grid;
  gap: 0.45rem;
  background:
    linear-gradient(180deg, rgba(5, 7, 8, 0), rgba(5, 7, 8, 0.94)),
    linear-gradient(90deg, rgba(255, 41, 95, 0.08), transparent 45%, rgba(30, 200, 255, 0.08));
}

.project-wall-kicker {
  margin: 0;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #d7ff3f;
}

.project-wall-footer {
  margin-top: 1rem;
}

.skills-stack {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.skill-row {
  padding: 1rem;
  border-radius: 22px;
}

.skill-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.skill-bar {
  margin-top: 0.65rem;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.skill-bar span {
  display: block;
  width: var(--fill);
  height: 100%;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

.experience-timeline {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
}

.timeline-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  position: relative;
  padding: 0.2rem 0 0.2rem 1.7rem;
}

.timeline-track::before,
.timeline-track::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  transition:
    left 180ms ease,
    top 180ms ease,
    width 180ms ease,
    height 180ms ease,
    opacity 180ms ease;
}

.timeline-track::before {
  top: 0;
  bottom: 0;
  left: 0.4rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
}

.timeline-track::after {
  left: var(--active-left, 0);
  top: var(--active-top, 0);
  width: var(--active-width, 2px);
  height: var(--active-height, 12px);
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  box-shadow: 0 0 22px rgba(255, 41, 95, 0.25);
}

.timeline-stop {
  appearance: none;
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  column-gap: 0.8rem;
  width: 100%;
  text-align: left;
  color: inherit;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 1;
}

.timeline-stop-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #3d4148;
  margin-top: 0.95rem;
  margin-bottom: 0;
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.timeline-stop-meta {
  display: grid;
  gap: 0.18rem;
  min-height: 92px;
  border-radius: 22px;
  padding: 0.8rem;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.timeline-stop.is-active .timeline-stop-dot,
.timeline-stop:hover .timeline-stop-dot,
.timeline-stop:focus-visible .timeline-stop-dot {
  background: var(--accent);
  transform: scale(1.15);
  box-shadow: 0 0 0 0.35rem rgba(255, 41, 95, 0.12);
}

.timeline-stop.is-active .timeline-stop-meta,
.timeline-stop:hover .timeline-stop-meta,
.timeline-stop:focus-visible .timeline-stop-meta {
  border-color: rgba(255, 41, 95, 0.3);
  background:
    linear-gradient(180deg, rgba(255, 41, 95, 0.08), rgba(255, 255, 255, 0.03)),
    var(--panel-strong);
  transform: translateX(2px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22);
}

.timeline-panels {
  position: relative;
}

.timeline-panel {
  border-radius: 26px;
  padding: 1rem;
  position: relative;
}

.timeline-panel::before {
  content: "";
  position: absolute;
  top: 1.15rem;
  left: -0.65rem;
  width: 1.3rem;
  height: 1.3rem;
  background: inherit;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  transform: rotate(45deg);
  pointer-events: none;
}

.timeline-date,
.timeline-company-label {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--glitch-green);
}

.timeline-stop-period,
.timeline-stop-title,
.timeline-stop-company {
  display: block;
}

.timeline-stop:focus-visible {
  outline: none;
}

.timeline-stop:focus-visible .timeline-stop-meta {
  box-shadow:
    0 0 0 3px rgba(30, 200, 255, 0.3),
    0 22px 48px rgba(0, 0, 0, 0.22);
}

.product-main,
.product-side,
.illustrator-viewer,
.contact-aside,
.contact-form,
.tattoo-cta,
.tattoo-main-copy {
  display: grid;
  gap: 0.9rem;
}

.product-showcase {
  display: grid;
  gap: 1rem;
}

.app-icon-shell {
  width: 88px;
  height: 88px;
  padding: 6px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.app-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}

.product-main {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: stretch;
}

.product-copy {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.product-copy-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.product-hero-media {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
  align-content: start;
}

.product-note {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 0.75rem;
}

.product-note span {
  width: 12px;
  height: 12px;
  margin-top: 0.3rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
}

.product-media-viewer {
  display: block;
  width: 100%;
  margin-top: 0.75rem;
}

.product-media-main {
  margin: 0;
  border-radius: 26px;
  padding: 1rem;
  min-height: 100%;
}

.product-media-main img {
  display: block;
  width: 100%;
  height: clamp(320px, 42vw, 560px);
  object-fit: contain;
  margin-inline: auto;
}

.product-media-grid {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  width: 100%;
  padding: 0 0 0.1rem;
  scrollbar-width: none;
  cursor: grab;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
}

.product-media-grid::-webkit-scrollbar {
  display: none;
}

.product-media-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.product-media-grid::-webkit-scrollbar-track {
  background: transparent;
}

.product-media-viewer .product-shot {
  flex: 0 0 120px;
  padding: 0.35rem;
}

.product-media-grid.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.product-media-grid.is-dragging .product-shot {
  pointer-events: none;
}

.illustrator-main {
  border-radius: 26px;
  padding: 0.9rem;
}

.illustrator-main img {
  display: block;
  width: 100%;
  max-height: 680px;
  object-fit: contain;
  margin-inline: auto;
}

.illustrator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.7rem;
}

.illustrator-shot {
  padding: 0.55rem;
  border-radius: 20px;
  cursor: pointer;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.illustrator-shot:hover,
.illustrator-shot:focus-visible,
.illustrator-shot.is-active {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.illustrator-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
}

.product-shot {
  width: 100%;
  border-radius: 20px;
  cursor: pointer;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  opacity: 0.52;
  filter: saturate(0.75);
  transform: scale(0.96);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease, filter 180ms ease;
}

.product-shot:hover,
.product-shot:focus-visible,
.product-shot.is-active {
  border-color: var(--accent);
  opacity: 1;
  filter: saturate(1);
  transform: translateY(-2px) scale(1);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.product-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 5;
  object-fit: cover;
  border-radius: 16px;
}

.play-cta {
  width: fit-content;
}

.cars-shell,
.cars-layout,
.cars-detail-copy,
.cars-work-done {
  display: grid;
  gap: 1rem;
}

.cars-layout {
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  align-items: start;
}

.cars-list {
  display: grid;
  gap: 0.8rem;
}

.car-project-card {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  border-radius: 24px;
  padding: 0.65rem;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 0.85rem;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.car-project-card:hover,
.car-project-card:focus-visible,
.car-project-card.is-active {
  border-color: rgba(255, 41, 95, 0.35);
  background:
    linear-gradient(180deg, rgba(255, 41, 95, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.24);
}

.car-project-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.car-project-card-placeholder {
  display: grid;
  place-items: center;
  padding: 0.75rem;
  font-size: 0.85rem;
  text-align: center;
}

.car-project-card-copy {
  display: grid;
  gap: 0.22rem;
  align-content: center;
}

.car-project-card-copy strong,
.cars-detail-copy h3,
.cars-work-done h4 {
  font-size: 1.05rem;
}

.car-project-card-copy span:not(.eyebrow),
.cars-detail-tagline {
  color: var(--glitch-green);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.car-project-card-copy small,
.cars-detail-summary,
.cars-work-done p {
  color: var(--muted);
}

.cars-detail {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.cars-main-media {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.cars-main-media img {
  display: block;
  width: 100%;
  height: clamp(280px, 38vw, 560px);
  object-fit: cover;
}

.cars-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 0.7rem;
}

.car-gallery-shot {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.35rem;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.car-gallery-shot:hover,
.car-gallery-shot:focus-visible,
.car-gallery-shot.is-active {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.22);
}

.car-gallery-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
}

.tattoo-shell {
  display: grid;
  gap: 1rem;
}

.tattoo-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
}

.tattoo-cta {
  min-width: 240px;
  align-self: end;
}

.tattoo-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
}

.tattoo-main {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.tattoo-main img {
  display: block;
  width: 100%;
  max-height: 660px;
  object-fit: cover;
}

.tattoo-main-copy {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  padding: 1rem;
  border-radius: 24px;
  background: rgba(6, 7, 9, 0.82);
  backdrop-filter: blur(10px);
}

.tattoo-image-card {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  overflow: hidden;
  padding: 0.8rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.tattoo-image-card:hover,
.tattoo-image-card:focus-visible,
.tattoo-image-card.is-active {
  border-color: var(--accent);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
  transform: translateY(-2px);
}

.tattoo-image-card:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.2);
  outline-offset: 2px;
}

.tattoo-image {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
}

.tattoo-image-link {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
}

.contact-stage {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.94fr);
  align-items: start;
}

.contact-aside {
  border-radius: var(--radius-lg);
}

.contact-links {
  margin-top: 0.4rem;
}

.contact-link-card {
  display: grid;
  gap: 0.3rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
}

.contact-link-card span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--glitch-green);
}

.contact-link-card a {
  text-decoration: none;
}

.contact-orb {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  font-family: "Syne", sans-serif;
}

.contact-form {
  border-radius: var(--radius-lg);
}

.contact-form label {
  font-size: 0.92rem;
  color: #e5e1d8;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.error {
  min-height: 1.1em;
  color: #ffb4bc;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(6, 7, 9, 0.9);
}

.footer-inner {
  padding: 1.4rem 0 2rem;
  color: var(--muted);
}

[data-color-mode="light"] body {
  background:
    linear-gradient(115deg, rgba(0, 0, 0, 0.05), transparent 28%, rgba(0, 0, 0, 0.03) 58%, transparent 76%),
    radial-gradient(circle at 18% 14%, rgba(0, 0, 0, 0.08), transparent 22%),
    radial-gradient(circle at 82% 78%, rgba(0, 0, 0, 0.06), transparent 24%),
    linear-gradient(180deg, #f3f0eb 0%, #efebe5 38%, #e8e2da 100%);
}

[data-color-mode="light"] body::before,
[data-color-mode="light"] body::after {
  opacity: 0.18;
}

[data-color-mode="light"] body .main-shell::before {
  opacity: 0.12;
  mix-blend-mode: multiply;
}

[data-color-mode="light"] .nav-wrap,
[data-color-mode="light"] .hero-visual-panel,
[data-color-mode="light"] .hero-copy-panel,
[data-color-mode="light"] .narrative-panel,
[data-color-mode="light"] .support-panel,
[data-color-mode="light"] .contact-form,
[data-color-mode="light"] .contact-aside,
[data-color-mode="light"] .skill-row,
[data-color-mode="light"] .timeline-stop-meta,
[data-color-mode="light"] .timeline-panel,
[data-color-mode="light"] .contact-link-card,
[data-color-mode="light"] .product-shot,
[data-color-mode="light"] .product-media-main,
[data-color-mode="light"] .tattoo-note,
[data-color-mode="light"] .instagram-card,
[data-color-mode="light"] .instagram-fallback,
[data-color-mode="light"] .tattoo-image-card {
  background: rgba(255, 255, 255, 0.68);
  color: #131518;
}

[data-color-mode="light"] .hero-subtle,
[data-color-mode="light"] .section-intro,
[data-color-mode="light"] .contact-form-note span,
[data-color-mode="light"] .form-status,
[data-color-mode="light"] .project-wall-overlay p,
[data-color-mode="light"] .timeline-panel p {
  color: #555048;
}

[data-color-mode="light"] .timeline-track::before {
  background: linear-gradient(180deg, rgba(19, 21, 24, 0.08), rgba(19, 21, 24, 0.18), rgba(19, 21, 24, 0.08));
}

[data-color-mode="light"] .timeline-stop-dot {
  background: rgba(19, 21, 24, 0.28);
}

[data-color-mode="light"] .timeline-stop.is-active .timeline-stop-meta,
[data-color-mode="light"] .timeline-stop:hover .timeline-stop-meta,
[data-color-mode="light"] .timeline-stop:focus-visible .timeline-stop-meta {
  background:
    linear-gradient(180deg, rgba(255, 41, 95, 0.09), rgba(255, 255, 255, 0.62)),
    rgba(255, 255, 255, 0.84);
  box-shadow: 0 20px 40px rgba(82, 67, 46, 0.12);
}

@keyframes text-glitch-top {
  0%,
  100% {
    transform: translate(2px, 0);
    opacity: 0.82;
  }

  20% {
    transform: translate(-2px, -1px);
  }

  21% {
    transform: translate(6px, 1px);
  }

  22% {
    transform: translate(1px, 0);
  }

  54% {
    transform: translate(2px, 0);
  }

  55% {
    transform: translate(-5px, 1px);
    opacity: 0.55;
  }

  56% {
    transform: translate(2px, 0);
    opacity: 0.82;
  }
}

@keyframes page-scan-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, 8px, 0);
  }
}

@keyframes page-glitch-glow {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.88;
  }

  18% {
    transform: translate3d(-8px, 3px, 0) scale(1.01);
  }

  19% {
    transform: translate3d(10px, -2px, 0) scale(1.015);
    opacity: 0.96;
  }

  20% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  67% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  68% {
    transform: translate3d(7px, -4px, 0) scale(1.01);
  }

  69% {
    transform: translate3d(-9px, 2px, 0) scale(1.015);
  }

  70% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes page-glitch-slices {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.26;
  }

  24% {
    transform: translate3d(0, 0, 0);
  }

  25% {
    transform: translate3d(-10px, 0, 0);
    opacity: 0.34;
  }

  26% {
    transform: translate3d(12px, 0, 0);
  }

  27% {
    transform: translate3d(0, 0, 0);
    opacity: 0.26;
  }

  73% {
    transform: translate3d(0, 0, 0);
  }

  74% {
    transform: translate3d(8px, 0, 0);
    opacity: 0.32;
  }

  75% {
    transform: translate3d(-11px, 0, 0);
  }

  76% {
    transform: translate3d(0, 0, 0);
    opacity: 0.26;
  }
}

@keyframes text-glitch-bottom {
  0%,
  100% {
    transform: translate(-2px, 0);
    opacity: 0.78;
  }

  16% {
    transform: translate(2px, 1px);
  }

  17% {
    transform: translate(-7px, -1px);
  }

  18% {
    transform: translate(-2px, 0);
  }

  68% {
    transform: translate(-2px, 0);
  }

  69% {
    transform: translate(4px, -1px);
    opacity: 0.52;
  }

  70% {
    transform: translate(-2px, 0);
    opacity: 0.78;
  }
}

@keyframes image-glitch {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 1;
  }

  10% {
    transform: translate(0, 0);
  }

  11% {
    transform: translate(-6px, 2px);
  }

  12% {
    transform: translate(3px, -1px);
  }

  13% {
    transform: translate(0, 0);
  }

  52% {
    transform: translate(0, 0);
  }

  53% {
    transform: translate(5px, -2px);
  }

  54% {
    transform: translate(-3px, 1px);
  }

  55% {
    transform: translate(0, 0);
  }
}

@media (max-width: 980px) {
  .hero-stage,
  .split-stage,
  .contact-stage,
  .featured-product-card,
  .cars-layout,
  .tattoo-layout,
  .tattoo-head {
    grid-template-columns: 1fr;
  }

  .narrative-panel {
    position: static;
  }

  .skills-stack,
  .project-wall,
  .product-media-grid,
  .illustrator-grid {
    grid-template-columns: 1fr;
  }

  .project-wall-card.is-featured {
    grid-column: span 1;
  }

  .product-main,
  .current-project-stage,
  .tattoo-image-card {
    grid-template-columns: 1fr;
  }

  .product-copy-head {
    grid-template-columns: 1fr;
  }

  .play-cta,
  .btn {
    width: 100%;
  }

  .experience-timeline {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1120px) {
  .container {
    width: min(100% - 1rem, var(--max-width));
  }

  .nav-wrap {
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    grid-template-areas: "brand nav actions";
    padding: 1rem 1.1rem;
  }

  h1 {
    font-size: clamp(2.5rem, 14vw, 3.8rem);
  }

  h2 {
    font-size: clamp(1.8rem, 10vw, 2.7rem);
  }

  .profile-image {
    min-height: 360px;
  }

  .hero-visual-panel,
  .hero-copy-panel,
  .narrative-panel,
  .support-panel,
  .contact-form,
  .contact-aside,
  .tattoo-shell,
  .featured-product-card {
    padding: 1rem;
  }

  .tattoo-main-copy {
    inset: auto 0.75rem 0.75rem 0.75rem;
  }
}
